Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [init]

The tag has no usage guidance.

0
votes
0answers
149 views

CMDER\vendor\conemu-maximus5\..\init.bat"' is not recognized as an internal or external command, operable program or batch file

Can you tell me please, what this CMDER error means? CMDER\vendor\conemu-maximus5..\init.bat"' is not recognized as an internal or external command, operable program or batch file. My CMDER lost its ...
0
votes
0answers
38 views

Respawn GUI apps with inittab

Is it possible to resawn GUI apps in an inittab? I put xe:4:respawn:sudo -u geremia xeyes in my inittab and ran telinit q. However, when I run xeyes as user "geremia" and then kill xeyes, it's not ...
1
vote
1answer
48 views

How to launch more than 6 virtual terminals in void linux

I would like to have more virtual terminals start at startup. I want to be able to use runit and do ln -s /etc/sv/agetty-tty7 /var/service/agetty-tty7 ln -s /etc/sv/agetty-tty8 /var/service/agetty-...
0
votes
2answers
263 views

How to convert a Systemd service to OpenRC?

I want to add a service to my Artix linux system, which is a Arch Linux drivate with OpenRC as init system. Consider the systemd service [Unit] Description=sets battery thresholds [Service] Type=...
0
votes
0answers
72 views

Do scripts 'block' when executed from rcS?

I'm using Busybox (ash), which at startup runs rcS, which in turn executes, in numerical order, all the S?? scripts in /etc/init.d Does this script wait for completion before execution the next? Or ...
1
vote
2answers
148 views

What formatting is allowed for systemd option lines in general?

Im writing some systemd service files currently and wonder about what is allowed to properly format their content so I can improve readability and such for me. It's pretty much a question about if I'm ...
0
votes
2answers
627 views

How to select the OpenRC init system during Linux installation?

I want to install Debian Linux (on a 2009 Macbook Pro), opting for the OpenRC init system. By default, Debian uses Systemd. During the installation, I did not see any option to choose the init system; ...
0
votes
0answers
52 views

script does not execute when running as startup daemon, works fine in command line

I've installed a python package which tracks file changes called when-changed (https://github.com/joh/when-changed). Now the command I want to run is: when-changed /var/www/html/php/logfile.csv /var/...
0
votes
1answer
49 views

Turn off the touchpad every time I start linux

Im running a "bastard hodge-podge" Debian (sort of) linux based originally on pratham OS with quite a few things I had to build and install to get running Simply need to turn off the infernal ...
0
votes
1answer
362 views

Where is the source code for the classic init system?

I know that systemd and SysVinit have their own projects and are developed independent of the Linux kernel. But what about the classic init system? where its source code located? is it part of the ...
5
votes
2answers
8k views

How to run init.d service under systemd without root auth (updated)

My company set up some software it develops to run as a service using init.d on an older version of SLES. We recently created started setting up a new environment on a SLES 12 instance in Amazon's EC2 ...
0
votes
0answers
83 views

Creating own Linux distribution - Kernel Panic

Im currently creating a very specialized Linux distribution, that should just perform one single, very easy task. http://www.aclevername.com/articles/linux-xilinx-tutorial/minimalist-initramfs.html ...
0
votes
2answers
446 views

Windows 10 boot, how can you see what is happening?

In all the Desktop Linux distros I have used (debian based, redhat based, etc) the boot screen is graphical with some sort of progress bar. The cool thing is that you can choose to hit a keyboard ...
1
vote
1answer
2k views

INIT: id [ID] respawning too fast: disabled for 5 minutes

INIT: id "s21" respawning too fast: disabled for 5 minutes One of my plants has been receiving this message at the main server terminal for a couple months now. I've Googled but can't seem to find ...
0
votes
2answers
543 views

Why won't my init.d service start?

I bought a Raspberry Pi 3 a couple of weeks ago and have been playing with it for a long while. I'm running Raspbian Lite headless and one thing I want to do is run some stuff on boot. Nothing ...
2
votes
1answer
715 views

How to delete a file from a command in a shell file for /etc/init.d?

I have a about question working with /etc/init.d shell script. All I want to do is delete a file from a command inside the shell script like so: case $1 in stop) echo "Stopping" rm -f /var/run/...
2
votes
1answer
123 views

