The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
25 views

Set working directory to launch application at startup on CentOS via rc.local

I want to launch java application at startup on CentOS 6.4. I add string like the following java -jar /path/to/my.jar -options into /etc/rc.d/rc.local as I read Running Additional Programs at Boot ...
1
vote
0answers
79 views

How to set up a multi-user text mode in Debian wheezy 7.6?

I'd like to set up one of the available runlevels to work as a 'multi-user text mode' runlevel. Such mode available e.g. on CentOS. Another example of what I need would be what you get when you add ...
1
vote
1answer
165 views

Solaris11 back to console boot

I installed Solaris 11 X86. I installed solaris-desktop. Then Solaris boots to GUI mode. How can I make the Solaris boots to console mode? (And then optionally starts X by hand?)
1
vote
1answer
181 views

systemd: change default runlevel

I found two ways to change the default runlevel in systemd: https://wiki.archlinux.org/index.php/systemd#Change_default_target_to_boot_into # systemctl enable multi-user.target ...
1
vote
2answers
292 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
41 views

Graceful shutdown - runlevel 0 scripts not getting called

I am working on a client platform which has RHEL 5.0 OS installed with kernel version 2.6.34.12 . The issue I am facing is that when this system gets a poweroff signal from remote server, it gets ...
3
votes
2answers
199 views

Copy Linux liveUSB causes errors with init.d scripts - Impossible..?

Please post your thoughts ideas or anything you may come up with. I would be very interested to see what anybody else is thinking. The Overall Problem When I install a simple Java application ...
2
votes
1answer
177 views

How to boot runlevel 3 as non-root user?

I'm using Arch Linux. I can boot to runlevel 3, but any other level than default (7) results in a prompt asking for my root password. (Including runlevel 3.) The normal login screen for linux is ...
1
vote
1answer
229 views

Runlevel difference between login and logout?

Using Lubuntu 12.04 I want to set a script to run every time I am at the login screen, but I cannot find any information about its run level. Is it at a different run level by default? Can I make ...
1
vote
1answer
186 views

enabling options from shopt terminal output in ubuntu server 12.4 LTS

I just installed Ubuntu Server and is typical of Ubuntu Installs (for me anyway) I'm lost. With the Desktop version I can never figure out the sudoers file and wheel group through SELinux, but this ...
0
votes
1answer
255 views

Run script in runlevel 1

I'm trying to run a script in runlevel 1 out of /etc/inittab. The script I want to run looks like: #!/bin/bash while [ 1 ] do #do something sleep 1 #do something sleep 1 done The inittab ...
0
votes
1answer
521 views

Troubles with start up defenition of networking service in Ubuntu

I use Ubuntu 12.04.1. I put attention that networking script starting in runlevel 0: user@comp:/etc/rc0.d$ chkconfig -l networking networking 0:on 1:off 2:off 3:off 4:off 5:off ...
0
votes
1answer
384 views

Something stange in /etc/rc0.d

I use Ubuntu 12.04.1 I just wanted to find good tool for managing services, and I see that it is not existing... Native "update-rc.d" managing services, but don't provide information, and not native ...
0
votes
3answers
500 views

How to Get Run Level in FreeBSD

At Linux we can get run level as like: if [ "$(runlevel | sed 's/.* //')" = 6 ]; then echo "A reboot is in progress" fi and run level 0 is for shutdown. How can I do the same for Free BSD?
0
votes
1answer
453 views

What are the recommended runlevels for httpd?

I am deploying an httpd server on RHEL6. I've installed the rpm and everything. Now, when it comes to service startup, most of the post give as example the following line: chkconfig --levels 235 ...
2
votes
3answers
2k views

ssh server on runlevel 3

I have been trying to setup a ssh server on my desktop for remote access and have been running into a few issues. The first I have found is that sshd is not starting on boot. As soon as I run: sudo ...
1
vote
2answers
407 views

Is the /etc/inittab file read top down?

When the init process is executed when the kernel has loaded, does it read the /etc/inittab file in a top down approach i.e. it executes each line as it appears in the file. If so and based on my ...
4
votes
2answers
16k views

How to boot into text mode in Linux Mint LMDE (Debian-based)

Ok, this might sound ridiculous, but of all the issues I could have, I'm scratching my head over booting into text mode. Normally I'm in the opposite direction, such as startx not working. To put the ...
1
vote
1answer
1k views

Bluetooth doesn't work in Fedora 15 when system wakes up or changes runlevel

I'm experiencing weird problem when using Bluetooth on Fedora 15. First, to get Bluetooth working, I had to follow this post. Now, when I boot up and login (runlevel 5, GNOME 3), systemctl status ...
1
vote
1answer
234 views

Is it safe to backup init.d and rc*.d

is it possible to backup init.d and rc*.d (i.e. rc3.d) normally? just copying and adding .backup extension? I don't want to mess with the symbolic links. I'm deactivating unnecessary processes (e.g. ...
1
vote
1answer
269 views

What does “switching runlevel” mean exactly?

What happens when I issue sudo telinit n (n being the new runlevel)? Does init scans /etc/inittab and does exactly the same when system is booted? For example, if I have rm:2345:wait:/etc/rc.multi ...
1
vote
1answer
1k views

Debian - starting UFW (Uncomplicated Firewall) before network interfaces are operational

I want to install UFW on Debian Lenny. Everything looks straightforward except that I don't know where to plug UFW startup script so that it configures iptables before hax0rs can break in. I've ...
2
votes
1answer
2k views

How does one tell u-boot to tell the Linux kernel which runlevel to boot to?

I would like to order u-boot to enter a specific runlevel lower than the one the system boots to. How does one accomplish this? Thank you.
3
votes
3answers
4k views

Ubuntu, control the init startup

Ubuntu uses upstart instead of sysvinit. However there are still runlevels and the links in them. I have installed tor and it has added itself to the startup of the OS. Now I want to remove it and ...
0
votes
2answers
1k views

Is there a “Run Level Configurator” for Windows XP?

I have been having trouble with something causing my Windows XP system to take 6-8 minutes to startup from a cold boot. Something is happening during startup that is causing the system to crawl. I ...
3
votes
1answer
956 views

Kill Infinite loop at Upstart's run level

One of my applications is at a infinite loop in the runlevel 1 by printing No protocol specified continuously after running startx -- :1. The run level does not listen to my commands given at the run ...
2
votes
2answers
299 views

To have two Xorg in two Ubuntu's run levels

Ubuntu support by default only one X at run levels. I would like to have two Xs: one for Ion3 and for Gnome, in two diffferent run levels. This means that I need to change the source code of Ubuntu ...
1
vote
1answer
430 views

Change CPUfreq in runlevel 1?

I would like to change my cpu speed using runlevel 1 on Ubuntu 8.10: the problem is when I try to run cpufreq_selector -f 2330000 (for instance), the following message appears: Failed to connect to ...
4
votes
3answers
3k views

How to boot into command-line mode and keep other services unchanged

I want to configure my Ubuntu installation to boot into a command-line prompt instead of the Gnome Desktop Environment. I ran the below command to effect this: sudo update-rc.d -f gdm remove It ...
2
votes
2answers
591 views

How do I set a unix process to autorun in a particular run level?

I have a stand alone server application that I would like to run automatically when my red hat box starts up. My default run level is 5 but I want to make sure it works both in run level 3 & 5. ...