forum.coppermine-gallery.net

No Support => General discussion (no support!) => Topic started by: cosmarchy on July 31, 2012, 06:47:22 pm

Title: Starting Stack Automatically
Post by: cosmarchy on July 31, 2012, 06:47:22 pm
Hi,

I've just tried to make the coppermine stack start automatically when the computer starts by following the instructions here: http://wiki.bitnami.org/Native_Installers_Quick_Start_Guide#How_to_start_automatically_the_Stack_on_Linux.3f (http://wiki.bitnami.org/Native_Installers_Quick_Start_Guide#How_to_start_automatically_the_Stack_on_Linux.3f)

but the result from doing this is as follows:

user@ubuntu:/etc/init.d$ sudo update-rc.d -f bitnami-drupal start 80 2 3 4 5 . stop 30 0 1 6 .
update-rc.d: warning: /etc/init.d/bitnami-drupal missing LSB information
update-rc.d: see <http://wiki.debian.org/LSBInitScripts>
 Adding system startup for /etc/init.d/bitnami-drupal ...
   /etc/rc0.d/K30bitnami-drupal -> ../init.d/bitnami-drupal
   /etc/rc1.d/K30bitnami-drupal -> ../init.d/bitnami-drupal
   /etc/rc6.d/K30bitnami-drupal -> ../init.d/bitnami-drupal
   /etc/rc2.d/S80bitnami-drupal -> ../init.d/bitnami-drupal
   /etc/rc3.d/S80bitnami-drupal -> ../init.d/bitnami-drupal
   /etc/rc4.d/S80bitnami-drupal -> ../init.d/bitnami-drupal
   /etc/rc5.d/S80bitnami-drupal -> ../init.d/bitnami-drupal
user@ubuntu:/etc/init.d$

As you can see there is a problem with missing lsb information. 
I don't know much about scripts like this but i'm guessing it has something to do wiht the fact that the stack does not start when the computer does as the rest of the script tends to suggest success.

Does this also start the apache and mysql services as well?????  I seem to have to manager-linux-x64.run manually every time I start the computer!!!!  Can anything be done about this?

Are there any solutions to these problems?

thanks
Title: Re: Starting Stack Automatically
Post by: Jeff Bailey on July 31, 2012, 08:52:55 pm
I'm not sure exactly what you are asking about but it's clear it's not a Coppermine issue. All Coppermine needs is http://documentation.coppermine-gallery.net/en/requirements.htm

We do not support setting up your server.
http://documentation.coppermine-gallery.net/en/requirements.htm#what_minimum_self-hosting
Title: Re: Starting Stack Automatically
Post by: Josh W on September 07, 2012, 05:04:23 pm
Just look around the net for a manager-linux-x64.run autostart and you will be fine. I dont have a link right now but I know I read it somewhere.
Title: Re: Starting Stack Automatically
Post by: Theaver on February 15, 2014, 09:41:29 am
This is only a warning but the procedure should work. Did you install the Stack as root user right? Could you check the mysql/data/mysqld.log file and see if there is any error?