Skip to content

Cannot create softlinks to services

pb-jlandolin edited this page Mar 7, 2013 · 1 revision

When installing or updating SMRT Analysis as a non-superuser, sometimes softlinks to tomcat and kodos services are not created or changed from the previous installation. These softlinks will have to be created manually by a user with write permission to /etc/init.d/.

Installation

sudo user required for installation steps

Link to the script from /etc/init.d/

$ sudo ln -s $SEYMOUR_HOME/etc/scripts/tomcatd /etc/init.d/tomcatd
$ sudo ln -s $SEYMOUR_HOME/etc/scripts/kodosd /etc/init.d/kodosd

Add executable permission

$ sudo chmod ug+x $SEYMOUR_HOME/etc/scripts/tomcatd
$ sudo chmod ug+x $SEYMOUR_HOME/etc/scripts/kodosd

Manual operations

Starting the daemon

$ /etc/init.d/tomcatd start
$ /etc/init.d/kodosd start

Stopping the daemon

$ /etc/init.d/tomcatd stop
$ /etc/init.d/kodosd stop

Restarting the daemon

$ /etc/init.d/tomcatd restart
$ /etc/init.d/kodosd restart
Clone this wiki locally