LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 12-19-2014, 07:49 AM   #16
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656

Also check ls /var/log/packages/sarg*
 
Old 12-19-2014, 08:44 AM   #17
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
How to remove?
Meaby I have to remove everything and instal again?
How to remove every sarg?
 
Old 12-19-2014, 12:33 PM   #18
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
What is the output of ls /var/log/packages/sarg*?
 
Old 12-19-2014, 01:14 PM   #19
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
/var/log/packages/sarg-2.0.5-i486-1jm
 
Old 12-19-2014, 01:15 PM   #20
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
But when I start sarg: "sarg -x"
in one of the line I have:
"SARG: sarg version: 2.3.4 Jan-05-2013"
 
Old 12-19-2014, 01:31 PM   #21
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
you probably still have the old one installed in /usr/local or who knows where: you can see it with
Quote:
Originally Posted by bassmadrigal View Post
What is the output of which sarg?
then you can move it out of the way to use the one you installed from the package...

EDIT: looking better the versions of the application you are showing don't make any sense: the SlackBuild script you have downloaded is for 2.3.9 (have you used that?), you have installed the package for 2.0.5 (which script have you built it from? have you downloaded it?) and the one you have first in your path looks like 2.3.4 (?)...

Last edited by ponce; 12-19-2014 at 01:57 PM.
 
Old 12-19-2014, 02:34 PM   #22
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
It definitely looks like you have quite the mismatch of programs installed. How many times have you attempted to install sarg, what were the methods used, and where did you download the programs? As it shows right now, you have 2.0.5 installed via a slackware package, but then you have 2.3.4 available on the command line (which means it might've been just a tarball you expanded into some directory?), and you (supposedly) built 2.3.9, but that's not what's being run (and wasn't installed according to /var/log/packages).

Make sure you answer all the questions, including the which sarg that ponce quoted, so we can try to help you get down to the bottom of this.
 
Old 12-19-2014, 03:06 PM   #23
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
How can I remove every version of sarg?
Sarg was installed 5 times.
I don't know what to do...
 
Old 12-19-2014, 03:40 PM   #24
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Post the information I asked for so we can try to figure it out.
 
Old 12-19-2014, 03:45 PM   #25
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
I downloaded it from: http://tuxjm.net/downloads/source/slackware-10.1/sarg/
 
Old 12-19-2014, 04:24 PM   #26
bassmadrigal
LQ Guru
 
Registered: Nov 2003
Location: West Jordan, UT, USA
Distribution: Slackware
Posts: 8,792

Rep: Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656Reputation: 6656
Ok, that accounts for one package, what about the other 4? Why didn't you use the link for the newer version of the sarg slackbuild that I posted in post #4? And you still missed the posting the output of which sarg command.

It would really be beneficial if you were to answer all the questions asked when they're asked. This will help us try and solve your problem much quicker rather than continually asking the same questions over and over.

Post the output of which sarg, run (as root) updatedb and then post the output of locate sarg*.t*, post the output of find /usr -type d -iname 'sarg*', and just for good measure, post ls -l /var/log/packages/sarg* again.

Hopefully those commands will give us an idea of what is installed on your system and where. Once we determine that, we can work on removing all the unnecessary copies, and, if needed, get the correct one installed.

EDIT: Just to simplify, let me put it in a code block.

Code:
which sarge
updatedb           #run as root and there should be no output from this command
locate sarg*.t*
find /usr -type d -iname 'sarg*'
ls -l /var/log/packages/sarg*

Last edited by bassmadrigal; 12-19-2014 at 04:27 PM.
 
Old 12-20-2014, 09:05 AM   #27
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
I'm sorry but my english is not werry well ;-).
Please forgive me ;-)
I'll try answer for the question.
I was install 5 times this packages beacuse I fought I can't install good.
Thanks for help me, thanks for everything answers.
I'll check everything of this post but I'll check this tommorow.
 
Old 12-21-2014, 01:42 PM   #28
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
1.
Quote:
root@server:/# updatedb
ok

