I recently installed an Ubuntu 10.04LTS server. I have zabbix-server on that machine, and I noticed that after reboot it won't start. Probabily, the mix of upstart and old init.d scripts result in zabbix starting when mysql is not active yet, in fact in zabbix-server.log I see it cannot reach db. How can I make sure zabbix-server waits for mysql?
i'm not the most knowlegable person but i have successfully installed mysql in the past. but now that i am attempting to install it again i'm getting this error during installation. has anyone seen this before?
mysql error: *Starting MySQL database server mysqld [fail] invoke-rc.d: initscript mysql, action "start" failed. dpkg: error processing mysql-server-5.0 (--configure): subprocess post-installation script returned error exit status 1
Running Ubuntu Server 9.10.I have a couple of programs that I would like to start at boot, they will both run forever. I have created a cron job with @reboot and that will start a program, but if I have multiple programs in there it waits for the first to finish before starting the next.
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.
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
I have a server running Mandriva Enterprise Server 5 and have configured apache/mysql/php, the problem i have is that when i reboot the server i have to manualy start mysql. what file i need to configure to enable mysql to start at boot up and what line of code i need to enter to enable this.
I consider myself a linux noob. The thing about this is, I have played around with various distros of linux over many years. Eventually I get frustrated at how ridiculous something as simple as text editing can be. I'm having a problem starting mysql. I have already ran the install script afer downloading mysql community server from yast.
what I need to do to start the server. I tried to issue rcmysql start, but it says "The absolute path to 'rcmysql' is 'usr/sbin/rcmysql' so running it may require superuser privileges. So i say SUDO rcmysql, enter password and again same message.
Mysql can't start after I uploaded my.cnf file in /etc directory before that everything was okay but after I uploaded my.cnf and then restarted the mysql it can't boot Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! I tried to delete my.cnf and try again but the same error ...
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.
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,
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:
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)
I have a file server running samba 3.4.0. I just upgraded ubuntu to 9.10. The upgrade was unfortunately stopped in the middle, but I think I managed to complete it.The problem is that now samba will not work after a reboot. The daemons are running, but any attempt to connect from a windows machine fails (Windows 7: the network path was not found). Manually restarting the service fixes the problem, but I need a more stable solution!Interestingly, I can ssh to the machine, or rdp to a virtual machine running on it.The logs don't seem to report any error:
I am trying to get SQL-Ledger installed and running on my computer, which needs PostgreSQL installed to run.Currently, I am having trouble with it starting at boot-up. How can I access the appropriate log files in order to figure out what's wrong?
Also, I need to know what httpd is, and who the owner and groups using that might be on my system.
I am currently using FC10 on a Dell 4600 with 2GB of ram. I love Linux as it is the most stable OS around. My end goal is to have the machine boot and start the vncserver automatically, eventually using an ssh tunnel to make it secure. My main problem is the vncserver is not starting on boot, I must login as a user then it works great. the error I get is
Basically what happens is the vncserver fails on boot however, if I login to the Fedora box I am able to connect and I get the GDM login screen. I have read many, many posts but have not been able to get over the boot issue. I really want to make this a headless box I can put in another room so I have more room for my musical gear.
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
I've just made my old, dusty computer into an Ubuntu Server. So far, i have installed a well functioned LAMP server, to host my Website. I have also installed a FTP-Server (proftpd) and i was wondering if i could manage my FTP accounts in MySQL so i could make an account creation page for it? If yes, how?
Ubuntu server 10.04 comes with a new event based startup system, and I wonder if that can be responsible for this problem. The server has been upgraded from 9.10. On reboot mysql does not always manage to start... /var/log/mysql/error.log has info similar to this:
100511 19:05:00 [ERROR] Can't start server: Bind on TCP/IP port: Cannot assign requested address 100511 19:05:00 [ERROR] Do you already have another mysqld server running on port: 3306 ? 100511 19:05:00 [ERROR] Aborting
So apparently port 3306 is not 100% unused when mysql tries to open it or somehow network connections are not ready, even if mysql start is supposed to wait for 'net-device-up' and 'local-filesystems' according to /etc/init/mysql.conf. This does not happen on all reboots. I am supposed to be able to start it manually with command 'start mysql' but that does not seem to work also. When I try start it again, it says mysql is running but no databases can be reached and mysqld is not active, reboot and good luck is all that helps...
As far as I know there are no firewalls installed, at least none I have manually configured and it has worked with no problems on 9.10. So this new upstart thing seems responsible. It simply does not let mysql wait until it can start in good way. That also explains why it's a random problem. If all starts happen when and if there is free processor time, it does not always start things in the same order on every reboot. The key here is port 3306, or whatever port mysql is configured to use. The upstart system simply needs delay the start until the port is 100% free and available for the system to use.
I'm trying to run BoxBackup to sync a couple active servers to a data server. I installed the server and client, making sure to follow the instructions closely with all the certificates. The problem is the service daemon on the service won't even start. The service manage reports: "bbstored dead but pid file exists" (basically, tried to instantiate the process, but it died due to faults).
Here's the log of the daemon in /var/log/box
Code: Jul 27 13:05:10 frogbert bbstored: NOTICE: Box Backup Store Server v0.11rc8, (c) Ben Summers and contributors 2003-2010 Jul 27 13:05:10 frogbert bbstored: NOTICE: Starting daemon, version: 0.11rc8 Jul 27 13:05:10 frogbert bbstored: NOTICE: Using configuration file: /etc/boxbackup/bbstored.conf Jul 27 13:05:10 frogbert bbstored: WARNING: Exception thrown: ServerException(SocketBindError) at ../../lib/server/SocketListen.h(232)
Currently when the system boots, It boots jabberd2 before mysql. So jabber fails. Then, later mysql is loaded. I either want to force jabber to load mysql first, or make the system boot mysql first. I've tried changing /etc/init.d/jabberd2 to say "# Required-Start: mysql $network $named $remote_fs"... However, insserv says that mysql service has to be enabled... so I assume that's an issue because mysql is an upstart script.
On my Ubuntu 10.04 LTS Server, mysql does not start at boot. I tried this but does not work. Code: root@dev:~# chkconfig mysql ON
The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs. insserv: warning: script 'K02mysql' missing LSB tags and overrides insserv: warning: script 'S10vzquota' missing LSB tags and overrides The script you are attempting to invoke has been converted to an Upstart job, but lsb-header is not supported for Upstart jobs .....
How to make sure mysql process comes up automatically after every reboot
I am trying to share files between Windows XP machine, ubuntu server, debian server and ubuntu desktop. But mainly between ubuntu server and Windows XP computer.I also like to learn samba, because probably I could do all this with ftp server as well.I set up and configured samba following the instruction on Online Ubuntu Server Guide.But when I run the command:sudo /etc/init.d/samba restartI get:bash: /etc/init.d/samba: No such a file or directory I don't know what is wrong?