How to , and other stuff about linux, photo, php … A linux, photography blog. To remember some linux situation, and fix them quickly.

April 23, 2012

Invalid command “SSLEngine”, perhaps misspelled or defined by a module not included in the server configuration

Filed under: Linux — Tags: , , , , — admin @ 3:53 pm

If you have bellow error you should install mod_ssl
“Invalid command “SSLEngine”, perhaps misspelled or defined by a module not included in the server configuration”
The error message indicates that the module mod_ssl required to run SSL engine on a CentOS server is missing and needs to be installed.
Install the mod_ssl module using yum
yum install mod_ssl
Once it is installed, make sure to restart the Apache service
service httpd restart

April 2, 2012

Equivalent of rpm -qa in ubuntu

Filed under: Linux — Tags: , , , , — admin @ 3:04 pm

Well in rpm base distribution you may use this

rpm -qa /path/to/file
And you will have a answer like this :

rpm -qf /usr/bin/top
procps-3.2.7-11.1.el5

On a ubuntu server you should run
dpkg -S /path/to/file

dpkg -S /usr/bin/top
procps: /usr/bin/top

February 7, 2012

service php-fpm restart with error after upgrade from 5.3.8 to 5.3.10

Filed under: Linux — Tags: , , , , , , , — admin @ 4:32 pm

Well
I have to upgrade a server from php 5.3.8 to 5.3.10 on a centos server.
After this the service php-fpm restart didn’t work.
Stopping php-fpm: [FAILED]

So after a short look to the problem, what I discover is that problem is on this file
/etc/init.d/php-fpm

What I have was
pidfile=${PIDFILE-/var/run/php-fpm/php-fpm.pid}
and this line should be
pidfile=${PIDFILE-/var/run/php-fpm.pid}

June 16, 2009

Mytop Error in option spec: “long|!”

Filed under: Linux — Tags: , , — admin @ 8:06 pm

Recent mytop a inceput sa nu mai mearga pe versiunile mai noi de Centos

Eroarea este:

#mytop
Error in option spec: “long|!”

Ca sa repari, editezi /usr/bin/mytop, faci un search dupa  “long|!” => \$config{long_nums}, si pui un # in fata, salvezi si ar trebui sa functioneze.

Multa bafta

« Newer Posts

Powered by WordPress