Issue Summary
Local not able to start apache or nginx when used in a machine connected to a domain controller with remote profile
Troubleshooting Questions
-
Does this happen for all sites in Local, or just one in particular? all sites
-
Are you able to create a new, plain WordPress site in Local and access it in a Browser?
Replication
just start a site when local is installed on a machine connected to DC with remote profile
System Details
-
Which version of Local is being used?
-
What Operating System (OS) and OS version is being used?
- For example: macOS Catalina or Windows 10 Professional
-
Attach the Local Log. See this Help Doc for instructions on how to do so:
{“thread”:“main”,“class”:“Process”,“process”:“mailhog”,“pid”:4768,“level”:“verbose”,“message”:“Spawned”,“timestamp”:“2023-06-15T19:13:56.154Z”}
{“thread”:“main”,“class”:“Process”,“process”:“phpCgi”,“pid”:13400,“level”:“verbose”,“message”:“Spawned”,“timestamp”:“2023-06-15T19:13:56.229Z”}
{“thread”:“main”,“class”:“Process”,“process”:“phpCgi”,“pid”:9844,“level”:“verbose”,“message”:“Spawned”,“timestamp”:“2023-06-15T19:13:56.245Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“pid”:10064,“level”:“verbose”,“message”:“Spawned”,“timestamp”:“2023-06-15T19:13:56.942Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“pid”:3888,“level”:“verbose”,“message”:“Spawned”,“timestamp”:“2023-06-15T19:13:56.978Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“level”:“warn”,“message”:“nginx: [emerg] CreateFile() “%%userDataPath%%\run\B2MVekHd_\nginx/%%userDataPath%%\run\B2MVekHd_\conf\nginx\nginx.conf” failed (3: The system cannot find the path specified)”,“timestamp”:“2023-06-15T19:13:57.206Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“code”:1,“signal”:null,“level”:“verbose”,“message”:“PID: 10064 closed with”,“timestamp”:“2023-06-15T19:13:57.212Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“pid”:10868,“level”:“verbose”,“message”:“Spawned”,“timestamp”:“2023-06-15T19:13:57.737Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“level”:“warn”,“message”:“nginx: [emerg] CreateFile() “%%userDataPath%%\run\B2MVekHd_\nginx/%%userDataPath%%\run\B2MVekHd_\conf\nginx\nginx.conf” failed (3: The system cannot find the path specified)”,“timestamp”:“2023-06-15T19:13:57.922Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“code”:1,“signal”:null,“level”:“verbose”,“message”:“PID: 10868 closed with”,“timestamp”:“2023-06-15T19:13:57.926Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“pid”:13812,“level”:“verbose”,“message”:“Spawned”,“timestamp”:“2023-06-15T19:13:58.452Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“level”:“warn”,“message”:“nginx: [emerg] CreateFile() “%%userDataPath%%\run\B2MVekHd_\nginx/%%userDataPath%%\run\B2MVekHd_\conf\nginx\nginx.conf” failed (3: The system cannot find the path specified)”,“timestamp”:“2023-06-15T19:13:58.635Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“code”:1,“signal”:null,“level”:“verbose”,“message”:“PID: 13812 closed with”,“timestamp”:“2023-06-15T19:13:58.644Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“pid”:13284,“level”:“verbose”,“message”:“Spawned”,“timestamp”:“2023-06-15T19:13:59.163Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“level”:“warn”,“message”:“nginx: [emerg] CreateFile() “%%userDataPath%%\run\B2MVekHd_\nginx/%%userDataPath%%\run\B2MVekHd_\conf\nginx\nginx.conf” failed (3: The system cannot find the path specified)”,“timestamp”:“2023-06-15T19:13:59.376Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“code”:1,“signal”:null,“level”:“verbose”,“message”:“PID: 13284 closed with”,“timestamp”:“2023-06-15T19:13:59.383Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-15T19:13:57.481501Z 0 [System] [MY-010116] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 12556”,“timestamp”:“2023-06-15T19:14:06.283Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-15T19:13:57.487659Z 0 [Warning] [MY-013243] [Server] --character-set-server: The character set UTF8MB3 is deprecated and will be removed in a future release. Please consider using UTF8MB4 instead.”,“timestamp”:“2023-06-15T19:14:06.284Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-15T19:14:06.193711Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2023-06-15T19:14:06.286Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2023-06-15T19:14:06.283693Z 0 [System] [MY-010931] [Server] %%resourcesPath%%\lightning-services\mysql-8.0.16+6\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10006 MySQL Community Server - GPL.”,“timestamp”:“2023-06-15T19:14:06.288Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Database responded to ping.”,“level”:“debug”,“timestamp”:“2023-06-15T19:14:07.004Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Setting up MySQL user…”,“level”:“info”,“timestamp”:“2023-06-15T19:14:10.776Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Database responded to ping.”,“level”:“debug”,“timestamp”:“2023-06-15T19:14:11.879Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Creating MySQL database…”,“level”:“info”,“timestamp”:“2023-06-15T19:14:12.990Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Init WordPressInstaller”,“level”:“info”,“timestamp”:“2023-06-15T19:14:14.100Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Starting standardInstall()”,“level”:“info”,“timestamp”:“2023-06-15T19:14:14.101Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“maybeGetLatestVersion()”,“level”:“info”,“timestamp”:“2023-06-15T19:14:14.102Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“latestOfflineWpVersion”:“6.2.2”,“level”:“info”,“message”:“Latest offline version info”,“timestamp”:“2023-06-15T19:14:14.103Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“version”:“6.2.2”,“download”:“https://downloads.wordpress.org/release/wordpress-6.2.2.tar.gz",“level”:“info”,“message”:"Latest version info”,“timestamp”:“2023-06-15T19:14:14.687Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Configuring wp-config.php”,“level”:“info”,“timestamp”:“2023-06-15T19:14:34.839Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Installing WordPress”,“level”:“info”,“timestamp”:“2023-06-15T19:14:38.003Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Attempting to delete Akismet and Hello Dolly”,“level”:“info”,“timestamp”:“2023-06-15T19:14:49.175Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Writing salts to wp-config.php”,“level”:“info”,“timestamp”:“2023-06-15T19:14:57.361Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Success: Added the constant ‘WP_ENVIRONMENT_TYPE’ to the ‘wp-config.php’ file with the value ‘local’.”,“level”:“info”,“timestamp”:“2023-06-15T19:15:12.403Z”}
{“thread”:“main”,“service”:{},“serviceBinVersion”:{},“message”:“Database responded to ping.”,“level”:“debug”,“timestamp”:“2023-06-15T19:15:20.630Z”}
Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.