Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 46969
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Netmon Herd <netmon@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Cahya <cahya@mail.com>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 46969 depends on: Show dependency tree
Bug 46969 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2004-04-06 09:41 0000
After I have installed ntop-3.0, /var/lib/ntop is created
with root as owner, but ntop is running as nobody, and it can't
create any new files inside. 

Reproducible: Always
Steps to Reproduce:
1.
2.
3.

------- Comment #1 From Devon 2004-05-21 08:18:36 0000 -------
Error message:

Fri May 21 11:15:30 2004  ntop v.3.0 SourceForge .tgz MT (SSL)
Fri May 21 11:15:30 2004  Configured on May 21 2004 11:11:10, built on May 21 2004 11:11:53.
Fri May 21 11:15:30 2004  Copyright 1998-2004 by Luca Deri <deri@ntop.org>
Fri May 21 11:15:30 2004  Get the freshest ntop from http://www.ntop.org/
Fri May 21 11:15:30 2004  Initializing ntop
Fri May 21 11:15:30 2004  Checking eth0 for additional devices
Fri May 21 11:15:30 2004  Resetting traffic statistics for device eth0
Fri May 21 11:15:30 2004  DLT: Device 0 [eth0] is 1, mtu 1514, header 14
Fri May 21 11:15:30 2004  Initializing gdbm databases
Fri May 21 11:15:30 2004  Now running as requested user 'nobody' (65534:65534)
Fri May 21 11:15:30 2004  **FATAL_ERROR** ....open of /var/lib/ntop/prefsCache.db failed: File open error
Fri May 21 11:15:30 2004  1. Is another instance of ntop running?
Fri May 21 11:15:30 2004  2. Make sure that the use you specified can write in the target directory

If I chown nobody:nobody /var/lib/ntop/, ntop appears to start. Howver, I don't know if that is the best way to fix the problem. Perhaps a new ntop user/group?

------- Comment #2 From Toralf Förster 2004-05-28 14:47:56 0000 -------
Same thing for ntop-2.2c, after "chown -R nobody:nobody ntop/" also rrdtool
works now.

------- Comment #3 From Eldad Zack (RETIRED) 2004-07-24 06:28:15 0000 -------
fixed in portage

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug