Questions tagged [init]
117 questions
1
vote
2 answers
Oneiric's init (upstart) taking up 99% cpu on openvz
I'm having a problem with a openvz vps which came with Ubuntu Natty (11.04) and I recently upgraded to Oneiric (11.10). After a reboot I found the init process stuck at ~99% cpu and the loadavg floating around 1.0. I've read about past issues with…
![](../../users/profiles/79482.webp)
Utaal
- 113
- 5
1
vote
1 answer
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 created a test script with a minimal version of the…
![](../../users/profiles/3290.webp)
Jon St. John
- 276
- 2
- 4
1
vote
4 answers
How can I find out what is causing init(8) to launch a process?
I installed Google Desktop for Linux and want to prevent it from running without necessarily deleting all its files. I managed to find and disable the file in /etc/cron.hourly, but gdl_box is still being launched by process 1:
1 5199 5199 5199 ?…
![](../../users/profiles/6116.webp)
Norman Ramsey
- 645
- 2
- 10
- 24
1
vote
1 answer
Finding out from which initrd image current RedHat session has booted
How can I find out from which initrd image in /boot/ a RedHat system has been booted from, assuming that there are multiple entries in /etc/grub.conf with the same kernel but different initrd-*.img files? (dmesg doesn't show it and there is no link…
![](../../users/profiles/68430.webp)
js.
- 123
- 1
- 5
0
votes
0 answers
Is it possible to get systemd to monitor a process that it does not start?
Some of our startup scripts have an ExecStart line that runs a curl command to start jobs from our Jenkins build server.
Systemd does not know anything about the job that is started as a result of the curl command and therefore cannot give us a…
![](../../users/profiles/508417.webp)
Jason M.
- 1
0
votes
1 answer
How to mount a root aufs in Red Hat / Fedora Core?
I'm trying to set up a virtual machine running Red Hat EL (actually Scientific Linux, but same difference) where the root file system is protected and not writable. I'd like to accomplish this with a union mount using aufs. That is, a writable file…
![](../../users/profiles/27185.webp)
Posco Grubb
- 123
- 1
- 2
- 6
0
votes
1 answer
Is systemd right for this task?
Currently, there's a fairly complex Python script that manages several dozen processes across a few servers. Each individual process has the same setup/requirements:
Main process must come up and be monitored
Helper network process must come up and…
![](../../users/profiles/233470.webp)
pdm
- 101
- 3
0
votes
3 answers
init never reaping zombie/defunct processes
On my Fedora Core 9 webserver with kernel 2.6.18.8, init isn't reaping zombie processes. This would be bearable if it wasn't for the process table eventually reaching an upper limit where no new processes can be allocated.
Sample output of ps -el |…
st9
0
votes
1 answer
'systemctl restart service' not working on CentOS 7
I have a custom service managed by an init script in /etc/init.d and, after upgrading to CentOS 7, with systemd, 'systemctl restart service' is not working correctly. I need to execute two times 'systemctl restart service' to make it restart (the…
![](../../users/profiles/373479.webp)
Albert
- 93
- 1
- 3
- 9
0
votes
0 answers
Which init system is main on particular system?
I have installed application with several init scripts as for dpkg -L application shows. For example:
/etc/init/application.conf
/etc/init.d/application
/usr/systemd/applaication.service
But i use just service application start for start? How…
user419775
0
votes
1 answer
Disabling MariaDb on Debian jessie doesn't work
I have MariaDb installed on Debian jessie. I need to remove it from automatic system startup. I tried recommended commands but they did not work:
root@debian:/home/gameboy# systemctl disable mysql
Synchronizing state for mysql.service with sysvinit…
![](../../users/profiles/390997.webp)
trzczy
- 173
- 1
- 1
- 8
0
votes
0 answers
Why corrupted rc.sysinit file create syslogd error
During boot the system hangs, and the last message while it hangs is:
Starting system logger: Can't open or create /var/run/syslogd.pid. Can't write pid.
After a while I discovered that /etc/init/rc.sysinit was corrupted - the first line…
![](../../users/profiles/383050.webp)
Liron Cohen
- 23
- 3
0
votes
1 answer
rsyslogd wont start correctly on Ubuntu 14.04.4 LTS while using the Init-Script
somehow my init-script for rsyslogd does not work. I tried to enable rsyslogd to accept logging-data on udp:514.
If I start my rsyslogd via Init-Script, no logging-data is forwarded. Not even syslog! And no port is binded.
netstat -plantu | grep 514…
![](../../users/profiles/364894.webp)
Mrk
- 31
- 2
0
votes
1 answer
init / inittab respawn (count number of times it occurs)
I added the following line in my /etc/inittab to respawn a program if it crashes.
#test must always run.
aa:2345:respawn:/home/pi/test/test
Is there a way to know how many times the init/respawn event occurs ?
Is there a log file for inittab ?
I'm…
![](../../users/profiles/332591.webp)
ssinfod
- 113
- 1
- 4
0
votes
1 answer
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 not have systemd.
Since the service may crash…
![](../../users/profiles/192847.webp)
jornane
- 1,096
- 1
- 8
- 25