25 March 2015

SSLCARevocationCheck httpd 2.2 issue

While installing puppet, I encountered following error with apache httpd server:

# /etc/init.d/httpd restart
Stopping httpd:                                            [  OK  ]
Syntax error on line 43 of /etc/httpd/conf.d/puppetmaster.conf:
Invalid command 'SSLCARevocationCheck', perhaps misspelled or defined by a module not included in the server configuration


SSLCARevocationCheck is a new directive for apache mod_ssl module that has been introduced in apache 2.4. It dose not exist in apache 2.2 but other SSLCARevocation related directive are supported in 2.2.


As I have httpd 2.2 installed,  so I just comment out SSLCARevocationCheck and restart apache successfully.





5 March 2015

Some handy ifconfig commands

# ifconfig eth0 down

# ifconfig eth0 up

# ifconfig eth0 10.8.210.25

# ifconfig eth0 netmask 255.255.255.192

# ifconfig eth0 broadcast 10.8.210.128

# ifconfig eth0 10.8.210.25 netmask 255.255.255.192 broadcast 10.8.210.128