xampp mysql error

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

xampp mysql error

Postby achel7ey » 24. November 2014 13:57

Hello,

i got some problems on starting xampp.
the problem begon with starting apache but i solved that on
i change the port from Skype from 80 to 38850 and vmware from 433 to 8443
now apache starts but mysql and ProftpD wont start

im gettting this error

Code: Select all
127.0.0.1_localhost proftpd[12144]: warning: unable to determine IP address of '127.0.0.1_localhost'
127.0.0.1_localhost proftpd[12144]: error: no valid servers configured
127.0.0.1_localhost proftpd[12144]: Fatal: error processing configuration file '/opt/lampp/etc/proftpd.conf'


and by running this command sudo /opt/lampp/lampp startmysql

i am getting this error

Code: Select all
XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: line 39: test: /opt/lampp/var/mysql/127.0.0.1: binary operator expected
ok.


i have tried uninstalling xampp reinstalled again used both xampp 1.8.3.5 and 5.6.3-0 same problem

thank you
achel7ey
 
Posts: 1
Joined: 24. November 2014 13:38
Operating System: linux

Re: xampp mysql error

Postby Nobbie » 24. November 2014 15:49

achel7ey wrote:
Code: Select all
127.0.0.1_localhost proftpd[12144]: warning: unable to determine IP address of '127.0.0.1_localhost'
127.0.0.1_localhost proftpd[12144]: error: no valid servers configured
127.0.0.1_localhost proftpd[12144]: Fatal: error processing configuration file '/opt/lampp/etc/proftpd.conf'


Obviously you defined "127.0.0.1_localhost" in your proftpd.conf (probably you *should* change that line in the configuration to your servers name), 127.0.0.1_localhost seems to be a placeholder and is unknown to your hosts files (/etc/hosts).

achel7ey wrote:and by running this command sudo /opt/lampp/lampp startmysql

i am getting this error

Code: Select all
XAMPP: Starting MySQL.../opt/lampp/share/xampp/xampplib: line 39: test: /opt/lampp/var/mysql/127.0.0.1: binary operator expected
ok.


This usually means that your default "SHELL" is not bash, but a different shell (sh or ksh or tcsh or whatever) and uses different syntax for the "test" statement. Either find out and change the default, or edit the file xampplib and adapt line 39 to the actual test syntax.
Nobbie
 
Posts: 8772
Joined: 09. March 2008 13:04


Return to XAMPP for Linux

Who is online

Users browsing this forum: No registered users and 4 guests

cron