Page 1 of 1

XAMPP Errors

PostPosted: 14. December 2020 13:35
by samsue
Dear All:

I am a beginner. Trying to setup an Intranet in our company. After installing XAMPP v3.2.4, I started Apache and Tomcat. I am getting the below errors. Would appreciate your help in fixing these errors.

18:02:59 [Apache] Status change detected: stopped
18:02:59 [Apache] Error: Apache shutdown unexpectedly.
18:02:59 [Apache] This may be due to a blocked port, missing dependencies,
18:02:59 [Apache] improper privileges, a crash, or a shutdown by another method.
18:02:59 [Apache] Press the Logs button to view error logs and check
18:02:59 [Apache] the Windows Event Viewer for more clues
18:02:59 [Apache] If you need more help, copy and post this
18:02:59 [Apache] entire log window on the forums

18:03:02 [Tomcat] Attempting to start Tomcat app...
18:03:10 [Tomcat] Tomcat Started/Stopped with errors, return code: 1
18:03:10 [Tomcat] Make sure you have Java JDK or JRE installed and the required ports are free
18:03:10 [Tomcat] Check the "/xampp/tomcat/logs" folder for more information

18:03:12 [mysql] Attempting to start MySQL app...
18:03:12 [mysql] Status change detected: running
18:03:13 [filezilla] Attempting to start FileZilla app...
18:03:13 [filezilla] Status change detected: running
18:03:14 [mercury] Attempting to start Mercury app...
18:03:14 [mercury] Status change detected: running

Thanks & Regards,

Sam

Re: XAMPP Errors

PostPosted: 14. December 2020 14:15
by Altrea
Hi Sam,

Please try to start apache by double clicking the apache_start.bat script and tell us its response.
Did you install the JDK /JRE(Java 8 or higher) for Apache Tomcat?

Do you really need to Start Tomcat, Mercury and FileZilla?

Re: XAMPP Errors

PostPosted: 15. December 2020 08:20
by samsue
Hi! Altera: Thank you for your response.

The output of double clicking "apache_start.bat" file, I have pasted below:

Diese Eingabeforderung nicht waehrend des Running beenden
Bitte erst bei einem gewollten Shutdown schliessen
Please close this command only for Shutdown
Apache 2 is starting ...
AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/example] does not exist
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down
AH00015: Unable to open logs

Apache konnte nicht gestartet werden
Apache could not be started
Press any key to continue . . .

I have not installed the JDK/JRE (Java 8 or higher) for Apache Tomcat. I would appreciate you sharing the link to download and install JDK/JRE (Java 8 or higher) for Apache Tomcat.

I am a beginner trying to implement Intranet in our company. I will start only Apache going forward for intranet purposes.

Thanks & Regards,

Sam

Re: XAMPP Errors

PostPosted: 15. December 2020 09:13
by Altrea
samsue wrote:AH00112: Warning: DocumentRoot [D:/xampp2/htdocs/example] does not exist

You did change the DocumentRoot to a folder doesn't exist. You should undo this change.

samsue wrote:(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address [::]:80
(OS 10013)An attempt was made to access a socket in a way forbidden by its access permissions. : AH00072: make_sock: could not bind to address 0.0.0.0:80
AH00451: no listening sockets available, shutting down

There is already something listening on port 80 or a security software is blocking Apache from capturing this port.
The messages in the control panel can give you more information about that, especially if started as administrator.
The other tool listing all occupied ports is Netstat which can be started by clicking a button in the control panel.

Read more about Apache starting issues and debugging them here: [Q&A] Insufficient debug information - Apache starting issue

samsue wrote:I have not installed the JDK/JRE (Java 8 or higher) for Apache Tomcat. I would appreciate you sharing the link to download and install JDK/JRE (Java 8 or higher) for Apache Tomcat.

You only need Tomcat if you want to do some JSP programming. The official Java runtimes can be found here at the vendors homepage: https://www.oracle.com/java/technologie ... loads.html

Re: XAMPP Errors

PostPosted: 15. December 2020 11:40
by samsue
Hi! Altera:

Thank you. I will work on your suggestions.

Thanks and Regards,

Sam