Init script changes for MongoDB

We have MongoDB (Version 3.0) in production in standalone as well as in cluster mode. Currently we were facing issue that basically states: Unclean shutdown detected hence unable to start mongod. ...
0
votes
1answer
564 views

Ubuntu 14.04 LTS 64bit guest OS kernel panic on start up

I have a Ubuntu 14.04 LTS 64bit guest OS running on VMWare Workstation 12 Player on a Windows 10 host. I was running Eclipse for a while recently when it got really slow despite multiple Eclipse ...
0
votes
1answer
320 views

Linux: shutdown from GUI vs from terminal

Hello I'm new with Linux and could not figure out if shutting down computer from GUI is the same as from terminal with command: shutdown -P now P.S When shutting down, Does init process receive ...
0
votes
2answers
4k views

Have script run on very first startup of new CentOS 7 VM clone

I'm setting some servers that basically need to manage themselves after I leave the company, as I'm just the contract IT guy. Whoever manages this should basically be able to clone a VM image in ESXi, ...
1
vote
1answer
1k views

Change ubuntu defaul runlevel

i need change default runlevel to ubuntu server 14.04. I installed GUI to manage the hp printers and now i need return to runlevel 3, i edit the file /etc/init/rc-sysinit.conf and modify the line: ...
0
votes
1answer
68 views

Prevent all processes to write on /var

I would like to move the /var folder of my server (xen server) to a new disk. I followed this but the init 1 command log me out from the ssh session. Also can I avoid using init 1 to prevent all ...
6
votes
2answers
9k views

how to know if I am using systemd on my linux?

How could I know if my linux starts with systemd or whatever package?
3
votes
2answers
969 views

Delaying assignment of IP-address until network adapter device is available

I'm working on a custom embedded board with three Ethernet interfaces: eth0 and eth1 are built-in to the CPU (a TI AM3356) eth2 is made with an on-board LAN9512 chip (using the smsc95xx driver), ...
1
vote
2answers
89 views

Does restarting a Puppet Master service require regenerating for the SSL certificates of the servers it controls?

Do I have any special extra work I need to do, afterward, if I have to restart the Puppet Master service? Specifically, does this affect SSL certificates?
1
vote
1answer
640 views

This arch install not yet working, /sbin/init trouble

I do an lvm2 arch install, as the installation page on the wiki tells. I do what the wiki page tells, with the mileage: put Grub as boot manager. Set the lvm2 hook on the mkinitcpio configuration. ...
0
votes
0answers
2k views

Execute multiple commands in init.d script on boot

I found a guide for fixing permissions on an EXT4 filesystem on a MicroSD card. The AOSP/CyanogenMod ROMs I've tried will mount this, but the permissions are messed up. The guide used to work fine on ...
3
votes
1answer
3k views

How to debug old init.d script under systemd?

I can't get any output from the script. systemd just prints: sinopia.service: control process exited, code=exited status=203 Failed to start LSB: starts the sinopia web server. I can't even launch ...
0
votes
1answer
5k views

Running Teamspeak server at startup and shutting down teamspeak at shutdown

I'm new to linux, and i have a Teamspeak 3 server on a Ubuntu server. I would like to make the server auto start and stop when the system boots and shuts down. I understand that i need to make scripts ...
0
votes
2answers
8k views

Switching to systemd on Linux Mint

I have linux mint 17.1 running on a laptop which takes forever to boot. To speed up the boot I want to switch to systemd. How can I switch to systemd?
1
vote
1answer
646 views

LSB init service dependency

I have added the two services A and B. B is dependent on A, meaning that if I will start B then A should be start automatically if it is not running already. But A is not coming up automatically when ...
0
votes
0answers
68 views

Script does not start when OS start|reboot

I have a file at /etc/init/pdoneVendorBroker.conf with the following content: description "PDone Vendor Broker" start on runlevel [234] stop on runlevel [0156] respawn exec php /var/bundles/...
0
votes
1answer
1k views

What do these parameters do?

What is the meaning of the switches and parameters of this command? exec su -s /bin/sh -c 'exec "$0" "$@"' root -- /opt/nsq/bin/nsqd Specifically the -- part and what exec "$0" "$@" is supposed to ...
1
vote
0answers
258 views

