Apache Startup Fails with PHP Error


 
Thread Tools Search this Thread
Top Forums Shell Programming and Scripting Apache Startup Fails with PHP Error
# 8  
Old 05-05-2010
I have not restarted apache, because I am failing to start it up in the first place... however thanks for the post above... when I grep for xmlTextReaderGetAttribute, it does not seem to find it.

So i ran this command "/usr/ccs/bin/nm /usr/local/lib/libxml2.so | grep xmlTextReaderGetAttribute", without the grep...

Code:
root@test-lm-1 # /usr/ccs/bin/nm /usr/local/lib/libxml2.so

and this is an extract of that output...

Code:
[3926]  |    193156|    1016|FUNC |GLOB |0    |11     |xmlSwitchToEncoding
[1112]  |    344500|     140|FUNC |LOCL |0    |11     |xmlSysIDExists
[4294]  |    317448|      64|FUNC |GLOB |0    |11     |xmlTextConcat
[4152]  |    311156|     140|FUNC |GLOB |0    |11     |xmlTextMerge
[3603]  |    904472|       4|OBJT |GLOB |0    |17     |xmlTreeIndentString
[4295]  |    357936|    1328|FUNC |GLOB |0    |11     |xmlURIEscape
[3598]  |    357312|     624|FUNC |GLOB |0    |11     |xmlURIEscapeStr
[3962]  |    356824|     488|FUNC |GLOB |0    |11     |xmlURIUnescapeString
[117]   |    878724|       4|OBJT |LOCL |0    |17     |xmlUTF16BEHandler

from what i see the methods are listed in alphabetical order, and libxml2.so doesn't seem to have the "xmlTextReaderGetAttribute", which would make sense when it says in the error "symbol xmlTextReaderGetAttribute: referenced symbol not found"

I agree with you suggestion that it might be the incorrect version of libxml. However on the sunfreeware site, the only other version they have is libxml-1.8.17. I will remove the one installed, and try this one and let you know.

Thanks man, youve been a real help so far.

Last edited by Neo; 05-05-2010 at 09:24 AM.. Reason: added code tags
# 9  
Old 05-05-2010
I don't think that libxml-1.8.17 will do, because libxml2 is required for php 5.2.13

I have here libxml2-2.6.31 and can locate the symbol in the output of nm. Do your symlinks look like this?

Code:
lrwxrwxrwx   1 root     root          17 Dez 22 03:15 libxml2.so -> libxml2.so.2.6.31
lrwxrwxrwx   1 root     root          17 Dez 22 03:15 libxml2.so.2 -> libxml2.so.2.6.31
-rwxr-xr-x   1 bin      bin      1222204 Mrz 10  2008 libxml2.so.2.6.31

# 10  
Old 05-06-2010
@hagrp...

I checked my symlinks like suggested, and i found that there was a missing link to the newer version of the libxml library...

I then created the link using the ln -s command, and tried to start up apache... everything came up fine and i was able to see the website which runs on drupal 6.

I would like to thank you for your assistance and the new commands you taught me. Its highly appreciated.

Bless.
# 11  
Old 05-06-2010
You are welcome, Macarena S.A !
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Apache tomcat startup script not booting at startup.

I copied the script from an AskUbuntu post - #!/bin/bash ### BEGIN INIT INFO # Provides: tomcat7 # Required-Start: $network # Required-Stop: $network # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: Start/Stop Tomcat server ### END INIT INFO ... (14 Replies)
Discussion started by: Hijanoqu
14 Replies

2. Red Hat

Error while starting Apache after compiling PHP and Curl

Hello, I am facing an issue while starting the apache server after compiling php and curl. Below are the versions i am using. php-5.2.17 httpd-2.2.17 curl-7.16.0 CentOS5.5x64 Compiling above packages without curl working very fine but when trying to compile php with curl below error is... (1 Reply)
Discussion started by: sunnysthakur
1 Replies

3. Red Hat

Dummy Question, put a script on startup fails

Hi all, im pretty new to unit/redhat 6.2 I am trying to load a script upon startup of my redhat 6.2 (instance in ec2 AWS if someone cares) I want everytime when instance starts (after stop/reboot) a script i build to launch. when i run the script ./scriptname the script runs and everything is... (4 Replies)
Discussion started by: hookedatwalla
4 Replies

4. Shell Programming and Scripting

Single Startup script for Apache/jboss

Hi, I have apache ,jboss and jon instances on various linux boxes.I need to create a generic startup script to restart those instances on server reboot.The script requirement is : It should take the name of instances from one text file named active-servers and recycle those instances. 1.... (6 Replies)
Discussion started by: saurau
6 Replies

5. Solaris

Startup error

Hi, Greetings to all :), I am using Solaris 5.10 on a HP xw6600 workstation with 2 Intel Xeon processors. System works fine. But during startup the below WARNINGS occur. WARNING:CPU 1 feature mismatch WARNING:There will be no MCA support on chip 0 core 0 strand 2(cmd_hdl_create returned... (1 Reply)
Discussion started by: sachin.bedraman
1 Replies

6. Solaris

Mountall error at system startup

Hi I have SVM on my Solaris 10 5/08 SPARC with the following configuration: d1: Mirror Submirror 0: d11 State: Okay Submirror 1: d12 State: Okay Pass: 1 Read option: roundrobin (default) Write option: parallel (default) Size:... (2 Replies)
Discussion started by: Sapfeer
2 Replies

7. HP-UX

Auto-Port Aggregation startup fails on boot

I have a machine running HP-UX 11.23 (PARISC) and APA startup fails on boot. This is found in /etc/rc.log: Configure Auto-Port Aggregation(LAN Monitor) interfaces Output from "/sbin/rc2.d/S343hplm start": ---------------------------- get_start_dlpi_version: failed, errno is 22 ERROR: ... (1 Reply)
Discussion started by: kknigga
1 Replies

8. Shell Programming and Scripting

Solaris Startup script for Apache.

I'm running Solaris 5.9 and Apache 2.... I've created a startup script for Apache....but it doesn't work!!! it resides in /etc/init.d and has a link to /etc/rc3.d and if it run it as /etc/init.d/apache_start stop it stops the httpd services and /etc/init.d/apache_start start starts the... (3 Replies)
Discussion started by: Zak
3 Replies

9. UNIX for Dummies Questions & Answers

get error while compiling apache with php module

hi, i'm compiling apache with php module after i finish compile mysql-4.0.0-alpha. i do it as the follow steps after untar'ed them in the same directory, 1) cd apache_1.3.22 ./configure 2) cd php-4.0.6 ./configure --with-mysql=/usr/local/mysql \ --with-apache=../apache_1.3.22 \... (2 Replies)
Discussion started by: jApHEth
2 Replies
Login or Register to Ask a Question