elimn Posted July 5, 2013 Report Share Posted July 5, 2013 I have a completely fresh install of UniServerZ running on a week old install of Windows 8 Pro. When I start Controller and click Start Apache, the controller program seemingly locks and Windows shows "Not Responding" in the title bar. However, after a minute a popup displays saying "Failed to start Apache" and the controller resumes being responsive. The weird thing is, Apache seems to have started fine. The splash screen auto loads, and I seem to have a fully functioning server. If I click Start MySQL the same thing happens, only after a minute I get "Failed to start MySQL". Again though, MySQL appears to run fine. The problem is that UniController still thinks the services are not running. So, it does not give me buttons to stop either service, and it has red a red status next to each button. So the only way for me to stop these services is by ending them in Task Manager. Here is my Apache error.log: [Fri Jul 05 13:21:04.057964 2013] [mpm_winnt:notice] [pid 3056:tid 568] AH00455: Apache/2.4.3 (Win32) PHP/5.4.15 configured -- resuming normal operations [Fri Jul 05 13:21:04.057964 2013] [mpm_winnt:notice] [pid 3056:tid 568] AH00456: Server built: Aug 20 2012 14:21:37 [Fri Jul 05 13:21:04.057964 2013] [core:notice] [pid 3056:tid 568] AH00094: Command line: 'D:\\Downloads\\UniServerZ\\core\\apache2\\bin\\httpd_z.exe -d D:/Downloads/UniServerZ/core/apache2 -f D:\\Downloads\\UniServerZ\\core\\apache2\\conf\\httpd.conf -d D:\\Downloads\\UniServerZ\\core\\apache2' [Fri Jul 05 13:21:04.057964 2013] [mpm_winnt:notice] [pid 3056:tid 568] AH00418: Parent: Created child process 3868 [Fri Jul 05 13:21:04.340546 2013] [mpm_winnt:notice] [pid 3868:tid 580] AH00354: Child: Starting 150 worker threads. It does this for UniServerZ verzion 10.0.0 and the latest 10.1.2. Does anyone have any ideas on how I can fix this? Is it a Windows 8 thing? I had a similar issue with the version 9.0 RCs, but at least they still provided a Kill button even if it did not properly detect the startup. Quote Link to comment Share on other sites More sharing options...
logishkas Posted July 5, 2013 Report Share Posted July 5, 2013 I have the very same problem on Windows 8 Ultimate x64. Anyone have any ideas? Quote Link to comment Share on other sites More sharing options...
elimn Posted July 6, 2013 Author Report Share Posted July 6, 2013 I have the very same problem on Windows 8 Ultimate x64. Anyone have any ideas?Did you mean Windows 7 Ultimate? I do not believe there is a Windows 8 Ultimate: http://en.wikipedia.org/wiki/Windows_8_editions. Not to be pedantic, right now the version number of Windows is my primary suspect. So if you are actually on 7 that would throw my theory out the Window, as I did not have this issue with 7. Quote Link to comment Share on other sites More sharing options...
Ric Posted July 6, 2013 Report Share Posted July 6, 2013 It looks like a bug! Would you please run a netstat command and post the results.Proceed as follows:a) Run UniController Start Apache as above (wait for 1 minute until it displays failed)c) Start a command window by clicking “Server Console” buttond) Type the following command: netstat -anop tcpe) Right click on the banner “SERVER Command Console” and navigate to “Edit” and click “Select All”f) Right click on the banner “SERVER Command Console” again and navigate to “Edit” and click “Copy”g) You can now paste the result into a text editor or directly past to the forum. Thank youRic Quote Link to comment Share on other sites More sharing options...
logishkas Posted July 6, 2013 Report Share Posted July 6, 2013 elimn, I meant Windows 8 Enterprise x64, my bad. These are my results: http://pastebin.com/JUQvGTPp Thanks, Ric! Quote Link to comment Share on other sites More sharing options...
Ric Posted July 7, 2013 Report Share Posted July 7, 2013 Thank you for taking time to run the above test. Results you posted show W8 netstat command output format is identical to XP and W7 hence not a problem. The Apache start-up safety timer is set to 30 seconds, in terms of processor time this is extremely large. It looks as if the safety timer code could be the problem this is relatively easy to check precede as follows: a) Create two new folders C:\z_test_1 and C:\z_test_1b ) In each of these folders extract Zero-10.1.2c) Navigate to folder z_test_1/UniServerZStart UniControllerStart ApacheStart MySQLWait for the servers to start (fail)Close UniController (Do not kill the servers until end of test)d) Navigate to folder z_test_2/UniServerZe) Start UniController Expected result:A pop-up is displayed “Warning ports in use by another application” Apache port = 80Application PID =Application Name = httpd_z.exeApplication Path = C:\z_test_1\UniServerZ\core\apache2\bin\httpd_z.exe I am interested in the above four lines could you please post results that you obtain.For completeness also include the MySQL port results. Intention is to isolate problems specific to your PC configuration. Thank youRic Quote Link to comment Share on other sites More sharing options...
logishkas Posted July 7, 2013 Report Share Posted July 7, 2013 The expected popup was not displayed at all. Anything else I could test? I'd be more than glad to do that. Thanks again for the effort, Ric. Quote Link to comment Share on other sites More sharing options...
Hetasser Posted July 11, 2013 Report Share Posted July 11, 2013 HiI have the same kind of problem, although with W7 Enterprise SP1 :MySQL started fine, but Apache just freezes the console for 30 seconds before a popup "apache failed to start", well, pops up (mysqld_z is started, but not httpd_z in my process explorer) if it can help, I created my USZ folder in this orderControllerApache2.4.4mysql5.6.12php5.5.0-1.0.1adminer3.7.1 should I create a new thread for this problem, or stay in this one ? by the way, the non-Z version works just fine, so I will stick with this one until USZ runs, so there is no rush, I mainly wanted to test USZ Thanks Quote Link to comment Share on other sites More sharing options...
elimn Posted July 17, 2013 Author Report Share Posted July 17, 2013 My netstat -anop tcp results: http://pastebin.com/ahGKFcaD Ric, like logishkas I do not get a popup on step E. After waiting a while for the popup, I decided to click Start Apache on UniController #2. Unlike before where UniController #1 seemed to lockup for 30 seconds, UniController #2 never locks up. Furthermore the splash/Start-up pages instantly loaded in my browser and there was no "Failed to start..." error. However, UniController #2 still shows Apache as red and does not give me buttons to kill it. I was suspicious that the first instance of Apache (C:\z_test_1\UniServerZ\core\apache2\bin\httpd_z.exe) was still running, and the second instance never overrode it. To test this, I added a file to C:\z_test_1\www\, and then navigated to and successfully found it in my browser. While it might be expected behavior for the second instance to not take over port 80, if it is not expected I hope this information helps you debug. If you think this is a Windows 8 issue but you do not possess that version, for what it is worth you can download virtual machine images of Windows 8 direct from Microsoft: http://www.modern.ie/en-us/virtualization-tools#downloads. Once downloaded, it took me less than 10 minutes to extract and boot to the Windows 8 Desktop. Hetasser, I think you are facing a different issue. You are able to start MySQL, we are not. For me httpd_z.exe loads up fine as a process and is a working webserver, it simply is not detected by UniController. Have you tried disabling your antivirus? Quote Link to comment Share on other sites More sharing options...
Ric Posted July 17, 2013 Report Share Posted July 17, 2013 Try the new controller Zero_Controller_10_1_0.exe, port in use detection has been modified. All the bestRic Quote Link to comment Share on other sites More sharing options...
elimn Posted July 26, 2013 Author Report Share Posted July 26, 2013 That works brilliantly. Thank you for taking the time to fix. [solved] Quote Link to comment Share on other sites More sharing options...
WebServerMania Posted August 23, 2014 Report Share Posted August 23, 2014 I am having the same problem on my freshly installed Windows Server 2008... Nothing above has fixed. PLEASE help me fix it :/ Quote Link to comment Share on other sites More sharing options...
Lawrence Kin Posted November 6, 2020 Report Share Posted November 6, 2020 C:\pos\UniServerZ>netstat -anop tcp Active Connections Proto Local Address Foreign Address State PID TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 852 TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:49408 0.0.0.0:0 LISTENING 560 TCP 0.0.0.0:49409 0.0.0.0:0 LISTENING 984 TCP 0.0.0.0:49410 0.0.0.0:0 LISTENING 1140 TCP 0.0.0.0:49411 0.0.0.0:0 LISTENING 1516 TCP 0.0.0.0:49412 0.0.0.0:0 LISTENING 640 TCP 0.0.0.0:49413 0.0.0.0:0 LISTENING 632 TCP 192.168.254.124:139 0.0.0.0:0 LISTENING 4 TCP 192.168.254.124:49445 203.177.62.160:80 ESTABLISHED 2616 TCP 192.168.254.124:49590 216.58.197.115:443 ESTABLISHED 3820 TCP 192.168.254.124:49649 216.58.197.115:443 CLOSE_WAIT 3820 TCP 192.168.254.124:49650 172.217.161.3:443 TIME_WAIT 0 TCP 192.168.254.124:49661 108.179.211.120:80 ESTABLISHED 3820 TCP 192.168.254.124:49664 108.179.211.120:80 TIME_WAIT 0 TCP 192.168.254.124:49665 207.174.214.245:80 TIME_WAIT 0 TCP 192.168.254.124:49666 207.174.214.245:80 TIME_WAIT 0 TCP 192.168.254.124:49668 65.55.252.93:443 SYN_SENT 984 C:\pos\UniServerZ> Quote Link to comment Share on other sites More sharing options...
Lawrence Kin Posted November 6, 2020 Report Share Posted November 6, 2020 On 7/6/2013 at 5:30 PM, Ric said: C:\pos\UniServerZ>netstat -anop tcp Active Connections Proto Local Address Foreign Address State PID TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 852 TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:5357 0.0.0.0:0 LISTENING 4 TCP 0.0.0.0:49408 0.0.0.0:0 LISTENING 560 TCP 0.0.0.0:49409 0.0.0.0:0 LISTENING 984 TCP 0.0.0.0:49410 0.0.0.0:0 LISTENING 1140 TCP 0.0.0.0:49411 0.0.0.0:0 LISTENING 1516 TCP 0.0.0.0:49412 0.0.0.0:0 LISTENING 640 TCP 0.0.0.0:49413 0.0.0.0:0 LISTENING 632 TCP 192.168.254.124:139 0.0.0.0:0 LISTENING 4 TCP 192.168.254.124:49445 203.177.62.160:80 ESTABLISHED 2616 TCP 192.168.254.124:49590 216.58.197.115:443 ESTABLISHED 3820 TCP 192.168.254.124:49649 216.58.197.115:443 CLOSE_WAIT 3820 TCP 192.168.254.124:49650 172.217.161.3:443 TIME_WAIT 0 TCP 192.168.254.124:49661 108.179.211.120:80 ESTABLISHED 3820 TCP 192.168.254.124:49664 108.179.211.120:80 TIME_WAIT 0 TCP 192.168.254.124:49665 207.174.214.245:80 TIME_WAIT 0 TCP 192.168.254.124:49666 207.174.214.245:80 TIME_WAIT 0 TCP 192.168.254.124:49668 65.55.252.93:443 SYN_SENT 984 C:\pos\UniServerZ> I don't know how to fix apache because it keeps on failing even though I tried to change the port. Still the problem won't be fixed. Can you please help me understand the problem so that I could find a way to fix it. Thank you in advance Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.