You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@activemq.apache.org by maneeshmp <en...@gmail.com> on 2016/10/14 07:22:52 UTC

sudo update-rc.d activemq multiuser throws error

When I execute the command,
sudo update-rc.d activemq multiuser
I get below error,

$ sudo update-rc.d activemq multiuser
update-rc.d: warning: activemq start runlevel arguments (none) do not match
LSB Default-Start values (2 3 4 5)
update-rc.d: warning: activemq stop runlevel arguments (none) do not match
LSB Default-Stop values (0 1 6)
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | SS KK]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
       update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
                -n: not really
                -f: force

The disable|enable API is not stable and might change in the future.

What needs to be changed?



--
View this message in context: http://activemq.2283324.n4.nabble.com/sudo-update-rc-d-activemq-multiuser-throws-error-tp4717903.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: sudo update-rc.d activemq multiuser throws error

Posted by Martin Herrman <mh...@ymor.nl>.
Hi Maneesh,


In that case 'sudo update-rc.d activemq defaults' should work.


Linux systems used to be shipped with the sysvinit system (https://wiki.archlinux.org/index.php/SysVinit), which is currently being replaced by systemd (https://wiki.archlinux.org/index.php/Systemd). However, Ubuntu has been using their own upstart (https://en.wikipedia.org/wiki/Upstart) in between Upstart.


Regards,


Martin



________________________________
Van: maneeshmp <en...@gmail.com>
Verzonden: vrijdag 14 oktober 2016 18:38:22
Aan: users@activemq.apache.org
Onderwerp: Re: sudo update-rc.d activemq multiuser throws error

I am using ubuntu

$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

Thanks,
Maneesh



--
View this message in context: http://activemq.2283324.n4.nabble.com/sudo-update-rc-d-activemq-multiuser-throws-error-tp4717903p4717930.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Met vriendelijke groet/Kind regards,

Martin Herrman
Manager DevOps

[YMOR]<http://www.ymor.com>

Ptolemaeuslaan 70
3528 BP Utrecht
Mobiel: +31 6 10761936
Kantoor:        +31(0)30 6021149

Email:  mherrman@ymor.nl

[ITOA]
Van reactief naar preventief IT-beheer?
Download de whitepaper:
'Van achteruitkijkspiegel naar glazen bol met IT Operations Analytics'<http://www.ymor.com/whitepapers/>


This e-mail message and its attachments are subject to the disclaimer published on our website<https://www.ymor.com/files/2016/04/2016-Disclaimer-and-Security-EN.pdf>

Re: sudo update-rc.d activemq multiuser throws error

Posted by maneeshmp <en...@gmail.com>.
I am using ubuntu

$ cat /etc/lsb-release 
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=14.04
DISTRIB_CODENAME=trusty
DISTRIB_DESCRIPTION="Ubuntu 14.04.1 LTS"

Thanks,
Maneesh



--
View this message in context: http://activemq.2283324.n4.nabble.com/sudo-update-rc-d-activemq-multiuser-throws-error-tp4717903p4717930.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.

Re: sudo update-rc.d activemq multiuser throws error

Posted by Martin Herrman <mh...@ymor.nl>.
Hi,


I believe this is not an activemq issue, but an update-rc.d problem. On which distro+version are you running activemq?


I would have been using 'sudo update-rc.d activemq defaults'.


HTH,


Martin


________________________________
Van: maneeshmp <en...@gmail.com>
Verzonden: vrijdag 14 oktober 2016 9:22
Aan: users@activemq.apache.org
Onderwerp: sudo update-rc.d activemq multiuser throws error

When I execute the command,
sudo update-rc.d activemq multiuser
I get below error,

$ sudo update-rc.d activemq multiuser
update-rc.d: warning: activemq start runlevel arguments (none) do not match
LSB Default-Start values (2 3 4 5)
update-rc.d: warning: activemq stop runlevel arguments (none) do not match
LSB Default-Stop values (0 1 6)
usage: update-rc.d [-n] [-f] <basename> remove
       update-rc.d [-n] <basename> defaults [NN | SS KK]
       update-rc.d [-n] <basename> start|stop NN runlvl [runlvl] [...] .
       update-rc.d [-n] <basename> disable|enable [S|2|3|4|5]
                -n: not really
                -f: force

The disable|enable API is not stable and might change in the future.

What needs to be changed?



--
View this message in context: http://activemq.2283324.n4.nabble.com/sudo-update-rc-d-activemq-multiuser-throws-error-tp4717903.html
Sent from the ActiveMQ - User mailing list archive at Nabble.com.
Met vriendelijke groet/Kind regards,

Martin Herrman
Manager DevOps

[YMOR]<http://www.ymor.com>

Ptolemaeuslaan 70
3528 BP Utrecht
Mobiel: +31 6 10761936
Kantoor:        +31(0)30 6021149

Email:  mherrman@ymor.nl

[ITOA]
Van reactief naar preventief IT-beheer?
Download de whitepaper:
'Van achteruitkijkspiegel naar glazen bol met IT Operations Analytics'<http://www.ymor.com/whitepapers/>


This e-mail message and its attachments are subject to the disclaimer published on our website<https://www.ymor.com/files/2016/04/2016-Disclaimer-and-Security-EN.pdf>