Debian :: Start Service At Boot Time On 4?
Mar 10, 2010
I am using Debian4 and I have apache under /home/apache/bin/apachectl How to start the apachectl service for every time system restart, Itmust be start automatically. Please tell me how todo or how to write the script, how to configure forrun level 2,3 and 5
View 6 Replies
ADVERTISEMENT
May 1, 2010
I'm running Debian Etch AMD64, and currently trying to clean up my system in preparation for an upgrade to Lenny. One problem I have is that resolvconf (which is installed) does not start at boot time, but if I start it manually then bring the NIC down and back up, it works OK, with no error/warning messages.
View 9 Replies
View Related
Jan 5, 2010
so as my title implies I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot
View 2 Replies
View Related
Dec 6, 2010
I am running Debian-Squeeze with apache2. However, apache2 doesn't start at boot time, even though there is of course the required script in init.d. I can start it later on using "/etc/init.d/apache2 start". I have checked the configuration with "apachectl configtest" - giving the answer "Syntax ok". How do I get it to start automatically at boot time?
View 1 Replies
View Related
Mar 3, 2010
I like to login to my headless debian box after it reboots yet havent found any info on that. Can someone please tell me of script which I suppose would be used to make vino start as a process right after boot.
View 3 Replies
View Related
May 25, 2010
I have a service/daemon that won't start from boot. I have used the chkconfig --add <script name> command that went ok I also used the chkconfig <script name> on and that seems to be fine and I have made the script executable Chmod 777 <filename>. By all account it looks like the script is running at boot the the services has not started. When I do a ps -ef | grep ndb_mgmd this process is no there. the script can be run from the console and sems to run fine!
#!/bin/bash
# chkconfig: 345 70 30
# description: MySQL Cluster management server start/stop script
echo hello Paul >> /tmp/hello.txt
configdir=/var/lib/mysql-cluster/
[Code]....
View 10 Replies
View Related
Apr 9, 2010
I wonder how could I start my ruby on rails mongrel_cluster at the start of my openSUSE 11.0 Server and I don't have a GUI. So the shell solution would be good.
View 1 Replies
View Related
Feb 13, 2011
I performed the first update in 4 months to my Fedora 12 Constantine. I also removed a 'dial-up' package (figured i didnt need it) and the KDE package after the update. Firefox was not getting a connection to the internet at this point. The network view showed the ethernet as inactive. Everything besides Firefox appears to work fine.
I restart machine.
It boots until right after the fedora logo fills up. At this point my dual monitors go to sleep. No response from anything. When I start in interactive mode I hit y for everything. Everything works great until libvirtd, libvirt-guest, and local. After y on all three nothing happens. I can type on the screen but no response. It just sits there. I can boot into text mode and do whatever I want. What can I do? What other information do I need to move forward?
I have looked at the Xorg.0.?? i forget what its called. I am not versed in reading the messages in it. Same for the other logs I looked at.
How I troubleshoot Linux problems: Install Linux -> Problem -> Google -> Run Command -> Didn't work? -> Start Over
View 10 Replies
View Related
Jul 6, 2011
I have a few problems getting a custom service/daemon to auto-start at boot. I'm running ubuntu 11.04 Server amd64 edition. One of the services is a Teamspeak3 server I'm trying to start. I would like it to start up automatically on boot. ts3 already have a script with start/stop commands so all i have done is make a little script for it to get it to run as the correct user.
Code:
#!/bin/sh
### BEGIN INIT INFO
# Provides: ts3
# Required-Start: $all
# Required-Stop: $local_fs $remote_fs $network $syslog $named
# Default-Start: 2 3 4 5
[Code]...
View 7 Replies
View Related
May 9, 2014
I've installed bumblebee following this : URL...But i think bumblebeed daemon doesn't start.
if I do:
Code: Select all# service bumblebeed start
or
Code: Select all# service bumblebeed stop
or
Code: Select all# /etc/init.d/bumblebeed start
ecc.
i got no output. No errors... nothing.
but if I use another service it works...for example:
Code: Select all# /etc/init.d/network-manager start
[ ok ] Starting network connection manager: NetworkManager.
View 6 Replies
View Related
Jun 29, 2010
Service(init.d) scripts in Redhat have default start/stop priorities commented inside, like:
Code:
...
# chkconfig: 2345 25 90
...
Second number is start priority.
But debian does not include this info. Just in case service symlinks from all runlevels are removed how do I know which priority to specify?
View 1 Replies
View Related
May 19, 2010
Recently i've upgraded my fedora 11 to 12 using the preupgrade command and now I have a problem booting! when i start the interactive boot it hangs after trying to run the service local, it looks as if its trying to boot because the cursor blinks really fast then blinks normally after a few seconds. no error was stated during the event. what seems to be the problem here?
View 3 Replies
View Related
Aug 25, 2011
I am using debian squeeze server with asterisk 1.6 installed and configured.my problem is non root users need to access the server using ssh and restart asterisk server after making changes in asterisk configuration files.As of now i am giving root username/password for this process (i know it is not at all a good idea) .now how can i create a username and configure it which can only access and modify asterisk configuration files and restart asterisk server without any other privileges.
View 1 Replies
View Related
Jul 18, 2011
I have installed "open-SUSE 11.4" on a "500GB Free Agent External Hard Drive". I didn't have any problem in booting since last week that I booted it from my laptop. Also I did it before several times from then when I try to boot it e.g. from an "Intel(R) Core(TM)2 Quad CPU Q9400 @ 2.66GHz" PC the time between loading INITRD and starting boot sequence messages lasts nearly 30 minutes!(i didn't actually measure it but it take a long time in the same order). after starting boot sequence which is showed on monitor everything looks normal. e.g copy of files would be done by speeds between 2MB/s to 30 MB/s depending on the targets.I used to use the external hard derive to boot from different laptops and PC's from start but I didn't have such a problem anytime.
View 1 Replies
View Related
Nov 6, 2010
I need to start a service before network service How to?
View 1 Replies
View Related
Jul 2, 2010
I do this every time.
Code:
ifup dsl0
How can i set this to start at boot time?
View 9 Replies
View Related
Mar 30, 2011
i have compiled/installed Apache from source code ...however i don�t now how to start it at system start up as a daemon to run at level 3the server is usually started by the apachectl scriptwhich understand start stop restarti don't want to use suse distribution of Apachecan i just copy apachectl to /etc/init.d and make a link to it at /etc/init.d/rc3.d
View 4 Replies
View Related
Sep 19, 2010
I tried setting up Nagios 3.2.2 on Ubuntu 8.04 using this guide [URL]Every thing went well until trying 'make install-webconf', I then got the following error.
/usr/bin/install -c -m 644 sample-config/httpd.conf
> > /etc/httpd/conf.d/nagios.conf
> > /usr/bin/install: cannot create regular file
[code]...
View 1 Replies
View Related
Jan 3, 2011
how to start or stop Jboss at boot time?
View 1 Replies
View Related
Dec 6, 2010
I try to start openoffice in server mode so a CMS can use it to convert documents. In a shell I can call
/usr/lib/openoffice.org3/program/soffice -headless -accept="socket,host=127.0.0.1,port=8100;urp;" -nofirststartwizard -display:1 &
and it starts successfully and the CMS can use it. To start OO at boot time, I wrote a script called 'openofficeserver' and saved it to /etc/init.d. It looks as follows
[Code]...
View 5 Replies
View Related
Mar 1, 2016
I wanna know why the services ssh & mpd don't run at system boot / startup ?
I am under Debian Jessie 8 Stable , my uniques repos are : main contrib non-free
I don't use extra repositories.
i try installing , and rebooting , and dont work , after I try
First i stop and disable it :
Code: Select allsudo systemctl stop ssh.service ; sudo systemctl disable ssh.service ;
sudo systemctl stop sshd.socket ; sudo systemctl disable sshd.stop
# This dont make anything :
Code: Select allsudo systemctl stop mpd.service ; sudo systemctl stop mpd.service
[Code] ....
View 4 Replies
View Related
Mar 6, 2010
Arpwatch is failing to start at boot time. I got this message:
arpwatch: bad interface eth0: eth0: no ipv4 address assigned
Once I login into my account, I can (as root) run the arpwatch demon, but it is suppose to run at boot time. After I installed aprwatch, it was working correctly. I do not have an idea of what happens or since when the problem start to happen. I just realize, after a while , that arpwatch was not running. I am running Fedora 12 - 2.6.32.9-67.fc12
View 4 Replies
View Related
Apr 27, 2010
I installed and configured privoxy - everything worked nicely when I run it manually by
Quote:
/etc/init.d/privoxy start
After restarting the computer privoxy wasn't start automatically. I checked the links in /etc/rcX.d - are o.k. I installed sysv-rc-conf - shows that for runlevel 2 - 5 privoxy is running. I changed /etc/rc2.d/S20privoxy to /etc/rc2.d/S99privoxy - to start that process at the end. I installed Boot-Up Manager. Privoxy is marked for start automatically. I added in /etc/rc.local line: /etc/init.d/privoxy start
Privoxy still doesn't turn on at boot time and every time I must start it manually. Could you tell me how could I repair this ?
View 4 Replies
View Related
Jun 18, 2010
I have a system I use as a file server running Ubuntu 10.04. I don't have a screen hooked up to this system. When this system reboots, if there is no screen, X wont start on it. This then prevents me from using VNC to get to the desktop.If a monitor is plugged in at the time it boots, then everything works, and I can then remove the monitor. But moving this monitor between computers and crawling under desks is not enjoyable.How can I fix this so X starts on boot even when no monitor is plugged in?The error I get in /var/log/Xorg.log* looks like this:
grep -EnC2 "EE|WW|fatal|error" /var/log/Xorg.0.log
...
331- (II) Primary Device is: PCI 01@00:00:0
[code]...
View 5 Replies
View Related
Aug 23, 2010
What's the best way to register a daemon to start up at boot time in lucid? I have tried registering the following script using "sudo update-rc.d"
Code:
This is supposed to get the daemon for opentftp started, but it does nothing, although I can see the results of the "echo 'Server opentftpd started' " in the boot log in /var/log .Any thoughts or general help on what the best way to accomplish such a task is?
View 1 Replies
View Related
Oct 14, 2009
I need to start an application (graphical) when the PC start, even before anybody login, and use/launch a specific user. Now only can do this manually; when gdm starts, switch to any text tty [ie. Ctrl + Alt + F1], then I login into the special user, start a X server, export the DISPLAY environment variable, and start the application.
With this steps:
Code:
$X :1 -verbose -nr -nolisten tcp &
# Maybe Metacity -> $ metacity
$export DISPLAY=:1
$JavaApp &
Now i need put this steps (script) in some place to launch the app automatically, and with and specific user [ie. manager].
How can I made it? Maybe in init.d? or an special xinitrc? And how can start the app with the specific user? And, if is possible, who can stop the app when the system going turn off? I have Debian 5.0 and a beginner knowledge of shell script.
View 5 Replies
View Related
Dec 12, 2009
In an effort to reduce/eliminate adware, I installed Provoxy from the F12 repos using yumex. The config file is unchanged except for the addition of the this line: forward-socks4a / 127.0.0.1:9050 .
I note that rpm placed the following (/etc/rc.d/init.d/privoxy), and that in that file are the following lines:
I seem to recall that network manager was changed somewhat to allow those using static ip addressing to NOT do dhcp on boot. Could this be the reason for the non-starting of the privoxy service on boot? Sometimes it starts on boot, and other times I must manually start it in Gnome's System->Services.
If these lines and the network starting is the problem, how do I fix it? Can I comment out these lines in this file, or is there somewheres else where I should be looking?
View 7 Replies
View Related
Apr 19, 2011
want to use bootchart to see how much time its taking for things to load up and the desktop to settle. I am having a little trouble figuring out how to make sure that bootchard loads up each time (non-interactively) so I can easily put up the results and see what could be done better. The man page of bootchartd says :-"bootchartd is commonly used to profile the boot process for the purpose of speeding it up. In this case, it is started by the kernel as the init process. This is configured by adding the init=/sbin/bootchartd option to the kernel command line -- either interactively or by editing the bootloader's configuration file. Please refer to the documentation of your bootloader for details (e.g. lilo, grub or yaboot)."
View 2 Replies
View Related
Mar 27, 2009
I have installed Fedora10 on my PC which had an XP. Now Fedora waits just 2-3 seconds to press any key to choose between XP and Fedora. Actually if I don't press any key it automatically begins Fedora. How can I increase this time interval?
View 3 Replies
View Related
Jun 12, 2010
The desktop search has stopped working in Gnome.I get a message that says 'Search Service not running' with a button that says 'Start Search Service'.When I click the button nothing happens
View 1 Replies
View Related