2.
root@server:/# locate sarg*.t*
Quote:
/etc/sarg/sarg-php/translate.this
/etc/sarg/fonts/FreeSans.ttf
/etc/sarg/css.tpl
/usr/local/share/sarg/fonts/DejaVuSans.ttf
/usr/local/share/sarg/fonts/FreeSans.ttf
/root/!JACEK/sarg-2.3.4/documentation/css.txt
/root/!JACEK/sarg-2.3.4/documentation/log.txt
/root/!JACEK/sarg-2.3.4/documentation/denied.txt
/root/!JACEK/sarg-2.3.4/documentation/repday.txt
/root/!JACEK/sarg-2.3.4/documentation/getconf.txt
/root/!JACEK/sarg-2.3.4/documentation/util.txt
/root/!JACEK/sarg-2.3.4/documentation/decomp.txt
/root/!JACEK/sarg-2.3.4/documentation/usertab.txt
/root/!JACEK/sarg-2.3.4/documentation/totger.txt
/root/!JACEK/sarg-2.3.4/documentation/index.txt
/root/!JACEK/sarg-2.3.4/documentation/conf.txt
/root/!JACEK/sarg-2.3.4/documentation/report.txt
/root/!JACEK/sarg-2.3.4/documentation/exclude.txt
/root/!JACEK/sarg-2.3.4/documentation/grepday.txt
/root/!JACEK/sarg-2.3.4/documentation/longline.txt
/root/!JACEK/sarg-2.3.4/sarg-php/translate.this
/root/!JACEK/sarg-2.3.4/CMakeLists.txt
/root/!JACEK/sarg-2.3.4/fonts/DejaVuSans.ttf
/root/!JACEK/sarg-2.3.4/fonts/FreeSans.ttf
/root/!JACEK/sarg-2.3.4/css.tpl
/root/!JACEK/sarg-2.0.9-i486-2stb.tgz
/root/!JACEK/sarg-2.2.2-i486-1stb.tgz
/root/!JACEK/sarg/usr/local/sarg/sarg-php/translate.this
/root/!JACEK/sarg/usr/local/sarg/fonts/FreeSans.ttf
/root/!JACEK/sarg/usr/local/sarg/css.tpl
/root/!JACEK/sarg/sarg-2.0.8-slackware10.1-i386-1.tgz
/root/!JACEK/sarg2/sarg-2.0.5-i486-1jm.tgz
/root/!JACEK/sarg-2.3.4.tar.gz
/root/!JACEK/sarg-2.0.8-slackware10.1-i386-1.tgz
/home/ftp/linux/system/proxy/sarg-2.0.8-slackware10.1-i386-1.tgz
/var/www/html/sarg-php/translate.this
3.
root@server:/# find /usr -type d -iname 'sarg*'
Quote:
/usr/local/share/sarg
/usr/doc/sarg-2.0.5
4.
root@server:/# ls -l /var/log/packages/sarg*
Quote:
-rw-r--r-- 1 root root 680 Dec 19 14:14 /var/log/packages/sarg-2.0.5-i486-1jm

I think it will be heplfull...
 
Old 12-21-2014, 01:45 PM   #29
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
About post 4 - I can't download this files so i copy and past it in the text files in the same name, but compile not work :-(. So I find other pack...
 
Old 12-21-2014, 01:48 PM   #30
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
root@server:/# which sarg
Quote:
/usr/local/bin/sarg
 
  


Reply



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 on squid ekcr Linux - Newbie 1 11-15-2011 08:30 AM
Install Sarg to monitor Squid not success. Cannot see sarg.conf file !!! Help me. ducloiag Linux - Networking 2 11-30-2010 08:32 PM
Help with SARG + Squid wegadnie Linux - General 0 01-08-2009 12:28 AM
squid and sarg tenzan Linux - Networking 4 02-11-2006 01:25 AM
squid + sarg JJX Linux - Software 4 06-22-2005 06:29 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 10:11 AM.

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
Open Source Consulting | Domain Registration