Ubuntu Servers :: Evaluate What Started The MySQL Daemon?

Oct 13, 2010

I installed MySQL on my Ubuntu 10.04 desktop. As I need it only once a month I removed it from all runlevels but mysql is still running after boot up. "lsof" shows that it is running and listening for connections.

Code:
neo@ubuntu:~$ sudo lsof -i
[sudo] password for neo:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
sshd 927 root 3u IPv4 7819 0t0 TCP *:ssh (LISTEN)
sshd 927 root 4u IPv6 7821 0t0 TCP *:ssh (LISTEN)
avahi-dae 945 avahi 12u IPv4 8107 0t0 UDP *:mdns
avahi-dae 945 avahi 13u IPv6 8108 0t0 UDP *:mdns

[Code]...

How can I evaluate what started the MySQL daemon? WHy is it running?

View 1 Replies


ADVERTISEMENT

Fedora Servers :: MySQL Daemon Failed To Start?

Apr 17, 2011

I am not able to start mysql server...when i type command sevice mysqld start it saysMySQL Daemon failed to start.Starting mysqld: [FAILED]so how to solve this problem ?

View 10 Replies View Related

Ubuntu :: When Click On The Ibus Icon Always Get A Message - Daemon Is Not Started

Apr 29, 2010

When I click on the Ibus icon, I always get a message:

Code:

IBus daemon is not started. Do you want to start it now?

I click yes, and I get:

Code:

IBus has been started! If you can not use IBus, please add below lines in $HOME/.bashrc, and relogin your desktop.

I have no idea how to add the amentioned lines to the amentioned file, I guess its via terminal, but I dont know what do I have to type

View 1 Replies View Related

OpenSUSE Install :: Gnome-settings-daemon Is Not Started?

Dec 10, 2009

After I login my desktop preferences are not loaded. If I try to change them (Control cneter-> apparence) I get a message that says: Unable to start the settings manager 'gnome-settings-daemon'.Without the GNOME settings manager running, some preferences may not take effect. This could indicate a problem with DBus, or a non-GNOME (e.g. KDE) settings manager may already be active and conflicting with the GNOME settings manager.The first lines of .xsession-errors show:

/etc/X11/xim: Checking whether an input method should be started.
HOSTNAME: Undefined variable.
XDG_DATA_DIRS: Undefined variable.

[code]....

View 5 Replies View Related

Programming :: Make System Call From An Automatically Started Daemon?

Apr 2, 2011

i've written small tool in C which makes measurements on my router (OpenWrt White Russian).

It is working as a deamon. If the tool is started manually, everything works fine. If it is started per script on startup, the following system call doesn't work :

Code: sprintf(command,"/bin/cat /root/%s%s | /usr/bin/ssh -p2222 user(at)host -i /root/.ssh/id_rsa "/bin/cat >> result/%s%s"", apmac, source, apmac, dest);

rc = system (command); the returned rc in this case is 256.

first i thought it is a problems with the user rights for the tool, so i have added +s to it. but that didn't help. as i said, when the daemon is started by hand, the system call works fine.

View 1 Replies View Related

Networking :: Piranha: Can't Ping Realserver When Pulse Daemon Started?

Jul 28, 2011

I'm trying desperately to get ipvs load balancing up and running using the RedHat Piranha utility.I'll post my config files later in the message.In order to simplify things, I've only got one LVS director running (no backup director), and I've only got one realserver running.I can ping the realserver static ip from the LVS director when the pulse daemon is NOT started.About one minute after I start the pulse daemon, I can no longer ping the realserver static ip.I can ping the realserver static ip from any other box on the subnetThe LVS app requires that the LVS director be able to ping (or CONNECT) the realserver as a sanity check to make sure the realserver(s) is/are still alive.

/var/log/messages entries:
Jul 28 10:49:21 emclb98 pulse[11281]: STARTING PULSE AS MASTER
Jul 28 10:50:51 emclb98 pulse[11281]: partner dead: activating lvs

