LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-20-2004, 09:18 PM   #1
chamnane
LQ Newbie
 
Registered: Jul 2004
Location: Cambodia
Distribution: Red Hat
Posts: 9

Rep: Reputation: 0
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
 
Old 07-20-2004, 09:34 PM   #2
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
look into the different levels you can run a process
 
Old 07-22-2004, 03:22 AM   #3
chamnane
LQ Newbie
 
Registered: Jul 2004
Location: Cambodia
Distribution: Red Hat
Posts: 9

Original Poster
Rep: Reputation: 0
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
 
Old 07-22-2004, 09:33 AM   #4
Finlay
Senior Member
 
Registered: Mar 2003
Location: Seattle
Distribution: Slackware ?-14.1
Posts: 1,029

Rep: Reputation: 47
check out this page
http://sarg.mcl.ru/
 
Old 02-20-2009, 10:42 AM   #5
chitambira
Member
 
Registered: Oct 2008
Location: Fife
Distribution: RHEL, Centos
Posts: 373
Blog Entries: 1

Rep: Reputation: 49
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?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
ProFTPD & Webmin Hum4ngus Linux - Newbie 11 09-06-2005 03:23 PM
Restricting Download based on total download using Squid,SARG& Webmin jomy Linux - Networking 0 04-27-2005 06:04 AM
webmin & networking pelgrimforever Linux - Newbie 3 08-22-2004 12:10 PM
Samba & Webmin the anti-riced Linux - Newbie 4 01-29-2004 08:08 AM
Webmin & FTP!?!?! DanTup Linux - Networking 20 06-26-2001 04:14 AM


All times are GMT -5. The time now is 12:19 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration