XAMPP Servers not starting in Macos Sierra - xampp

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.

Related

another web server is already running and unable to run Apache2

I am using Kali linux
I am unable to run Apache2, i tried so many ways to fix it .., i successful installed xampp and apache2 but dont know why apache not running, mysql and proFTD is running
When i run code to to check the status of apache in lampp it show that another web server is already running.
(another web server already runing)
write this code in terminal
/opt/lampp/xampp disablessl
then check for the apache
sudo /opt/lampp/xampp start
Starting XAMPP for Linux 7.2.5-0...
XAMPP: Starting Apache...ok.
XAMPP: Starting MySQL...already running.
XAMPP: Starting ProFTPD...already running.

Mac OSX - ProFTPD server won't run on XAMPP

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!

Unable to start XAMPP Apache server on MacOS-Sierra

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.

Starting Neo4j failed: Address localhost:7474 is already in use, cannot bind to it on Mac OSX

I'm trying to install a neo4j server on my localhost (mac osx - El-capitan) and i'm getting this error -
Starting Neo4j failed: Address localhost:7474 is already in use,
cannot bind to it.
I tried to stop the port from running and then install it throw the neo4j install app, but it still give this error
When i try to start the neo4j server it gives me this error :
./usr/local/bin/neo4j: line 229: [: too many arguments
Try to kill your java processes :
sudo killall -9 java
Then restart your neo4j server :
./bin/neo4j restart
Same problem using Win 10, I had to turn off https-support
in neo4j-server.properties, i.e.
\# Turn https-support on/off
org.neo4j.server.webserver.https.enabled=false
You don’t need to install anything. Just download the linux tar.gz package, uncompress it and use the terminal to run the command ‘./bin/neo4j console’ to run it in console mode. You can start it in background too but based on your question, it sounds like this is just a dev machine.

Xampp for MAC, Apache can't get started

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

Resources