Mod_perl undefined..

unique

Verified User
Joined
Jan 19, 2005
Messages
20
I am trying to update php so it included support for mbstring, but I couldnt get it to work right.

Now I cant get apache to start...

[root@webhost customapache]# service httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 68 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_perl.so into server: /usr/lib/apache/mod_perl.so: undefined symbol: apr_bucket_shared_split
[FAILED]
[root@webhost customapache]#

What can do I?
 
Try cleaning and rebuilding everything with customapache
Code:
cd /usr/local/directadmin/customapache
./build clean
./build update
./build all
Be sure to say yes when asked if you want to recompile anything.

Then try to restart.

You can always comment out the mod_perl module if you want apache to startup in the mean time.
 
Hello,

thanks...
I upgraded the Apache2 and this resolved my problem...
I had done everything from that list but not restarted, I didnt want to do that unless it was a last resort.
 
This error is appearing now that im trying to use apache1.3 again.

Using FC3.

I have tried all of the above suggestions, even a restart, but this didnt fix it.


Mar 22 00:26:12 webhost httpd: Syntax error on line 68 of /etc/httpd/conf/httpd.conf:
Mar 22 00:26:12 webhost httpd: Cannot load /usr/lib/apache/mod_perl.so into server: /usr/lib/apache/mod_perl.so: undefined symbol: apr_bucket_shared_split
 
Followed those instructions..
It only rebuilds the libperl.
I tried commenting it out and it breaks everything else....

Starting httpd: Syntax error on line 87 of /etc/httpd/conf/httpd.conf:
Invalid command 'Allow', perhaps mis-spelled or defined by a module not included in the server configuration
[FAILED]

Invalid command 'UserDir', perhaps mis-spelled or defined by a module not included in the server configuration

And it goes on...
im running out of ideas now and this webserver has been down for too long. I dont know what to do.
 
Are you using a flavor of RHL or RHEL?

If so, then this is what works for us:

cd /usr/local/directadmin/customapache
rm -f configure.apache_ssl
./build update
./build clean
./build all y
./build zend

Then check link:

cd /usr/lib
ls -al libgdbm.so

if not found:

cd /usr/lib
ln -s libgdbm.so.2.2.0 libgdbm.so

then verify:

ls -al libgdbm.so*

Jeff
 
Its fedora core 3...

did all them commands and still get this...
I think it all started after I tried installing MBstring to php... but now its all broken. Might be trying to use apache2 mod_perl but I dont know how to re generate one so its definatly for apache1.3.

I also tried deleting everything except build in the customapache directory. And rebuilding but this did no good for me either.


[root@webhost lib]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 68 of /etc/httpd/conf/httpd.conf:
Cannot load /usr/lib/apache/mod_perl.so into server: /usr/lib/apache/mod_perl.so: undefined symbol: apr_bucket_shared_split
[FAILED]
 
That looks like a version mismatch.

I'm sorry I don't have any more information.

Jeff
 
Back
Top