🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: alt.os.linux.slackware
8 messages
8 total messages Started by D. Phan Wed, 04 Aug 2004 04:47
where to find a net-monitor for dataflow in-out monthly
#60
Author: D. Phan
Date: Wed, 04 Aug 2004 04:47
25 lines
2277 bytes
Hello there,
each day each question :-)
I am after a net monitoring application so I can monitor all XP's nodes 
on LAN. My wants is to know exactly how much data up/down monthly for 
each node. Assume my server runs 24/7 but ppp0 (a dialup connection) 
sometimes disconnects
ntop / darkstat ..is that good enough to monitor those i want?

anyway, i ve tried ntop with no success. the error likes that:
---
Wed Aug  4 14:11:19 2004  Initializing ntop
Wed Aug  4 14:11:20 2004  Checking eth0 for additional devices
Wed Aug  4 14:11:20 2004  Resetting traffic statistics for device eth0
Wed Aug  4 14:11:20 2004  DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Wed Aug  4 14:11:20 2004  Initializing gdbm databases
Wed Aug  4 14:11:20 2004  Now running as requested user 'nobody' (99:99)
Wed Aug  4 14:11:20 2004  **FATAL_ERROR** ....open of 
/usr/local/var/ntop/prefsCache.db failed: File open error
Wed Aug  4 14:11:20 2004  1. Is another instance of ntop running?
Wed Aug  4 14:11:20 2004  2. Make sure that the use you specified can 
write in the target directory
---
any idea?
thanks and regards
dphan
Re: where to find a net-monitor for dataflow in-out monthly
#63
Author: mAineAc
Date: Wed, 04 Aug 2004 14:28
18 lines
2148 bytes
D. Phan wrote:
> Wed Aug  4 14:11:20 2004  Initializing gdbm databases
> Wed Aug  4 14:11:20 2004  Now running as requested user 'nobody' (99:99)
> Wed Aug  4 14:11:20 2004  **FATAL_ERROR** ....open of 
> /usr/local/var/ntop/prefsCache.db failed: File open error
> Wed Aug  4 14:11:20 2004  1. Is another instance of ntop running?
> Wed Aug  4 14:11:20 2004  2. Make sure that the use you specified can 
> write in the target directory
> ---
> any idea?
> thanks and regards
> dphan

You can try 'chown nobody /usr/local/var/ntop/prefsCache.db'
it says, right in what you posted, that there is an owner or permission 
problem.

mAineAc
Re: where to find a net-monitor for dataflow in-out monthly
#64
Author: D. Phan
Date: Wed, 04 Aug 2004 15:17
24 lines
2087 bytes
mAineAc wrote:

> D. Phan wrote:
> 
>> Wed Aug  4 14:11:20 2004  Initializing gdbm databases
>> Wed Aug  4 14:11:20 2004  Now running as requested user 'nobody' (99:99)
>> Wed Aug  4 14:11:20 2004  **FATAL_ERROR** ....open of 
>> /usr/local/var/ntop/prefsCache.db failed: File open error
>> Wed Aug  4 14:11:20 2004  1. Is another instance of ntop running?
>> Wed Aug  4 14:11:20 2004  2. Make sure that the use you specified can 
>> write in the target directory
>> ---
>> any idea?
>> thanks and regards
>> dphan
> 
> 
> You can try 'chown nobody /usr/local/var/ntop/prefsCache.db'
But after ntop was installed, the path /usr/local/var/ntop/prefsCache.db 
was not existed! That is my wonder..
> it says, right in what you posted, that there is an owner or permission 
> problem.
> 
> mAineAc
Re: where to find a net-monitor for dataflow in-out monthly
#65
Author: mAineAc
Date: Wed, 04 Aug 2004 15:32
38 lines
2911 bytes
D. Phan wrote:
> mAineAc wrote:
> 
>> D. Phan wrote:
>>
>>> Wed Aug  4 14:11:20 2004  Initializing gdbm databases
>>> Wed Aug  4 14:11:20 2004  Now running as requested user 'nobody' (99:99)
>>> Wed Aug  4 14:11:20 2004  **FATAL_ERROR** ....open of 
>>> /usr/local/var/ntop/prefsCache.db failed: File open error
>>> Wed Aug  4 14:11:20 2004  1. Is another instance of ntop running?
>>> Wed Aug  4 14:11:20 2004  2. Make sure that the use you specified can 
>>> write in the target directory
>>> ---
>>> any idea?
>>> thanks and regards
>>> dphan
>>
>>
>>
>> You can try 'chown nobody /usr/local/var/ntop/prefsCache.db'
> 
> But after ntop was installed, the path /usr/local/var/ntop/prefsCache.db 
> was not existed! That is my wonder..
> 
>> it says, right in what you posted, that there is an owner or 
>> permission problem.
>>
>> mAineAc

