On 5/23/08 10:37 PM, "Greg Hauptmann" <[EMAIL PROTECTED]> wrote:
> Hi - I'm getting a "his page is not operational when the RRD plugin > <http://10.1.1.1:3000/plugins/rrdPlugin> is disabled, misconfigured or > missing" when going to Network Load Statistics? I'm guessing it's a > permissions problem? ntop seems to run as user "ntop" when I look at top. Do > I need to change the config file to run ntop as "root"? > > Some details are below. > > When I checked the logs I see the following. > **ERROR** RRD: Disabled - unable to create directory (err 13, > /var/ntop/rrd/graphics) > > > I noted that my config file ( ntop.conf ) is as follows (I do run as a > service): > > --user ntop > > --db-file-path /var/ntop > > --use-syslog > > > I see that under /var/ntop the following permissions: > [EMAIL PROTECTED] ntop]# ls -la > total 3350 > drwxrwxr-x 4 ntop nobody 1024 May 24 14:23 . > drwxr-xr-x 21 root root 1024 May 23 12:22 .. > -rw-r----- 1 root root 12364 May 24 14:32 addressQueue.db > -rw-r----- 1 root root 2388051 May 24 14:32 dnsCache.db > -rw-r----- 1 root root 237568 May 24 14:23 fingerprint.db > drwxr--r-- 3 nobody nobody 1024 May 23 12:28 interfaces > -rw-r----- 1 root root 12288 May 23 12:28 LsWatch.db > -rw-r----- 1 root root 1110238 May 24 14:23 macPrefix.db > -rw-r----- 1 root root 12561 May 24 13:45 ntop_pw.db > -rw-r----- 1 root root 13200 May 24 14:26 prefsCache.db > drwxr--r-- 8 nobody nobody 1024 May 24 14:03 rrd > > and in the rrd directory: > [EMAIL PROTECTED] rrd]# ls -l > total 3 > drwx------ 2 nobody nobody 1024 May 23 12:28 flows > drwx------ 2 nobody nobody 1024 May 23 12:32 graphics > drwx------ 3 nobody nobody 1024 May 23 12:28 interfaces > [EMAIL PROTECTED] rrd]# > > > Tks in advance > > Mine are as follows: [07:31:49 [EMAIL PROTECTED]:/usr/local/var/ntop$] sudo ls rrd -l total 12 drwxrwxrwx 2 nobody nobody 4096 2006-05-28 07:05 flows drwxrwxrwx 2 nobody nobody 4096 2008-05-21 19:08 graphics drwxrwxrwx 3 nobody nobody 4096 2006-05-28 07:05 interfaces Su to root, cd to /var/ntop/rrd/ then chmod 0777 * and restart ntop. Giddyup
_______________________________________________ Ntop mailing list [email protected] http://listgateway.unipi.it/mailman/listinfo/ntop
