Ubuntu :: Startup Services Not Starting (mysql / Apache2)
Feb 20, 2011
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
Code:
sudo /etc/init.d/mysql start
sudo /etc/init.d/apache2 start
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?
View 4 Replies
ADVERTISEMENT
Jul 23, 2010
I'm using debian 5 x64 with xfce.Is there a way to configure (start/stop/restart) services (especially Apache2, mySQL and PHP) using a graphical or cli tool? I tried to use sysv-rc, sysv-rc-conf, rcconf and rc-conf in the terminal but Bash didn't find them (Although Synaptic show that sysv-rc is installed).
View 9 Replies
View Related
Dec 9, 2009
I am getting this error
Starting web server: apache2[Wed Dec 09 15:36:40 2009] [warn] NameVirtualHost XX.XX.XX.XXX:80 has no VirtualHosts(99)Cannot assign requested address: make_sock: could not bind to address 68.178.232.100:80
no listening sockets available, shutting down Unable to open logs failed!
also what is 68.178.232.100
View 1 Replies
View Related
Nov 19, 2010
I have suse10 64bit and I was setting up SVN server on it. After all required setup while reloading apache2,its giving the error:
Code:
httpd2-prefork: Syntax error on line 113 of /etc/apache2/httpd.conf: Syntax error on line 31 of /etc/apache2/sysconfig.d/loadmodule.conf: Cannot load /usr/lib64/apache2/mod_dav_svn.so into server: /usr/lib64/libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server
View 6 Replies
View Related
Feb 19, 2010
Mysql starting problem after changing mysqladmin password.I tried all the solutions available on forums, but not solve the problem.At last I restored the mysql db backup, this make mysql service start, but till other databases not showing all tables.
View 1 Replies
View Related
Jul 12, 2010
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.
View 5 Replies
View Related
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.
View 1 Replies
View Related
Nov 18, 2010
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?
View 3 Replies
View Related
Jun 15, 2011
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:
* Starting bluetooth
* Starting configure network device security
* Starting configure network device
* PulseAudio configured for per-user sessions
saned disabled; edit /etc/default/saned
Another run I just did (with network cable unplugged) ended with the same but also
* Stopping save kernel messages
I should note that the Pulseaudio line's asterisk is red or orange, does that indicate anything?
Mostly I'm looking for suggestions on how I can further debug and diagnose this problem to resolve it.
The system previously ran 10.10 fine and runs Fedora 15 (which should have a very similar kernel level) with no apparent problems.
Probook 6455 = basic HP laptop with AMD Phenom II mobile processor, 6G of RAM, ATI 4200 embedded graphics, etc, etc. Nothing special really.
View 1 Replies
View Related
Mar 31, 2009
I am running a server init3.During boot I would like to start some services inside screenie. IRC chat, rtorrent etc.How do I do this?
View 1 Replies
View Related
Apr 16, 2010
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 use Mandriva 2010 with the latest updates.
View 1 Replies
View Related
Feb 11, 2010
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.
View 1 Replies
View Related
Oct 25, 2010
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?
View 2 Replies
View Related
Nov 18, 2010
One of my ubuntu 10.04 boxes starts apache2 server automatically at boot. I know from the output of the command:
Code:
sudo /etc/init.d/apache2 status
I can't remember even setting that up, and I don't think it does so by default, since my other box in fact does not even have apache2 server installed. I can stop the server once I login, but is there a way to stop it from automatically starting the server, or even better, completely uninstall the daemon. I tried
Code:
sudo apt-get remove apache2
but that does not work. I guess the daemon is part of some bigger package.
View 2 Replies
View Related
May 9, 2010
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.
View 4 Replies
View Related
Jul 2, 2010
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.
View 2 Replies
View Related
Aug 4, 2010
currently I am using Ubuntu 10.04.I want to install mysql, php5 and apache2 server in my machine. I have tried this- aptitude install mysql-server mysql-client
But the outcome is
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
[Code]...
View 2 Replies
View Related
Jul 2, 2009
I am new to linux. Currently I am using ubuntu 8.10 desktop operating system. As part of my academic project. I need to configure webserver to access from external. I installed all these using apt-get packages but when it comes to configuration. I am really not understanding. I read some documentation about this configuration but I couldn't get and fully in confused. I formatted my machine 3 times. When I tried to use localhost in firefox its working fine.
1. I need to change port from 80 to 7574. In port.conf I changed, in place of 80. I kept 7574. After that I restart and tried to access but its not working.
2. My admin provide to me. 7574 port to route it into my machine. When the user hits for suppose:
59.160.188.190:7574/project/route.html
It should goes to:
192.168.202.236:7574/project/route.html
Project folder is in /var/www
I wrote the form, to update user vehicle details. They can able to update their details in mysql server from any where.
3. Just I need the application user can access my files and update from their desktop by using path:
59.160.188.190:7574/project
How to update user details (there is no login form is directly visible to every one) in server from their desktop. What I need to configure.
View 1 Replies
View Related
Sep 13, 2010
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
View 9 Replies
View Related
Dec 30, 2009
so, where is the file determinaing what services start?I need to turn off freshclam, clamav-milter, and rsync...how do I do that from console or can I just edit a .conf somewhere?
View 7 Replies
View Related
Dec 15, 2010
In order to preserve resources and to have more secure machine I want to disable services which are of no use to me. But being relatively new to Linux I want to make sure I'm disabling those really unnecessary and that my actions wont have a negative impact on overall system health / usability.code...
View 13 Replies
View Related
Jun 11, 2011
I have tomcat server that requires restart to clear some java issues. I would like the system to send out an email alert that the tomcat got started everytime when it does. Anyway to achieve this whenever someone fires off a service?
View 1 Replies
View Related
Jan 9, 2010
I upgraded from 9.04 to 9.10.SSH, samba, LAMP server, etc etc etc are now failing to start when the os boots. I can start all of these services manually but is a bit of an annoyance.Maybe something simple but am not sure where to look to fix this.
View 4 Replies
View Related
Oct 12, 2010
i'm new to Debian os and currently want to install php5 apache2 and mysql 5.1. But ive got problem to start the mysql services.The error on command prompt as belows:
[Code]...
View 9 Replies
View Related
Jan 15, 2010
My mysql server won't start on my machine. It simply fails with no errors.
Code:
sudo /etc/init.d/mysql restart
* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [fail]
When I run cat /var/log/mysql.err the file is empty, thinking this might be a permissions issue
I tried chowning to a mysql user. Here's the current permissions.
Code:
ls -alh /var/log/mysql*
-rw-r----- 1 mysql adm 0 2009-09-30 11:08 /var/log/mysql.err
-rw-r----- 1 mysql adm 0 2010-01-15 09:07 /var/log/mysql.log
-rw-r----- 1 mysql adm 20 2009-11-25 07:35 /var/log/mysql.log.1.gz
-rw-r----- 1 mysql adm 20 2009-11-24 07:59 /var/log/mysql.log.2.gz
-rw-r----- 1 mysql adm 20 2009-11-23 07:56 /var/log/mysql.log.3.gz
-rw-r----- 1 mysql adm 20 2009-11-22 07:54 /var/log/mysql.log.4.gz
-rw-r----- 1 mysql adm 20 2009-11-21 07:47 /var/log/mysql.log.5.gz
-rw-r----- 1 mysql adm 20 2009-11-20 07:43 /var/log/mysql.log.6.gz
-rw-r----- 1 mysql adm 20 2009-11-19 07:35 /var/log/mysql.log.7.gz
/var/log/mysql:
total 8.0K
drwxrwsrwx 2 mysql adm 4.0K 2009-09-30 11:08 .
drwxr-xr-x 16 root root 4.0K 2010-01-15 10:24 ..
Still having the same issue, mysql server is still failing and /var/log/mysql.err is still empty.
View 3 Replies
View Related
Jun 17, 2010
I have MySQL installed on my Kubuntu 10.04 desktop machine which I use for developing web applications.First, all worked fine. But then I wanted to synchronize the database with the MySQL database on my laptop, so I had to allow connections from the LAN interface. So I addedCode:bind-address =192.168.0.100to /etc/mysql/my.cnf. This worked and the synchronization was performed. I want to do this on a regular basis so I would like to keep that line in there.The problem now is that MySQL does not start on system boot. When I start up, mysql simply is not started. There are no errors in /var/log/mysql/mysql.err or /var/log/mysql.err; these files remain empty.When I try to start it using 'sudo start mysql' I get the same result. The 'start mysql' shows up in 'ps aux', but the mysql process itself does not.Now, I found out that when I run
Code:
sudo -u mysql mysqld
The mysqld daemon does start, and the server works fine. To make matters even more strange, if I kill this
[code]....
View 2 Replies
View Related
Apr 9, 2011
i installed mysql 5.1, the workbench and glassfish along with netbeans for an application I plan to build using the java EE. Glassfish is on local host 8080 and when I installed mysql after that, trying to start mysql from command prompt or even connecting through the workbench gives me error. for example going through the terminal and just typing mysql gives me: ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2) what should I do so both servers can run at the same time when deploying my application? on windows this is all handled for me. but apparently thats not the case on ubuntu
View 2 Replies
View Related
Apr 26, 2010
First of all I'm using Ubuntu 9.10.I have tried using System/Preferences/StartupApplicationsI added:java -Xint -cp /home/Edgar/dist/Edagr.jar:/home/Edgar/dist/Annotator.jar com.ionetrics.edgar.EdgarI don't know if I am calling this incorrectly or not. I know that I can call this from a terminal and it will run correctly.However it will not run at startup. I have added Teamviewer to startup and it runs properly.
View 1 Replies
View Related
Aug 15, 2010
I need to start firestarter at starup, but the application need root credentials, I use "Startup Applications" when I need a program to start upon login, but firestarter need input the su password... how could I get around this?
View 1 Replies
View Related
Aug 10, 2011
On Ubuntu 10.04, I have been trying to add some Gnome startup applications via the menu system without success. How can I debug/trace this process?
View 6 Replies
View Related