[code]....

View 1 Replies View Related

General :: How Does MySQL Usually Get Started

Jul 5, 2011

I'm trying to ensure an app starts on boot up but after MySQL has been started. I can't however locate where MySQL is being started. If I do a chkconfig, it says MySQL is off, yet I can readily access my databases with phpmyadmin.If I look at my boot log, I can see it says MySQL Server is started, right after Apache2 is started.In my rc5.d directory, I only see a symbolic link for Apache2 but nothing for MySQL. The startup script for MySQL appears in /etc/init.d.rc.local has got nothing in it but comments. So it appears to me like it's being run on startup, but not as a service. But I have next to no knowledge of Linux so don't put too much belief in that.I would have originally installed MySQL via apt-get.

View 1 Replies View Related

Ubuntu :: Connecting To A Networked Mysql Daemon

Dec 6, 2010

I have installed Tomcat on one machine and MySQL on another. When I run tomcat on the same machine as Mysql and use 'localhost' in the jdbc url, I have no problem accessing mysql through jdbc. So my problem is accessing a remote mysql instance. I have granted privileges in the following way from the MySQL prompt:GRANT ALL PRIVILEGES ON mydatabase.* TO myusername @192.168.0.103 IDENTIFIED BY 'mypassword';

FLUSH PRIVILEGES;
Still I get :
com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorEx ception: Access denied for user 'myusername'@'192.168.0.103' to database 'mydatabase'
sun.reflect.NativeConstructorAccessorImpl.newInsta nce0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInsta nce(NativeConstructorAccessorImpl.java:57)
[Code]....

I have no idea whether this is a problem at the operating system level i.e. allowing networked hosts, or whether it is something to do with MySQL. I have commented out bindaddress and, on this version, there is no 'skip-networking' line to comment out.

View 4 Replies View Related

Ubuntu :: Get MySQL Daemon To Start When The Machine Starts Up?

Mar 17, 2010

I'm trying to get mySQL Daemon to start when the machine starts up (and it requires root privileges to run). The command to startup would be

Code:
sudo /etc/init.d/mysql start however that would prompt for a password, and that would not be very well possible now would it? Now, if i try to start it up without being root, it will not start. So this is my problem, maybe someone out there would know a bit more about this than me.

View 5 Replies View Related

Fedora :: F12 - MySQL Daemon Failed To Start

Jan 25, 2010

I using Fedora 12. When I am going to start MySQL server then error is come

MySQL Daemon failed to start.
Starting MySQL: [FAILED]
MySQL Details :
mysql-5.1.42-2.fc12.i686

View 7 Replies View Related

Software :: Unable To Stop Mysql Daemon?

Mar 2, 2011

In my system I installed Oracle enterprise linux.while installing I installed Mysql also.

I checked the version which is 5.0.15

After my installation,I am installing Bugzilla 4.0.at that time it's showing below
===========================================================
Checking for DBD-mysql (v4.00) found v3.0007

For MySQL, Bugzilla requires that perl's DBD::mysql 4.00 or later be installed. To install this module, run the following command (as root):

/usr/bin/perl install-module.pl DBD::mysql
===========================================================
I ran below command
#/usr/bin/perl install-module.pl DBD::mysql

[Code].....

I can't able to stop mysql daemon

View 2 Replies View Related

CentOS 5 Server :: Can't Start Mysql Daemon

Jul 26, 2011

I'm trying to install ispCP and i need to start mysqld but it won't seem to start. I'm somewhat of a nooblet to linux (have a year of VPS 'experience', but nothing too fance) so bear with me.

When i run "service mysqld start" it fails with the error: "MySQL Daemon failed to start."

I ran: "tail -n 30 /var/log/mysqld.log" and this is the output;

