LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-01-2003, 06:28 AM   #1
Arenba
Member
 
Registered: Sep 2003
Location: India
Distribution: Red Hat 8
Posts: 51

Rep: Reputation: 16
squid start up


Hi all,
I installed squid proxy on my machine. I didn't use the rpms coz I had to compile it with delay pools enabled. It works. To start up squid I just had to enter:
#/usr/local/squid/bin/squid (instead of the usual /etc/init.d/squid start)
As suggested, I also put a line in my rc.local file
/usr/local/squid/bin/squid -D
so that the service starts automatically whenever I boot up (instead of me having to log in and type out again). Again, it works.
Now, the problem is - there was some power fluctuation in my area (I have a power back-up but obviously it wasn't working properly) and the server booted up by itself. I went through the normal procedure of disk checks (for integrity and all that) and everything functioned normally except that squid didn't start (like it should - or so I thought). I had to type /usr/..../...... again to start it. The script in my rc.local file works properly, during a normal shutdown or reboot.
So, have I missed anything? Do I have to put another script somewhere? Its not thaaaaat big of a problem except that I have to run down four flights of stairs and sprint a quarter of a kilometer just to put that line.
I have to put up with it until that damn UPS guy waddles over. Also, I think its time I had a better squid startup configuration.

Thanks
 
Old 10-01-2003, 09:23 AM   #2
Arenba
Member
 
Registered: Sep 2003
Location: India
Distribution: Red Hat 8
Posts: 51

Original Poster
Rep: Reputation: 16
Hi all,
I have figured it out. So you need not reply.

Thanks anyway.
 
Old 10-01-2003, 10:03 AM   #3
nowonmai
Member
 
Registered: Jun 2003
Posts: 481

Rep: Reputation: 48
Re: squid start up

Quote:
Originally posted by Arenba
Its not thaaaaat big of a problem except that I have to run down four flights of stairs and sprint a quarter of a kilometer just to put that line.
ssh?
 
Old 10-02-2003, 09:23 AM   #4
Arenba
Member
 
Registered: Sep 2003
Location: India
Distribution: Red Hat 8
Posts: 51

Original Poster
Rep: Reputation: 16
Nope......not possible for me to monitor all the time. Just providing external support.
 
  


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
Squid Won't Start jkruer01 Linux - Software 3 11-16-2004 08:56 AM
I can't "service squid start" , and chkconfig squid on not working Niceman2005 Linux - Software 0 11-10-2004 08:18 PM
Where to start with squid Suzi_jones Linux - Networking 7 09-01-2003 12:46 PM
Squid can't start! yenonn Linux - Networking 7 03-18-2003 05:55 AM
Cannot start Squid Jean E. Francoi Linux - General 1 11-16-2001 03:10 AM

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

All times are GMT -5. The time now is 05:23 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