View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0000452 | Apache 2.x | Bug | public | 2010-12-20 15:50 | 2020-08-24 03:12 |
Reporter | emax | Assigned To | psmedley | ||
Priority | urgent | Severity | crash | Reproducibility | sometimes |
Status | closed | Resolution | duplicate | ||
Platform | HP Proliang ML 310 G2 | OS | eCS | OS Version | 1.2MR |
Product Version | v2.2.1 | ||||
Summary | 0000452: Apache V2.2.16 and also 2.2.17 (and previous versions too) | ||||
Description | Apache has very big problems to start (both after a restart of the server and also to a standard apache restart). error_log: [Mon Dec 20 16:45:26 2010] [notice] Digest: generating secret for digest authent ication ... [Mon Dec 20 16:45:26 2010] [notice] Digest: done [Mon Dec 20 16:45:26 2010] [error] (OS 105)The previous ownership of this semaph ore has ended. : apr_socket_accept Here3 [Mon Dec 20 16:45:29 2010] [notice] Digest: generating secret for digest authent ication ... [Mon Dec 20 16:45:29 2010] [notice] Digest: done [Mon Dec 20 16:45:29 2010] [error] (OS 105)The previous ownership of this semaph ore has ended. : apr_socket_accept [Mon Dec 20 16:45:31 2010] [notice] Digest: generating secret for digest authent ication ... | ||||
Additional Information | After a simple restart of apache application i had to restart it 12 times before it comes back into normal operations. It start, CPU goes to 100% it start the childs after it exit automatically. | ||||
Tags | No tags attached. | ||||
|
What modules are you loading? looks like you have SSL loaded? Steven Levine helped identify a possible exception in openssl whilst we were debugging stunnel - this might also help Apache2. If you are running mod_ssl - I'll send you an updated build which includes the openssl fix |
|
Apache/2.2.17 (OS/2) mod_ssl/2.2.17 OpenSSL/1.0.0a PHP/5.2.8 modules: loadModule authn_file_module modules/authn_fi.dll # loadmodule authn_dbm_module modules/authn_db.dll loadmodule authn_anon_module modules/authn_an.dll # loadmodule authn_dbd_module modules/authn_db.dll loadmodule authn_default_module modules/authn_de.dll loadmodule authz_host_module modules/authz_ho.dll loadmodule authz_groupfile_module modules/authz_gr.dll loadmodule authz_user_module modules/authz_us.dll loadmodule authz_dbm_module modules/authz_db.dll loadmodule authz_owner_module modules/authz_ow.dll # loadmodule authnz_ldap_module modules/authnz_ldap.dll loadmodule authz_default_module modules/authz_de.dll loadmodule auth_basic_module modules/auth_bas.dll loadmodule auth_digest_module modules/auth_dig.dll loadmodule dbd_module modules/dbd.dll loadmodule dumpio_module modules/dumpio.dll loadmodule echo_module modules/echo.dll loadmodule ext_filter_module modules/ext_filt.dll loadmodule include_module modules/include.dll loadmodule filter_module modules/filter.dll loadmodule charset_lite_module modules/charset_.dll loadmodule deflate_module modules/deflate.dll # loadmodule ldap_module modules/ldap.dll loadmodule log_config_module modules/log_conf.dll loadmodule log_forensic_module modules/log_fore.dll loadmodule logio_module modules/logio.dll loadmodule env_module modules/env.dll loadmodule mime_magic_module modules/mime_mag.dll loadmodule cern_meta_module modules/cern_met.dll loadmodule expires_module modules/expires.dll loadmodule headers_module modules/headers.dll loadmodule ident_module modules/ident.dll loadmodule usertrack_module modules/usertrac.dll loadmodule unique_id_module modules/unique_i.dll loadmodule setenvif_module modules/setenvif.dll loadmodule version_module modules/version.dll # loadmodule proxy_module modules/proxy.dll # loadmodule proxy_connect_module modules/proxy_connect.dll # loadmodule proxy_connect_module modules/proxy_co.dll # loadmodule proxy_ftp_module modules/proxy_ftp.dll # loadmodule proxy_http_module modules/proxy_http.dll # loadmodule proxy_http_module modules/proxy_ht.dll # loadmodule proxy_ajp_module modules/proxy_ajp.dll # loadmodule proxy_balancer_module modules/proxy_balancer.dll loadmodule ssl_module modules/ssl.dll loadmodule mime_module modules/mime.dll # loadmodule dav_module modules/dav.dll loadmodule status_module modules/status.dll loadmodule autoindex_module modules/autoinde.dll loadmodule asis_module modules/asis.dll loadmodule info_module modules/info.dll loadmodule cgi_module modules/cgi.dll # loadmodule dav_fs_module modules/dav_fs.dll loadmodule vhost_alias_module modules/vhost_al.dll loadmodule negotiation_module modules/negotiat.dll loadmodule dir_module modules/dir.dll loadmodule imagemap_module modules/imagemap.dll loadmodule actions_module modules/actions.dll # loadmodule speling_module modules/speling.dll loadmodule userdir_module modules/userdir.dll loadmodule alias_module modules/alias.dll loadmodule rewrite_module modules/rewrite.dll LoadModule php5_module modules/modphp5.dll thanks bye massimo |
|
http://smedley.info/httpd-2.2.17-os2-20110127.zip has the openssl fix I mentioned. It probably needs the *updated* gcc445.dll from http://smedley.info/gcc445.zip |
|
Hi, it still have problem to start like the past version, i've attached the log. (e.g. 4 restart until it started correctly) [Sat Jan 29 15:24:41 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:24:41 2011] [notice] Digest: done [Sat Jan 29 15:24:41 2011] [notice] Apache/2.2.17 (OS/2) mod_ssl/2.2.17 OpenSSL/1.0.0c PHP/5.2.8 configured -- resuming normal operations [Sat Jan 29 15:24:57 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:24:57 2011] [notice] Digest: done [Sat Jan 29 15:25:02 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:25:02 2011] [notice] Digest: done [Sat Jan 29 15:25:02 2011] [error] (OS 105)The previous ownership of this semaphore has ended. : apr_socket_accept [Sat Jan 29 15:25:05 2011] [notice] caught SIGTERM, shutting down [Sat Jan 29 15:26:45 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:26:45 2011] [notice] Digest: done [Sat Jan 29 15:26:45 2011] [notice] Apache/2.2.17 (OS/2) mod_ssl/2.2.17 OpenSSL/1.0.0c PHP/5.2.8 configured -- resuming normal operations [Sat Jan 29 15:27:08 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:27:08 2011] [notice] Digest: done [Sat Jan 29 15:27:12 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:27:12 2011] [notice] Digest: done [Sat Jan 29 15:27:12 2011] [error] (OS 105)The previous ownership of this semaphore has ended. : apr_socket_accept [Sat Jan 29 15:27:15 2011] [notice] caught SIGTERM, shutting down [Sat Jan 29 15:28:20 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:28:20 2011] [notice] Digest: done [Sat Jan 29 15:28:20 2011] [notice] Apache/2.2.17 (OS/2) mod_ssl/2.2.17 OpenSSL/1.0.0c PHP/5.2.8 configured -- resuming normal operations [Sat Jan 29 15:28:42 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:28:42 2011] [notice] Digest: done [Sat Jan 29 15:28:45 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:28:45 2011] [notice] Digest: done [Sat Jan 29 15:28:45 2011] [error] (OS 105)The previous ownership of this semaphore has ended. : apr_socket_accept [Sat Jan 29 15:28:46 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:28:46 2011] [notice] Digest: done [Sat Jan 29 15:28:46 2011] [error] (OS 105)The previous ownership of this semaphore has ended. : apr_socket_accept [Sat Jan 29 15:28:46 2011] [notice] caught SIGTERM, shutting down [Sat Jan 29 15:28:53 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:28:53 2011] [notice] Digest: done [Sat Jan 29 15:28:53 2011] [notice] Apache/2.2.17 (OS/2) mod_ssl/2.2.17 OpenSSL/1.0.0c PHP/5.2.8 configured -- resuming normal operations [Sat Jan 29 15:29:13 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:13 2011] [notice] Digest: done [Sat Jan 29 15:29:15 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:15 2011] [notice] Digest: done [Sat Jan 29 15:29:16 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:16 2011] [notice] Digest: done [Sat Jan 29 15:29:18 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:18 2011] [notice] Digest: done [Sat Jan 29 15:29:24 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:24 2011] [notice] Digest: done [Sat Jan 29 15:29:27 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:27 2011] [notice] Digest: done [Sat Jan 29 15:29:39 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:39 2011] [notice] Digest: done [Sat Jan 29 15:29:43 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:43 2011] [notice] Digest: done [Sat Jan 29 15:29:45 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:45 2011] [notice] Digest: done [Sat Jan 29 15:29:46 2011] [notice] Digest: generating secret for digest authentication ... [Sat Jan 29 15:29:46 2011] [notice] Digest: done |
|
yesterday, apache after a manual stop, had very bad problems to get back working i had to restart it: - 9 times - reboot of the server - even other 4 times after it restarted correctly the error is allways the same (OS 105)The previous ownership of this semaphore has ended. : apr_socket_accept thanks bye massimo s. |
|
Any news about this problem? about each time i've to stop apache (e.g. to configure a new vhost or just a server reboot) i've to restart it several times :( [Sat Jan 29 15:28:46 2011] [error] (OS 105)The previous ownership of this semaphore has ended. : apr_socket_accept the error is still this one thanks massimo |
|
on eCS V2.0 this problems give also some register dump in "error_log" file: [Sun Apr 24 22:19:49 2011] [error] (OS 105)The previous ownership of this semaph ore has ended. : apr_socket_accept [Sun Apr 24 22:19:49 2011] [notice] Digest: generating secret for digest authent ication ... [Sun Apr 24 22:19:49 2011] [notice] Digest: done [Sun Apr 24 22:19:49 2011] [error] (OS 105)The previous ownership of this semaph ore has ended. : apr_socket_accept [Sun Apr 24 22:19:50 2011] [notice] Digest: generating secret for digest authent ication ... [Sun Apr 24 22:19:50 2011] [notice] Digest: done [Sun Apr 24 22:19:50 2011] [error] (OS 105)The previous ownership of this semaph ore has ended. : apr_socket_accept [Sun Apr 24 22:19:50 2011] [notice] caught SIGTERM, shutting down Killed by SIGSEGV pid=0x8759 ppid=0x8739 tid=0x0001 slot=0x0123 pri=0x0200 mc=0x0001 D:\APACHE\BIN\HTTPD.EXE cs:eip=005b:1e643ea4 ss:esp=0053:0022fe6c ebp=0022fec8 ds=0053 es=0053 fs=150b gs=0000 efl=00210202 eax=00635240 ebx=00636338 ecx=00000000 edx=00000001 edi=00638208 esi=00634318 Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it. hope it can help, thanks massimo |
|
I strongly suggest you update to the 2.2.17 build that I emailed to you a few days ago. Previous builds used openssl that had known problems with SMP. These crashes in openssl may well be the cause of your issues |
|
even if i don't use SMP? |
|
new errors (on eCS2.0): TlsAllocThreadLocalMemory error: init already done! Killed by SIGSEGV pid=0x028a ppid=0x026a tid=0x0001 slot=0x006e pri=0x0200 mc=0x0001 D:\APACHE\BIN\HTTPD.EXE cs:eip=005b:1ea53ea4 ss:esp=0053:0022fe6c ebp=0022fec8 ds=0053 es=0053 fs=150b gs=0000 efl=00210202 eax=00635240 ebx=00636338 ecx=00000000 edx=00000001 edi=00638208 esi=00634318 Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it. 30 minutes of downtime due to a simple restart after having added a virtual host... hope that these 2 new errors can help with the very hard problematic restarts thanks bye massimo |
|
i've tried the versions you suggested in email it neither start/nor work (i guess it has not been neither tested): TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 TlsAlloc: tls_mutex not initialized!TlsAllocThreadLocalMemory: DosAllocThreadLocalMemory failed rc=8 thanks bye massimo |
|
catched this in popuplog.os2: 06-05-2011 18:06:54 SYS3175 PID 017c TID 0008 Slot 0053 D:\APACHE\BIN\HTTPD.EXE c0000005 1ffc1b65 P1=00000001 P2=00000b14 P3=XXXXXXXX P4=XXXXXXXX EAX=00000b14 EBX=20039140 ECX=0276ffd4 EDX=0276ffd4 ESI=0276ffd4 EDI=00000008 DS=0053 DSACC=f0f3 DSLIM=ffffffff ES=0053 ESACC=f0f3 ESLIM=ffffffff FS=150b FSACC=00f3 FSLIM=00000030 GS=0000 GSACC=**** GSLIM=******** CS:EIP=005b:1ffc1b65 CSACC=f0df CSLIM=ffffffff SS:ESP=0053:0276ff94 SSACC=f0f3 SSLIM=ffffffff EBP=0276ff94 FLG=00010213 DOSCALL1.DLL 0002:00001b65 hope it can help, i pray also someone to let us know if apache v2 is still actively developed and supported since this website seems to be in abandon state thanks bye massimo |
|
I work long hours in my day job. I do ALL my OS/2 stuff in my spare time essentially for free. Recently, I've chosen to spend my free time digitising my CD collection for my enjoyment. When I've finished that task, I'll try spend MY time helping OTHER people. |
|
after a suggestion from Steve i've found the cause of this terrible problem: this is a sort of bug to deal to APR (apache portable runtime) socket of this module: loadmodule dbd_module modules/dbd.dll after deactivating that module now apache start at the first time without anymore crash i'm asking Paul to close the ticket as solved thanks so much to everyone for the help massimo |
|
please ignore the previous post, just after a simple reboot of the server, the hell started again: about 2 hours of downtime, about 20 manual restart, error log full of this: [Wed Jun 08 11:33:41 2011] [notice] Digest: done [Wed Jun 08 11:33:41 2011] [error] (OS 105)The previous ownership of this semaph ore has ended. : apr_socket_accept [Wed Jun 08 11:33:41 2011] [error] (OS 105)The previous ownership of this semaph ore has ended. : apr_socket_accept [Wed Jun 08 11:33:42 2011] [notice] caught SIGTERM, shutting down Killed by SIGSEGV pid=0x0ab1 ppid=0x0aa5 tid=0x0001 slot=0x00dd pri=0x0200 mc=0x0001 D:\APACHE\BIN\HTTPD.EXE cs:eip=005b:1ea93ea4 ss:esp=0053:0022fe6c ebp=0022fec8 ds=0053 es=0053 fs=150b gs=0000 efl=00210202 eax=00635240 ebx=00636338 ecx=00000000 edx=00000001 edi=00638208 esi=00634318 Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it. TlsAllocThreadLocalMemory error: init already done! |
|
answer to this post: I work long hours in my day job. I do ALL my OS/2 stuff in my spare time essentially for free. Recently, I've chosen to spend my free time digitising my CD collection for my enjoyment. When I've finished that task, I'll try spend MY time helping OTHER people. i will pay you if you fix my problems, since it give me really serious troubles about 1 or 2 hours of downtime per day i could loose my customers and my job so i repeat, i will pay you if you seriously fix my problems thanks massimo |
|
More recent tickets capture these issues |
Date Modified | Username | Field | Change |
---|---|---|---|
2010-12-20 15:50 | emax | New Issue | |
2011-01-25 09:02 | psmedley | Note Added: 0001806 | |
2011-01-25 09:09 | emax | Note Added: 0001807 | |
2011-01-27 08:58 | psmedley | Note Added: 0001808 | |
2011-01-30 14:38 | emax | Note Added: 0001813 | |
2011-02-09 10:21 | emax | Note Added: 0001833 | |
2011-04-18 19:23 | emax | Note Added: 0001879 | |
2011-04-24 21:26 | emax | Note Added: 0001906 | |
2011-04-25 09:41 | psmedley | Note Added: 0001909 | |
2011-04-25 19:57 | emax | Note Added: 0001911 | |
2011-05-11 16:39 | emax | Note Added: 0001913 | |
2011-05-15 13:13 | emax | Note Added: 0001916 | |
2011-06-05 16:11 | emax | Note Added: 0001921 | |
2011-06-05 20:55 | psmedley | Note Added: 0001922 | |
2011-06-08 08:58 | emax | Note Added: 0001923 | |
2011-06-08 11:05 | emax | Note Added: 0001924 | |
2011-06-09 15:01 | emax | Note Added: 0001925 | |
2013-04-18 00:52 | psmedley | Note Added: 0002430 | |
2013-04-18 00:52 | psmedley | Status | new => resolved |
2013-04-18 00:52 | psmedley | Resolution | open => duplicate |
2013-04-18 00:52 | psmedley | Assigned To | => psmedley |
2020-08-24 03:12 | psmedley | Status | resolved => closed |