Koozali.org formerly Contribs.org

installing sarg on sme 7.1

pstrout

installing sarg on sme 7.1
« on: March 28, 2007, 09:30:09 PM »
Hello, I've recently upgraded to 7.1 and am having problems installing sarg. You will have to bare with me me as I'm not very proficinet in linux.
can Sarg be installed without Dans guardian? All I want SME is for a firewall gateway ftp server. Sarg would be nice to see what and when somthing is going on. I used yum to install and once it looked like it was installing, but I don't see it in the server-manager panel.
I downloaded the latest from dungog, ftped into an i-bay and used the following command.
 yum localinstall /ibays/paul/cgi-bin

Is this riight?


Thanks

installing sarg on sme 7.1
« Reply #1 on: March 28, 2007, 09:46:44 PM »
Where did you download the packages to on your server? I usually keep mine in root/contribs/sarg then I can see what contribs I am using. So after downloading the sarg packages from Dungog I ssh into /root/contribs/sarg and run yum localinstall ./*.rpm If you didn't download all the required rpm files, go back and get the ones that yum tells you are missing.

Dungog's page also has directions for setting up his repo so you can install from there too!

Offline bpivk

  • *
  • 908
    • http://www.bezigrad.com
installing sarg on sme 7.1
« Reply #2 on: March 28, 2007, 10:13:09 PM »
Quote
can Sarg be installed without Dans guardian

Yes, and you can use squidguard for blocking (instead of dansguardian).

Quote
yum localinstall /ibays/paul/cgi-bin

This isn't correct.

This is what i do...

Code: [Select]
cd /
mkdir temp
cd /temp
wget http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS.dungog/smeserver-sarg-2.2.1-4.noarch.rpm
wget http://sme.dungog.net/packages/smeserver/7.0/i386/RPMS.dungog/sarg-2.2.1-1.el4.rf.i386.rpm
yum install *
rm *
signal-event post-upgrade
signal-event reboot

Or you can cd /temp to go to temp and then type ls to see all the files and type yum install s and then pres tab key which will make linux finish your file or command.
"It should just work" if it doesn't report it. Thanks!

pstrout

installing sarg on sme 7.1
« Reply #3 on: March 29, 2007, 01:58:37 PM »
Thanks guys, for your help, one good thind about SME is It hardley needs the maintenece of a windows box. Therefore my linux is rusty..
your scripts worked but now I'm missing a dependency  

[root@firewall temp]# --> Processing Dependency: gd >= 1.8 for package: sarg
-bash: --: command not found
[root@firewall temp]# --> Processing Dependency: libgd.so.2 for package: sarg
-bash: --: command not found
[root@firewall temp]# --> Finished Dependency Resolution
-bash: --: command not found
[root@firewall temp]# Error: Missing Dependency: gd >= 1.8 is needed by package sarg
-bash: Error:: command not found
[root@firewall temp]# Error: Missing Dependency: libgd.so.2 is needed by package sarg
-bash: Error:: command not found


Should I delete this directory or just add the dependencies? I'm not sure of which version to use, I went to dungog and believe I downloaded for 7.1.3

Again thanks for your timely response.

Paul

Offline bpivk

  • *
  • 908
    • http://www.bezigrad.com
installing sarg on sme 7.1
« Reply #4 on: March 29, 2007, 02:37:03 PM »
What exactly did you download?
"It should just work" if it doesn't report it. Thanks!


Offline bpivk

  • *
  • 908
    • http://www.bezigrad.com
installing sarg on sme 7.1
« Reply #6 on: March 29, 2007, 03:43:44 PM »
And did you run
Code: [Select]
yum install sarg-2.2.1-1.el4.rf.i386.rpm
yum install smeserver-sarg-2.2.1-4.noarch.rpm
"It should just work" if it doesn't report it. Thanks!

pstrout

installing sarg on sme 7.1
« Reply #7 on: March 29, 2007, 03:44:44 PM »
Thanks for your patience!

Offline bpivk

  • *
  • 908
    • http://www.bezigrad.com
installing sarg on sme 7.1
« Reply #8 on: March 29, 2007, 03:50:21 PM »
It should work without libgd. Did you run the command i wrote?

And what repos have you enabled?

And give me the full output of my previous command.
"It should just work" if it doesn't report it. Thanks!

pstrout

installing sarg on sme 7.1
« Reply #9 on: March 29, 2007, 04:16:43 PM »
Hello, I did the commands , both seperatley  and this is what I came up with. I'm basiclly looking for an easy report for my firewall and bandwidth usage along with bottlenecks, Sarg seems to be it unless there is something else out there.
again,

Thanks






Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
Excluding Packages from CentOS - updates
Finished
Parsing package install arguments
Examining smeserver-sarg-2.2.1-4.noarch.rpm: smeserver-sarg - 2.2.1-4.noarch
Marking smeserver-sarg-2.2.1-4.noarch.rpm to be installed
Resolving Dependencies
--> Populating transaction set with selected packages. Please wait.
---> Package smeserver-sarg.noarch 0:2.2.1-4 set to be updated
--> Running transaction check
--> Processing Dependency: sarg >= 2.2 for package: smeserver-sarg
--> Finished Dependency Resolution
Error: Missing Dependency: sarg >= 2.2 is needed by package smeserver-sarg
================================================================
No new rpms were installed. No additional commands are required.

Offline bpivk

  • *
  • 908
    • http://www.bezigrad.com
installing sarg on sme 7.1
« Reply #10 on: March 29, 2007, 04:19:48 PM »
You should install sarg and then smeserver-sarg
Contact me if you have MSN an we'll work this out faster if you're in a rush.
"It should just work" if it doesn't report it. Thanks!