Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Squid won't start, epoll create errors
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Rob77
n00b
n00b


Joined: 21 Mar 2005
Posts: 21
Location: The Netherlands

PostPosted: Mon Oct 30, 2006 9:05 am    Post subject: Squid won't start, epoll create errors Reply with quote

Hi all,

Squid won't seem to start.

I've already copied the config from a working squid.conf from another machines.
I'm also using the latest Squid available in Portage, 2.6.4-r2

The message in /var/log/messages;

Oct 29 13:00:00 Comanche squid[8229]: Squid Parent: child process 8248 started
Oct 29 13:00:00 Comanche (squid): comm_select_init: epoll_create(): (38) Function not implemented
Oct 29 13:00:00 Comanche squid[8229]: Squid Parent: child process 8248 exited due to signal 6
Oct 29 13:00:00 Comanche squid[8229]: Exiting due to repeated, frequent failures

In rc-status;
squid [ started ]

/etc/init.d/squid restart
* Stopping squid...
squid: ERROR: No running copy [ ok ]
* Starting squid... [ ok ]

but then;

ps xa | grep squid
14973 pts/1 S 0:00 grep squid

I'm running low on options :(
_________________
If all else fails, THEN you start reading the manual . . . . .
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Mon Oct 30, 2006 12:59 pm    Post subject: Reply with quote

What kernel version your computer has? If my memory serves me, epoll has been available since 2.6 series, if you have kernel 2.4, it won't be there without 3rd party patches.

And your ps | grep combo seems to also match your ps | grep combo, not an actual squid process. Try pgrep squid to see 0 matches. ;)
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
Rob77
n00b
n00b


Joined: 21 Mar 2005
Posts: 21
Location: The Netherlands

PostPosted: Mon Oct 30, 2006 8:28 pm    Post subject: Reply with quote

Janne Pikkarainen wrote:
What kernel version your computer has? If my memory serves me, epoll has been available since 2.6 series, if you have kernel 2.4, it won't be there without 3rd party patches.

And your ps | grep combo seems to also match your ps | grep combo, not an actual squid process. Try pgrep squid to see 0 matches. ;)



Well, I'm running kernel-2.6.11-gentoo-r5
epoll could be damaged ?

and pgrep squid returns the command line without a result.
_________________
If all else fails, THEN you start reading the manual . . . . .
Back to top
View user's profile Send private message
Janne Pikkarainen
Veteran
Veteran


Joined: 29 Jul 2003
Posts: 1143
Location: Helsinki, Finland

PostPosted: Tue Oct 31, 2006 6:26 am    Post subject: Reply with quote

Please post your kernel config.
_________________
Yes, I'm the man. Now it's your turn to decide if I meant "Yes, I'm the male." or "Yes, I am the Unix Manual Page.".
Back to top
View user's profile Send private message
jamapii
l33t
l33t


Joined: 16 Sep 2004
Posts: 637

PostPosted: Sun Nov 19, 2006 9:09 pm    Post subject: Reply with quote

Solution: compile squid on the same machine it will be running (actually, on a machine with the same kernel "MINOR" version 2.4 or 2.6)

Or change the ebuild to make it possible to --disable-epoll
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security 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