Missing Host file

Hi support
I’m getting this error, Missing host file, this site may be inaccessible, I’m new to this so I have no idea where to start
thanks
Lisa

here is the log file
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\mailhog-1.0.0+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.501Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\mailhog-1.0.0+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.505Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\mariadb-10.4.10+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.506Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\mariadb-10.4.10+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.588Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\mysql-8.0.16+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.589Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\mysql-8.0.16+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.825Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\nginx-1.16.0+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.826Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\nginx-1.16.0+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.898Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Loading Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\php-7.3.5+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:42.899Z”}
{“thread”:“main”,“class”:“AddonLoaderService”,“level”:“info”,“message”:“Successfully Loaded Add-on: C:\Users\lisae\Local\resources\extraResources\lightning-services\php-7.3.5+3\lib\main.js”,“timestamp”:“2020-03-09T16:30:43.136Z”}
{“thread”:“main”,“class”:“SiteProvisionerService”,“message”:“Creating site folders…”,“level”:“info”,“timestamp”:“2020-03-09T16:35:26.192Z”}
{“thread”:“main”,“class”:“SiteProvisionerService”,“message”:“Copying service config templates…”,“level”:“info”,“timestamp”:“2020-03-09T16:35:26.198Z”}
{“thread”:“main”,“class”:“ConfigTemplatesService”,“message”:“Compiling service configs…”,“level”:“info”,“timestamp”:“2020-03-09T16:35:26.269Z”}
{“thread”:“main”,“dataPath”:“C:/Users/lisae/AppData/Roaming/Local/run/t3-BsTRa_/mysql/data”,“level”:“info”,“message”:“Initializing MySQL datadir…”,“timestamp”:“2020-03-09T16:35:26.418Z”}
{“thread”:“main”,“class”:“ConfigTemplatesService”,“message”:“Compiling service configs…”,“level”:“info”,“timestamp”:“2020-03-09T16:35:36.004Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2020-03-09T16:35:37.587Z”}
{“thread”:“main”,“message”:“Setting up MySQL user…”,“level”:“info”,“timestamp”:“2020-03-09T16:35:39.068Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T16:35:37.170469Z 0 [System] [MY-010116] [Server] C:\Users\lisae\Local\resources\extraResources\lightning-services\mysql-8.0.16+3\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 20248”,“timestamp”:“2020-03-09T16:35:41.511Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T16:35:37.176350Z 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”:“2020-03-09T16:35:41.512Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T16:35:41.470097Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2020-03-09T16:35:41.512Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T16:35:41.515017Z 0 [System] [MY-010931] [Server] C:\Users\lisae\Local\resources\extraResources\lightning-services\mysql-8.0.16+3\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10005 MySQL Community Server - GPL.”,“timestamp”:“2020-03-09T16:35:41.516Z”}
{“thread”:“main”,“message”:“Creating MySQL database…”,“level”:“info”,“timestamp”:“2020-03-09T16:35:42.185Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Init WordPressInstaller”,“level”:“info”,“timestamp”:“2020-03-09T16:35:42.465Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Starting standardInstall()”,“level”:“info”,“timestamp”:“2020-03-09T16:35:42.466Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“maybeGetLatestVersion()”,“level”:“info”,“timestamp”:“2020-03-09T16:35:42.467Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“latestOfflineWpVersion”:null,“level”:“info”,“message”:“Latest offline version info”,“timestamp”:“2020-03-09T16:35:42.468Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“version”:“5.3.2”,“download”:“https://downloads.wordpress.org/release/wordpress-5.3.2.tar.gz",“level”:“info”,“message”:"Latest version info”,“timestamp”:“2020-03-09T16:35:42.877Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“level”:“info”,“message”:“download()”,“timestamp”:“2020-03-09T16:35:42.878Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“level”:“info”,“message”:“Attempting to download WordPress”,“timestamp”:“2020-03-09T16:35:42.878Z”}
{“thread”:“main”,“class”:“HostsFileService”,“error”:{“message”:“Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n”,“stack”:“Error: Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n\n at C:\Users\lisae\Local\resources\app.asar\node_modules\sudo-prompt\index.js:555:25\n at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)”},“exitCode”:100,“level”:“error”,“message”:“Could not update hosts.”,“timestamp”:“2020-03-09T16:35:51.993Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Could not download WordPress.”,“level”:“error”,“timestamp”:“2020-03-09T16:36:03.676Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“code”:“ESOCKETTIMEDOUT”,“connect”:false,“level”:“error”,“stack”:“Error: ESOCKETTIMEDOUT\n at ClientRequest. (C:\Users\lisae\Local\resources\app.asar\node_modules\request\request.js:816:19)\n at Object.onceWrapper (events.js:291:20)\n at ClientRequest.emit (events.js:203:13)\n at TLSSocket.emitRequestTimeout (_http_client.js:680:40)\n at Object.onceWrapper (events.js:291:20)\n at TLSSocket.emit (events.js:203:13)\n at TLSSocket.Socket._onTimeout (net.js:434:8)\n at listOnTimeout (internal/timers.js:531:17)\n at processTimers (internal/timers.js:475:7)”,“message”:“ESOCKETTIMEDOUT”,“timestamp”:“2020-03-09T16:36:03.677Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“level”:“error”,“message”:“Error checking for latest version of WordPress”,“timestamp”:“2020-03-09T16:36:03.679Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Configuring wp-config.php”,“level”:“info”,“timestamp”:“2020-03-09T16:36:22.311Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Installing WordPress”,“level”:“info”,“timestamp”:“2020-03-09T16:36:25.150Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Deleting Akismet and Hello Dolly”,“level”:“info”,“timestamp”:“2020-03-09T16:36:30.013Z”}
{“thread”:“main”,“class”:“WordPressInstaller”,“message”:“Writing salts to wp-config.php”,“level”:“info”,“timestamp”:“2020-03-09T16:36:33.712Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2020-03-09T16:38:01.825Z”}
{“thread”:“main”,“class”:“HostsFileService”,“error”:{“message”:“User did not grant permission.”,“stack”:“Error: User did not grant permission.\n at C:\Users\lisae\Local\resources\app.asar\node_modules\sudo-prompt\index.js:534:29\n at ChildProcess.exithandler (child_process.js:315:5)\n at ChildProcess.emit (events.js:203:13)\n at maybeClose (internal/child_process.js:1021:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)”},“level”:“error”,“message”:“Could not update hosts.”,“timestamp”:“2020-03-09T16:38:09.413Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2020-03-09T16:40:59.788Z”}
{“thread”:“main”,“class”:“HostsFileService”,“error”:{“message”:“Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n”,“stack”:“Error: Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n\n at C:\Users\lisae\Local\resources\app.asar\node_modules\sudo-prompt\index.js:555:25\n at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)”},“exitCode”:100,“level”:“error”,“message”:“Could not update hosts.”,“timestamp”:“2020-03-09T16:41:05.040Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2020-03-09T16:52:20.042Z”}
{“thread”:“main”,“class”:“HostsFileService”,“error”:{“message”:“Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n”,“stack”:“Error: Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n\n at C:\Users\lisae\Local\resources\app.asar\node_modules\sudo-prompt\index.js:555:25\n at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)”},“exitCode”:100,“level”:“error”,“message”:“Could not update hosts.”,“timestamp”:“2020-03-09T16:52:48.717Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2020-03-09T17:29:51.314Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“pid”:1724,“level”:“info”,“message”:“Killing process”,“timestamp”:“2020-03-09T17:29:51.913Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mailhog”,“pid”:14176,“level”:“info”,“message”:“Killing process”,“timestamp”:“2020-03-09T17:29:52.222Z”}
{“thread”:“main”,“class”:“Process”,“process”:“phpCgi”,“pid”:19044,“level”:“info”,“message”:“Killing process”,“timestamp”:“2020-03-09T17:29:52.394Z”}
{“thread”:“main”,“class”:“Process”,“process”:“phpCgi”,“pid”:15788,“level”:“info”,“message”:“Killing process”,“timestamp”:“2020-03-09T17:29:52.596Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“pid”:10284,“level”:“info”,“message”:“Killing process”,“timestamp”:“2020-03-09T17:29:53.019Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2020-03-09T17:29:54.725Z”}
{“thread”:“main”,“class”:“HostsFileService”,“error”:{“message”:“Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n”,“stack”:“Error: Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n\n at C:\Users\lisae\Local\resources\app.asar\node_modules\sudo-prompt\index.js:555:25\n at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)”},“exitCode”:100,“level”:“error”,“message”:“Could not update hosts.”,“timestamp”:“2020-03-09T17:29:59.091Z”}
{“thread”:“main”,“class”:“ConfigTemplatesService”,“message”:“Compiling service configs…”,“level”:“info”,“timestamp”:“2020-03-09T17:37:11.787Z”}
{“thread”:“main”,“class”:“Process”,“process”:“nginx”,“pid”:18700,“level”:“info”,“message”:“Killing process”,“timestamp”:“2020-03-09T17:37:12.462Z”}
{“thread”:“main”,“class”:“HostsFileService”,“level”:“info”,“message”:“Updating hosts with”,“timestamp”:“2020-03-09T17:37:13.014Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T17:37:12.270643Z 0 [System] [MY-010116] [Server] C:\Users\lisae\Local\resources\extraResources\lightning-services\mysql-8.0.16+3\bin\win64\bin\mysqld.exe (mysqld 8.0.16) starting as process 16760”,“timestamp”:“2020-03-09T17:37:16.342Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T17:37:12.273117Z 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”:“2020-03-09T17:37:16.342Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T17:37:15.163105Z 0 [System] [MY-010229] [Server] Starting crash recovery…”,“timestamp”:“2020-03-09T17:37:16.343Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T17:37:15.177446Z 0 [System] [MY-010232] [Server] Crash recovery finished.”,“timestamp”:“2020-03-09T17:37:16.343Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T17:37:16.288988Z 0 [Warning] [MY-010068] [Server] CA certificate ca.pem is self signed.”,“timestamp”:“2020-03-09T17:37:16.343Z”}
{“thread”:“main”,“class”:“Process”,“process”:“mysql”,“level”:“warn”,“message”:“2020-03-09T17:37:16.345651Z 0 [System] [MY-010931] [Server] C:\Users\lisae\Local\resources\extraResources\lightning-services\mysql-8.0.16+3\bin\win64\bin\mysqld.exe: ready for connections. Version: ‘8.0.16’ socket: ‘’ port: 10005 MySQL Community Server - GPL.”,“timestamp”:“2020-03-09T17:37:16.346Z”}
{“thread”:“main”,“class”:“HostsFileService”,“error”:{“message”:“User did not grant permission.”,“stack”:“Error: User did not grant permission.\n at C:\Users\lisae\Local\resources\app.asar\node_modules\sudo-prompt\index.js:534:29\n at ChildProcess.exithandler (child_process.js:315:5)\n at ChildProcess.emit (events.js:203:13)\n at maybeClose (internal/child_process.js:1021:16)\n at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)”},“level”:“error”,“message”:“Could not update hosts.”,“timestamp”:“2020-03-09T17:37:18.609Z”}
{“thread”:“main”,“class”:“HostsFileService”,“error”:{“message”:“Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n”,“stack”:“Error: Command failed: “C:\Users\lisae\Local\Local.exe” “C:\Users\lisae\Local\resources\app.asar\main\dns\workers\updateHostsFileWorker.js” “aw.local” “www.aw.local”\r\n[Error: EPERM: operation not permitted, open ‘C:\WINDOWS\System32\drivers\etc\hosts’] {\n errno: -4048,\n code: ‘EPERM’,\n syscall: ‘open’,\n path: ‘C:\\WINDOWS\\System32\\drivers\\etc\\hosts’\n}\n\n at C:\Users\lisae\Local\resources\app.asar\node_modules\sudo-prompt\index.js:555:25\n at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61:3)”},“exitCode”:100,“level”:“error”,“message”:“Could not update hosts.”,“timestamp”:“2020-03-09T17:42:50.620Z”}

I also have a same issue. I have read almost all solutions but all of them didn’t work on me. Help us please. I am running out solutions :C. What should do ?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.