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

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

Equivalent of rpm -qa in ubuntu

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

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

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}

Mytop Error in option spec: “long|!”

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