LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Sarg & Webmin (https://www.linuxquestions.org/questions/linux-networking-3/sarg-and-webmin-207651/)

chamnane 07-20-2004 09:18 PM

Sarg & Webmin
 
I have Linux Red Hat 9.0 with built-in Squid 2.5 STABLE1 install and also tranparent proxy. No GUI was installed. I have installed also the Sarg 1.4.1 and WebMin 1.15 from their respective rpm packet.

The Squid is working great. But when I run the following command in Console it is hang until I press Ctrl+z to stop it.

Root# sarg -o /var/www/html/squid/daily -d 20/07/2004

But when I run the same command in WebMin web interface under System->Current Process->Run, I got the sarg report of 20/07/2004 from squid.

I have schedule the sarg.daily with /etc/crontab but it still doesn't work. I wonder why I can run from WebMin but not from console? It supposed to be the same thing.

I don't want to format my Linux box and reinstall everything to make this work because I have around 1GB of squid swap already.

Chamnane

Finlay 07-20-2004 09:34 PM

look into the different levels you can run a process

chamnane 07-22-2004 03:22 AM

Hi Finlay,

I'm sorry that I'm just a Newbie and cannot understand what would you like to mean. Please help to give me more details. Thanks.

Chamnane

Finlay 07-22-2004 09:33 AM

check out this page
http://sarg.mcl.ru/

chitambira 02-20-2009 10:42 AM

on commandline, its root running commands, where as within an application, its the app user eq. squid. it might be worthwhile to check on that and permissions. any errors in the logs when you try to run at the command line?


All times are GMT -5. The time now is 06:41 PM.