Questions tagged [startup]

the startup sequence, from the time the kernel goes live to when all services are up and running

153 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
4
votes
0answers
858 views

How to start a service upon an lxc container start?

I would like to start OpenVPN automatically upon the launch of its lcx container. The container runs Ubuntu 14.04.4 LTS, service openvpn start is successful (when launched from the running container) ...
3
votes
0answers
107 views

Execute a command instantly after system is powered

I would like to execute a command instantly after system is powered. My project is realized in an embedded Linux environment (Yocto-based, with U-boot bootloader), therefore I would like to show a ...
3
votes
0answers
2k views

Disable dockerd at startup

I am using docker sparsely. I don't need the daemon to be running all the time. I would like to disable it from starting up automatically. I tried doing : sudo systemctl disable docker but it ...
3
votes
1answer
948 views

Startup script on Debian 8 (Jessie) with etherwake won't work

I'm attempting to remotely wake a slave machine when the master boots up through a bash script using the etherwake command to send magic packets. Both OSs are Debian 8. The full code is written below: ...
3
votes
0answers
2k views

PPTP VPN client auto startup : need to restart network interface

The PPTP client works well. So the following lines were added in /etc/network/interfaces to enable the tunnel at system startup : auto tunnel iface tunnel inet ppp provider myTunnel according ...
3
votes
0answers
2k views

“map: vt01 => fb0” - what is that?

