modern-web-design-and-development

(Brent) #1

This listing shows that Apache is indeed running.


Quick Fix


If Apache or MySQL is not running, then you’ll need to run the commands
below as root (see below). Linux usually has a set of scripts for stopping
and starting its major bits of software. You first need to find these scripts.
Use the ls command to check the couple of places where these scripts
usually are:


root@server# ls /etc/init.d/

If the results include a lot of impressive-looking words like crond, httpd,
mailman, mysqld and xinetd, then you’ve found the place. If not, try
somewhere else:


root@server# ls /etc/rc.d/init.d/

Or use find to look for them:


root@server# find /etc -name mysqld
Free download pdf