Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squid won't start. [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
justincataldo
Guru
Guru


Joined: 15 Jun 2005
Posts: 376
Location: Australia

PostPosted: Sun Dec 04, 2005 10:40 pm    Post subject: Squid won't start. [SOLVED] Reply with quote

I'm getting this message when I try to start squid.
Code:

yang ~ # /etc/init.d/squid start
 * Re-caching dependency info (mtimes differ)...
 * Initializing cache directory: /var/cache/squid
/etc/init.d/squid: line 35: cd: /var/cache/squid: No such file or directory
/etc/init.d/squid: line 32: 21551 Aborted                 /usr/sbin/squid -z -F 2>/dev/null
 * Error initializing: /var/cache/squid
yang ~ #

My machine is x86 architecture and I'm using squid-2.5.11.

I've never had this message before. Shouldn't it create the directory automatically?


Last edited by justincataldo on Mon Dec 05, 2005 1:22 am; edited 1 time in total
Back to top
View user's profile Send private message
R. Daneel Olivaw
n00b
n00b


Joined: 06 Jul 2004
Posts: 47

PostPosted: Mon Dec 05, 2005 12:21 am    Post subject: Reply with quote

yes just create the directory, it must be writable by the user squid runs as.
Back to top
View user's profile Send private message
justincataldo
Guru
Guru


Joined: 15 Jun 2005
Posts: 376
Location: Australia

PostPosted: Mon Dec 05, 2005 1:21 am    Post subject: Reply with quote

Ah ha! The directory already existed actually, so it wasn't because of that.
It was because I had not set the visible_hostname in squid.conf.
It's starting now with no problems.

Thanks for your help! :smile:
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum