UNIX / Linux: Send E-mail When sudo Runs

last updated in Categories , , , , , , , , , , ,

I‘m not told to use the root user to perform activities that do not require it. I’ve configured sudo for myself and for other web developers so that they can restart MySQL or Apache web server. How do I send email when sudo run by one of my user? How do I keep track of user login done via sudo command?

Troubleshooting: Apache Webserver Will Not Restart / Start

last updated in Categories , , , , , , , , , , , , , , ,

My CentOS Apache 2 (httpd) webserver will not start. It was working fine, but I made few changes to httpd.conf and it is not restarting. What are some things to check in order to solve my Apache server restart issues?