Ubuntu :: 10.04 - Make MySQL Running On Startup?

May 3, 2010

I run Ubuntu 10.04. For some reason, MySQL won't start on startup. How do I make it run on startup? I installed it by installing LAMP using tasksel and did everything according to: [URL]. Also, I have another problem: When I try to start/stop/restart mysql in the terminal, the terminal will not give me any prompts after entering the command. E.g., after entering "sudo service mysql start", nothing will happen. Even after waiting for 30min, nothing happens.

View 9 Replies


ADVERTISEMENT

Slackware :: Running Apache / Php / MySQL On Startup And Install PhpMyAdmin?

Dec 29, 2008

After a new install of Slackware 12.2, I carried out the following procedures to get everything working successfully right out of the box. The server is a standalone system, used for testing and educational purposes, so please bear that in mind. NB: Throughout this post when you see a single # at the start of a line it means you are typing the commands as root user. You should not include the #, only the text after it.

### setup Apache with php enabled
Login as root user on your Slackware box and type:
# pico -w /etc/httpd/httpd.conf

[code].....

View 18 Replies View Related

Ubuntu :: Mysql 5.5.6-rc Error During 'make' Part Of Compilation Of Mysql V5.5.6rc?

Sep 26, 2010

getting foll error during 'make' part of compilation of mysql v5.5.6rc

Code:
libtool: link: unsupported hardcode properties
libtool: link: See the libtool documentation for more information.
libtool: link: Fatal configuration error.
code....

View 9 Replies View Related

Ubuntu :: Remove Mysql From Startup?

May 22, 2010

I have installed mysql server on my Ubuntu Lucid AMD64 desktop. I need to run this service only on need. So I prefer not to have this in startup. So I did the following -

1. Deactivated the row entry by name "mysql" from application BootUp-Manager.

2. Run the application sysv-rc-conf and unchecked the checkboxes for all run levels.

3. Run the command "sudo update-rc.d -f mysql remove". Execution completed successfully.

4. Run the command - "sudo service mysql stop". In return I got a message "mysql stop/waiting".

5. Restarted the desktop.

Now when I read through the task manager, I still see a process by name "mysqld" running. I ran the command as mentioned in # 4 above and got the same response. I wanted to know how do I turn off mysql service running from startup permanently. But I still need to run it as and when required.

View 8 Replies View Related

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 View Related

Server :: MySQL Startup Error

Dec 28, 2010

When my Fedora server boots it fails starting the MySQL server also if i try to start it from a prompt it says "fail" but the funny thing is that it works. Now i could just say "what the hell it works" but i hate seeing the red error on boot. Fedora boot, fail starting MySQL MySQL server works after boot anyway manual start it fails, but also here it works anyway

View 2 Replies View Related

General :: Enable MySQL At System Startup

Sep 16, 2011

I'm running a ubuntu 10.04 box.

I want to enable Mysql on startup.

Typically, I used the following command:

Mysql still doesn't start when system boots.

View 1 Replies View Related

Ubuntu Installation :: Xampp: Mysql Not Running?

Aug 17, 2011

