The tag has no usage guidance.

learn more… | top users | synonyms

-1
votes
2answers
42 views

Linux init script service - delay until mysql socket is ready

How does one go about delaying a service init script in Linux until the MySQL socket exists? Does the sleep command in a startup script delay the entire boot process, or are init scripts each ...
1
vote
1answer
355 views

systemd Unit file for GitLab

I am currently writing a Puppet module to get GitLab running on CentOS 6/7. For the CentOS 7 install I need to write a systemd unit file to start the gitlab service (which is actually Unicorn & ...
1
vote
1answer
104 views

init process' nice level

The init process on a Debian server (VPS) I've inherited has its nice value set to +10. There's nothing particularly obscure installed on the system. It has a LAMP stack and does a lot of IO and will ...
1
vote
1answer
215 views

Redhat 5 Upgrade / Sphinx Search Init Startup Hangs

I recently upgrade a VM to Redhat 5 and moved Sphinx Search to that server. For some reason when I try to start Sphinx, the startup script fails to push the searchd process to the background. I ...
0
votes
1answer
194 views

Set RemainAfterExit=no for a classic init script in systemd

I run a custom service with a classic init script on Debian Jessie. Debian Jessie uses systemd. The reason that I use an init script is that I also use the same service on Debian Wheezy, which does ...
0
votes
1answer
28 views

Prevent init to restart services when changing run-level

When a service, most notably httpd is configured to run in level 3 and 5 (on CentOS 6.5) and the current run-level is 3 and I move to 5 by init 5, then init restarts httpd which is silly IMHO. Is ...
0
votes
1answer
244 views

svnserve -d child process spawning and svn connections under netstat

I see many svnserve -d processes running on my CentOS 6 box, one with the PID 400 and PPID 1 and the rest with PPID 400. I take this to mean the first one is started by init scripts (i know it is) ...
0
votes
1answer
612 views

Ubuntu - Upstart with a python script that start and finish their own processes

I'm trying to setup with Upstart a python script that launch several internal procs and kill them if is required with this sentences: $ listener.py -startall $ listener.py -killall My Upstart file: ...
0
votes
1answer
647 views

No init found. Try passing init= bootarg. ( linux fedora 14 - rackspace )

I have a server on Rackspace. It was working just fine. But this morning I found that it wasn't working, after a hard reboot (suggested by a rackspace chat support guy). I found that it was giving ...
0
votes
1answer
84 views

Changing /lib directory from initramfs to mounted partition's /lib

I want to change the /lib loaded from initramfs to a mounted partition's /lib ideally without having to rm the initramfs' /lib and then symlink-ing to the new /lib. The problem with this approach is ...
2
votes
0answers
370 views

Linux equivalent of OS X “Launchd”, with respect to use by non-root users?

Is there a good way for non-root users to start "managed" processes? In this case, I am using managed" to describe a process that starts up when the user logs in, is monitored by some sort of ...
1
vote
0answers
24 views

How to display init output to tty7 (or main tty)

I have created my first init script in a linux server (ubuntu if that adds any information) that checks for an update, downloads it and executes it in each hour. The init file is as follows: ...
1
vote
0answers
38 views

Init script to run overlapping servers at service restart

How can I create a init script that starts (and tracks) the new process before the old is completely terminated at restart? I am developing a node.js service that needs to be able to restart ...
1
vote
0answers
120 views

Ubuntu: An init script that requires mysql

We have built some software that connects to MySQL and should be started on an Ubuntu server at boot. What we're missing is how to ensure it starts at boot after MySQL. Our init script includes the ...
1
vote
0answers
461 views

Ubuntu 10.04 on vServer: SSHD fails to come up after apt-get upgrade

I have a vServer running Ubuntu Linux 10.04 LTS in a Parallels container. Yesterday, I updated packages using apt-get upgrade. After the upgrade, I could not longer log into the machine using SSH. I ...
1
vote
0answers
914 views

init 5 kdump fail

Whenever I do a init 5 runlevel. The System goes like this.. Starting portreserve: [ ok ] Starting irqbalance: [ ok ] Starting kdump: [FAILED] ...
0
votes
0answers
8 views

How To Track Init Process Within Systemd

As far as I understand if init script simply provides a set of commands and gets run by systemd the status of the systemd unit will be set as active (exited). How would one track the process started ...
0
votes
0answers
358 views

Missing /etc/init.d/ipsec script after installing strongswan 5.3.2 from source

Ubuntu 14.04 (Amazon's Ubuntu AMI). Installed strongswan 5.3.2 from source (latest version in repo is too old and doesn't work). 1 question: 1) Noticed that the /init.d/ipsec (or /init/) script is ...
0
votes
0answers
68 views

How to turn off and on heartbeat service when haproxy is turned off and on?

I'd like the heartbeat service to turn off before haproxy is stopped and to turn on before it starts on a Ubuntu 14.04 Server. What is the best way to accomplish this? I'm sure one of these days I'm ...
0
votes
0answers
42 views

Debian Squeeze booted into runlevel 6

I've just found a very strange issue. One of my Debian Squeeze systems has booted into runlevel 6. I'm not sure how. None of the services configured to run at the lower levels started up. This is ...
0
votes
0answers
605 views

setuid upstart not working

I have created a .conf file in which I include setuid mario setgid mario in order to run as mario user. The program I run in the exec command is forever which runs an instance of node which ...