The tag has no usage guidance.

learn more… | top users | synonyms

1
vote
1answer
24 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
20 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 ...
1
vote
1answer
115 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
82 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
41 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?
0
votes
0answers
9 views

metainit configuration format

Where can I read about the metainit configuration file format? I mean those declarative files which are used to make initialization scrips. The man page for update-metainit does not provide this ...
0
votes
0answers
45 views

Centos 6.7 - Autlogin only in level 3

On my Centos 6.6 box, I am trying to do the following: When starting, I want to have the choice to start linux in init 3 with autologin (specific user, named "Operator") and a second choice start in ...
1
vote
1answer
109 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
388 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 ...
0
votes
0answers
272 views

KODI init.d script Xubuntu 15.04 X11 another instance

can anyone help me with this KODI init.d script? Basicaly it is working when i try to start it from xubuntu desktop. xinit create another instance of X11 only for KODi, but there is a problem when i ...
3
votes
1answer
601 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
497 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
2k 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
174 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
29 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 ...
0
votes
1answer
91 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
148 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
0answers
265 views

Long session (cca. 85 sec) init in Windows 7 SP1 laptop

My Lenovo z50-75 laptop hangs cca. 85 sec in session init under win 7. I have managed to record etl file but I am not able to analyze it lacking the knowledge. I would really appreciate a helping ...
0
votes
1answer
58 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
46 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 ...
2
votes
0answers
454 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
259 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
135 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
95 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
233 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 ...
0
votes
1answer
3k 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: ...
5
votes
1answer
4k 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
101 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
87 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
426 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 ...
0
votes
1answer
430 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
645 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
92 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 ...
1
vote
0answers
839 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 ...
14
votes
3answers
58k views

How can I run a command after boot?

I would like to run the simple shell command echo 1 > /proc/sys/kernel/sysrq at each boot, to enable the sysrq keys. When in boot should this be done, and where should I put a script to do it?
0
votes
1answer
87 views

Creating a Git repro on my website

I'm not clear on which folder I should CD into to create my Git init? My Linux server folder structure is home/account/public_html Should I be in my public_html folder when I do the init? Thanks... ...
4
votes
2answers
2k views

How to debug old initd script under systemd?

I have an older initd script to start my application. It worked fine under older versions of SuSE, but fails on Open SuSE 12.3. The strange thing is cd /etc/init.d ; ./script start works fine. ...
3
votes
2answers
2k views

Automatic script launch after booting on Debian

I try to launch some scripts at boot time on my Raspberry Pi (running Raspbian Wheezy). I have created the file /etc/init.d/datalogger-serveur : #! /bin/sh ### BEGIN INIT INFO # Provides: ...
1
vote
1answer
3k views

Does Linux Mint use upstart or update-rc.d to manage init scripts?

In Linux Mint 15 the /etc/init.d/README is copied from Debian and says to use update-rc.d to manage scripts. However, all the script comment headers reference Upstart throughout. Does it make a ...
2
votes
0answers
403 views

Making sysvinit load EVERYTHING in parallel - why does this even work?

I edited /etc/init.d/rc on my Debian machine and changed startup boot to startup boot &. Boot time decreases ridiculously, and no race conditions happen at all. Way faster than even Systemd (which ...
2
votes
1answer
3k views

Files in /etc/init - are all files executed or just the ones with conf extension?

I have some files in /etc/init that I am still testing. As far as I know all files in this directory are executed on boot. My question is: does it apply to every *.conf file or to all of the files in ...
2
votes
2answers
2k views

At what point are cgroups initialized for systemd?

So to cut a long story short, I am trying to get systemd working with an Arch install, but without running systemd from init. This means I am booting into a system that is not running systemd, then ...
2
votes
0answers
904 views

/etc/init.d/lvm2 script not executed during startup

On startup, I want the /etc/init.d/lvm2 script shipped with Debian squeeze to be executed. I ran update-rc.d lvm2 enable and checked that the symlinks are created in the /etc/rcX.d folders: # find ...
2
votes
0answers
1k views

LVM volume activation before fstab mounts

I am trying to mount LVM volumes during startup of my Debian Squeeze system. Since for some reason, the LVM volumes / groups are inactive by default, they need to be activated before any mounting can ...
4
votes
1answer
1k views

Minimize boot time on headless ubuntu

I am trying to remove as much processes as possible to minimize the boot time on a beaglebone running ubuntu minimal. So i want to remove udev-fallback-graphics and all plymouth processes. I tried ...
1
vote
2answers
1k views

How to disable CTRL-C during init process?

I have set up a kiosk system with Linux Debian Wheezy. After booting a user gets logged in automatically, executing startx through /etc/inittab. Problem is that people could shutdown the machine or ...
1
vote
2answers
420 views

How to execute a command under Linux after booting without a TTY session?

I'm creating a kiosk PC at the moment and I'm wondering if this is possible: When the PC is started and Linux Debian boots and I wonder if it's possible to start the command startx respectively xinit ...
1
vote
1answer
3k views

init.d script for OpenOffice / LibreOffice headless does not stop process

I am using Ubuntu and found this init.d script for LibreOffice headless. Problem is that it does not seem to be stopping the process when asked to "stop". Any help greatly appreciated. Two other ...
6
votes
2answers
8k views

How do I prevent Apache service from auto-starting on Linux?

My problem is that I don't want to stop the apache daemon with the command ./apache2 stop from /etc/init.d (I know to do this). I don't want the apache service start automatically in /etc/init.d on ...
2
votes
0answers
70 views

What is the `/etc/hostname` used/required for?

I found in the /etc/hostname my IP-address, than I deleted it and each time I use sudo - I get a message and a system email sudo: unable to resolve host (none) or if in the /etc/hostname is saved ...