Ubuntu :: Service Not Starting During Boot?
Mar 19, 2010
I'm having a problem getting my MPD service to start during boot. This started a week or so ago. It's no big deal, just a pain. It start fine when I run the script in a terminal. I changed the start priority with update-rc.d. I occasionally get a segfault message in my syslog and messages log. Not sure what it means.
Mar 18 22:44:25 tony-laptop kernel: [ 1244.162897] mpd[3874]: segfault at c00 ip 0806f7d2 sp b6f2a130 error 4 in mpd[8048000+4e000]
Mar 18 22:55:28 tony-laptop kernel: [ 1907.414336] mpd[4759]: segfault at c ip 00194d1d sp b6f9bcd4 error 4 in libpthread-2.10.1.so[18d000+15000]
View 4 Replies
ADVERTISEMENT
Sep 22, 2010
Since my desktop (Ubuntu 10.4.1 for now) has no need for anyone trying to ssh into it, I want to prevent ssh from starting as a service when I boot up.
If I type: sudo update-rc.d -f ssh-agent remove
in terminal, will that stop the service for all boots (until I run: sudo update-rc.d ssh-agent defaults -- in terminal)?
I've already removed (unchecked) ssh agent key from my startup applications
View 1 Replies
View Related
Jan 19, 2010
I just installed F12 from scratch and I'm facing a curious situation with dhpd. The service is enabled, but It fails to start on boot. I see the following error on /var/log/messages:
Jan 18 17:15:28 neo dhcpd: No subnet declaration for eth1 (no IPv4 addresses).
Jan 18 17:15:28 neo dhcpd: ** Ignoring requests on eth1. If this is not what
Jan 18 17:15:28 neo dhcpd: you want, please write a subnet declaration
Jan 18 17:15:28 neo dhcpd: in your dhcpd.conf file for the network segment
Jan 18 17:15:28 neo dhcpd: to which interface eth1 is attached. **
However service dhcpd start, works just fine when I login, after the system boots:
Jan 18 17:26:49 neo dhcpd: Internet Systems Consortium DHCP Server 4.1.0p1
Jan 18 17:26:49 neo dhcpd: Copyright 2004-2009 Internet Systems Consortium.
Jan 18 17:26:49 neo dhcpd: All rights reserved.
Jan 18 17:26:49 neo dhcpd: For info, please visit [URL]
Jan 18 17:26:49 neo dhcpd: WARNING: Host declarations are global. They are not limited to the scope you declared them in.
Jan 18 17:26:49 neo dhcpd: Not searching LDAP since ldap-server, ldap-port and ldap-base-dn were not specified in the config file
Jan 18 17:26:49 neo dhcpd: Wrote 0 deleted host decls to leases file.
Jan 18 17:26:49 neo dhcpd: Wrote 0 new dynamic host decls to leases file.
Jan 18 17:26:49 neo dhcpd: Wrote 5 leases to leases file.
Jan 18 17:26:49 neo dhcpd: Listening on LPF/eth1/00:30:48:80:2e:7e/192.168.1.0/24
Jan 18 17:26:49 neo dhcpd: Sending on LPF/eth1/00:30:48:80:2e:7e/192.168.1.0/24
Jan 18 17:26:49 neo dhcpd: Sending on Socket/fallback/fallback-net
So it can't be a problem with my dhcpd.conf file.
View 2 Replies
View Related
Nov 10, 2010
I created a small C++ program which starts a server in a separate thread and waits the user to press q using the standard input/output. Something like:
Code:
printf(...);
server->Start();
[code]....
View 8 Replies
View Related
May 29, 2011
Just upgraded to F15 and I cannot seem to get the sendmail service starting at boot time.It starts and works just fine by hand after boot, so there's nothing wrong with the sendmail
configuration itself."runlevel" shows a current run level of 5 and "chkconfig" shows sendmail on for run level 5.All the other mail service (mailman, clamd, etc.) start fine.Doing "service sendmail start" after boot gets everything up and running just fine, but itsure would be nice to have it run at boot like it used to
View 1 Replies
View Related
Feb 25, 2010
I would like to start some of my services (VNC Server, FTP Server, HTTP server) in the background AFTER I've booted into the GUI. How can I achieve this?
View 2 Replies
View Related
Nov 1, 2010
I installed privoxy to use with tor however, it seems privoxy didnt create a pid file.I tried creating one many times with no avail. Ive reinstalled many times and still have yet to get privoxy to run.When I try to start the service I get told:$ sudo service privoxy restartNo /var/run/privoxy.pid file found, exiting.Starting Privoxy, Failed.
View 2 Replies
View Related
May 11, 2010
I want to start a service and a script SiteMonitor.sh at startup.
Here is brief working of SiteMonitor.sh(This script monitors the ip addresses of machines which are using http service of the host. This script checks this after every 5 seconds therefore i have run it at background.)
To start with i have modified /etc/rc.local file.
Here is the content of my /etc/rc.local file.
Code:
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.
[Code]....
View 14 Replies
View Related
Jul 21, 2011
WHEN I START /openvpn /etc/openvpn/server.conf im getting the following error i had installed the configuration by following link [url]
I had pasted i error log below:
View 1 Replies
View Related
Jul 17, 2011
I followed the below link for installing disk space alert in opennms its not automatically alertin disk space so i followed the procedure below i getting such a error can somebody point out where im making mistake in installation
[url]
Im getting mail alert for allnode down events i opennms..but not gettting mail regarding disk &memory down events:
Stopping OpenNMS: Trying to stop OpenNMS but it's already stopped.
[ OK ]
Starting OpenNMS: Started OpenNMS, but it stopped running: for details see /opt/opennms/logs/daemon/output.log
View 1 Replies
View Related
Jul 19, 2010
I have a service I've made an init script for, and it's added to chkconfig, which shows it "on" in all the correct runlevels. When I start or stop this service using the "service" command all is fine, but it does not start on it's own at bootup. I am currently at a loss to determine why it is not starting. Here is the script:
#!/bin/bash
# chkconfig: 2345 95 10
# description: Start or stop home automation
#
[Code]....
View 4 Replies
View Related
Oct 6, 2010
The nfs-client service isn't starting after boot up. This is causing problems with the user as they cannot access the remote folders on the server. The PC is a Thinkpad X60s with oS11.3 and KDE4.4.4. The problem started about a week ago after some updates (new kernel update, kde4 updates and some system files) were applied on the laptop.
After logging in none of the remote folders are available. Checking the nfs-client service under Yast>System Services (Runlevel) shows the nfs-client service is not running. If I enable and start the service I get the pop-up confirming the service has started but still cannot access the remote folders even after issuing a mount -a. Opening Dolphin just opens a blank grey window which needs to be terminated.
Trying to restart the nfs service using su -c 'rcnfs restart' sticks at Starting NFS client services: sm-notify Just leaving the PC for 10-15mins eventually sorts itself out and the remote folders become visible. I cannot see anything obvious in the logs so am a bit stumped.
View 7 Replies
View Related
Oct 7, 2010
while starting xfs service on centos 5.3 shows error as starting xfs :mkdir:cannot create directory "/tmp/.font-unix':too many links
View 6 Replies
View Related
Nov 9, 2010
Unable to start tftpd service after starting xinetd
View 9 Replies
View Related
Sep 19, 2010
I have installed fedora 13 in my system. httpd server is also installed. when I tried to start the service of httpd, following error message displayed: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80
View 1 Replies
View Related
Oct 5, 2010
I am facing a problem with my AT91SAM9260 customized board. Board is almost same as the evaluation kit.
I could download the binaries ( Bootstrap-v1.16, u-boot-1.3.4, linux kernel 2.6.20) successfully to the DATAFLASH/NANDFlash in my board by using atmel SAM-BA tool with usb/serialport/jlink.
Here I describe the problem.
When I power up the board, boot strap is not jumping to U-boot location, in the normal boot sequence and board stuck with bootstrap.
But when I disconnect/connect the JTAG USB cable ( provided with SAM-BA ICE) , it's jumping to u-boot location and booting the board properly. I'm getting the same error in NAND FLASH also.
I have tried one more test case.I copied bootstrap binary at the flash location, [location which is specified for u-boot binary] instead of U-boot.bin (location: 0x8400 in dataflash), I got continous bootstrap debug messages in my console. [ So can I conclude SDRAM doesn't have any problem? ]
Bootstrap code or U-boot code ?
View 4 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
Sep 10, 2010
I am running Server 10. I have a requirement to perform an action before the MySQL service starts, and perform another action after MySQL service stops.
I found the init script for MySQL under /etc/init/mysql.conf. I added my thing to the pre-start script there and works fine.
I am having trouble finding the script that stops the server so I can modify.
View 1 Replies
View Related
Feb 7, 2010
I can't get cups to auto-start at boot time. Running sudo cupsd manually works fine, but I don't want to have to do that every session.This seems to be affecting lots of folks. This thread claims that bug #444597 in launchpad has a solution, but I must be too stupid to see it, and the thread is closed so I can't post there.
All my rc and init files seem fine, bootsplash is off, and, of course, there are no useful boot error logs in Karmic.
View 2 Replies
View Related
Jul 3, 2010
I lost power to my ubuntu box earlier today, so it didn't shut down properly. I'm now trying to start it but it keeps getting stuck at 'Starting Up' for over an hour. I've tried pressing escape to boot a different version or into recovery mode. The only difference I get is when loading a recovery mode it just puts up a flashing underscore instead of 'starting up . . .' - it still hangs there. This is a small box without a optical drive which is why I haven't tried a live CD.
I'm not really familiar with linux or boot issues.
View 9 Replies
View Related
Feb 4, 2011
However, many of those threads show that adding two lines to the file "/etc/network/interfaces" should solve the problem. I checked on my PC and those two lines are already there.. but CUPS still doesn't start properly on boot up...
View 1 Replies
View Related
Feb 21, 2011
Since a few hours I can't seem to get GNOME working. Whenever I boot my computer, I just get tty1 wanting me to log in. That works, but then I just get tty1 with a terminal... In tty7 I can see the startup checks which end with "* Checking battery state... [OK]".
View 2 Replies
View Related
May 23, 2011
Something happened to my ubuntu 10.4 - I can't see my desktop after boot. As a matter of fact, when I boot I see a message saying: Continue to wait; or press S to skip mounting, or M for manual recovery. I left it like that over night, this morning I found the logon box, typed my password and I got to an empty desktop.
I did a Ctrl-Alt-F1 and logged on there, I am looking at /etc.fstab and I see the first lines like this:
proc /proc proc nodev,noexec,nosuid 0 0
# / was on /dev/sda3 during installation UUID=3538bcd0d-...
ext4 errors=remount-ro 0 1
I guess something is wrong right from the start, some portion of the file system is not recognized anymore (or is in the wrong place) ...
View 9 Replies
View Related
Sep 1, 2011
I was playing around with my house mates fresh install of 11.04, was going to show him compiz, little did I realize it does not like playing with Unity with wobbly windows. So now Unity wont start at boot and I had to find a round about way of getting to the terminal to then to start Unity manually.
View 2 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
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
Feb 5, 2010
i am trying to keep my gui from loading unless i want it to. does any one know how i can go about doing this? also how do i uninstall the graphical boot also i have heard that you can add a 3 on to the end of a your kernel line in grub to get a non graphical boot. this also sounds interesting to me
View 9 Replies
View Related
Jul 10, 2010
How would I make sure cron is running every time my server is turned on? I want to make cron jobs, but I need to know that it is running when the server boots. Also, I used a program at some point that was terminal based and it showed be what programs ran when the server booted up. It allowed me to check a box and select which programs I could run at boot. If someone could tell me this program,
View 2 Replies
View Related
Nov 20, 2010
I've just renamed my Mythbuntu 9.04 machine which was running a frontend and master backend. It's now a frontend and slave backend with a different machine name. All is working in that the connection between slave and master backend functions without problems. However, the mythbackend on the slave will not start on boot - I have to start it manually from the terminal. In addition, the power button on the machine will not shutdown the machine any more - I can only shut it down from the terminal.
View 1 Replies
View Related
Mar 2, 2011
Since I have not gotten anything on the "General Help" I am posting this here: When a Ubuntu 10.10 I have starts up apache2, MySQL and postfix start properly but bind9 doesn't. Once booted is I run 'sudo /etc/init.d/bind9 start' it starts. The only thing odd on this system is I have a "inet6 v4tunnel" interface defined in my /etc/network/interfaces. From booting in the syslog there is:
Code:
/var/log/syslog:Feb 28 19:02:42 ubuntu named[1029]: starting BIND 9.7.1-P2 -u bind -d 9
/var/log/syslog:Feb 28 19:02:42 ubuntu named[1029]: built with '--prefix=/usr' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--sysconfdir=/etc/bind'
[code]....
Even with the bind debug level at set at 90 I do not get any more in the logs that what I posted before. The lack of errors in the logs is giving me no idea where to start. I commented out the IPv6 tunnel interface and rebooted and still no help. bind still is not starting at boot. OK, it is not a permissions issue, I have changed the config and zone files to be owned by bind:bind, root:bind, root:root and bind:root and it has made no difference. Doing a fresh install on a Virtual Box VM and configure it in a similar manner bind9 starts normally. (I am almost to the point where I will rebuild the box)
View 9 Replies
View Related