I am trying to run XAMPP on my macbook OSX. MySQL and Apache run without a hitch. The ProFTPD server isn't running. I've tried restarting. That didn't work. I went into the xampp files and changed the port (from 21 to 12). I'm not sure what's wrong but I've been receiving the following error message:
Starting ProFTPD...
Exit code: 8
Stdout:
Checking syntax of configuration file
proftpd config test fails, aborting
Stderr:
MacBook-Pro.local proftpd[62092]: warning: unable to determine IP address of 'MacBook-Pro.local'
MacBook-Pro.local proftpd[62092]: error: no valid servers configured
MacBook-Pro.local proftpd[62092]: Fatal: error processing configuration file '/Applications/XAMPP/xamppfiles/etc/proftpd.conf'
Can anyone offer any help? It would be very appreciated. Thank you!
Related
fatal: error processing configuration file '/Applications/XAMPP/xamppfiles/etc/proftpd.conf'
this is the current error message when running XAMPP, mysql and apache run, but ProFTPD is not running.
I have installed XAMPP in OS EL Captian, it works fine there. When i upgrade my os to macos Sierra, it throws the following error messages in XAMPP control panel...
Restarting all servers...
Starting MySQL Database...
/Applications/XAMPP/xamppfiles/mysql/scripts/ctl.sh : mysql started at port 3306
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
Starting ProFTPD...
Exit code: 8
Stdout:
Checking syntax of configuration file
proftpd config test fails, aborting
Stderr:
MM-SHANMUGAM-SA.local proftpd[19886]: warning: unable to determine IP address of 'MM-SHANMUGAM-SA.local'
MM-SHANMUGAM-SA.local proftpd[19886]: error: no valid servers configured
MM-SHANMUGAM-SA.local proftpd[19886]: Fatal: error processing configuration file '/Applications/XAMPP/xamppfiles/etc/proftpd.conf'
I had the same problem. I didn't get the error though.
With me the problem was that Apache was already running on macOS itself so it couldn't start from XAMPP. I guess the update to Sierra must have started it.
I fixed the problem by stopping Apache by running sudo apachectl stop on the Terminal.
Whenever I'm trying to start my Apache server from XAMPP on my Macbook (MacOS-Sierra) . I'm getting following application log :
Starting Apache Web Server...
/Applications/XAMPP/xamppfiles/apache2/scripts/ctl.sh : httpd started
And status remains Stopped. I re-install XAMPP and restarted my laptop multiple times, but I'm still having same issue. Couldn't find anything help to resolve this issue.
I found the solution:
Make sure port 80 is not being used (Use Network Utility and scan for port 80. If you found any application using port 80, then kill it)
Open terminal and execute
sudo apachectl stop
(ignore, if you get any error)
On the same terminal window execute
sudo /Applications/XAMPP/xamppfiles/bin/apachectl start
Open XAMPP control panel, your apache server might have started by now, if not then you can start manually by clicking start button.
This worked for me!!
Simply goto your terminal and type:
sudo apachectl stop
It'll ask for password. Enter your system password.
Go back to XAMPP control panel and start Apache.
It should get started now.
I had the same Problem and fixed it by deleting the lib folder in Applications/XAMPP/xamppfiles/ and installing XAMPP again. It's probably due to old lib files from previous versions not being updated properly.
Another related issue, which I faced caused Apache sever failure. And failure logs is :
[Sun Jul 30 12:43:58.747822 2017] [unique_id:alert] [pid 9188] (EAI 8)nodename nor servname provided, or not known: AH01564:
unable to find IPv4 address of "MacBook-Pro.local" AH00016: Configuration Failed
To solve this :
Executed following command
sudo -e /etc/hosts
Then, changed following entries
127.0.0.1 localhost
::1 localhost
to
127.0.0.1 localhost MacBook-Pro.local
::1 localhost MacBook-Pro.local
I had the same issue when I update my XAMPP app, if you have to do this, you first have to uninstall your XAMPP (save your HTDOCS files in another folder, NOT in XAMPP folder, or you will lose it), and after that you can install the newest version of XAMPP. It worked for me, hope for you too.
I would like to install the Windows version of Perforce in a network location so that users can call p4 via:
\\somewhere\p4.exe -p server:1666 -c some_client_name sync
where "somewhere" is consistently mapped on all Windows machines. I tried to do this by installing locally, then copying p4.exe to \\somewhere.
On the computer where I installed locally, \\somewhere\p4.exe works just fine. But when I switch to another machine and try to run
\\somewhere\p4.exe -p server:1666 info
I get the following error:
Perforce client error
Connect to server failed; check $P4PORT.
TCP connect to server:1666 failed.
A non-recoverable error occurred during a database lookup.
What does this error mean? I couldn't find any information in the documentation; I suspect I might need another file besides p4.exe. Indeed, when I install Perforce locally on the other machine, using the local p4.exe works, but \\somewhere\p4.exe still does not.
Any pointers?
Thanks!
You shouldn't need any other files besides P4.exe.
The TCP connection error is probably because that other machine isn't able to translate "server" into an IP address.
Try using some of the Windows command line tools to diagnose this, as in:
nslookup server
or
ping server
Also, try changing your test to run:
\\somewhere\p4.exe -p NNN.NNN.NNN.NNN:1666 info
where the "NNN.NNN.NNN.NNN" is the IP address of your server machine.
I am using MAC OS X 10.8.4
I am using xampp. It was fine for more than 3 months. But today when I start mysql and apache, the mysql got started and apache threw an error as below,
Syntax error:
httpd: Syntax error on line 454 of /Applications/XAMPP/xamppfiles/etc/httpd.conf: Could not open configuration file /Applications/XAMPP/etc/extra/httpd-multilang-errordoc.conf: No such file or directory
I never did any change to any file.
I also tried sudo apachctl stop via terminal, it said unloading error.
Please help me to get my apache start and work again.
::I forgot to say that the "/Applications/XAMPP/etc/extra/httpd-multilang-errordoc.conf" file exists::
Fixed:: I changed the path for some configuration file and it's working now, but I didn't know the reason it was working fine for a long time