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

Problems with the Linux version of XAMPP, questions, comments, and anything related.

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

Postby hanpedro » 25. August 2011 05:52

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.
hanpedro
 
Posts: 133
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86

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

Postby JonB » 25. August 2011 15:29

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)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

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

Postby hanpedro » 07. September 2011 06:19

Thanks!
hanpedro
 
Posts: 133
Joined: 09. February 2005 06:03
Operating System: SCientific Linux 6.1 x86


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 8 guests