Ubuntu :: Lampp Mysql Won't Start?
Aug 4, 2010
I had xampp going, but it got messed up and mysql wouldn't start. I thought reinstalling wou;d fix it, but it didn't.
when i do:
Code:
sudo /opt/lampp/lampp start
i get:
Code:
Starting XAMPP for Linux 1.7.3a...
[Code]....
View 3 Replies
ADVERTISEMENT
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
Aug 23, 2011
I use dual boot with windos 7. i use xampp in win7. want to use lampp for ubuntu 10.04. i want to use one local server directoy for both . i successfuly changed htdocs location in lampp. but could not change mysql data directory location.
View 4 Replies
View Related
Mar 7, 2010
I installed LAMPP a couple of weeks ago and was working fine. Today when I try to start lampp, it will only start MySql and ProFTPD. It says "XAMPP: Another web server daemon is already running." How can I find out where this other server is located and stop it?
View 2 Replies
View Related
Feb 5, 2009
I thought that the problem is in the phpMyAdmin not in the mysql. But now i think different. It seems that the problem is right in the mysql. I think that there was no root user, when mysql was freshly installed. Unfortunately i did everything i can find on internet (some tutorials) but they don`t helped me at all, maybe i fu**ed up the mysql service. So i reinstalled it, and when i want to start it there is no file mysql.sock and i get the following:
linux-nepg:~ # service mysql restart
Restarting service MySQL
Shutting down service MySQL done
Starting service MySQL warning: /var/lib/mysql/mysql.sock didn't appear within 30 seconds
View 9 Replies
View Related
May 4, 2011
I have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?
View 9 Replies
View Related
Mar 15, 2010
I am getting the following error when starting mysql using 'sudo /etc/init.d/mysql start':
Mar 15 16:33:56 MoodFishDev /etc/init.d/mysql[18317]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
Mar 15 16:33:56 MoodFishDev /etc/init.d/mysql[18317]: ^G/usr/bin/mysqladmin: connect to
[code]....
View 1 Replies
View Related
Jul 28, 2009
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
The same init script works fine in Ubuntu.
View 2 Replies
View Related
Oct 12, 2010
It's been a short while since I had to put lampp on ubuntu 10.04. But, nevertheless I got it running eventually. I cannot seem to get it working on 10.10. Has anybody had experience with this yet? If so, what did you do to get it to work? Also, what differences does anybody know of that is preventing it from installing on 10.10 via the routes it would install on 10.04?
View 3 Replies
View Related
May 4, 2011
i have been trying to host a site with lampp in ubuntu and i am pretty lost and sick of all the error messages, maby somone could give me a step by step guide how to do it. or got a bether option ?
View 8 Replies
View Related
Oct 27, 2010
Does anyone know if you can reconfigure webmin to use the lampp services instead of the default server services (e.g. apache, mysql, etc.)?
View 1 Replies
View Related
May 3, 2010
I have had tons of issues with the linux today. Now when I try and start mysql it just fails. the syslog says:
May 3 16:19:40 tp-inventory /etc/init.d/mysql[7783]: 0 processes alive and '/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf ping' resulted in
May 3 16:19:40 tp-inventory /etc/init.d/mysql[7783]: ^G/usr/bin/mysqladmin: connect to server at 'localhost' failed
[Code]....
View 6 Replies
View Related
May 4, 2010
I don't know. I have had tons of issues with the Linux today. Now when I try and start mysql it just fails. the syslog says code...
The command mysql results in:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)
I have even tried to uninstall mysql and reinstall it an nothing works. Any suggestions?
View 4 Replies
View Related
Mar 14, 2011
ive been trying to fix this for a while. i dont have the original my.cnf, but i dont even know if thats the error:
Code:
pavel@pvl1:~$ sudo service mysql start
^C
pavel@pvl1:~$ cd /var/log/[code]....
View 1 Replies
View Related
Jun 26, 2011
I have trouble with MySQL server on my Ubuntu 11.04.Below is what I get in Terminal
root@linux:/home/karl# /etc/init.d/mysql start
Rather than invoking init scripts through /etc/init.d, use the
service(
[code]....
View 3 Replies
View Related
Apr 14, 2011
How can modify httpd-xampp.conf's permission on my opt/lampp/etc/extra/ directory? I tried chmod-ing it on terminal, there's no error message whatsoever on the terminal but it still can't be modified.
View 1 Replies
View Related
Jul 7, 2010
We want to build a couple internal web apps for about 150 people to use, maybe 10 concurrently of any one app/site. LAMPP seems to be pretty simple to use for all it does, but their website has the following disclaimer at the bottom of this post, and there's some people here, programmers who like to make things way more intense/"cool" for programmers than they need to be for a small shop, who agrue that it shouldn't be used in production. I'm not really sure our internal 150 people classify as the type of "production" they are referring to below, I think they more mean a public facing site. We're never going to grow any bigger than this people-wise, or ever make these public facing sites. Just looking for some advice, as lampp seems very easy to use, as well as easy to backup and restore the entire lampp folder and get going on another server quickly in the event of a disaster.
As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.
View 2 Replies
View Related
Jan 18, 2011
I inherited a project that someone built in lampp, and I need create new SSL certs.
So I go to do so and it says that OpenSSL is not installed and to apt-get and install it.(Ubuntu by the way)
So before I did so, I wondered if it would cause any problems...since it was supposed to be part of the lampp stack.
View 3 Replies
View Related
May 10, 2010
I just installed a brand new ubuntu server 10.04 32-bit, choosing the LAMP option on install. Upon reboot I couldn't connect to mysql from another machine, so on this new server I changed the file at /var/mysql/my.cnf
[Code]...
View 9 Replies
View Related
May 11, 2010
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.
View 1 Replies
View Related
Jun 2, 2010
I cannot get mysql to start since updating to Lucid. It seems to be utterly silent, no log entries anywhere I can see or anything.
I've tried reinstalling the ubuntu install to no avail.
Here's the /etc/mysql/my.cnf:
(default from upgrade I suspect) this is also the debian.cnf
Code:
# Automatically generated for Debian scripts. DO NOT TOUCH!
[client]
host = localhost
user = debian-sys-maint
[Code].....
I'm just getting utterly nothing in any log.
root@linuxbox:/etc/mysql# sudo start mysql
start: Job is already running: mysql
but there isn't! top/ps show nothing at all
root@linuxbox:/etc/mysql# sudo restart mysql (or stopping) just sit there, hung on something.
View 2 Replies
View Related
Jul 26, 2010
Recently, few days or maybe a week ago I updated mysql and now mysql service do not start at boot. I must start it manualy, before this update it start automaticly.
View 9 Replies
View Related
Jul 12, 2011
I have a development server that I have attempted the 9.10 -> 10.4 LTS upgrade on to see if there were any problems. (Another catch is that I am running PHP 5.3 and 5.2 concurrently, and this has been successfully done.)
MySQl fails to start:
Quote:
root@dev11:/var/run/mysqld# /etc/init.d/mysql start
* Starting MySQL database server mysqld
...fail!
Checking /var/log/syslog:
[Code]....
P.S. This server has had MySQL running for some time. There are databases on there, but again they are used in development only. I'd rather not uninstall/reinstall.
View 1 Replies
View Related
Aug 4, 2011
I am new to ubuntu. I want to start mysql but its not working! error occurs!
"
root@drazer-GA-MA785GM-US2H:/etc/init.d# mysql.server start
mysql.server: command not found
root@drazer-GA-MA785GM-US2H:/etc/init.d# mysql
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
root@drazer-GA-MA785GM-US2H:/etc/init.d# mysql start
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: NO)
root@drazer-GA-MA785GM-US2H:/etc/init.d#
"
I have installed mysql client and server packages.
View 4 Replies
View Related
Jul 21, 2011
XAMPP: Couldn't start MySQL! I have Ubuntu 11.4. After downloading XAMPP, I went to my Downloads. I then went to the Folder (xampp-linux-1.7.4.tar.gz) and right clicked on it. The options window opened, and I selected "Extract Here"! after doing so a Folder called lampp appeared. The next step I did was open my Terminal and typed ( sudo nautilus / ). I pressed Enter and a window with a bunch Folders opened up. I selected, and opened the opt Folder. I then dragged the lampp Folder to the opt Folder.
The lampp Folder is now in the opt Folder. I right clicked on the lampp Folder and selected Properties, and then the Permissions tap. I set all 3 Folder access: -to- Create delete files and all 3 File access: -to- Read and write. I checked Allow executing file as program, and Apply Permissions to Enclosed Files button, then closed. I went back to Terminal and typed (sudo /opt/lampp/lampp start) and pressed Enter. Everything is working fine execpt MySQL!
Starting XAMPP for Linux 1.7.4...
XAMPP: Starting Apache with SSL (and PHP5)...
XAMPP: Starting MySQL...
XAMPP: Couldn't start MySQL!
XAMPP: Starting ProFTPD...
XAMPP for Linux started.
I don't know if it makes any difference but I do have Netbeans IDE 7.0 php installed and I've only worked on html and CSS on it.
View 2 Replies
View Related
Jan 8, 2010
I've installed pure-ftpd.mysql V1.0.22.1 on an Ubuntu 9.10 and I'm unable to start. The comand I use to start is:
$ sudo service pure-ftpd-mysql start
Starting ftp server: Running: /usr/sbin/pure-ftpd-mysql -l mysql:/etc/pure-ftpd/db/mysql.conf -l puredb:/etc/pure-ftpd/pureftpd.pdb -l pam -O stats:/var/log/pure-ftpd/pureftpdstats.log -E -z -u 2000 -U 000:000 -8 UTF-8 -j -o -S 192.168.1.103,21 -p 58000:59000 -4 -Y 1 -D -P xx.xx.xx.xx -B
[Code].....
View 1 Replies
View Related
Feb 18, 2010
I've just upgraded to 9.10, and mysql fails to start. When I do an /etc/init.d/mysql start, I just get
* Starting MySQL database server mysqld ...fail!with no additional errors or information to say what went wrong. I saw this thread http://ubuntuforums.org/showthread.php?t=1322070 but the fix mentioned does not apply, as I don't have the #skip bsd line in my config file.
View 5 Replies
View Related
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
Mar 24, 2010
I just compiled mysql apache and php from source and I have apache to start up from boot but I don't exactly know how to get mysql to do the same.
Edit: Also how do I add mysql to path? Should I just symlink it to somewhere thats in the path or what? And if that is the case wheres the best place to symlink it too.
View 3 Replies
View Related
Apr 8, 2010
I have a mysql database and i use it with apache for my webpages. And I guess it dosen't start when the computer starts so I have to manually start it with "sudo /etc/init.d/mysql start" This returns fail so i went to '/var/run/mysqld/' and the folder was empty. I don't know if this is the problem or not. How can I fix this?
View 9 Replies
View Related