Did you receive any errors when installing? Did you read the INSTALL 
file that came with the source? Did you install this from source? Did 
you use a slackware package for this? If so did you have all the 
prerequisite programs installed? If the file doesn't exist then perhaps 
the directory couldn't be written to and you will have to 'chown -R 
nobody /usr/local/var/ntop' to change the ownership of the whole 
directory soit can be written to.

mAineAc
Re: where to find a net-monitor for dataflow in-out monthly
#66
Author: colin
Date: Wed, 04 Aug 2004 15:49
44 lines
2492 bytes
mAineAc <maineac_____@hotmail.com> wrote in message
news:abydnUE_25YCnIzcRVn-gA@adelphia.com...
> D. Phan wrote:
> > mAineAc wrote:
> >
> >> D. Phan wrote:
> >>
> >>> Wed Aug  4 14:11:20 2004  Initializing gdbm databases
> >>> Wed Aug  4 14:11:20 2004  Now running as requested user 'nobody'
(99:99)
> >>> Wed Aug  4 14:11:20 2004  **FATAL_ERROR** ....open of
> >>> /usr/local/var/ntop/prefsCache.db failed: File open error
> >>> Wed Aug  4 14:11:20 2004  1. Is another instance of ntop running?
> >>> Wed Aug  4 14:11:20 2004  2. Make sure that the use you specified can
> >>> write in the target directory
> >>> ---
> >>> any idea?
> >>> thanks and regards
> >>> dphan
> >>
> >>
> >>
> >> You can try 'chown nobody /usr/local/var/ntop/prefsCache.db'
> >
> > But after ntop was installed, the path /usr/local/var/ntop/prefsCache.db
> > was not existed! That is my wonder..
> >
> >> it says, right in what you posted, that there is an owner or
> >> permission problem.
> >>
> >> mAineAc
>
> Did you receive any errors when installing? Did you read the INSTALL
> file that came with the source? Did you install this from source? Did
> you use a slackware package for this? If so did you have all the
> prerequisite programs installed? If the file doesn't exist then perhaps
> the directory couldn't be written to and you will have to 'chown -R
> nobody /usr/local/var/ntop' to change the ownership of the whole
> directory soit can be written to.
>
> mAineAc

You sound very much, like a FKIA.
Re: where to find a net-monitor for dataflow in-out monthly
#67
Author: D. Phan
Date: Thu, 05 Aug 2004 03:32
54 lines
3141 bytes
mAineAc wrote:

> D. Phan wrote:
> 
>> mAineAc wrote:
>>
>>> D. Phan wrote:
>>>
>>>> Wed Aug  4 14:11:20 2004  Initializing gdbm databases
>>>> Wed Aug  4 14:11:20 2004  Now running as requested user 'nobody' 
>>>> (99:99)
>>>> Wed Aug  4 14:11:20 2004  **FATAL_ERROR** ....open of 
>>>> /usr/local/var/ntop/prefsCache.db failed: File open error
>>>> Wed Aug  4 14:11:20 2004  1. Is another instance of ntop running?
>>>> Wed Aug  4 14:11:20 2004  2. Make sure that the use you specified 
>>>> can write in the target directory
>>>> ---
>>>> any idea?
>>>> thanks and regards
>>>> dphan
>>>
>>>
>>>
>>>
>>> You can try 'chown nobody /usr/local/var/ntop/prefsCache.db'
>>
>>
>> But after ntop was installed, the path 
>> /usr/local/var/ntop/prefsCache.db was not existed! That is my wonder..
>>
>>> it says, right in what you posted, that there is an owner or 
>>> permission problem.
>>>
>>> mAineAc
> 
> 
> Did you receive any errors when installing? Did you read the INSTALL 
> file that came with the source? Did you install this from source? Did 
> you use a slackware package for this? If so did you have all the 
> prerequisite programs installed? If the file doesn't exist then perhaps 
> the directory couldn't be written to and you will have to 'chown -R 
> nobody /usr/local/var/ntop' to change the ownership of the whole 
> directory soit can be written to.
> 
> mAineAc
to mAineAc,
I installed ntop from source. Fistly it required me a dep. hell called 
as gd-2.0.8. I downloaded and installed it right. after gd installed in 
my box, i installed ntop successfully. however, the /usr/local/var/ntop 
hasn't been created to.
is there a ntop for slack-pkg? I am googling and even in 
www.linuxpackages.net with no success
any idea?
regards
Re: where to find a net-monitor for dataflow in-out monthly
#68
Author: Phill Edwards
Date: Thu, 05 Aug 2004 09:43
13 lines
1602 bytes
> I am after a net monitoring application so I can monitor all XP's nodes
> on LAN. My wants is to know exactly how much data up/down monthly for
> each node. Assume my server runs 24/7 but ppp0 (a dialup connection)
> sometimes disconnects
> ntop / darkstat ..is that good enough to monitor those i want?