[root@dragon575 mysql]# tail -n 30 /var/log/mysqld.log
110726 16:03:10 InnoDB: Completed initialization of buffer pool
110726 16:03:10 InnoDB: highest supported file format is Barracuda.
110726 16:03:10 InnoDB: 1.1.8 started; log sequence number 1588761
110726 16:03:10 [ERROR] Aborting

[Code].....

View 7 Replies View Related

OpenSUSE Network :: SSH Daemon, Apache, MySQL Not Responding?

Nov 20, 2010

Dear all, I have system running LAMP and acting as a regular webserver.After running the setup for quite some months, I start having major issues:Symptoms:1. Applications do not respond neither from LAN nor WAN - SSH daemon, Apache, MySQL, FTP2. Network still seems to work for ping and port listeners3. Telnet is still successful for 21, 22, 80, 33064. Server has to be restarted manuallyTrying to find out the issue, I went through /var/log/ looking for major issues or warnings. But nothing seemed plausible to me to understand the issue - except I knew I was running out of disk space a few times.Not being able to identify nor replicate the issue, I replaced the hardware running 24x7 since quite a few years. Doing this, I migrated at the same time from OpenSUSE 10.1 to 11.3.The machine itself is behind a firewall and only the above mentioned standard ports are accessible

View 4 Replies View Related

General :: Starting Mysqld Daemon With Databases From /var/lib/mysql?

Feb 15, 2011

Starting mysqld daemon with databases from /var/lib/mysqli m installed mysql-5.0.77-4.el5_5.4

[root@serv ~]# mysql -u root
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
[root@serv ~]# /etc/init.d/mysqld stop

[code]....

View 6 Replies View Related

Software :: Timeout Error Occurred Trying To Start MySQL Daemon ?

Sep 22, 2010

for some reason, which I have exhausted all my thoughts upon..

I have mysql 5.0.77

I just made an amendment to the auto_increment_increment variable.. from 10 to 1

Gone to restart mysqld (im on redhat FYI) and get the error:

'Timeout error occurred trying to start MySQL Daemon.'

It fails to stop, and obviously fails to start.

I have included below my 'my.cnf' file but I cant see any issues with it, and can't for the life of me think why there is something wrong.

If I ever come across an issue, I don't tend to ask but instead try and figure it out (usually with success) but this time.. I just cannot get my head around it..

View 7 Replies View Related

Fedora Installation :: Timeout Error Occurred While Trying To Start MySQL Daemon

Jul 16, 2009

I am trying to set my root password for my mysql database. After I enter /etc/init.d/mysqld start

[code]...

Timeout error occurred trying to start MySQL Daemon. Then when I try to set the password for my root account I get

[code]...

View 5 Replies View Related

General :: Timeout Error Occurred Trying To Start Mysql Daemon / Resolve This?

Jun 29, 2010

I have fedora version 8 with mysql 5.0.45 installed. I have also installed drupal. Recently drupal gave me an error "error code 28". When i checked it out it seemed to be with the db. When i tried to created a db (for testing purposes) in root...i wasn't able to. so then i tried to restart mysql ...it stopped but unfortunately i have not been able to get mysql back up...i get a message saying
"Timeout error occurred trying to start MySql Daemon".

View 4 Replies View Related

CentOS 5 Server :: Timeout Error Occurred Trying To Start MySQL Daemon

Jun 2, 2011

I have a VPS running on centos-5-x86 and mysql server went down two days ago this is my mysql server log

110602 18:28:09 mysqld started
InnoDB: The log sequence number in ibdata files does not match
InnoDB: the log sequence number in the ib_logfiles!
110602 18:28:14 InnoDB: Database was not shut down normally!
InnoDB: Starting crash recovery.

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Mysql Error Stopping MySQL Database Server Mysqld?

Jun 17, 2010

I have installed Mysql in Ubuntu 9, for the use of roundcube database.After installing iam getting the error like this

* Stopping MySQL database server mysqld [ OK ]
* Starting MySQL database server mysqld [ OK ]
* Checking for corrupt, not cleanly closed and upgrade needing tables.

