This forum is no longer active. Please post your questions to our new community site

Forums LAMPStack

LAMP 1.2.4 won't restart

Subscribe to LAMP 1.2.4 won't restart 4 post(s), 2 voice(s)

 
Avatar crp 13 post(s)

I had the LAMP stack going but was having major problems with Mantis – it was not sending out email. I thought perhaps that Mantis needed to be restarted in order for the sendmail to work, the following is what occurred.
- - -
[root@rh5 lampstack-1.2-4]# ./ctlscript.sh restart
Syntax OK
/home/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd stopped
/home/bitnami/lampstack-1.2-4/mysql/scripts/ctl.sh : mysql not running
110331 13:41:57 mysqld_safe Logging to ‘/home/bitnami/lampstack-1.2-4/mysql/data/mysqld.log’.
110331 13:41:57 mysqld_safe Starting mysqld.bin daemon with databases from /home/bitnami/lampstack-1.2-4/mysql/data
110331 13:41:57 mysqld_safe mysqld from pid file /home/bitnami/lampstack-1.2-4/mysql/data/rh5.pid ended
/home/bitnami/lampstack-1.2-4/mysql/scripts/ctl.sh : mysql could not be started
/home/bitnami/lampstack-1.2-4/postgresql/scripts/ctl.sh : postgresql stopped
su: user postgres does not exist
/home/bitnami/lampstack-1.2-4/postgresql/scripts/ctl.sh : postgresql could not be started
Syntax OK
/home/bitnami/lampstack-1.2-4/apache2/scripts/ctl.sh : httpd started at port 8080
[root@rh5 lampstack-1.2-4]# ./ctlscript.sh status
apache already running
mysql not running
postgresql not running
[root@rh5 lampstack-1.2-4]# ./ctlscript.sh mysql start
[root@rh5 lampstack-1.2-4]# ./ctlscript.sh status
apache already running
mysql not running
postgresql not running
- - -
So currently the whole LAMP is dead in the water. How to fix? How to prevent?

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

Did you install the Stack as root user? If you installed as a regular user you should use the same user to start the servers, not root user. Try again and let us know if this fixes the problem.

 
Avatar crp 13 post(s)

That was the issue with the LAMP Stack, it was installed as a user and not as root.
Is there a way to have the LAMP Stack start automatically as the user in the system xinet or do I have to do uninstall (how would one do that) and then install as root?

Now if i can get the MANTIS email to work …

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Hi,

You should to install it as root. Take a look at this post https://bitnami.com/article/how-to-install-servi…

Forums LAMPStack