| Summary: | www-servers/apache-2.2.15: Apache does not work - (38)Function not implemented: apr_socket_accept: (client socket) | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Marc A. Kastner <marc> |
| Component: | New packages | Assignee: | Patrick Lauer <patrick> |
| Status: | RESOLVED FIXED | ||
| Severity: | critical | CC: | mail, marc, patrick, pchrist |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Marc A. Kastner
2010-04-06 01:10:00 UTC
Does this also happen with the older =www-servers/apache-2.2.14-r1 version? Also, please, paste your full "emerge -pv apache" output. Maybe you should also try revdep-rebuild(emerge gentoolkit) in case there is a problem with dependencies. emerge --unmerge apache; emerge =www-servers/apache-2.2.14-r1; /etc/init.d/apache2 restart; cat /var/log/apache2/error_log [Tue Apr 06 12:00:26 2010] [notice] Apache/2.2.14 (Unix) mod_ssl/2.2.14 OpenSSL/0.9.8n configured -- resuming normal operations [Tue Apr 06 12:00:45 2010] [error] (22)Invalid argument: apr_socket_accept: (client socket) [Tue Apr 06 12:00:45 2010] [error] (22)Invalid argument: apr_socket_accept: (client socket) [Tue Apr 06 12:00:46 2010] [error] (38)Function not implemented: apr_socket_accept: (client socket) [Tue Apr 06 12:00:47 2010] [error] (38)Function not implemented: apr_socket_accept: (client socket) [Tue Apr 06 12:00:47 2010] [error] (38)Function not implemented: apr_socket_accept: (client socket) [Tue Apr 06 12:00:48 2010] [alert] No active workers found... Apache is exiting! My emerge -pv apache: mkasu apache2 # emerge -pv apache These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-admin/apache-tools-2.2.15 [2.2.14] USE="ssl" 0 kB [ebuild U ] www-servers/apache-2.2.15 [2.2.14-r1] USE="ssl threads -debug -doc -ldap (-selinux) -static -suexec" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -auth_digest -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" 0 kB Total: 2 packages (2 upgrades), Size of downloads: 0 kB * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. (after apache 2.2.14-r1 install; I now upgraded to again 2.2.15 as problem persists. mkasu apache2 # revdep-rebuild * Configuring search environment for revdep-rebuild * Checking reverse dependencies * Packages containing binaries and libraries broken by a package update * will be emerged. * Collecting system binaries and libraries * Generated new 1_files.rr * Collecting complete LD_LIBRARY_PATH * Generated new 2_ldpath.rr * Checking dynamic linking consistency [ 100% ] * Dynamic linking on your system is consistent... All done. mkasu apache2 # /etc/init.d/apache2 restart * Stopping apache2 ... httpd (pid 28100?) not running [ ok ] * Starting apache2 ... [ ok ] mkasu apache2 # cat /var/log/apache2/error_log ....... [Tue Apr 06 12:14:57 2010] [notice] Apache/2.2.15 (Unix) mod_ssl/2.2.15 OpenSSL/0.9.8n configured -- resuming normal operations [Tue Apr 06 12:15:00 2010] [error] (22)Invalid argument: apr_socket_accept: (client socket) [Tue Apr 06 12:15:00 2010] [error] (22)Invalid argument: apr_socket_accept: (client socket) [Tue Apr 06 12:15:01 2010] [error] (38)Function not implemented: apr_socket_accept: (client socket) [Tue Apr 06 12:15:02 2010] [error] (38)Function not implemented: apr_socket_accept: (client socket) [Tue Apr 06 12:15:02 2010] [error] (22)Invalid argument: apr_socket_accept: (client socket) [Tue Apr 06 12:15:03 2010] [alert] No active workers found... Apache is exiting! Just to be sure everything is compiled rightly, I've done some emerge -e world over last night (didnt help). can you please try if USE=older-kernels-compatibility in dev-libs/apr fixes the problem Ah, very nice. It looks like it works now (with that USE Flag). I thought it's for much older kernels (like 2.4 or something), thats why I didn't test it. Maybe you should add a test to ebuild which checks if kernel is too old and reminds you of setting that USE flag. i'm not even sure which kernel versions are affected, and i usually fixed this error by recompiling apr (without adding this use flag). i'm reopening this bug, since this issue is quite annoying and should be fixed for real. AFAIK currently USE="older-kernels-compatibility" is for kernels older than 2.6.28. This bug is for kernels that have not been available for years and apache versions that have long gone. Even if you could somehow make it happen, the actual bug is in libapr. Closing. |