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

Forums Redmine

Launch redmine at startup

Subscribe to Launch redmine at startup 2 post(s), 2 voice(s)

 
Avatar nad 8 post(s)

Hi,
I’ve problem on starting the redmine system during the boot of the server.
I’ve installed it on a Suse Enterprise Server.

If I go in redmine folder and execute “./ctlscript.sh start” everythings works but I’ve the following error:
./ctlscript.sh status
subversion not running
apache not running
redmine already running
mysql already running

Apache seems to be NOT OK.

If I put the ctlscript.sh under /etc/init under services runlevel 3 it doesn’t start during the machine boot.

I’ve the following errors:

100218 00:11:08 mysqld_safe Logging to ‘/embsw/redmine-0.9.2-0/mysql/data/mysqld.log’.
100218 00:11:08 mysqld_safe Starting mysqld.bin daemon with databases from /embsw/redmine-0.9.2-0/mysql/data
100218 00:11:09 mysqld_safe mysqld from pid file /embsw/redmine-0.9.2-0/mysql/data/embsw-lx.pid ended
/embsw/redmine-0.9.2-0/mysql/scripts/ctl.sh : mysql could not be started
starting port 3001
starting port 3002
Syntax OK
/embsw/redmine-0.9.2-0/apache2/scripts/ctl.sh : httpd started at port 8080
/embsw/redmine-0.9.2-0/subversion/scripts/ctl.sh : subversion started at port 3690
Master Resource Control: runlevel 3 has been reached
Failed services in runlevel 3: bitnami-drupal
Skipped services in runlevel 3: smbfs nfs suseRegister

=====

/embsw/redmine-0.9.2-0/mysql/data/mysqld.log

100218 0:10:11 [Note] Event Scheduler: Purging the queue. 0 events
100218 0:10:11 InnoDB: Starting shutdown…
100218 0:10:12 InnoDB: Shutdown completed; log sequence number 0 9080128
100218 0:10:12 [Note] /embsw/redmine-0.9.2-0/mysql/bin/mysqld.bin: Shutdown complete

100218 00:10:12 mysqld_safe mysqld from pid file /embsw/redmine-0.9.2-0/mysql/data/embsw-lx.pid ended
100218 00:11:08 mysqld_safe Starting mysqld.bin daemon with databases from /embsw/redmine-0.9.2-0/mysql/data
^G/embsw/redmine-0.9.2-0/mysql/bin/mysqld.bin: Can’t find file: ‘./mysql/plugin.frm’ (errno: 13)
100218 0:11:09 [ERROR] Can’t open the mysql.plugin table. Please run mysql_upgrade to create it.
100218 0:11:09 InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name ./ibdata1
InnoDB: File operation call: ‘create’.
InnoDB: Cannot continue operation.

==========

./ctlscript.sh restart apache
Syntax OK
/embsw/redmine-0.9.2-0/apache2/scripts/ctl.sh : apache not running
Syntax OK
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:8080
no listening sockets available, shutting down
Unable to open logs
/embsw/redmine-0.9.2-0/apache2/scripts/ctl.sh : httpd could not be started

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

Hi,

It seems there is a permissions problem. If you have installed as a regular user, the MySQL and the Apache server are configured to be started using this user. If you have installed as root user the Apache and MySQL server will be started using the “daemon” user and the “mysql” user respectively. Try to start/stop the servers using the same user that you use to install it. If you want to install as service you should take into accout that the services are executed as a root user so probably you should install the Stack as a root user. Check also if you have a firewall or another application running in the 8080 port.

This quick guide could be helpful for you: http://bitnami.org/article/how-to-install-servi…

Forums Redmine