Page 1 of 1

#2002 - The server is not responding (or the local MySQL ser

PostPosted: 25. August 2011 05:52
by hanpedro
I installed xampp for Linux 1.6.8a on centos 6 x86, and copied to virtual machine which is installed centos x86 6.
But I could not start mysql, and the error log is this.

Code: Select all
110825 13:39:44  mysqld started
nohup: ignoring input
110825 13:39:44 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
110825 13:39:44 [Warning] option 'max_join_size': unsigned value 18446744073709551615 adjusted to 4294967295
110825 13:39:44  InnoDB: Operating system error number 13 in a file operation.
InnoDB: The error means mysqld does not have the access rights to
InnoDB: the directory.
InnoDB: File name /opt/lampp/var/mysql/ibdata1
InnoDB: File operation call: 'create'.
InnoDB: Cannot continue operation.
110825 13:39:44  mysqld ended


So I tried "mysqld_safe --user=mysql &"

Code: Select all
 /opt/lampp/bin/mysqld_safe --user=mysql &
[1] 4469
[root@maestro opt]# nohup: ignoring input and redirecting stderr to stdout
Starting mysqld daemon with databases from /opt/lampp/var
STOPPING server from pid file /opt/lampp/var/maestro.iptime.org.pid
110825 13:49:37  mysqld ended


Any helpful comment would be appreciated.

Thanks in advance.

Re: #2002 - The server is not responding (or the local MySQL

PostPosted: 25. August 2011 15:29
by JonB
Did you start LAMMP with the LAMPP Start Command?

as root:

/opt/lampp/lampp start

The XAMMP LAMPP installs do not work like standard Linux stacks. If you have not read the LAMMP Linux FAQ's you should.
Many 'standard' Linux tools won't work without 'interpreting' the lampp BASH file, and reading that FAQ. Particularly the last part.

http://www.apachefriends.org/en/xampp-linux.html

Good luck
8)

Re: #2002 - The server is not responding (or the local MySQL

PostPosted: 07. September 2011 06:19
by hanpedro
Thanks!