Menu

Unable to Add symmetric service in Ubuntu

Help
advocatus
2012-09-05
2012-09-15
  • advocatus

    advocatus - 2012-09-05

    I have successfully downloaded Symmetric to the remote cloud server, but I am
    unable to add sym_service when running the following command

    "sudo /sbin/chkconfig --add sym_service"

    Below is the exception thrown

    10: 22:39 BST 2011 i686 GNU/Linux

    Ubuntu 10.04.1 LTS

    Welcome to Ubuntu!

    advo@ihidata:~$ su

    Password:

    root@ihidata:/home/advo# sudo /sbin/chkconfig --add sym_service

    insserv: warning: script 'K08tomcat-dhis' missing LSB tags and overrides

    insserv: warning: current start runlevel(s) (0 6) of script `umountfs'
    overwrites defaults (empty).

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'statd' missing LSB tags and overrides

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'hwclock' missing LSB tags and overrides

    insserv: warning: script 'autofs' missing LSB tags and overrides

    insserv: warning: current start runlevel(s) (0 6) of script `wpa-ifupdown'
    overwrites defaults (empty).

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'plymouth' missing LSB tags and overrides

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'udev-finish' missing LSB tags and overrides

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'network-interface' missing LSB tags and overrides

    insserv: warning: current start runlevel(s) (0 6) of script `umountnfs.sh'
    overwrites defaults (empty).

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'rpc_pipefs' missing LSB tags and overrides

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'console-setup' missing LSB tags and overrides

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'plymouth-stop' missing LSB tags and overrides

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'failsafe-x' missing LSB tags and overrides

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'udev' missing LSB tags and overrides

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'screen-cleanup' missing LSB tags and overrides

    insserv: warning: current start runlevel(s) (6) of script `reboot' overwrites
    defaults (empty).

    The script you are attempting to invoke has been converted to an Upstart

    job, but lsb-header is not supported for Upstart jobs.

    insserv: warning: script 'alsa-mixer-save' missing LSB tags and overrides

    insserv: There is a loop between service rsyslog and apache2 if stopped

    insserv: loop involving service apache2 at depth 3

    insserv: loop involving service rsyslog at depth 2

    insserv: loop involving service udev at depth 1

    insserv: There is a loop between service rsyslog and apache2 if stopped

    insserv: loop involving service portmap at depth 2

    insserv: exiting now without changing boot order!

    /sbin/insserv failed, exit code 1

    sym_service 0:off 1:off 2:off 3:off 4:off 5:off 6:off

    root@ihidata:/home/advo#

     
  • advocatus

    advocatus - 2012-09-07

    May I please have support on this? I am still stuck on this

     
  • Mark Hanes

    Mark Hanes - 2012-09-07

    From some googling of your error message, the issue are you are running into
    appears to be an issue with Ubuntu 10.x's chkconfig command. It doesn't seem
    to be SymmetricDS-specific.

    There seem to be several suggested fixes you can try if you google on ubuntu
    ckconfig missing LSB tags.

     
  • Chris Henson

    Chris Henson - 2012-09-07

    Go ahead and submit an issue at
    http://symmetricds.org/issues and we'll
    prioritize the testing and fixing in an upcoming release (I think there have
    been several request for help on this). If you end up figuring out a solution,
    then please post back here so others can leverage your solution and we can
    incorporate it into the documentation.

     
  • advocatus

    advocatus - 2012-09-07

    Hello again,

    I have figured out that Ubuntu does not support chkconfig

    Therefore I had to install sysv-rc-conf............for more information please
    follow the link below

    http://web.synametrics.com/syncrifyubuntu.htm

     
  • Mark Hanes

    Mark Hanes - 2012-09-07

    If you could provide details of what commands you ran using sys-rc-conf, we'd
    be glad to add them to the user's guide in a call out section related to
    Ubuntu...

     
  • advocatus

    advocatus - 2012-09-07

    STEPS:

    Open a Terminal to your Linux machine

    Type the following command;

    sudo sysv-rc-conf

    If you get an error complaining the program does not exist, run the following
    command to install sysv-rc-conf on your machine.

    sudo apt-get install sysv-rc-conf

    Once it is installed, try running the following command again.

    sudo sysv-rc-conf

    Once sysv-rc-conf is running, you see scripts residing in your /etc/init.d
    folder, allowing you to select the program that can run at different run-
    levels.

    Recommend you run sym_service at run-level 2 through 5.

    Use CNTRL+N to scroll down until you see sym_service in the list. Then using
    the arrow keys, navigate to run-level 2 and press the space-bar. Repeat the
    same steps for run-level 3, 4 and 5.

     
  • Mark Hanes

    Mark Hanes - 2012-09-07

    Awesome. Thanks for the details!

     

Log in to post a comment.