LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-07-2009, 05:12 PM   #1
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Rep: Reputation: 30
SARG


I ran wget and got the latest rpm package of sarg.
Then I ran rpm with --nodeps
then yum install sarg

Not really sure how to run it now or if it's installed correctly?
http://sarg.sourceforge.net/sarg.php

Code:
[root@localhost ~]# wget http://dag.wieers.com/rpm/packages/sarg/sarg-2.2.3.1-1.rh9.rf.i386.rpm
--22:08:05--  http://dag.wieers.com/rpm/packages/sarg/sarg-2.2.3.1-1.rh9.rf.i386.rpm
Resolving dag.wieers.com... 62.213.193.164
Connecting to dag.wieers.com|62.213.193.164|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://rpmforge.sw.be/redhat/9/en/i386/rpmforge/RPMS/sarg-2.2.3.1-1.rh9.rf.i386.rpm [following]
--22:08:05--  http://rpmforge.sw.be/redhat/9/en/i386/rpmforge/RPMS/sarg-2.2.3.1-1.rh9.rf.i386.rpm
Resolving rpmforge.sw.be... 130.133.35.16
Connecting to rpmforge.sw.be|130.133.35.16|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 570025 (557K) [application/x-rpm]
Saving to: `sarg-2.2.3.1-1.rh9.rf.i386.rpm'

100%[========================================================================================================================================>] 570,025      650K/s   in 0.9s

22:08:06 (650 KB/s) - `sarg-2.2.3.1-1.rh9.rf.i386.rpm' saved [570025/570025]

[root@localhost ~]# rpm -Uvh sarg-2.2.3.1-1.rh9.rf.i386.rpm
warning: sarg-2.2.3.1-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
error: Failed dependencies:
        libgd.so.1.8 is needed by sarg-2.2.3.1-1.rh9.rf.i386
[root@localhost ~]# rpm -Uvh --nodeps sarg-2.2.3.1-1.rh9.rf.i386.rpm
warning: sarg-2.2.3.1-1.rh9.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
Preparing...                ########################################### [100%]
   1:sarg                   ########################################### [100%]
[root@localhost ~]# yum install sarg
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * base: mirrors.ukfast.co.uk
 * updates: mirrors.ukfast.co.uk
 * addons: mirrors.ukfast.co.uk
 * extras: mirrors.ukfast.co.uk
base                                                                                                                                                      | 1.1 kB     00:00
updates                                                                                                                                                   |  951 B     00:00
addons                                                                                                                                                    |  951 B     00:00
extras                                                                                                                                                    | 1.1 kB     00:00
Excluding Packages in global exclude list
Finished
Setting up Install Process
Parsing package install arguments
Package sarg-2.2.3.1-1.rh9.rf.i386 installed and not available
Nothing to do
[root@localhost ~]# service start sarg
start: unrecognized service
[root@localhost ~]#

Last edited by qwertyjjj; 08-07-2009 at 05:13 PM.
 
Old 08-09-2009, 12:01 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
Try service sarg start.
 
Old 08-09-2009, 01:12 PM   #3
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Quote:
Originally Posted by {BBI}Nexus{BBI} View Post
Try service sarg start.
nope still unrecongized.
What's this bit:
Package sarg-2.2.3.1-1.rh9.rf.i386 installed and not available


?

I get this on trying to put a new install in after removing the existing one:
Code:
[root@localhost ~]# rpm -i sarg-2.2.1-1.el4.rf.i386.rpm
warning: sarg-2.2.1-1.el4.rf.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6

Last edited by qwertyjjj; 08-09-2009 at 02:31 PM.
 
Old 08-09-2009, 04:21 PM   #4
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
I installed the latest rpm releases:
http://dag.wieers.com/rpm/FAQ.php#B

and the yum install sarg
works fine.
 
Old 08-12-2009, 04:39 PM   #5
qwertyjjj
Senior Member
 
Registered: Jul 2009
Location: UK
Distribution: Cent OS5 with Plesk
Posts: 1,013

Original Poster
Rep: Reputation: 30
Anyone know how to run the daily, weekly, and monthly reports?
I have it running the ONE-SHOT reports with the crontab with:
/usr/bin/sarg
I seem to be getting daily reports with this cron:

02 4 * * * root run-parts /etc/cron.daily

but I'm not sure how it knows what to run?????

Last edited by qwertyjjj; 08-12-2009 at 04:54 PM.
 
  


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
Sarg atomixx Linux - Newbie 1 08-11-2008 11:14 AM
SARG: *** stack smashing detected ***: sarg terminated Aborted btaylor1988 Linux - Server 0 06-10-2008 04:28 AM
broken sarg black_man Debian 4 03-28-2006 06:32 PM
Need help in SARG depam Linux - Software 1 10-14-2005 10:06 PM
sarg thiyagu4u Linux - Networking 0 09-13-2004 12:13 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

Main Menu
Advertisement
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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration