Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
06-10-2010, 09:32 AM
|
#1
|
|
LQ Newbie
Registered: Jun 2010
Posts: 6
Rep:
|
apache on centos, php4 - config error
[root@localhost ~]# /usr/local/se/apps/apache2/bin/apachectl start
httpd: Syntax error on line 53 of /usr/local/se/apps/apache2/conf/httpd.conf: Cannot load /usr/local/se/apps/apache2/modules/libphp4.so into server:/usr/local/se/apps/apache2/modules/libphp4.so: undefined symbol: jpeg_resync_to_restart
[root@localhost ~]#
I've got error went start apache....please help me....already no idea with this error...
|
|
|
|
06-10-2010, 09:41 AM
|
#2
|
|
Senior Member
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137
Rep: 
|
Quote:
Originally Posted by kiekie
[root@localhost ~]# /usr/local/se/apps/apache2/bin/apachectl start
httpd: Syntax error on line 53 of /usr/local/se/apps/apache2/conf/httpd.conf: Cannot load /usr/local/se/apps/apache2/modules/libphp4.so into server:/usr/local/se/apps/apache2/modules/libphp4.so: undefined symbol: jpeg_resync_to_restart
[root@localhost ~]#
I've got error went start apache....please help me....already no idea with this error...
|
not given enough info mate....
so...........
looks like an issue with the php4 module.
are you currently using php4??
if not, do not load this....you can comment out the line 53
there are much later versions of php anyway....
|
|
|
|
06-10-2010, 09:46 AM
|
#3
|
|
Member
Registered: Jun 2010
Posts: 34
Rep:
|
Looks like libphp4 isn't finding the libjpeg library for handling JPEG images. Where did you get that libphp4 from - and is there any specific reason why you need PHP 4, instead of the (I presume) PHP 5 version, that is, mostly likely, supplied by you distribution?
|
|
|
|
06-10-2010, 10:44 AM
|
#4
|
|
Guru
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 11,817
|
Quote:
Originally Posted by kiekie
[root@localhost ~]# /usr/local/se/apps/apache2/bin/apachectl start
httpd: Syntax error on line 53 of /usr/local/se/apps/apache2/conf/httpd.conf: Cannot load /usr/local/se/apps/apache2/modules/libphp4.so into server:/usr/local/se/apps/apache2/modules/libphp4.so: undefined symbol: jpeg_resync_to_restart
[root@localhost ~]#
I've got error went start apache....please help me....already no idea with this error...
|
And we "already no idea" with your question. Very hard to understand...provide details, as others have requested. Version/distro of Linux, etc.
|
|
|
|
06-10-2010, 08:30 PM
|
#5
|
|
LQ Newbie
Registered: Jun 2010
Posts: 6
Original Poster
Rep:
|
I use...
-centos 5.4
-php 4.6.6
-apache http server 2.2.15
-apache-tomcat 6
-eaccelerator 0.9.5
-tomcat-connectors 1.2.26
-openssl-0.9.8k
|
|
|
|
06-11-2010, 12:06 AM
|
#6
|
|
Guru
Registered: Aug 2005
Posts: 9,550
|
is there a very important reason you are still using the OLD php 4
php5.1 is the default ( php-5.1.6-27.el5.i386.rpm )
and CentOS 5.5 is out
so you will need to upgrade
|
|
|
|
06-11-2010, 01:10 AM
|
#7
|
|
LQ Newbie
Registered: Jun 2010
Posts: 6
Original Poster
Rep:
|
Thanks for advice....
already solve the error "httpd: Syntax error on line 53 of /usr/local/se/apps/apache2/conf/httpd.conf: Cannot load /usr/local/se/apps/apache2/modules/libphp4.so into server:/usr/local/se/apps/apache2/modules/libphp4.so: undefined symbol: jpeg_resync_to_restart" after upgrade to php5....
now got new error....
[root@localhost]# /usr/local/se/apps/apache2/bin/apachectl start
Syntax error on line 444 of /usr/local/se/apps/apache2/conf/httpd.conf:
Can't find the workers file specified
[root@localhost]#
|
|
|
|
06-11-2010, 02:45 AM
|
#8
|
|
Senior Member
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137
Rep: 
|
Quote:
Originally Posted by kiekie
Thanks for advice....
already solve the error "httpd: Syntax error on line 53 of /usr/local/se/apps/apache2/conf/httpd.conf: Cannot load /usr/local/se/apps/apache2/modules/libphp4.so into server:/usr/local/se/apps/apache2/modules/libphp4.so: undefined symbol: jpeg_resync_to_restart" after upgrade to php5....
now got new error....
[root@localhost]# /usr/local/se/apps/apache2/bin/apachectl start
Syntax error on line 444 of /usr/local/se/apps/apache2/conf/httpd.conf:
Can't find the workers file specified
[root@localhost]#
|
Help us to help you.
Show the portion of the config file that is complaining... 
And always make a backup of a config file before making any changes...
|
|
|
|
06-11-2010, 03:04 AM
|
#9
|
|
LQ Newbie
Registered: Jun 2010
Posts: 6
Original Poster
Rep:
|
config parameter as below...
# Add this parameters to the end of file
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/x-httpd-php .php .phtml
AddType application/x-httpd-php-source .phps
AddType application/x-java-jnlp-file .jnlp
AddType application/x-gzip .exp
AddType application/x-gzip .swp
AddType application/x-gzip .properties
AddType application/x-gzip .p7s
AddType application/x-gzip .ini
AddType application/x-gzip .dsg
Alias /se "/usr/local/se/web/wwwroot"
<Directory "/usr/local/se/web/wwwroot">
Order allow,deny
Allow from all
</Directory>
# Add index.php
<IfModule dir_module>
DirectoryIndex index.html index.php
</IfModule>
# Add the following parameters
JkWorkersFile /usr/local/se/apps/php/mod_jk/workers.properties
JkLogFile /usr/local/se/apps/php/mod_jk/mod_jk.log
# Log level (debug, info, warn, error or trace)
JkLogLevel error
JkLogStampFormat "%a %b %d %H:%M:%S %Y "
JkRequestLogFormat "%w %V %T"
Alias /softexpert "/usr/local/se/apps/php/mod_jk"
<Directory "/usr/local/se/apps/php/mod_jk">
Order allow,deny
Allow from all
</Directory>
JkMount /softexpert seredirect
JkMount /softexpert/* seredirect
JkOptions +ForwardKeySize +ForwardURICompat -ForwardDirectories +ForwardSSLCertChain
JkExtractSSL On
JkHTTPSIndicator HTTPS
JkSESSIONIndicator SSL_SESSION_ID
so the paragraph line 444 as bold characters
|
|
|
|
06-11-2010, 03:22 AM
|
#10
|
|
Member
Registered: Jun 2010
Posts: 34
Rep:
|
Well, it's saying it can't find the file, so is the file actually at that path location? Try:
Code:
ls /usr/local/se/apps/php/mod_jk/workers.properties
...and see what comes back.
|
|
|
|
06-11-2010, 03:39 AM
|
#11
|
|
LQ Newbie
Registered: Jun 2010
Posts: 6
Original Poster
Rep:
|
[root@localhost ~]# ls /usr/local/se/apps/php/mod_jk/workers .properties
ls: /usr/local/se/apps/php/mod_jk/workers.properties: No such file or directory
[root@localhost ~]#
is it because installation are not complete??
|
|
|
|
06-11-2010, 04:10 AM
|
#12
|
|
Senior Member
Registered: May 2009
Location: london
Distribution: centos5
Posts: 1,137
Rep: 
|
Quote:
Originally Posted by kiekie
[root@localhost ~]# ls /usr/local/se/apps/php/mod_jk/workers .properties
ls: /usr/local/se/apps/php/mod_jk/workers.properties: No such file or directory
[root@localhost ~]#
is it because installation are not complete??
|
either that or it is installed in a different location.
when did you install it??
try a search for that file using locate
|
|
|
|
06-13-2010, 09:08 PM
|
#13
|
|
LQ Newbie
Registered: Jun 2010
Posts: 6
Original Poster
Rep:
|
Hi all thanks for helpping me....
The server(httpd) already up but no application....
need to fine someone that expert with this application...
If anything I will post the error on this site
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:18 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|