So because of this in the roundcube configuration its giving the error message that MYSQL is not installed. So Kindly give me a idea how to solve this.

View 1 Replies View Related

Ubuntu Servers :: Mysql ERROR 1045 \ Trying To Allow Remote Access To Mysql?

Jan 14, 2011

i was trying to allow remote access to mysql by following mysql was running perfectly until i got here :

Code:
/sbin/iptables -A INPUT -i eth0 -s 192.168.1.0/24 -p tcp --destination-port 3306 -j ACCEPT
i changed my.cnf bind-address line to : "bind-address = 127.0.0.1" and nothing

[code]....

View 4 Replies View Related

Ubuntu Servers :: /dev/md/0 Has Been Started With 3 Drives (out Of 4)

Jun 16, 2010

I installed mdadm and created an array of 4 drives in RAID 5

the problem I'm having is after I rebooted my machine and tried to mount my array it forget's to add 1 drive to the array

[nrooy@sniper-wolf ~]sudo mdadm --assemble --scan --verbose

Code:
mdadm: looking for devices for further assembly
mdadm: cannot open device /dev/block/251:1: Device or resource busy
mdadm: cannot open device /dev/root: Device or resource busy
mdadm: no RAID superblock on /dev/sde

[Code].....

View 6 Replies View Related

Ubuntu Servers :: Get Started On Controlling Hardware?

Jan 24, 2010

I have been a website designer for sometime now and i was wondering about tring out some of the hardware world. (dont get me wrong im no n00b, i can build a pc from scratch) What is the best way to get started on Controlling Hardware? i mean controling a small electric motor to spin a wheel when a button is pressed on the computer or somthing like that? And can this be done with PHP so i wont have to worry about leaning another programming language? Is it very difficalt? Where should i start?

View 2 Replies View Related

Ubuntu :: No Sound In KDE When Started By Startx While Working Fine When Started By Kdm/gdm

Dec 14, 2010

I recently installed KDE in my ubuntu 10.10. To access KDE, I want to use
startx /usr/bin/startkdeBut using it disables sound in KDE (Sound is working fine in GNOME). It doesn't sound for anything like login sound, totem, mplayer or any other playerBut when I press Alt+Ctrl+F1 to change to virtual console, the playback resumes from where it was in time and when coming back Alt+Ctrl+F7 and the time in totem (or any other player) doesn't move. While log out also it doesn't play logout sound and doesn't logout, so I have to press Ctrl+Alt+F1 so that logout sound play then it exits.When starting KDE by kdm or gdm, the sound works normally. But I don't want to login again using kdm or gdm and not to use root user to start kdm or gdm.I don't know what is the difference between when KDE is started by startx or by kdm/gdm where the same user login in kdm/gdm as that for startx

View 2 Replies View Related

Ubuntu Servers :: Multiple Instances Of A Daemon?

May 27, 2010

I have a test server on which I'd like to run up to 30 separate instances of a program as daemons, each running on a different IP address bound to the server. I've created a init script that takes an additional command line parameter - the last octet of the IP address. For example:

Code:

sudo myprog 40 start
sudo myprog 41 start

This would run instances of the program on IP addresses 192.168.1.40 and 192.168.1.41 respectively. But it's looking like this approach isn't doable if I wish to have any or all of these run at startup, as the links in the rcN.d directories can only link to the init script, not pass a parameter.

View 2 Replies View Related

Ubuntu Servers :: Transmission Daemon - Cannot Connect To WAN

Jul 22, 2010

I have installed transmission on a headless server. I am using transmission-daemon and connects to the webclient on the LAN. However from WAN I can't connect. I have forwarded port 9091 in my router and it connects with the server, but I get 403: Forbidden.

