The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
2answers
56 views

pacemaker corosynce lsb resource script( Sybase Database ASE Server and Backup Server)

I'm trying to create a lsb resource with pcs on rhel7.2 The "sybase" script is about Sybase Database ASE Server and Backup Server Startup & Stop & Restart $ status script Before ...
1
vote
1answer
23 views

Run command in screen when LSB initscript stopped

I'm trying to get a Bukkit server to run inside a screen as a service, started from an LSB script but I cant get it to stop correctly. What I essentially want it to do is reattach the screen and send ...
1
vote
1answer
40 views

Order of services using systemd and legacy init.d services

On my Fedora 23 system a database is started by systemd. Another service (hive-metastore) that depends on that database ist started through a init.d script. I'am unclear about what would be the ...
1
vote
1answer
2k views

Corosync/Pacemaker + Haproxy Failed Actions: insufficient privileges

I setup a Corosync/Pacemaker cluster + HAproxy using the following guide on Ubuntu 14.04 LTS: ...
6
votes
1answer
5k views

What is status_of_proc, and how do I call it?

In the init script of nginx in Debian 7 (Wheezy) I read the following exerpt: status) status_of_proc -p /var/run/$NAME.pid "$DAEMON" nginx && exit 0 || exit $? ;; ...
0
votes
2answers
1k views

LSB confirm startup script won't start apache tomcat on ubuntu

I want to start my tomcat server automatically on startup. Therefore I retrieved a simple LSB conform script from the net and modified it to my needs. This is the script: # Provide logging functions ...
5
votes
1answer
7k views

Do some debian builds not have lsb_release?

A .deb package I am releasing expects that it can call lsb_release. One customer using Debian 6.0.5 indicated that the lsb_release command (even in the terminal) produces a command not found error. ...
0
votes
2answers
281 views

Debian - error while loading shared libraries

i have an problem with script DocToText from Silvercoders.com on my 64bit Debian Squeeze. It works properly on another 32bit machine, but on this i have still problem with some .so module. # file ...
1
vote
1answer
189 views

LSB Script: how do i know if something goes wrong?

How do I know if a LSB script fails to load or where do I check the log of the lsbs scripts? I added two scripts with the following command: update-rc.d scriptname defaults And just one launches ...
0
votes
1answer
2k views

Workaround for starting zabbix agent on Ubuntu. update-rc.d LSB mismatch

I am trying to run the zabbix-agent (1.8.1) on boot on Ubuntu (lucid 10.04). Zabbix is installed just fine, and it manually starts just fine with /etc/init.d/zabbix-agent start However it doesn't ...
2
votes
2answers
2k views

Reorder the way in which scripts are run at startup

I just moved to debian squeeze and need to change the startup sequence of some scripts. I used to do this with update-rc.d service defaulta xx xx but now with the LSB way of doing things the ...
1
vote
1answer
474 views

Question regarding Linux LSB init script directives

I'm making some init scripts to start some system services that require other services to have started in order to start successfully. For instance, one service requires that xenstored be running ...
1
vote
2answers
2k views

Is LSB's init script function “start_daemon” really used for real daemons or should I stick to start-stop-daemon?

In the context of init scripts, according to the LSB specification, "Each conforming init script shall execute the commands in the file /lib/lsb/init-function", which then defines a couple of ...
6
votes
1answer
7k views

Launching a PHP daemon from an LSB init script w/ start-stop-daemon

I'm writing an lsb init script (admittedly something I've never done from scratch) that launches a php script that daemonizes itself. The php script starts off like so: #!/usr/bin/env php <?php ...
3
votes
1answer
21k views

How to conform to update-rc.d with LSB standard?

This is a migrated question from stackoverflow, as I was told, this is the place for it to be. http://stackoverflow.com/questions/2263567/how-to-conform-to-update-rc-d-with-lsb-standard I have set ...
1
vote
3answers
7k views

Redhat init script best practice

I want to write an init service script which runs the program as a particular user (and not root). I will then chkconfig this script and install into my production run level. I could just put a su ...