Error : semget error in httpd

Guys, If you face  semget error while restarting httpd. Please use  following command. ipcs -s | grep nobody | perl -e ‘while () {@a=split(/\s+/); print `ipcrm sem $a[1]`}’ Then restart Apache service /scripts/restartsrv httpd It will help you to resolve the error.          

Configure httpd to listen multiple ports

By default, httpd in Red Hat Enterprise Linux 5 listens on http port 80. But you can configure it to listen to other ports too. Solution : In the configuration file /etc/httpd/conf/httpd.conf, the “Listen” directive tells the server to accept incoming requests on the specified port. Multiple “Listen” directives may be used to specify a […]

Zend issue and httpd not restarting

If zend is a probelm and httpd is not restarting then download and install the latest from: http://downloads.zend.com/optimizer At the time of this writing, this little script worked like a charm: ++++++++++++++++++++++++++++++ cd /root deltree -f Zend* wget http://downloads.zend.com/optimizer/3.3.9/ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz tar -xzvf ZendOptimizer-3.3.9-linux-glibc23-i386.tar.gz cd Zend* ./install.sh +++++++++++++++++++++++++++++++