LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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-22-2014, 10:13 AM   #46
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

@ponce, according to the below, he had a previous version of sarg (2.0.5) installed to /usr/local, which was a package that he downloaded from somewhere. I had him remove that package and then rebuild sarg 2.3.9.
Quote:
Originally Posted by cent4 View Post
1.

ok

2.
root@server:/# locate sarg*.t*
Code:
--snip--
/root/!JACEK/sarg-2.0.9-i486-2stb.tgz
/root/!JACEK/sarg-2.2.2-i486-1stb.tgz
--snip--
/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
3.
root@server:/# find /usr -type d -iname 'sarg*'
Code:
/usr/local/share/sarg
/usr/doc/sarg-2.0.5
4.
root@server:/# ls -l /var/log/packages/sarg*

Code:
-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...
@cent4, maybe you could force a reinstall of slackware through slackpkg. You would need to go into /etc/slackpkg/mirrors and uncomment one mirror (only one) for your version and arch (so you would uncomment a mirror for Slackware64 13.37). It doesn't really matter what mirror, as long as it works. I haven't used slackpkg much, but from what I gathered, this should work to replace any messed up packages (it'll actually reinstall every single package on the system).

Code:
init 3       #This brings us to a basic command prompt to prevent issues with reinstalling packages if they're being used
slackpkg update gpg
slackpkg update
slackpkg reinstall slackware64
 
Old 12-22-2014, 10:38 AM   #47
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
This mean I must reinstal my slackware?
I wouldn't do that...
reinstall slackware64 will reinstal my linux?
I'm afraid to do this.
Is there any other option?
 
Old 12-22-2014, 10:40 AM   #48
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
what about my linux after this operation? My dhcp, samba, vpn, squid, firewall?
 
Old 12-22-2014, 11:37 AM   #49
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,068

Rep: Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145Reputation: 4145
it's understandable that you don't feel like touching a production machine you inherited and with an operating system you don't have confidence with, but you should also avoid administering a production machine basing just on the suggestions you get on web forums: if you do any damage on the box you and who put you in charge of the box are the only responsible ones of it.

so, my suggestion, is to do practice with a fresh install you will do on another machine where you will build sarg and whatever other tool you need.

Last edited by ponce; 12-22-2014 at 12:13 PM.
 
Old 12-22-2014, 11:56 AM   #50
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
meaby other squid analyzer?
I don't know any?
 
Old 12-22-2014, 11:59 AM   #51
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
graphic analyzer with simple instalation ofcourse ;-)
 
Old 12-22-2014, 01:14 PM   #52
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
Reinstalling all the packages is different than wiping and reinstalling Linux. This *should* keep everything intact and not remove any data or conf files, so when it's done, it should just reboot and work like before, if not better. However, if you did inherit this production machine from someone else, who knows what all they did. They may have upgraded or downgraded various packages to allow 3rd-party software to run. If you restore all the packages back to stock, it could break 3rd-party programs, some of which may be necessary.

A quick google search of squid analyzer came up with http://squidanalyzer.darold.net/ as the primary result (google even asked if I meant "squidanalyzer" instead of "squid analyzer"). My third result was http://www.squid-cache.org/Misc/log-analysis.html, which gives you a huge list of various programs that somehow interact with squid. There's likely something there that will do what you need it to.
 
Old 12-22-2014, 02:25 PM   #53
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
I think squidanalyzer will be ok. But what about version for my slackware 13.37.
http://slackbuilds.org/repository/14...squidanalyzer/ is for 14.1
Will be ok for my slackware?
 
Old 12-22-2014, 03:05 PM   #54
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 just means it was tested to work with 14.1. It may still work with 13.37. You'd just have to try it. If it compiles fine and doesn't require the same libpng libraries that sarg does, it should work.
 
Old 12-23-2014, 02:06 AM   #55
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
I install SquidAnalyzer from http://squidanalyzer.darold.net/download.html
compile and install ok
The statistics is correct allelujah
;-)
 
Old 12-23-2014, 03:12 PM   #56
cent4
Member
 
Registered: Mar 2013
Posts: 38

Original Poster
Rep: Reputation: Disabled
Thank You every one for help.
 
  


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 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 11:37 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