ID:               25767
 User updated by:  colin dot harford at ualberta dot ca
 Reported By:      colin dot harford at ualberta dot ca
-Status:           Feedback
+Status:           Open
 Bug Type:         Apache2 related
 Operating System: OpenBSD -current
 PHP Version:      4.3.4RC1
 New Comment:

(gw!/opt/apache2/modules) [root-ttyp2]
# ldd libphp4.so
libphp4.so:
libphp4.so: Exec format error
libphp4.so: exit status 1


hmmmm.


CH


Previous Comments:
------------------------------------------------------------------------

[2003-10-07 04:04:16] [EMAIL PROTECTED]

Not sure but I think it's just missing path in LD_LIBRARY_PATH..check
what this outputs:

# ldd libphp4.so


------------------------------------------------------------------------

[2003-10-06 21:50:27] colin dot harford at ualberta dot ca

There is nothing in /var/log: I set syslog to log 
everything to /var/log/all as well as everywhere else, 
and nothing was placed there.


I can't run strace, as it doesn't exist for OpenBSD.  
However, I did run a ktrace, which is similar ktrace ./
httpd -X -DONE_PROCESS.  The kdump of it is quite long, 
so I placed it on: http://www.ualberta.ca/~charford/
log.txt

Thanks,


CH

------------------------------------------------------------------------

[2003-10-06 21:18:36] [EMAIL PROTECTED]

you should also try strace on httpd:

# strace httpd -X -DONE_PROCESS 

You can then see where it bails out.


------------------------------------------------------------------------

[2003-10-06 21:16:40] [EMAIL PROTECTED]

Are you sure the error is not outputted elsewhere, like syslog?



------------------------------------------------------------------------

[2003-10-06 19:05:13] colin dot harford at ualberta dot ca

Installed the new snapshot... Installs fine...

Apache still won't start

(gw!/opt/apache2/bin) [root-ttyp3]
# gdb httpd 
GNU gdb 4.16.1
Copyright 1996 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public 
License, and you are
welcome to change it and/or distribute copies of it 
under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show 
warranty" for details.
This GDB was configured as "i386-unknown-openbsd3.4"...
(gdb) r -DONE_PROCESS
Starting program: /opt/apache2/bin/httpd -DONE_PROCESS

Program exited with code 04.


CH

------------------------------------------------------------------------

The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
    http://bugs.php.net/25767

-- 
Edit this bug report at http://bugs.php.net/?id=25767&edit=1

Reply via email to