Ubuntu :: Register A Daemon To Start Up At Boot Time In Lucid?
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
ADVERTISEMENT
Feb 23, 2011
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left, I see the following error message:
"Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround.
View 9 Replies
View Related
May 14, 2010
I just did a distribution upgrade on my laptop from 9.1 to 10.04, and it went fine for the most part except this issue. After it boots up, I don't see any window titles/scrollbars/borders and on clicking the icon for "Show desktop" on the bottom left I see the following error message: "Your window manager does not support the show desktop button, or you are not running a window manager."
After googling a bit, I realized that gnome-wm is not starting automatically and so I have to manually start each time to see the windows working properly. Can somebody tell me if there is a way to make sure that gnome-wm starts automatically? I know I can put it in my .bashrc but I want to do it the correct way if possible. If not, I will have to go with that workaround
View 4 Replies
View Related
May 6, 2010
I have a Linux box, running rsync, only problem is, I have to turn it off at night. What I want to do is turn it on and when it turns on, rsync will already be running in daemon mode rather then having to run rsync daemon. Does anyone know the solution? I'm sure its simple, I just cannot figure it out
View 3 Replies
View Related
Dec 14, 2010
I use opensuse 11.3 and would like to see daemon status at boot time, instead of the chameleon with a progress bar
View 8 Replies
View Related
Feb 20, 2010
If i do
Code:
su
password:
cd /etc/rc.d
chmod 644 rc.wicd
chmod 644 rc.wireless
will it do the job?
View 5 Replies
View Related
Jan 18, 2010
I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .
If same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.
View 1 Replies
View Related
Jan 19, 2010
I am writing one simple server daemon and running with /etc/init.d/server its running properly but when i want to run one simple QT GUI with system() function , its not able to run it and returning 256 as return code .
if same daemon i m running from terminal then its working properly and also system() function is getting success with return value 0 and GUI is getting popped up.
i m using ubuntu-9.10 below is the code ....
#include <stdio.h>
#include <sys/types.h>
#include <sys/socket.h>
#include <arpa/inet.h>
#include <netinet/in.h>
[Code].....
View 1 Replies
View Related
Dec 19, 2010
I am having some trouble making the dropbox daemon start at boot. I followed these instructions -> [URL], which are basically a replica of the original instructions from the Dropbox Wiki [URL]. The installation went fine, except that the machine still cannot start the daemon at boot. I tried to modify the init.d script a bit (see the attachment), but it still wont work (I am not sure if my changes made any significant difference, though). The daemon will only start if I invoke it manually after login with the command:
Code:
[user@machine:~]$ service dropbox start
Which executes the daemon just fine. I also tried adding this line of code to crontab:
Code:
@reboot /etc/init.d/dropbox start
This command starts the daemon if I check with the command "service dropbox status", but if I execute the official dropbox CLI command:
Code:
~/bin/dropbox.py status
it says that Dropbox isn't running and I still have to execute it manually.
P.s.: The machine runs Ubuntu Server 10.04, with all the latest system patches and updates.
View 3 Replies
View Related
May 2, 2010
lucid takes much less time to boot, but my boot time is considerably higher( almost 50 sec) is there any settings that can be changed to improve that?
View 9 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
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
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
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
Jun 6, 2010
After upgrading from scratch to Ubuntu server 10.04 (previously 9.10), I noticed that my server was cast out of the Cheers bar , i.e., nobody knows its name anymore! (I have several Linux boxes on my home network).
Is there a new direction on how local networks are supposed to be configured? a new protocol? I know my problem is solved by simply installing avahi-daemon, but I wonder how other people are dealing with this issue.
View 5 Replies
View Related
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 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
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 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
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
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
May 3, 2010
I started out with Kubuntu RC, then installed ubuntu-desktop and updated all the way to the current state of packages.Anyway, from the moment I installed the RC, from time to time the boot splash appears, the dots light up/turn off and then the booting hags. No key seems to work.I the do a hard reset and everything works just fine.As not to open another thread:- how can I see the Ubuntu splash screen? (currently I can see the Kubuntu one)- how can I turn the splash off and have it boot in text mode?
View 3 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
Mar 18, 2010
I was originally going to install debian on this old iMac G4 and everything was going well. But then I decided, hey wait one second, I could probably find a version of Ubuntu which works on this old iMac, and so... i stopped the installation and loaded the ubuntu 8.04 disc. The only problem is, it will no longer register the boot CD... because i kind of already did the partitioning and nuked the OS X... So now I just see a gray screen with a file image displayed revolving between a question mark and the file finder image.
View 1 Replies
View Related
Jul 28, 2009
I am trying to get mysql to start at boot without any success.
The mysqld scripts works fine when run from the command line, but it does not work when i use the links created by chkconfig. I checked the boot.log and found that mysql starts but then it stops or gets shutdown. This is the log message:
Starting mysqld daemon with databases from /data/mysql [ OK ]
Starting cups: [ OK ]
STOPPING server from pid file /var/run/mysqld/mysqld.pid
starting DenyHosts: /usr/bin/denyhosts.py --daemon --config=/usr/share/denyho
sts/denyhosts.cfg
090727 04:35:47 mysqld ended
The same init script works fine in Ubuntu.
View 2 Replies
View Related