At startup of Rasbian on Raspberry PI, when console asks for login I can see the following text: map: vt01 => fb0 What does that mean? How can I disable it? (hide this message, I would only like ...
3
votes
0answers
198 views

Set up bluetooth keyboard to enter disk encryption password

How can I set up a bluetooth keyboard, so that I can use it to enter the disk encryption key, so that my encrypted linux system boots.
3
votes
1answer
6k views

Starting Tomcat Service when starting CentOS/RHEL/Fedora

I want to install tomcat 8 and run it at startup time I am following these tutorials: Install Tomcat 7 on CentOS, RHEL, or Fedora How to install Tomcat 8 on a CentOS 6 VPS I created the tomcat user:...
3
votes
2answers
1k views

nfs-kernel-server starts too early

I have an RPI-based NFS server with an external USB hard disk. After a recent upgrade to Raspbian 8.0 and systemd I noticed that now nfs-kernel-server seems to be starting before all file systems on ...
2
votes
0answers
38 views

systemctl custom service doesn't start on boot, but starts OK manually

I have a Debian stretch on RPI. I need to start a custom service on boot up. /lib/systemd/system/lora-packet-forwarder.service Service is enabled, but shows up as inactive lora-packet-forwarder....
2
votes
1answer
366 views

Ubuntu 18.04 VM in emergency/maintenance mode due to failed corrupted raided disk

I have a VM which has an attached raided device with fstab entry: /dev/md127 /mnt/blah ext4 nofail 0 2 The raided disks are corrupted and during startup the unit entered emergency/maintence mode, ...
2
votes
0answers
300 views

troubleshooting AMD-Vi IO_PAGE_FAULT

I have been trying to run Linux on a PC with an AMD CPU. The installer for Ubuntu 16.04 loads fine but once the OS is loaded on the hard drive upon reboot I get a flood of console errors reading: ...
2
votes
0answers
143 views

Very long ubuntu startup time

I've just installed Ubuntu (on an SSD) and startup takes over two minutes. I've checked "dmesg" and found a clear 90 seconds process that probably shouldn't be there. [ 13.831788] audit: type=1400 ...
2
votes
0answers
103 views

How to turnoff Debug mode in Jboss server on a Linux machine?

When I start a JBOSS server 6.4 on my linux machine, it displays all the messages. But I don't want to see those messages, hence need to disable them. How can I turn off those messages in JBOSS 6.4 ...
2
votes
1answer
102 views

Bash script functions properly after GUI startup, but works differently when called from Autostart

the script is called from /home/pi/.config/lxsessions/LXDE-pi/autostart with the line: @bash /home/pi/Documents/openContent.sh /media/pi index.html http:/google.com and openContent.sh is: #!/...
2
votes
2answers
523 views

Explicit kernel module load at startup

I'm using grsecurity kernel which disallows automatic kernel load thus several systemd services don't work. After manually loading modules with modprobe and restarting module everything works ...
2
votes
1answer
312 views

XOrg slow boot time

I have a Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 system with GNOME. It takes up to a minute to boot. I have two screens connected to a NVidia GTX 970. [ 7.660] (--) NVIDIA(GPU-0): AOC 1950w (...
2
votes
0answers
618 views

Start process at startup

I have installed JDownloader on my Debian based NAS System and want to get JDownloader starting at boot. I have setup a script in /etc/init.d/jdownloader and can start JD with SSH like /etc/init.d/...
2
votes
0answers
506 views

Systemd Synergy Unit File

I have a problem with systemd and Unit files. I am using Ubuntu 16.04 Gnome Edition and I want to start up the application "synergy" when I log in. After some research, I've learned that user unit ...
2
votes
0answers
369 views

Non blocking Dhcpcd via Systemctl

I have seen the --no-block argument with systemctl start but I have no idea how to have this in a config (ex.: /usr/lib/systemd/system/dchcpcd.service) or do this with the systemctl enable command. ...
2
votes
1answer
605 views

Maintain ip link settings across reboot

Every time I turn on my computer, I have to manually set # ip link set wlp5s0 up in order to use my wireless card. Is there a way to maintain this setting across reboots? So if I set the interface up ...
2
votes
0answers
164 views

Porting kernel 4.6 to ARMv6 board (Samsung S3C6410) which runs 2.6.38

I'm trying to get kernel 4.6 running on an S3C6410 board. In order to complete the port and to boot fully, I need to configure the kernel to work with the NAND flash and the SD controller on the ...
2
votes
0answers
360 views

scp and rsync not working when executed within .sh files from “startup programs window”

With Ubuntu Mate 16.04, I have a file my_backup.sh like this: # Log just for trying echo $(date) >> /home/albert/dia_hora # BBDD NOW=$(date --date="yesterday" +"%d") FILE="...
2
votes
0answers
154 views

Running a service before log in

I don't like opening a question here for such a, seemingly, simple issue; but I've been stuck on this for a while now and I have no idea what to do next. I'm running a Fedora 22 system on a ...
2
votes
0answers
332 views

Configuring update-rc.d script for startup only

I'm running Yocto Poky and have a test script I want to run on startup only. The script just appends date to a file echo $(date) >> ~/test.txt. I add it to the daemon with: update-rc.d -f ...
2
votes
1answer
2k views

Run a Python script in the background on boot

I recently installed the Google App Engine Development server on my FreeBSD home server to be able to test my GAE app remotely. What I can't figure out is how to run the Python development server as a ...
2
votes
1answer
675 views

Script to run at shutdown

I'm trying to create the equivalent to rc.local that runs last during startup, but to run first during shutdown. I basically copy/pasted /etc/init.d/rc.local as the base template, and updated the ...
2
votes
1answer
18k views

How to recover missing serverauth so user can startx?

I've been using PCLinuxOS. All was OK until the Hard Drive had a bad block. After some fsck repair, from the shell, I tried to startx: xauth: file /home/joe/.serverauth.2052 does not exist. ...
2
votes
0answers
125 views

Linux Networking Bootup script takes too long

I am working with a fork of a raspberry pi SoC. One of the modification is the use of AP6210 WiFi/Bluetooth chip. I am running Debian. During boot up, the following 3 startup scripts need to run in ...
2
votes
1answer
5k views

Cannot add startup service to openWRT from init.d

I have openWrt installed on a TP-Link TL-WA901N/ND v3. I don't have luci package installed because I don't have enough space, so I can only do thing via cli. What I'm trying to achieve is to create a ...
2
votes
1answer
447 views

System freeze on “setting up alsa”

I use Debian wheezy and I boot the computer and get stuck in the line: [....] setting up alsa .... It freezes, it only responds to "REUSIB" (Emergency Reboot With Magic SysRq), but it is unusable as ...
2
votes
0answers
131 views

Scripts cannot run simultaneously on startup

I want two scripts (Server_drive, Server_video_boot) running on startup, but there is conflict between them. Specifically, there is always running the script with the lower priority. I tried with many ...
2
votes
1answer
1k views

how to correctly delay the execution of a startup script based on a tested condition?

I need to start a service (namely ntp) only when true Internet connectivity is in place (not only a link up). I seem to have noticed that some startup scripts delay themselves when a condition is not ...
2
votes
0answers
127 views

Run script when window manager loads using root owned 700 autostart file

One of the 3rd party proprietary GUI software I use requires typing login credentials every time I log in to my Cinnamon desktop. It does not support autologin of any kind. Therefore, I decided to ...
2
votes
0answers
81 views

Find out if system startup was initiated by rtc alarm

How can I know if a system startup was initiated by an rtc alarm event in linux? I am writing some scripts that handle sleeping/shutdown of my htpc. I want the machine to sleep after recording has ...
2
votes
0answers
996 views

Run a command before services are started

I have a Oracle Linux 6.3 system on which I would like to run a command when the machines starts up before any other services are started. The reason for this is to try and work around a bug in RHEL 6....
2
votes
0answers
1k views

How to write a systemd script that runs usb_modeswitch and connects to the internet at startup?

I have a cisco AM10 wireless adapter and every boot, I need to run usb_modeswitch -v 1307 -p 1169 -L -I -u -l to get it to function as an adapter. Then I have to run a netcfg profile to connect to ...
2
votes
0answers
582 views

Why if I don't disable nm-applet and xfce4-volumed my startup slows down?

I'm running Xubuntu 12.04, and after I ran the update, my login started slowing down big time. I've dabbled a little bit with the programs in Settings -> Settings Manager -> Session and Startup, and ...
2
votes
0answers
245 views

Automatically start named pipe reader on startup?

I'm trying to run a script with root access from PHP. I can't do that because Apache's user, www-data, don't have root access because of security reasons. To fix that, I was advised to use a named ...
2
votes
0answers
196 views

How to make system startup to not wait on particular systemd service start

I have few virtual machines running under libvirt, and they are stared on the host system startup. This is controlled by libvirtd.service systemd configuration. This delays the availability of the ...
1
vote
1answer
53 views

Why does my bash terminal startup run the same set of commands twice?

I'm on a Mac and whenever I start up my terminal app the initial startup prints the following: Picked up _JAVA_OPTIONS: -XX:MaxPermSize=4G -Xmx4G Java HotSpot(TM) 64-Bit Server VM warning: ignoring ...
1
vote
0answers
24 views

What is the equivalent of systemd-analyze in CentOS 6?

systemd-analyze is the command to investigate time taken by each service during boot in CentOS 7. Is there a similar utility in CentOS 6 for doing this? update: extending the question after Lucas' ...
1
vote
0answers
34 views

XFCE Session & Startup Application terminal command to turn on and off

In XFCE4 I can create my own custom start-up commands at Settings Manager > Session & Startup > Application Startup and turn them on or off by clicking on the command's check-box. Is there a ...
1
vote
0answers
275 views

Failed to start mariadb server

starting mariadb server as a systemd service (systemctl start mariadb-server.service) fails with error message: Incompatible header in messagefile '/usr/share/mysql/english/errmsg.sys'. Probably ...
1
vote
0answers
128 views

It takes forever to login

I'm using Debian testing with Gnome. For some reason it takes around a three minutes to login, after I have typed in the password and pressed enter. What could the reason be? I would love to provide ...
1
vote
1answer
481 views

System is booting up. Unprivileged users are not permitted to log in yet

Is there a way (other than permit root login on the target machine) to work-around the following: $ ssh 192.168.0.14 user@192.168.0.14's password: "System is booting up. Unprivileged users are not ...
1
vote
0answers
23 views

Why has Metacity stopped running at bootup, after I added gtk.css?

I'm running live knoppix 7.7.1 on a USB stick with persistence. Metacity has stopped running at bootup, after I did the following. I addded the file gtk.css to the pre-existing empty directories /...
1
vote
0answers
47 views

Is there a way to run a program at startup and in the background without root access?

I'm trying to have it so that my program is able to run at startup and in the background without having the user to be root. Ideally this would happen at the installation of the program and not using ...
1
vote
0answers
29 views

Difference in rc.local and lxde autostart

I have created a python script with GUI and I want to be able to run it at start up once the Raspberry Pi boots. I placed my script in the rc.local but the GUI does not appear at start up. But when I ...
1
vote
1answer
62 views

Using second init/systemd startup on different partition

We have the following setup: A read-only system partition from which the kernel is booted from. (Debian Jessie) A read-write partition which has additional software to be started as daemons. A simple ...