It won't - but the directory should have been created by make install in the
first place...

The directory needs to be writable by the -u userid (usually ntop).  Since
the other files are written by root, changing ownership to ntop:ntop is
sufficient.

-----Burton


> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
> Joe Carder
> Sent: Friday, September 24, 2004 4:55 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [Ntop] NTOP startup problem, i386 proccessor with
> slackware10
>
>
> I had a similar problem as yours, except I didn't touch the prefsCache.db.
> I just created the folder and then ntop created the file when I first ran
> it.  I would try deleting it and see if ntop will create it on its own.
>
> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On
> Behalf Of a a
> Sent: Friday, September 24, 2004 4:51 PM
> To: [EMAIL PROTECTED]
> Subject: [Ntop] NTOP startup problem, i386 proccessor with slackware10
>
> Hello everyone;
> I am running on a PIII 500 mhz machine with slackware
> 10, the installation went smooth, had to download &
> install gd.  But afterwards it seems it was a easy
> breeze,
> ./configure
> make
> checkinstall
>
> after that i started ntop at the command prompt
> however,
>
> [EMAIL PROTECTED]:/home/james# ntop
>
> Fri Sep 24 14:43:25 2004  ntop will be started as user
> nobody
> Fri Sep 24 14:43:25 2004  ntop v.3.0 SourceForge .tgz
> MT (SSL)
> Fri Sep 24 14:43:25 2004  Configured on Sep 24 2004
> 12:44:55, built on Sep 24 2004 12:48:38.
> Fri Sep 24 14:43:25 2004  Copyright 1998-2004 by Luca
> Deri <[EMAIL PROTECTED]>
> Fri Sep 24 14:43:25 2004  Get the freshest ntop from
> http://www.ntop.org/
> Fri Sep 24 14:43:25 2004  Initializing ntop
> Fri Sep 24 14:43:25 2004  Checking eth0 for additional
> devices
> Fri Sep 24 14:43:25 2004  Resetting traffic statistics
> for device eth0
> Fri Sep 24 14:43:25 2004  DLT: Device 0 [eth0] is 1,
> mtu 1514, header 14
> Fri Sep 24 14:43:25 2004  Initializing gdbm databases
> Fri Sep 24 14:43:25 2004  Now running as requested
> user 'nobody' (99:99)
> Fri Sep 24 14:43:25 2004  **FATAL_ERROR** ....open of
> /usr/local/var/ntop/prefsCache.db failed: File open
> error
> Fri Sep 24 14:43:25 2004  1. Is another instance of
> ntop running?
> Fri Sep 24 14:43:25 2004  2. Make sure that the use
> you specified can write in the target directory
>
> Next i navigated to /usr/local/var and discovered that
> there was not ntop folder.  So i did a mkdir ntop and
> touch prefsCache.db
>
> Started NTOP again
> however same error.
>
> Next i did a ps -aux and there was no ntop running in
> the processes.  Also i did a ls -al ntop and it came
> up as root root.
>
> Can some one help me out on this problem?  I really
> like to start using ntop and the console version intop
> i believe that is called.
>
> Than you very much everyone
> james
>
>
>
> __________________________________
> Do you Yahoo!?
> Yahoo! Mail - 50x more storage than other providers!
> http://promotions.yahoo.com/new_mail
> _______________________________________________
> Ntop mailing list
> [EMAIL PROTECTED]
> http://listgateway.unipi.it/mailman/listinfo/ntop
>

_______________________________________________
Ntop mailing list
[EMAIL PROTECTED]
http://listgateway.unipi.it/mailman/listinfo/ntop

Reply via email to