I thought ntop was an interactive tool to see what a node is doing _now_. It
sounds like you want something that works in the background accumulating
usage stats each month. Sounds like a job for something like MRTG (Multi
Router Traffic Grapher) - http://people.ee.ethz.ch/~oetiker/webtools/mrtg/

Regards,
Phill
Re: where to find a net-monitor for dataflow in-out monthly
#69
Author: mAineAc
Date: Thu, 05 Aug 2004 11:52
66 lines
3954 bytes
D. Phan wrote:
> mAineAc wrote:
> 
>> D. Phan wrote:
>>
>>> mAineAc wrote:
>>>
>>>> D. Phan wrote:
>>>>
>>>>> Wed Aug  4 14:11:20 2004  Initializing gdbm databases
>>>>> Wed Aug  4 14:11:20 2004  Now running as requested user 'nobody' 
>>>>> (99:99)
>>>>> Wed Aug  4 14:11:20 2004  **FATAL_ERROR** ....open of 
>>>>> /usr/local/var/ntop/prefsCache.db failed: File open error
>>>>> Wed Aug  4 14:11:20 2004  1. Is another instance of ntop running?
>>>>> Wed Aug  4 14:11:20 2004  2. Make sure that the use you specified 
>>>>> can write in the target directory
>>>>> ---
>>>>> any idea?
>>>>> thanks and regards
>>>>> dphan
>>>>
>>>>
>>>>
>>>>
>>>>
>>>> You can try 'chown nobody /usr/local/var/ntop/prefsCache.db'
>>>
>>>
>>>
>>> But after ntop was installed, the path 
>>> /usr/local/var/ntop/prefsCache.db was not existed! That is my wonder..
>>>
>>>> it says, right in what you posted, that there is an owner or 
>>>> permission problem.
>>>>
>>>> mAineAc
>>
>>
>>
>> Did you receive any errors when installing? Did you read the INSTALL 
>> file that came with the source? Did you install this from source? Did 
>> you use a slackware package for this? If so did you have all the 
>> prerequisite programs installed? If the file doesn't exist then 
>> perhaps the directory couldn't be written to and you will have to 
>> 'chown -R nobody /usr/local/var/ntop' to change the ownership of the 
>> whole directory soit can be written to.
>>
>> mAineAc
> 
> to mAineAc,
> I installed ntop from source. Fistly it required me a dep. hell called 
> as gd-2.0.8. I downloaded and installed it right. after gd installed in 
> my box, i installed ntop successfully. however, the /usr/local/var/ntop 
> hasn't been created to.
> is there a ntop for slack-pkg? I am googling and even in 
> www.linuxpackages.net with no success
> any idea?
> regards

ok so you did a make install as root? you said that /usr/local/var/ntop 
was not created? And you made sure you had these libraries: gdchart, gd, 
libpng and libz? Did you create a limited user to use ntop? Are you 
using this command to start ntop '/usr/local/bin/ntop -u userid -P 
directory ...other parameters...'? Have you read the 1STRUN.TXT filefrom 
the doc directory in the source tree?
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads