Ubuntu Servers :: Services Not Starting When Booting
Sep 29, 2010
I have a server running 64bit lucid and while trying to get a script to run on boot to start Davmail I appear to have broken something. I have webmin installed but I have been trying to do the majority of things via the command line. I now have davmail starting at boot but a lot of other services don't start anymore, including apache, mysql and webmin. Fortunately SSH still works and I can start apache and webmin from the command line without any problems.
I joined a company as an IT staff 2 months plus back. I now encounters a problem that the booting up hangs at the time when it is starting domino services. I have no clue where to look at and duno where to start checking. A little description of the server. : It's a lotus notes domino server for employees webmail service. -> Now it is down. it's an external dns server: recently high volumes of query cache denied surfaces. it's also our proxy server. The only way to get it up and running is to turn off domino service. The system is running still with high volumes of queries I last checked.
Althrough it can boot up now and DNS & proxy are running, I couldn't access the system anymore. It will hang when I attempt to log in from the command prompt. Below is an illustration:
iasaix login: root -> I attempt to log in using root user password: xxxxxxxx -> I keyed in my password -> The cursor comes down and just keeps blinking and nothing happens.
Remote access is not possible as it has sshd disabled by default. Our employees cannot access their webmail now, which is a major issue.
so my server is doing fine, but there is one odd thing I would like to fix. When I start and stop services, the CPU is maxed out for about five seconds each time. The services start the same speed, but it still does this. Small things like lm_sensors don't do this, just things like httpd and sendmail. THis server was upgraded to Fedora 11 with a netinstall CD a few months ago.
Basically services aren't starting up, like cron, VBox, ssh. I suspect a problem in the boot process, but I don't know where to look for errors with init or upstart or whatever it is these days.
Fedora 14 is freezing while starting services. what I know is that the system is passing kernel verification. Is there a way to choose which service to start during bootup?
I had a hard drive failure and have recovered (rsync) my backup root filesystem onto a new drive. This all seems to be fine, except that at least two services no longer start: mysql and apache2.I can start successfully both through
although mysql throws a warning about Upstart. Neither start automatically.My system is Ubuntu 10.04.1 LTS x86_64. Part of my reolution actions has involved a kernel update to 2.6.32-27-generic.I have tried to resolve the mysql issue first:
Code:
sudo update-rc.d -f mysql remove sudo update-rc.d mysql defaults
Code:
sudo apt-get remove --purge mysql-server sudo apt-get install mysql-server adding them /etc/init.d/... start commands to /etc/init.d/rc.local script and to a session startup script
checking the services are in rcX.d (using bum and sysv-rc-conf) Ensuring there's a .conf file in /etc/init (which there is).I can't see anything in syslog which would suggest if the system has tried to start these but failed, but then I may be looking in the wrong place. I think they're not starting at all. I wonder if it's something to do with the restore, perhaps symlinks?
I'm trying to install 11.04 natty on an HP Probook 6455b and failing.
Using two different burned cds I'm able to start the install process
1) I can get to the initial menu and interact with it to change command line options
2) I can boot the kernel and see services trying to start
At some point the system hangs and I suspect because upstart is starting services in parallel the console messages aren't showing the same consistent point for the hang.
with my last run using --verbose on the command line the last few lines are:
I would like to create an alternative booting possibility in my GRUB menu that does not start some services (listed by chkconfig) like cups.
I would use this boot during travel where I surely does not need these services and shorter bootup time is preferable. Permanent removal of such services is not an option because I could not miss them during normal daily work.
I installed an LAMP Server on 10.10. Additionally a simple Sambaserver and a VPN is integrated. Since 3 days I look at some strange behaviour:
Code: sudo init 6 does not take effect. Nothing happens. Code: sudo reboot is working, but all seems to be so ropy. It takes a significant while, before ssh-session is finally terminated. After the system comes up again, the vpn-client gets not the same IP-address by DHCP-server, but the next following of dhcp-range. That is strange, because no other dhcp-client is busy. After a second reboot I get the correct first IP-address of the dhcp-range. That is reproducible.
cron is not working any more. None of my jobs is being triggered. Nothing is logged in /var/log/syslog any more. Services (apache2, mysql, smbd) are not running at the start. I have to run them up manually. Seems like init is somehow smashed? What is your guess? What futher information do I have to provide for analysis?
New Intel x64 system installed with Opensuse 11.1 (like the KDE 3.5 option) and has been running well until today. Booting stops at "starting jexec services". Even while booting under "failsafe" system halts at "starting jexec services". Unable to boot to command prompt to attempt repair. Ran "repair" option from install disc with no good results. Still will not boot past jexec services.
I cant start Nfs services. When I type the comman /etc/init.d nfs start I get "Not starting NFS client services - no NFS found in /etc/fstab/. I used yast to install nfs server already
I got my hands on a couple old servers. An HP tc2021 and a Proliant ML110. Sure they're ancient, but I thought they would make a couple of great Ubuntu Servers for a new "start up" business I'm trying out. Now I've got to decide the best scenario to distribute the load between the two servers. I'm going to make an internal domain and will probably be running the following: Kerberos, Samba, Apache, Postfix, mysql, bind, dhcp, SVN, GCC, and Nagios. So in summary, I'll have the following roles; domain controller, web server, file server, and network monitoring services. how they would handle splitting these services up between two servers?
I just installed the LAMP server on my system then rebooted, expecting the daemons HTTPD, MYSQLD, FTPD, etc. to start. When they didn't, I didn't panic I just attempted to run "sudo service start httpd". Surprise, suprise - "command not found". how do I start these daemons?
I installed Apache, and it works fine. However, when I rebooted my CentOS, httpd did not start automatically. What do I need to do to ensure it starts when the system boots?
It would seem MySQL and VSFTP no longer create pid files and monit requires a pid file to work. Is there any way to force MySQLD and VSFTPD to use pid files or am I out of luck?
I recently became responsible for a server running Ubuntu 10.04. I am trying to figure out how its outbound mail service is setup. Everything is working fine now, I just want to document how it is setup so if I need to rebuild the box I can do so without too much trouble when the pressure is on. It is a pretty basic setup, the only outbound mail gets sent from php scripts, the server does not receive incoming messages. Is there a place I can look to see what service is sending outgoing messages?
I have three HP diskless thin clients and a Server with Ubuntu installed. I'd like to be able to run the desktop version of Ubuntu on the clients straight from the server, akin to what would be possible on Windows Server running terminal services and thin clients. Is this possible?
I need to copy files over from a Solaris 2.6 box to my machine running Centos 5.3. I have to use RCP since the Solaris box is so old that is the only inter-machine copy command available.How do I enable rshd services on my centos box? Detailed explanation would be apperciated since I am from the ssh generation.
I'm booting ubuntu from my android phone via USB and it works great, the thing is anything i install or do while using ubuntu isnt saved the next time i boot from the usb unless its saved in my phones storage. I want to be able to keep booting ubuntu the same way but keep the programs i install there for the next time instead ohttp://mac.bigresource.com/add/add.phpf starting from scratch everytime.
I have a fedora 13 rc3. The problem is that boot the system stops here Starting libvirtd daemon Prior to that, stop at this point registering binary handler for windows application. I got up to enter the tty2 to remove Wine This time to stop here Starting libvirtd daemon
How do you enable/disable the autostart of services. For example let's say I know I'm not gonna use apache and mysql for a while and don't want it to autostart anymore how do I disable it ?
And then once it is needed again how do you enable the autostart again ?
Why some application has daemon and some others doesn't. I thought just network application has services like httpd, nfs, cups.... but I just found out that cron, gpm.. and other has it to. why other some other applications hasn't got daemon. Just want to know what sort of application has services.
my fedora 10 booting stops at starting udev for 5-6 minutes.when i pressed 'i' for interactive , i see ata3(i think its my DVD-R/W) responding too slow. so, booting stops there till it responds.o/p of
I downloaded the latest 10.4 server CD with the intention of running a small Ubuntu Enterprise Cloud. I am following the directions here: [URL] Ive got 2 laptops that are capable of the tasks assigned to them. Both have dual core Intel chips that are VT enabled, 4GB of RAM, 250GB hard drives. Ill use one ( "server" ) as the front end server running cc, clc, walrus and sc.The other one ( "node1" ) will be the only node controller on my little network. Ive also got another laptop as a client, running euca commands to make instances and what not.These three laptops are connected to a switch. server is 192.168.1.100, node1 is going to be 192.168.1.110, the client laptop is 192.168.1.120.
the server seems to install fine, I select Install Ubuntu Enterprise Cloud, use it as the Cluster, give the cluster a name and 10 IPs to assign, 192.168.1.150-192.168.1.160 After the server is done installing and reboots, I boot the node machine off the CD and again select Ubuntu Enterprise Cloud. It's at this point the install craps out, because it does not recognize a cloud computer on the network.
Indeed, as I go to the server I run
Code:
ps -aux | grep euca
and see nothing running. So I start the eucalyptus service, and run
Code:
sudo euca_conf --list-clusters
and nothing shows up. Ive done some googling, ran some more euca_conf commands, registering the cluster, enabling walrus, cloud and sc. I can access the web gui on the client laptop, then restart the node install on the node laptop. This time it does see the server as a cluster controller, but when it tries to fetch the preseed file, it seems to not know the cluster's IP, as the red box that complains about the lack of a preseed file lists the URL as [URL] ( or whatever the file is called, I dont have the error in front of me. )
I can view my website, and ssh in when I've logged in already at home, but if the system gets rebooted, and gets as far as the login screen, I am not able to view the web site or ssh in. I was wondering how to set things up so thatthese services are running independent of logging in.
I have Apache Server working online under Fedora Core 6. But before I installed and configured everything, I've been testing in Fedora 12. The problem surges here, when I start the httpd service, every supuse 404 action on a web browser, takes me to localhost. I mean, if I enter google.com, no error, just goes to localhost, http://asdasd, no error, gives back localhost. I used to ignore the problem 'cause I thought it was a problem on my apache, but when I installed the Server on the Fedora Core 6 machine, I found that I have the same problem there. Of course, it only occurs when I am browsing through the same machine that has httpd started. Does anyone know how to change that??
i have installed apache and bind on my server and i've also registered a dynamic domain through dyndns as jan27.dyndns.biz. i am able to successfully host my own webpages using this method.
then i registered a domain name (lets call it "blah.com") through namescheap.com and have registered my nameserver to my ip address. after reconfiguring the my external zones in bind and restarted my services, i am unable to reach my webpages through the new domain name.. www.blah.com and blah.com would lead me to a opendns.com page but interestingly ns1.blah.com loads my webpages successfully.