Can I use /etc/init/ on Debian Wheezy to manage a daemon process?

I want to run a PHP daemon process and found a solution at Stackoverflow but unfortunately its not working. Now I thought Upstart is not installed since Debian still uses System V. I have two ...
0
votes
1answer
67 views

CentOS 5.x - `inittab` failing on `rc.d` calls

I have several servers that run some python scripts at the end of the inittab. I have one server which is having issues and the scripts weren't running. With troubleshooting, I found that if I moved ...
2
votes
0answers
56 views

What should happen next on init scripts?

I've been using a Linux Mint 13 live system on my memory stick and I decided to put it on my hard drive. It already had several scripts to uninstall software and optimize it, scripts that I had to ...
3
votes
0answers
2k views

/sbin/init exists but couldn't execute it

I'm building Linux from scratch. Currently I have the kernel, glibc and sysvinit. I've compiled everything myself following these instructions. Though my version of glibc is 2.19. Also, I use grub ...
0
votes
1answer
800 views

Is there any difference between shutdown -h now and init 0, init 6 and shutdown -r now?

As I know by now, shutdown call init to change runlevel to stop the system running and shutdown will give some time for the system to do some other cleaning work. I am not sure whether I am right. ...
0
votes
1answer
538 views

Init 3 command with systemd

I am using Oracle Linux 7 for test purposes. I understand that the entire RHEL family (RHEL, CentOS, and OL) is using systemd now. As far as I know with systemd instead of init 3 I should use ...
0
votes
1answer
149 views

Linux base device not getting shutdown

I try to shutdown my embedded system running with Linux environment using shutdown -h now. But in place of shutdown it is rebooting my system again. So can anyone give me suggestion how to shutdown my ...
0
votes
1answer
462 views

Postgresql starup script for second instance?

I need to run my second postgresql instance when linux boots. I added this command (like in postgresql documentation) in rc.local: /usr/lib/postgresql/9.1/bin/pg_ctl start -l logfile -D /var/lib/...
1
vote
1answer
10k views

init.d script - Permission denied

I'm trying to create a init.d script for my server which should start/stop the teamspeak server and some node.js apps using "pm2". Here's my script: #! /bin/sh ### BEGIN INIT INFO # Provides: ...
7
votes
1answer
5k views

Where in CentOS does program start at boot if it's not in init.d?

I have installed a software (GitLab) on CentOS. It works well, but this GitLab starts at boot and I don't want that. So I took a look at /etc/init.d in order to disable it with chkconfig, but my ...
0
votes
2answers
188 views

During Linux boot, where does “init” execute from?

I am new to Linux, and trying to get a definitive understanding of the Linux boot processs, before attending a Linux Server Admin class starting in June. Setting up the Question: During Linux boot, ...
1
vote
2answers
123 views

What causes import command to fail as running through a service

Our System V service runs a daemon that runs the import command. Running our service by sudo service myservice start seems to start the service but when it comes to take a screenshot, import does not ...
1
vote
2answers
695 views

How to investigate runlevel initialization?

I'm investigating why a service (solr) is not started upon server booting (in this case a vagrant box, running ubuntu 12.04). The script is running if i run /etc/init.d/solr start I run sudo update-...
0
votes
1answer
987 views

linux startup script not executing script in user's home directory

I want a script on my raspberry pi to run when the system boots. That's why I've created a script inside /etc/init.d that is linked in /etc/rc2.d This is the script inside init.d: #! /bin/sh ### ...
3
votes
2answers
1k views

Why will dmesg have message from user space?

you can use dmesg -u to see log from userspace. In my case, I have log from systemd and lvm. Why is this happening, why userspace program can print to kernel buffer ring?
1
vote
1answer
111 views

Issues with init script services - Ubuntu 12.10

During boot, I get a series of messages like modem-manager: ... modem-manager: ... . . . I tried disabling this feature with sudo update-rc.d -f remove modem-manager remove EDIT: The output I got ...
1
vote
0answers
2k views

Automatically mounting an encrypted USB disk at boot

I've followed these steps to set up an encrypted USB hard disk on Lubuntu 13.10, and these to unlock it with a keyfile instead of a passphrase. I now have a disk /dev/disk/by-uuid/32f692ec-e22c-49d3-...