MySQLが落ちてるっぽい時。
あー
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/opt/local/var/run/mysql5/mysqld.sock' (2)
sudo touch /opt/local/var/run/mysql5/mysqld.sock
sudo /opt/local/share/mysql5/mysql/mysql.server start
Starting MySQL
.. SUCCESS!
apacheが落ちてるっぽい時。
sudo /opt/local/apache2/bin/apachectl start
postgresが落ちてるっぽい時。
sudo su postgres
/opt/local/lib/postgresql90/bin/postgres -D /opt/local/var/db/postgresql90/defaultdb
なんでもいいんだがなんで勝手に落ちるかね。