How to Auto Start LAMPP

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

How to Auto Start LAMPP

Postby alli2878 » 29. January 2022 10:27

11:30:41 AM [main] Initializing Control Panel
11:30:41 AM [main] Windows Version: 64-bit
11:30:41 AM [main] XAMPP Version: 7.4.27
11:30:41 AM [main] Control Panel Version: 3.3.0 [ Compiled: Apr 6th 2021 ]
11:30:41 AM [main] Running with Administrator rights - good!
11:30:41 AM [main] XAMPP Installation Directory: "c:\users\office\desktop\xampp\"
11:30:41 AM [main] Checking for prerequisites
11:30:41 AM [main] All prerequisites found
11:30:41 AM [main] Initializing Modules
11:30:41 AM [main] Starting Check-Timer
11:30:41 AM [main] Control Panel Ready
11:32:15 AM [main] Executing notepad.exe c:\users\office\desktop\xampp\mysql\bin\my.ini
11:32:20 AM [mysql] Checking default ports...
11:32:20 AM [mysql] Attempting to start MySQL service...
11:32:20 AM [mysql] Executing "net start "mysql""
11:32:21 AM [mysql] Status change detected: running
11:32:21 AM [mysql] Return code: 0
11:32:26 AM [mysql] Status change detected: stopped
11:32:26 AM [mysql] Error: MySQL shutdown unexpectedly.
11:32:26 AM [mysql] This may be due to a blocked port, missing dependencies,
11:32:26 AM [mysql] improper privileges, a crash, or a shutdown by another method.
11:32:26 AM [mysql] Press the Logs button to view error logs and check
11:32:26 AM [mysql] the Windows Event Viewer for more clues
11:32:26 AM [mysql] If you need more help, copy and post this
11:32:26 AM [mysql] entire log window on the forums
11:32:40 AM [Apache] Uninstalling service...
11:32:40 AM [Apache] Executing "c:\users\office\desktop\xampp\apache\bin\httpd.exe -k uninstall -n "Apache2.4""
11:32:44 AM [filezilla] Uninstalling service...
11:32:44 AM [filezilla] Executing "c:\users\office\desktop\xampp\filezillaftp\filezillaserver.exe" "-uninstall"
11:32:44 AM [filezilla] Return code: 0
11:32:44 AM [filezilla] Checking for service (name="FileZillaServer"): Service installed
11:32:44 AM [filezilla] Service Path: "c:\users\office\Desktop\xampp\filezillaftp\filezillaserver.exe"
11:32:44 AM [filezilla] Service was NOT (un)installed!
11:32:51 AM [Apache] Return code: 0
11:32:51 AM [Apache] Checking for service (name="Apache2.4"): Service not installed
11:32:51 AM [Apache] Service Path: Service Not Installed
11:32:51 AM [Apache] Successful!
11:32:53 AM [main] Executing "services.msc"
11:33:18 AM [filezilla] Uninstalling service...
11:33:18 AM [filezilla] Executing "c:\users\office\desktop\xampp\filezillaftp\filezillaserver.exe" "-uninstall"
11:33:18 AM [filezilla] Return code: 0
11:33:18 AM [filezilla] Checking for service (name="FileZillaServer"): Service installed
11:33:18 AM [filezilla] Service Path: "c:\users\office\Desktop\xampp\filezillaftp\filezillaserver.exe"
11:33:18 AM [filezilla] Service was NOT (un)installed!
11:33:23 AM [mysql] Checking default ports...
11:33:23 AM [mysql] Attempting to start MySQL service...
11:33:23 AM [mysql] Executing "net start "mysql""
11:33:24 AM [mysql] Status change detected: running
11:33:24 AM [mysql] Return code: 0
11:33:25 AM [mysql] Executing "http://localhost/phpmyadmin/"
11:33:29 AM [mysql] Status change detected: stopped
11:33:29 AM [mysql] Error: MySQL shutdown unexpectedly.
11:33:29 AM [mysql] This may be due to a blocked port, missing dependencies,
11:33:29 AM [mysql] improper privileges, a crash, or a shutdown by another method.
11:33:29 AM [mysql] Press the Logs button to view error logs and check
11:33:29 AM [mysql] the Windows Event Viewer for more clues
11:33:29 AM [mysql] If you need more help, copy and post this
11:33:29 AM [mysql] entire log window on the forums
11:34:11 AM [main] Executing notepad.exe c:\users\office\desktop\xampp\mysql\data\mysql_error.log
11:34:22 AM [main] Executing "c:\users\office\desktop\xampp\mysql\data"


*Kindly please help!

[EDIT by Altrea: splitted and moved from original topic - unrelated]
alli2878
 
Posts: 1
Joined: 29. January 2022 10:25
XAMPP version: 7.4.27
Operating System: Linux Mint 19.3 Cinnamon

Re: How to Auto Start LAMPP

Postby Nobbie » 29. January 2022 15:31

Obviously you installed Xampp into the Desktop of User "office." That is NOT recommended and does not run as service. Services are executed by SYSTEM user which does not have sufficient rights to create files in the User space of other Users (like "office" User).

Deinstall Xampp and install it to c:/xampp as recommended.
Nobbie
 
Posts: 13181
Joined: 09. March 2008 13:04


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 119 guests