LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-27-2005, 05:35 PM   #1
I_AM
Member
 
Registered: Mar 2005
Posts: 103

Rep: Reputation: 15
eaccelerator problem


I am getting this error when restarting httpd

Failed loading /eaccelerator-0.9.4-rc1/modules/eaccelerator.so: /eaccelerator-0.9.4-rc1/modules/eaccelerator.so: cannot open shared object file: No such file or directory

The newly updated install steps (successful otherwise)

cd
mkdir /ea/
cd /ea
wget http://internap.dl.sourceforge.net/s....4-rc1.tar.bz2
tar -jxf eaccelerator-0.9.4-rc1.tar.bz2
cd eaccelerator*
export PHP_PREFIX="/usr"
$PHP_PREFIX/bin/phpize
./configure --enable-eaccelerator=shared --with-php-config=$PHP_PREFIX/bin/php-config
make
make install
nano /usr/local/Zend/etc/php.ini

zend_extension="/ea/eaccelerator-0.9.4-rc1/modules/eaccelerator.so"
eaccelerator.shm_size="32"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"

mkdir /tmp/eaccelerator
chmod 0777 /tmp/eaccelerator
service httpd restart


I confirmed through locate that eaccelerator.so is in fact located at /ea/eaccelerator-0.9.4-rc1/modules/eaccelerator.so so why is it giving me this strange error?

root@server [~/eaccelerator-0.9.4-rc1/modules]# locate eaccelerator.so
/usr/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so
/usr/lib/php/eaccelerator/eaccelerator.so
/root/eaccelerator-0.9.4-rc1/modules/eaccelerator.so
/root/eaccelerator-0.9.4-rc1/.libs/eaccelerator.so


I even tried changing the first line to /usr/lib/php/eaccelerator/eaccelerator.so but still gave the same error on httpd configtest

Last edited by I_AM; 11-27-2005 at 10:22 PM.
 
Old 11-27-2005, 10:22 PM   #2
I_AM
Member
 
Registered: Mar 2005
Posts: 103

Original Poster
Rep: Reputation: 15
Please give me a hand
 
Old 11-29-2005, 09:05 AM   #3
I_AM
Member
 
Registered: Mar 2005
Posts: 103

Original Poster
Rep: Reputation: 15
PLEASE SOMEONE HELP!

eaccelerator caused httpd to crash. I properly inserted this portion in php.in but httpd refused to restart although gave "syntax ok". I immediately removed the EA portion from php.ini and httpd started fine.

inserted:

[eAccelerator]
zend_extension="/usr/lib/php/eaccelerator/eaccelerator.so"
eaccelerator.shm_size="2048"
eaccelerator.cache_dir="/tmp/eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys="shm_and_disk"
eaccelerator.sessions="shm_and_disk"
eaccelerator.content="shm_and_disk"


What could have caused it to not restart? The path seems right.

root@server [~]# locate eaccelerator.so
/usr/lib/php/extensions/no-debug-non-zts-20020429/eaccelerator.so
/usr/lib/php/eaccelerator/eaccelerator.so

Any help appreciated. Thanks.
 
Old 11-29-2005, 01:42 PM   #4
I_AM
Member
 
Registered: Mar 2005
Posts: 103

Original Poster
Rep: Reputation: 15
These are the only errors I see other than the common "file does not exist" which is normal, in apache error logs

[Tue Nov 29 00:11:30 2005] [notice] SIGHUP received. Attempting to restart
[Tue Nov 29 00:13:11 2005] [warn] pid file /usr/local/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Tue Nov 29 00:13:12 2005] [notice] Apache configured -- resuming normal operations
[Tue Nov 29 00:13:12 2005] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Tue Nov 29 00:13:12 2005] [notice] Accept mutex: sysvsem (Default: sysvsem)



[Tue Nov 29 05:12:19 2005] [error] mod_ssl: SSL handshake interrupted by system [Hint: Stop button pressed in browser?!] (System error follows)
[Tue Nov 29 05:12:19 2005] [error] System: Connection reset by peer (errno: 104)



Are any of these two possible causes? Other than these two, I don't know what else could cause EA to cause httpd to fail.

Desperate for help please
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
perl problem? apache problem? cgi problem? WorldBuilder Linux - Software 1 09-17-2003 07:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:56 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration