• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Windows Uniserver/Apache wont start after fresh windows 10 install

Jfrye

Mapper, trying to learn scripting
Joined
Jan 8, 2009
Messages
365
Solutions
5
Reaction score
86
Location
Mexico Missouri
Hey all. I had windows 10 crash the other day. Had to reformat both hard drives, and reinstall all my data. Now apache fails to start when I try.

Im not seeing any errors, it just says it Failed to start. I have already deleted Skype from the PC, and tried to disable the W3SVC, and neither of those have given me any luck. Does anyone have any ideas on how to get Apache going?

Microsoft says there is no possible way that it happened from them, and that I should contact apache for assistance.
 
Solution
Im going to mark this as solved. I ended up doing ANOTHER install of windows, which did nothing. To finally solve the issue, I had to reinstall Uniserver. So, I am not able to get Apache going, and log into the website.

EDIT : I made a typo. I am NOW able to use the apache server and website
Anything in the error log? Here:

b3ed1bb32f91ac96bb1cca108f138d16.png


You can also run netstat -aon | findstr :80 in cmd (administrator mode) to see if any other app is using port 80.
 
Last edited by a moderator:
Holy crap. That error log is HUGE.

Doing netstat in cmd says TCP 'my ip address':50622 151.101.44.193:80 ESTABLISHED 5500

There error log is so Big that I cannot even copy it to pastebin without it crashing the google tab.

EDIT -- After looking at the error log again, I have apparently had errors for months. I looked a little closer and found the most recent errors with the same date.

Code:
[Thu Jul 06 10:37:07.900355 2017] [core:warn] [pid 7752:tid 412] AH00098: pid file C:/UniServerZ/core/apache2/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Thu Jul 06 10:37:08.234817 2017] [mpm_winnt:notice] [pid 7752:tid 412] AH00455: Apache/2.4.16 (Win32) PHP/5.4.45 configured -- resuming normal operations
[Thu Jul 06 10:37:08.235316 2017] [mpm_winnt:notice] [pid 7752:tid 412] AH00456: Apache Lounge VC10 Server built: Jul 12 2015 13:26:53
[Thu Jul 06 10:37:08.235316 2017] [core:notice] [pid 7752:tid 412] AH00094: Command line: 'C:\\UniServerZ\\core\\apache2\\bin\\httpd_z.exe -d C:/UniServerZ/core/apache2 -f C:\\UniServerZ\\core\\apache2\\conf\\httpd.conf -d C:\\UniServerZ\\core\\apache2'
[Thu Jul 06 10:37:08.237817 2017] [mpm_winnt:notice] [pid 7752:tid 412] AH00418: Parent: Created child process 4808
[Thu Jul 06 10:37:08.991052 2017] [mpm_winnt:notice] [pid 4808:tid 820] AH00354: Child: Starting 150 worker threads.
[Thu Jul 06 12:31:38.196488 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:33214] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 705
[Thu Jul 06 12:31:38.196488 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:33214] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 706
[Thu Jul 06 12:31:38.196488 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:33214] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 707
[Thu Jul 06 12:31:38.196488 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:33214] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 736
[Thu Jul 06 12:31:38.196488 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:33214] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 737
[Thu Jul 06 12:31:39.533602 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:33214] PHP Warning:  include(layout/widgets/top5.php): failed to open stream: No such file or directory in C:\\UniServerZ\\www\\layout\\overall\\footer.php on line 20
[Thu Jul 06 12:31:39.534602 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:33214] PHP Warning:  include(): Failed opening 'layout/widgets/top5.php' for inclusion (include_path='.;C:/UniServerZ/home/us_pear/PEAR') in C:\\UniServerZ\\www\\layout\\overall\\footer.php on line 20
[Thu Jul 06 13:31:38.741527 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:55997] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 705
[Thu Jul 06 13:31:38.741527 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:55997] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 706
[Thu Jul 06 13:31:38.741527 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:55997] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 707
[Thu Jul 06 13:31:38.741527 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:55997] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 736
[Thu Jul 06 13:31:38.741527 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:55997] PHP Notice:  Undefined index: HTTP_HOST in C:\\UniServerZ\\www\\config.php on line 737
[Thu Jul 06 13:31:39.757422 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:55997] PHP Warning:  include(layout/widgets/top5.php): failed to open stream: No such file or directory in C:\\UniServerZ\\www\\layout\\overall\\footer.php on line 20
[Thu Jul 06 13:31:39.757422 2017] [:error] [pid 4808:tid 2032] [client 91.230.47.3:55997] PHP Warning:  include(): Failed opening 'layout/widgets/top5.php' for inclusion (include_path='.;C:/UniServerZ/home/us_pear/PEAR') in C:\\UniServerZ\\www\\layout\\overall\\footer.php on line 20
 
Last edited:
Im going to mark this as solved. I ended up doing ANOTHER install of windows, which did nothing. To finally solve the issue, I had to reinstall Uniserver. So, I am not able to get Apache going, and log into the website.

EDIT : I made a typo. I am NOW able to use the apache server and website
 
Last edited:
Solution
Back
Top