I am struck with this problem since yesterday, Everything was working fine until i got a sudden error saying[Warning]: PDO::__construct() [pdo.--construct]: [2002] No such file or directory (trying to connect via unix:///opt/lampp/var/mysql/mysql.sock) (Database/class.SWIFT_Database.php:330)Then i went into server and restarted server. it started saying

/opt/lampp/lampp restart
Stopping XAMPP for Linux 1.7.4...
XAMPP: Stopping Apache with SSL...

[code]....

View 2 Replies View Related

Ubuntu :: Web Server Not Working - Running Apache And Mysql

Apr 16, 2010

i have apache and mysql running, i can access my web server by visiting localhost on port 80 but for some reason when it doesnt work when i try using my ISP provided IP address... (it used to work).. i have my router setup with a DMZ on my LAN IP (my computers IP, this is the computer in my home network that serving with apache).. i also cant seem to shut down my mysql server (theres an update ive been trying to get) even when i use sudo...

View 5 Replies View Related

Ubuntu :: Couldn't Remember Mysql Password - Get It Running Again

Feb 11, 2011

I was installing zabbix and had to make some mysql stuff work... couln't remember my mysql password, so figured i'd uninstall mysql and reinstall. so i did:

[code]...

i was admittedly stoned when doing this, but it has uninstall a LOT of other stuff. including xbmc. no problem, i'm an idiot but i'll just reinstall xbmc and the other stuff

[code]...

how i can get this running again or would it just be easier to reinstall.

View 3 Replies View Related

Ubuntu :: 9.10 Not Running Startup Scripts

Jun 8, 2010

I've installed ssh, as well as a script of my own, in /etc/init.d, and I've added both of them to the startup sequence (I've tried both the "rcconf" graphical utility, and "update-rc.d"). The installation utilities seem to be working just fine and report success, and everything seems to be where it should be, but on reboot, my startup scripts don't start up.

I have these scripts running on MANY machines withOUT the GDM/Gnome Desktop running. On this ONE machine, though, I have Gnome running.

Is there some fundamental difference between the GUI Desktop's startup sequence and the text-mode-only startup sequence?

View 4 Replies View Related

Ubuntu :: 10.04 Startup Scripts Not Running?

Jul 21, 2010

I have just installed a fresh Ubuntu 10.04 x64 installation. I have a script that I am added manually that is not starting on startup like it should, but I also have 2 normal startup scripts that are not running either. Apache2 and mt-daapd are 2 applications that I installed with sudo apt-get install apache2 mt-daapd. Neither application is starting during bootup. I tried making sure there were in the rc.d by using update-rc.d but both said that they already existed. Another script (mount_data) I made myself also has been added and is executable like it should be that isn't running at bootup.

View 9 Replies View Related

Ubuntu :: Bmcapture Using 100% CPU Running On Startup

Nov 7, 2010

I noticed my computer seemed to be running excessively noisily, and upon checking into System Monitor, I noticed that my CPU was being held constantly at 100%. None of the processes listed on the process tab seemed t be responsible, but I found this thread which gave me the 'top' command.

Running it, I found a process running as root called 'bmcapture' that was responsible for the CPU use. Trying to 'kill' it failed; using 'sudo kill' gave me no error messages, but the process continued to run. This carried on through a restart.

I then proceeded to shut the computer down and leave it off for a minute. When I booted up again, the CPU was still running at full, and using 'top' I determined the same process was responsible; however, 'sudo kill' successfully killed it this time, with apparently no adverse effects.

My question is if anyone has any information about what 'bmcapture' is, whether its harmful (aside from the obvious issue of it using full CPU) or malicious, and if there's any way to stop it running on startup, because as it is I'm having to manually 'sudo kill' it every time I turn my computer on to stop it eating my CPU alive.

View 3 Replies View Related

Red Hat / Fedora :: Installing And Running MySQL ?

Jan 7, 2011

I've successfully installed mysql using yum on the latest fedora; and started it like so:

What do I do from here!

I used the command: whereis mysql

I found out it was in /usr/bin/mysql /usr/lib/mysql /usr/share/mysql ../man/man1/.gz

I attempted to execute it from root.. bin and I get the following error message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket 'var/lib/mysql/mysql.sock'

View 1 Replies View Related

Software :: How To Get Wifidog Running With MySQL

May 20, 2010

I am looking to get wifidog running on a Centos 5.4 box. I understand wifidog runs with PostgreSQL as its database by default. I have been looking online, and I cannot find how to get wifidog running with MySQL instead of PostgreSQL.Does anyone out there know how to get wifidog running with MySQL and tell me how to do it?

View 2 Replies View Related

Ubuntu Installation :: Mysql Won't Start After Running Lampp/security

Jan 11, 2010

I have ubuntu 9.10, and installed the latest lampp with default options. Apache/Mysql/Proftpd would start and stop fine. I then did:

...which I got from here...[url] Although I'm pretty sure I was never prompted for the mySQL password. At any rate, now mySQL will not start (Apache and ProFTP are OK). Where can I start debugging this? Where is the conf file for mySQL?

View 1 Replies View Related

Ubuntu Servers :: 'start Mysql' Never Returns And No Mysqld Running

Apr 26, 2010

Since /etc/rc2.d/S19mysql does not exists anymore, and then init.d/mysql uses /sbin/start, I am unable to use mysql server anymore: me@mycomputer~#start mysql [ret] ...... for hours this command never returns so that ^C aborts...

me@mycomputer~#ps axw |grep mysql ( no results, no mysql!!! ) me@mycomputer~#stop mysql [ret] no returns either!!! This upstart [start|stop] thing seems a total failure for mysql!!!

View 9 Replies View Related

Ubuntu :: Running An Application Or Script At Startup

Oct 13, 2010

I want to launch qiv upon startup to show a series of photos in slideshow fashion (this will be the sole purpose of this particular laptop). I tried adding the command via System->Preferences->Startup Applications but this does not produce the desired result. In fact, the slide show doesn't even start.

View 5 Replies View Related

Ubuntu :: Gnunetd Process Running At Startup?

Dec 5, 2010

I installed Gnunet (a secure P2P program) on Ubuntu 10.10 using Ubuntu software centre but had difficulties getting it to work so removed it. However, the gnunetd process loads at startup. It is only visible when typing 'top' in the console and not in the system monitor list of processes.gnunetd --version tells me that it is 0.8.1b sudo apt-get remove gnunetd tells me 'unable to locate package' why the process loads and how to remove it? I can kill it in the console but would like a way of getting rid of it permanently.

View 2 Replies View Related

Ubuntu :: Conky Script Not Running At Startup

Feb 1, 2011

I am trying to run a script that runs at startup. I have followed directions found at this Website: [URL]. Everything works except the script which consists of two lines.

#!/bin/bash
sleep 30 && conky ;
I changed the file permissions to be executed and named it .conky-startup.sh.

Then I went to System>Preferences>Startup Applications and created a new entry that points to my script file. When I restarted my system, Conky didn't start. If I try to run the file from Nautilus or the Terminal, nothing happens.

View 6 Replies View Related

Ubuntu :: Startup Applications Not Running Anymore?

Apr 13, 2011

Im not sure why they aren't working - but my startup applications are not running at boot. They run fine from terminal.

I have a startup application for Xchat and the command is just xchat (which works fine from terminal) but it isn't loading at? - I have checked and im not running in safe mode or anything like that - just the standard ubuntu desktop).

Unrelated Question:

Is there a 'global' i.p address I can use to represent all devices on my LAN - so I can mass whitelist in firestarter?

View 5 Replies View Related

Ubuntu :: How Do Make Anything Start On Startup

Sep 4, 2010

How do I make something start on boot? I remember there being a command.. nano something, can anyone tell me?

View 3 Replies View Related

Ubuntu :: Make Gdm Not Load On Startup?

May 8, 2011

I edited some file in /etc and it stopped loading, but after upgrading to natty it loads again. I'm already starting X manually from /etc/event.d/tty7, but the X started from gdm is the one I see on the screen. I don't have a keyboard, so I can't switch to the console with the right X after startup. Is the only option to deinstall gdm, or is there a way to make it not start?

View 2 Replies View Related

Software :: Running Mysql-python Interface?

Nov 30, 2010

I just took a class on sql, unfortunately, it was Windows-centric, which means I have to figure out how to do stuff in Redhat by myself. By installing mysql via yum and then running pirut, I find there is an interface type program called MySQL-python-1.2.1-1.x86_64 so I installed it but I'll be danged if I can find any information on how to actually run the thing. What is the command to start MySQL-python-1.2.1-1.x86_64?

View 6 Replies View Related

Ubuntu :: Running Evolution In The Background At System Startup?

Jul 3, 2010

How do I make Evolution run at system start-up in the background and check my in-box?

View 1 Replies View Related

Ubuntu Servers :: Running Script As Root On Startup?

Jul 29, 2010

I am trying to run my script at startup but it doesn't run the script as root. Do I need to add my root username and password in the script, or somewhere else?

View 1 Replies View Related

Ubuntu :: Endless Script Running At Startup Safe?

Aug 7, 2010

Sometimes I need remotely connect to my computer, but my router gains IP address dynamically. So I wrote simple script which gains my router IP and send me email:

Code:
#!/bin/bash
function send_mail {
echo $1 | mutt -s "New IP" myemail.com
}
old_ip=
while true; do
new_ip=`wget www.whatismyip.com/automation/n09230945.asp -O - -q`
if [ -n "$new_ip" ] && [ "$new_ip" != "$old_ip" ];
then
old_ip=$new_ip
send_mail "IP changed, sending new IP: $new_ip"
fi
sleep 5m
done

I need it to run at system startup. When I'm adding it to .bash_profile bash path/resolveIP & I'm not getting any mail. In case of bash path/resolveIP (without &) I'm getting mail, but I guess it will never get to the next command in .bash_profile. So I put my script in /etc/init.d directory, but I don't know is it okay to have endless script there????

View 1 Replies View Related

Ubuntu :: Can't Connect To Local MySQL Server Through Socket / Make It Possible?

May 23, 2010

I'm pretty new to Linux and this is my first post here.

Whenever I try to connect to MySQL, I get the following message:

ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

It worked just fine the other day, then are I ran some updates and setup port forwarding to this computer [Ubuntu Server 10.04 LTS].

View 1 Replies View Related

Ubuntu :: How To Make Startup Disk Of Partition

Sep 17, 2010

I would like to put my ubuntu system (the one on my partition) in a usb drive, so that way I can take it everywhere I go. The reason for this is because all of the programs I have and the configuration I currently have in my ubuntu (I should say "macbuntu"). That is:

burg boot loader (I probably don't need this one!)
x system plymouth theme || also windows 7 original plymouth theme
mac4lin 1.0 aqua GTK theme and emerald theme
mac ultimate icon theme
mac4lin 1.0 cursor theme (working even with compiz)
gnome global menu
compiz packagers ppawith all the extra stuff
telepathy ppa for empathy, having all the extra stuff working
also win2-7-pack_v-9.1
And lots more stuff!

I don't want my personal documents though (text docs, music, videos, pics 'maybe few pics'), just configuration files and programs. Can this even be possible?...

View 2 Replies View Related

General :: Joomla Does Not See MYSQL Server - Yet Its Installed And Running?

Nov 15, 2009

I have just installed joomla and proceeded to do the web install. Got the interface up and running and its now complaining it does not see the mysql server running. I do in fact have it running. Veryfied it with mysql command on command line and it complained with missing attributes.

I read a thread that it needs php-mysql installed. So went to proceed to install it. Well, I did not have that and went to install it. Verified it. Package mysql-server-5.0.77-3.el5.i386 already installed and latest version

I then did a service mysql reset.

Checked back at the joomla web install interface and still, it says there is no mysql support! What is next? Im running centos OS. Also, I am running LAMP

View 3 Replies View Related







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