Here is my settings.json file:
Code:
{
"alt-speed-down": 500,
"alt-speed-enabled": true,
"alt-speed-time-begin": 480,
"alt-speed-time-day": 127,
"alt-speed-time-enabled": true,
"alt-speed-time-end": 0,
"alt-speed-up": 10,
"bind-address-ipv4": "0.0.0.0",
"bind-address-ipv6": "::",
"blocklist-enabled": false,
"dht-enabled": true,
"download-dir": "/data/download",
"download-limit": 1000,
"download-limit-enabled": 0,
"encryption": 2,
"incomplete-dir": "/var/lib/transmission-daemon/info/Incomplete",
"incomplete-dir-enabled": false,
"lazy-bitfield-enabled": true,
"max-peers-global": 200,
"message-level": 2,
"open-file-limit": 32,
"peer-limit-global": 240,
"peer-limit-per-torrent": 60,
"peer-port": 20683,
"peer-port-random-high": 20500,
"peer-port-random-low": 20599,
"peer-port-random-on-start": true,
"peer-socket-tos": 0,
"pex-enabled": true,
"port-forwarding-enabled": false,
"preallocation": 1,
"proxy": "",
"proxy-auth-enabled": false,
"proxy-auth-password": "",
"proxy-auth-username": "",
"proxy-enabled": false,
"proxy-port": 80,
"proxy-type": 0,
"ratio-limit": 0.2500,
"ratio-limit-enabled": true,
"rename-partial-files": true,
"rpc-authentication-required": true,
"rpc-bind-address": "0.0.0.0",
"rpc-enabled": true,
"rpc-password": "password",
"rpc-port": 9091,
"rpc-username": "transmission",
"rpc-whitelist": "127.0.0.1,*.*.*.*",
"rpc-whitelist-enabled": true,
"speed-limit-down": 1500,
"speed-limit-down-enabled": true,
"speed-limit-up": 50,
"speed-limit-up-enabled": true,
"umask": 2,
"upload-slots-per-torrent": 4,
"watch-dir": "/data/download",
"watch-dir-enabled": true
}

View 4 Replies View Related

Ubuntu Servers :: Startup It Automatically Without Screen Daemon?

Jan 26, 2010

i am succesfully installed TeamSpeak 3 server and now i want to startup it automatically without screen daemon and on every startup on linux ubuntu 9.10 i am using this command for start the TS3 server:./ts3server_linux_amd64 dbplugin=ts3db_mysqlin home/user/Desktop/ts3server_linux_amd64

View 4 Replies View Related

Ubuntu Servers :: Start Dropbox Daemon At Boot On 10.04?

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

Ubuntu Servers :: BoxBackup Server Daemon Not Starting?

Jul 27, 2011

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[13429]: NOTICE: Box Backup Store Server v0.11rc8, (c) Ben Summers and contributors 2003-2010
Jul 27 13:05:10 frogbert bbstored[13433]: NOTICE: Starting daemon, version: 0.11rc8
Jul 27 13:05:10 frogbert bbstored[13433]: NOTICE: Using configuration file: /etc/boxbackup/bbstored.conf
Jul 27 13:05:10 frogbert bbstored[13433]: WARNING: Exception thrown: ServerException(SocketBindError) at ../../lib/server/SocketListen.h(232)

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Batch Job To Start/stop Transmission-daemon?

Mar 11, 2010

I would like to be able to simply run a shortcut file or batch file in a windows os to start or stop my transmission-daemon.I was thinking about using putty to auto login and execute a file using the -m switch. A problem I am running into is that /etc/init.d/transmission-daemon stoprequires the use of sudo.That would require entering a password which would be automated and insecure or would require manually typing int he password.

View 1 Replies View Related

Ubuntu Servers :: Avoid Starting Sendmail As Daemon Process

May 1, 2010

I currently have sendmail installed. It starts as a daemon but I want to avoid doing that. I want to start it manually.Also am a dynamic host.so every time i start my computer my ip changes. I use ddclient to update my records at dyndns.com.but how to configure sendmail in the case of dynamic hosts since it looks at the file /etc/hosts which contains information about the static hosts.

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved