This forum is no longer active. Please post your questions to our new community site
LAMPStack. Unable to run/etc/init.d/apache restart
|
|
Ok. So here’s the story. Installed bitnamy LAMPStack and a couple of other things. After installing it worked absolutely fine. However, when I restarted ubuntu I was no longer able to get the standard bitnami page and the other pages I’d created. 1. I tried to find /etc/init.d/apache to do apache restart but it doesn’t exist. Q: What command do I use to get SQL running? |
|
|
Hi, Try the following. Go to your installation directory and runs the main control script:
Is MySQL running? Take into account that if you have installed the Stack as non root user, you should run this script using the same user who installed the Stack. Then try to start all servers or only MySQL database:
You can find more information about how to start automatically the servers when you start your system at http://bitnami.org/article/how-to-install-services-on-linux or http://bitnami.org/article/how-to-install-services-on-osx I hope it helps. |
|
|
It turns out that by running $ ./ctlscript.sh status (after a reboot) I get: Apache not running On attempting to run $ ./ctlscript.sh start mysql I get: /home/christian/WebInstall/mysql/bin/mysqld_safe: 545: cannot create /home/christian/WebInstall/mysql/data/mysqld.log: Permission denied So, I changed the permissions on that file: chown christian mysqld.log As an extra note. I carried on having problems with apache starting up. It turned out that I needed to be sudo to start apache. So my entry was $ sudo /home/christian/WebInstall/ctlscript.sh start Hope this helps someone else. Now to make shortcuts or add them to startup… Thanks to Beltran. |

