yep it is
On Sunday 16 January 2005 3:07 pm, matice@nic.fi wrote:
i attempted to reinstall then i got the following error (there shouldnt have been probs with user rights because it worked for a while)
Starting service ntop /usr/sbin/rcntop: line 69: 11818 Segmentation fault sudo -u $NTOP_USER /usr/sbin/passcheck
ntop admin password is not yet set. Run ntop -A -u wwwrun manually unused
it complains that i need to manually assign the pass and so i have done but i keep getting the same error message,
Make sure that wwwrun is set as the NTOP_USER in /etc/sysconfig/ntop
Scott
-- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.10-default x86_64
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
On Sunday 16 January 2005 3:29 pm, matice@nic.fi wrote:
yep it is
ntop admin password is not yet set. Run ntop -A -u wwwrun manually unused
And did you do the above? You must run ntop -A -u wwwrun to build the correct databases. You might want to blow away anything in /var/lib/ntop before doing so, that way, any messed up stuff from your prior attempts won't get in the way. And double check that /var/lib/ntop is readable and writable by wwwuser Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.10-default x86_64
On Sun, 16 Jan 2005 15:40:59 -0800, Scott Leighton <helphand@pacbell.net> wrote:
On Sunday 16 January 2005 3:29 pm, matice@nic.fi wrote:
yep it is
ntop admin password is not yet set. Run ntop -A -u wwwrun manually unused
And did you do the above? You must run
ntop -A -u wwwrun
to build the correct databases. You might want to blow away anything in /var/lib/ntop before doing so, that way, any messed up stuff from your prior attempts won't get in the way. And double check that /var/lib/ntop is readable and writable by wwwuser
I have the same problem with ntop. I did as you suggested above, but it still fails with the segfault when it tries to run passcheck. Has anybody managed to get ntop to start with the rc script? -- Andre Truter | Software Engineer | Registered Linux user #185282 ICQ #40935899 | AIM: trusoftzaf | http://www.trusoft.za.org ~ A dinosaur is a salamander designed to Mil Spec ~
On Wednesday 23 March 2005 12:30 pm, Andre Truter wrote:
On Sun, 16 Jan 2005 15:40:59 -0800, Scott Leighton <helphand@pacbell.net> wrote:
On Sunday 16 January 2005 3:29 pm, matice@nic.fi wrote:
yep it is
ntop admin password is not yet set. Run ntop -A -u wwwrun manually unused
And did you do the above? You must run
ntop -A -u wwwrun
to build the correct databases. You might want to blow away anything in /var/lib/ntop before doing so, that way, any messed up stuff from your prior attempts won't get in the way. And double check that /var/lib/ntop is readable and writable by wwwuser
I have the same problem with ntop. I did as you suggested above, but it still fails with the segfault when it tries to run passcheck.
Has anybody managed to get ntop to start with the rc script?
Works fine here. Check your /etc/sysconfig/ntop file, make sure you have the wwwuser set as the NTOP_USER Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.11-default x86_64
On Wed, 23 Mar 2005 19:34:52 -0800, Scott Leighton <helphand@pacbell.net> wrote:
I have the same problem with ntop. I did as you suggested above, but it still fails with the segfault when it tries to run passcheck.
Has anybody managed to get ntop to start with the rc script?
Works fine here. Check your /etc/sysconfig/ntop file, make sure you have the wwwuser set as the NTOP_USER
Yes, I checked and double-checked. the NTOP_USER is set to wwwuser. It works fine on a 9.0 box, but not on 9.2. I tried it on two different 9.2 boxes and both give me the same problem. -- Andre Truter | Software Engineer | Registered Linux user #185282 ICQ #40935899 | AIM: trusoftzaf | http://www.trusoft.za.org ~ A dinosaur is a salamander designed to Mil Spec ~
On Wednesday 23 March 2005 8:44 pm, Andre Truter wrote:
On Wed, 23 Mar 2005 19:34:52 -0800, Scott Leighton <helphand@pacbell.net> wrote:
I have the same problem with ntop. I did as you suggested above, but it still fails with the segfault when it tries to run passcheck.
Has anybody managed to get ntop to start with the rc script?
Works fine here. Check your /etc/sysconfig/ntop file, make sure you have the wwwuser set as the NTOP_USER
Yes, I checked and double-checked. the NTOP_USER is set to wwwuser.
It works fine on a 9.0 box, but not on 9.2.
I tried it on two different 9.2 boxes and both give me the same problem.
Actually, that should be wwwrun not wwwuser. NTOP_USER="wwwrun" Scott -- POPFile, the OpenSource EMail Classifier http://popfile.sourceforge.net/ Linux 2.6.8-24.11-default x86_64
On Thu, 24 Mar 2005 18:06:50 -0800, Scott Leighton <helphand@pacbell.net> wrote:
Actually, that should be wwwrun not wwwuser.
NTOP_USER="wwwrun"
No, it still does not work. It will only work if I comment the first part of the if statement that does the 'sudo -u wwwrun /usr/sbin/passcheck' in the /etc/init.d/ntop script. If I just run: sudo -u wwwrun /usr/sbin/passcheck in a terminal, I get a Segmentation fault. If I just run passcheck, then it does not Segfault. So it seems that sudo and passcheck does not play together well. -- Andre Truter | Software Engineer | Registered Linux user #185282 ICQ #40935899 | AIM: trusoftzaf | http://www.trusoft.za.org ~ A dinosaur is a salamander designed to Mil Spec ~
On Fri, 25 Mar 2005 06:26:42 +0200, Andre Truter <andre.truter@gmail.com> wrote:
If I just run passcheck, then it does not Segfault.
So it seems that sudo and passcheck does not play together well.
I just did another little test with passcheck. The problem is not sudo, but passcheck. If you run passcheck as a non-root user, then it segfaults. It will only run as root. -- Andre Truter | Software Engineer | Registered Linux user #185282 ICQ #40935899 | AIM: trusoftzaf | http://www.trusoft.za.org ~ A dinosaur is a salamander designed to Mil Spec ~
participants (3)
-
Andre Truter
-
matice@nic.fi
-
Scott Leighton