Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Squid3 does not start automatically on boot, in some cases. I have start it manually with sudo service squid3 start.

Any reason why?

share|improve this question
    
Did you check the logfiles for any errors on startup? /var/log/squid/cache.log should contain any startup-related errors. If you see something there and need help figuring out what it means, you can add parts of the logfile to your question by editing it, and someone here may be able to help further. –  roadmr May 24 '12 at 19:12
add comment

2 Answers 2

Just create a file (you need to be root to do it): /etc/init/squid3.override .

And put this inside it:

start on (net-device-up IFACE!=lo
          and local-filesystems
          and runlevel [2345])
stop on runlevel [016]

For more info referring overriding upstart conf files read here: http://manpages.ubuntu.com/manpages/precise/man5/init.5.html

share|improve this answer
add comment

Add to /etc/rc.local, its will automaticaly start.

# nano /etc/rc.local

sudo service squid3 start
exit 0

or ceck your configuration.

I use squid3 without problem

Visit http://plantpest.wordpress.com/2012/05/22/squid3-proxy-dalam-catatanku/

Translate : Indonesian to English

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.