Welcome to WebmasterWorld Guest from 54.156.58.187

Forum Moderators: Ocean10000 & incrediBILL & phranque

Issue with libaprutil after compiling Apache

     
8:11 am on Aug 27, 2017 (gmt 0)

New User

joined:Aug 27, 2017
posts: 3
votes: 0


Hello!

I'm trying to start Apache 2.2 after compiling it on Synology NAS. There were no errors during compile and make phases. When I try to start it I get following error:

/usr/local/apache2/bin/apachectl start
/usr/local/apache2/bin/httpd: error while loading shared libraries: /usr/local/apache2/lib/libaprutil-1.so.0: internal error

Any idea how I can solve that?
Thanks!
8:22 am on Aug 27, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts: 10989
votes: 84


welcome to WebmasterWorld, Tiansen! [webmasterworld.com]

is there a message in the server error log related to the error message on the console?
8:35 am on Aug 27, 2017 (gmt 0)

New User

joined:Aug 27, 2017
posts: 3
votes: 0


It seems there are no other logs generated, I think that process fails immediately because of failing to load this library.
2:36 am on Aug 28, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts: 10989
votes: 84


It seems there are no other logs generated,

are you saying there is no server error log or that it has no entries from this startup attempt?

/usr/local/apache2/lib/libaprutil-1.so.0: internal error

you should verify the existence of this file and make sure the ownership and permissions allow sufficient access by the apachectl process.
when the shared object doesn't exist you typically get a message ending with:
cannot open shared object file: No such file or directory
2:52 am on Aug 28, 2017 (gmt 0)

Administrator

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:Aug 10, 2004
posts: 10989
votes: 84


I'm trying to start Apache 2.2 after compiling it on Synology NAS


is there a reason you didn't instead use the package manager to enable Synology Web Station, which is a version of apache?
6:23 am on Aug 28, 2017 (gmt 0)

New User

joined:Aug 27, 2017
posts: 3
votes: 0


Regarding logs I cannot find any log messages anywhere. Maybe process does not make it this far to start logging.
Library libaprutil-1.so.0 exists and has permissions 0755 owned by root:root. I think this should be ok.

I try to build apache and php myself because I have to use PHP 5.3 which is not supported by Package Manager (AFAIK).