Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 01, 2017 10:45PM

"Before running the install, you must read these prerequisites:"

First install on Windows 10, at root, all VC packages present, no skype, IIS off.


Installation freezes on "Setup -Wampserver Preparing to Install, etc." Has to be killed in taskmanager.


Reviews at Sourceforge look like installations starting seriously failing in June.


Windows 10 is the deathknell of computing and the internet. I am THROUGH with microsoft.

Options: ReplyQuote
Re: Preparing to install
Posted by: RiggsFolly (Moderator)
Date: July 02, 2017 02:01AM

It works just fine on my Windows 10.

Start by making sure that all the MSVC runtimes mantioned in this post are installed, they dont come out of the box with Windows 10.

WAMPServer 3 All you need to know

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 03, 2017 04:14AM

Thank you for the reply. I really appreciate any help you can offer. I have little experience with networking/sys admin issues that seem to be required in the troubleshooting, but I'm doing what I can. I'm trying to get wamp going so I can learn and work on wordpress locally instead of in the wild. I'm now about twenty hours into trying to get wamp installed, and almost ready to give it up and take a crack at dentistry instead. Pardon my sarcasm -- I'm exasperated (not with wamp, but with Bill Gates and his windows 10 frankenstein monster).

The experimental checker showed all the VC++ files were there. So, I went through all sixteen VC++ files (eight 32 bit and eight 64 bit) you list at the bottom of "WAMPServer 3 All you need to know", and clicked on repair. I tried installing again, and it didn't hang up this time.

However, after installation, there is no green icon in the task bar, no indication of any wamp folders at the C:\ root, no new programs installed, or any other way I can find to launch wamp. I can't find anything to uninstall to try for a clean installation. The only indication of a wamp folder is in the command line checks below: C:\VTRoot\HarddiskVolume4\wamp64, but I don't know what to do with this info.

I have gone through the twenty-plus items of the troubleshooter several times, and I'm at a loss.

- Show files, folders and hidden drives is checked

- Hide extensions of known file types is unchecked

- 01 first install

- 02 run as admin

- 03 no Skype

- 04 there is no icon in the taskbar

- 05 I see neither Apache nor MySQL services nor wampapache(64) nor wampmysqld(64) appear in Services (task manager>services)

- 06 C:\VTRoot\HarddiskVolume4\wamp64\bin\php5.6.25 1 file
C:\VTRoot\HarddiskVolume4\wamp64\bin\php7.0.10 1 file

-07 C:\VTRoot\HarddiskVolume4\wamp64\bin\msql\mysql5.7.14 1 file

-08 IIS not installed

-09 '#' cleared from 127.0.0.1 localhost and ::1 localhost (Ipv6 supported)

-10 Avira anti-virus; scan shows none of the listed files blocked, no files in quarantine

-11 no other servers installed

-12 wamp folder? where?

-13 There were several errors "App Container profile failed with error 0x800700B7 because it was unable to
register the AppContainer SID." Other errors relating to microsoft (windowslive.calendar,.windowscommunicationsapps, microsoft office, etc) but nothing concerning wamp, php,mysql, etc.

-14 firewall has custom rules to permit inbound 80 and 3306. Does outbound need to be permitted as well?

-15 wampserver has not been uninstalled. I can't find it to uninstall it (doesn't show in ccleaner, for example)

-16 64 bit computer. It would be helpful to advise on the install page that 64bit is considered experimental and that 32 bit is preferred. I didn't notice that until step 16 of the troubleshooting checklist.

-17 n/a (wamp doesn't launch)

-18 n/a

-19 n/a

-20 all VC++ packages (both 32 & 64 bit ) are installed; confirmed by experimental tool.

-21 n/a


Please let me know if any of these items needs to be clarified, or if I misunderstood the the question.

Lastly, the troubleshooting page has a seventeenth VC++ file to install (Update for Universal C Runtime in Windows), that is not on the list at wampserverDOTaviatechnoDOTnet/ or in any of the other lists of VC++ files to install. Is that an issue?

Thanks again for any help.

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 03, 2017 04:40AM

Thirteen answers, sort of....

1 - Windows 10 64 bit
2 - Version WampServer WampServer 64 bits (x64) 3.0.6
3 - Apache Version 2.4.23
4 - PHP Version 5.6.25/7.0.10
5 - MySQL 5.7.14
6 - What color is the WampServer icon (in the notification area of the taskbar) There is no icon


a - Apache error log N/A
b - MySQL error log N/A
c - PHP error log N/A

d N/A

7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines with the name [localhost] in them?
127.0.0.1 localhost
::1 localhost


8 N/A

9 N/A

10 -N/A
11 Avira AV, windows firewall
12 C:\VTRoot\HarddiskVolume4\wamp64 (??)

13 N/A


I don't even know what my question is.
What the heck is C:\VTRoot\HarddiskVolume4\wamp64\ ?
How can I uninstall a program that doesn't appear anywhere?

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 03, 2017 06:25AM

One more thing: I double-checked my hosts file, and saw that the '#' was back at the front of the two lines for IPv4/IPv6 localhost. I had ryn as admin and unchecked read-only from the properties, but I forgot about AV/ASW programs lurking in the background that had to be disabled. So, now, the hosts file is as recommended in the installation steps, but this won't do me any good since wamp had been previously and incorrectly installed, will it?

Options: ReplyQuote
Re: Preparing to install
Posted by: RiggsFolly (Moderator)
Date: July 03, 2017 10:12AM

This folder C:\VTRoot got me thinking.

As far as I can tell, this is created/used by Comodo Anti Virus. something you dont say you are using?

And unfortunatey neither do I. But it appears to be the sandbox folder. Now exactly what sandboxing WAMPServer will do to it I am not really sure, but it would appear to be doing it no good at all.

Can I suggest that you try turning it off, at least while attempting to install WAMPServer.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 04, 2017 09:52AM

Yes, you're absolutely right, and I'm an idiot. I thought the empty "Quarantine" on Comodo main screen was the sandbox, but teh sandbox is apparently "Containment," buried several screen layers down in the settings. I disabled Comodo and switched to windows firewall to open up the ports, not realizing Comodo had sandboxed wamp. Simply switching to windows firewall of course didn't do any good because wamp64 was already in the sandbox. I also tried installing wamp32, but with the same results. After your insight about the VTRoot folder being the Comnodo sandbox, I found the settings in Comodo to unblock wamp, figured out (I think) how to keep ports 80 & 3306 open, deleted the VTRoot wamp folders in CCleaner, and tried to install wamp 32 again.

It installed, I launched wamp, and got as far as the orange icon. Checking services, apache isn't loading. I tried using each firewall in turn one at a time, and then with no firewall, but apache still won't load, no green icon.

But wait, it gets worse! Everything loads into the correct root wamp folder EXCEPT the Apache error logs which - wait for it... - which were put into VTRoot, even though I had comodo sandbox disabled! I renamed the wamp log folder in VTRoot, deleted the original folder, launched wamp again (this time with no firewall active), and a new wamp log folder was created in VTRoot, only this time, all folder and file permissions have been removed. I mean really removed. I can't open it in notepad as admin. I can't change file permissions and user roles for the file. I created the hidden windows 10 super administrator account, and even that won't let me modifiy or even open the file. However, I had renamed the first error log the first time through, so I am able include it below.

Between comodo weirdness and windows 10 psychosis, I hope I haven't screwed the pooch on this..

The New & Improved Answers to your 13 questions (which make more sense now that I at least have wamp installed):

1 Windows 10 64 bit
2 Wampserver 3.0.6 32 bit x86
3 Apache Version 2.4.23
4 PHP Version 5.6.25
5 MySQL 5.7.14
6 orange

Apache error log:

[Mon Jul 03 18:33:48.405921 2017] [auth_digest:notice] [pid 9320:tid 700] AH01757: generating secret for digest authentication ...
[Mon Jul 03 18:33:48.755660 2017] [mpm_winnt:notice] [pid 9320:tid 700] AH00455: Apache/2.4.23 (Win32) PHP/5.6.25 configured -- resuming normal operations
[Mon Jul 03 18:33:48.755660 2017] [mpm_winnt:notice] [pid 9320:tid 700] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:09:37
[Mon Jul 03 18:33:48.755660 2017] [core:notice] [pid 9320:tid 700] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.23'
[Mon Jul 03 18:33:48.763660 2017] [mpm_winnt:notice] [pid 9320:tid 700] AH00418: Parent: Created child process 6480
[Mon Jul 03 18:33:50.537937 2017] [auth_digest:notice] [pid 6480:tid 596] AH01757: generating secret for digest authentication ...
[Mon Jul 03 18:33:50.666220 2017] [mpm_winnt:notice] [pid 6480:tid 596] AH00354: Child: Starting 64 worker threads.
[Mon Jul 03 18:42:48.291635 2017] [mpm_winnt:notice] [pid 9320:tid 700] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Mon Jul 03 18:42:50.323180 2017] [mpm_winnt:notice] [pid 6480:tid 596] AH00364: Child: All worker threads have exited.
[Mon Jul 03 18:42:50.370055 2017] [mpm_winnt:notice] [pid 9320:tid 700] AH00430: Parent: Child process 6480 exited successfully.
[Mon Jul 03 18:47:19.515161 2017] [auth_digest:notice] [pid 6452:tid 1188] AH01757: generating secret for digest authentication ...
[Mon Jul 03 18:47:19.968184 2017] [mpm_winnt:notice] [pid 6452:tid 1188] AH00455: Apache/2.4.23 (Win32) PHP/5.6.25 configured -- resuming normal operations
[Mon Jul 03 18:47:19.968184 2017] [mpm_winnt:notice] [pid 6452:tid 1188] AH00456: Apache Lounge VC14 Server built: Jul 1 2016 11:09:37
[Mon Jul 03 18:47:19.968184 2017] [core:notice] [pid 6452:tid 1188] AH00094: Command line: 'c:\\wamp\\bin\\apache\\apache2.4.23\\bin\\httpd.exe -d C:/wamp/bin/apache/apache2.4.23'
[Mon Jul 03 18:47:19.999424 2017] [mpm_winnt:notice] [pid 6452:tid 1188] AH00418: Parent: Created child process 7092
[Mon Jul 03 18:47:27.596845 2017] [auth_digest:notice] [pid 7092:tid 1120] AH01757: generating secret for digest authentication ...
[Mon Jul 03 18:47:27.986783 2017] [mpm_winnt:notice] [pid 7092:tid 1120] AH00354: Child: Starting 64 worker threads.

Apache access log
127.0.0.1 - - [03/Jul/2017:20:00:40 -0700] "GET / HTTP/1.1" 200 5377

Event viewer log:
Event ID 3299
The Apache service named reported the following error:
>>> AH00451: no listening sockets available, shutting down

The Apache service named reported the following error:
>>> (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address [::]:80 .


7 127.0.0.1 localhost
::1 localhost


8 N/A

9. No

10 noted

11 Avira AV, alternately Windows Firewall or Comodo (not both simultaneously)

12 C:\wamp

13 N/A


Thanks in advance for any further help with this.

Options: ReplyQuote
Re: Preparing to install
Posted by: RiggsFolly (Moderator)
Date: July 04, 2017 10:04AM

Hi

This looks like something else is already using port 80 (the default webserver port number)

Can you run these following 2 lines of code in a command window
netstat -anop TCP | find ":80"
tasklist /FI "PID eq 999" /FO TABLE /NH

replacing 999 with the PID number from the previous command that is using port 80.

Here is a sample output, yours of course will be different

D:\php_source>netstat -anop TCP | find ":80"
  TCP    0.0.0.0:80             0.0.0.0:0              LISTENING       6224
  TCP    192.168.2.11:49156     90.181.227.230:80      ESTABLISHED     604
  TCP    192.168.2.11:49163     77.234.43.24:80        ESTABLISHED     1864
  TCP    192.168.2.11:49394     50.7.100.202:80        CLOSE_WAIT      604
  TCP    192.168.2.11:49571     89.31.144.147:80       TIME_WAIT       0
  TCP    192.168.2.11:49572     89.31.144.147:80       TIME_WAIT       0

D:\php_source>tasklist /FI "PID eq 6224" /FO TABLE /NH

httpd.exe                     6224 Services                   0     25,784 K

D:\php_source>


Can you then copy paste the results of your attempt into here, so we can see what might be using port 80



It is most likely IIS as MS seem to think that needs installing on everybodies PC nowadays, but to be sure lets see the output first.

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 07/04/2017 10:29AM by RiggsFolly.

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 04, 2017 10:11AM

I thought I followed the instructions for IIS in the troubleshooter, but maybe I muffed it.

Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>netstat -anop TCP | find ":80"
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 6880
TCP 192.168.1.247:52368 89.31.144.147:80 TIME_WAIT 0
TCP 192.168.1.247:52370 89.31.144.147:80 TIME_WAIT 0
TCP 192.168.1.247:52371 89.31.144.147:80 TIME_WAIT 0
TCP 192.168.1.247:52372 89.31.144.147:80 TIME_WAIT 0
TCP 192.168.1.247:52382 89.31.144.147:80 TIME_WAIT 0

C:\WINDOWS\system32>tasklist /FI "PID eq 999" /FO TABLE /NH
INFO: No tasks are running which match the specified criteria.

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 04, 2017 10:19AM

08 - Do you have IIS installed?

(W10) Uncheck :
-- Main instance Web of Internet Information Services (IIS)
-- All items of the branch : Internet Information Services

------------

There is no "Web of Internet Information Services (IIS)" in Windows Programs & Features, but Internet Information Services is unticked from top to bottom.

Options: ReplyQuote
Re: Preparing to install
Posted by: RiggsFolly (Moderator)
Date: July 04, 2017 10:27AM

You didnt follow the instructions, you need to change 999 to be the pid number 6880 in your case

So the tasklist command you should have used is

tasklist /FI "PID eq 6880" /FO TABLE /NH

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 04, 2017 10:35AM

yup.


C:\WINDOWS\system32>netstat -anop TCP | find ":80"
TCP 0.0.0.0:80 0.0.0.0:0 LISTENING 6880

C:\WINDOWS\system32>tasklist /FI "PID eq 6880" /FO TABLE /NH

httpd.exe 6880 Services 0 14,472 K

C:\WINDOWS\system32>

Options: ReplyQuote
Re: Preparing to install
Posted by: RiggsFolly (Moderator)
Date: July 04, 2017 11:10AM

So apache is running.

Ok I missed the TCPv6 info, so now try

netstat -anop TCPV6 | find ":80"

As we are actually interested in the error `could not bind to address [::]:80` which is on the TCPV6 network.

Out of interest, have you followed some dodgy advice to disable your TCPV6 network, have you?

---------------------------------------------------------------------------------------------
(Windows 10 Pro 64bit) (Wampserver 3.3.4 64bit) Aestan Tray Menu 3.2.5.4
<Apache versions MULTIPE> <PHP versions MULTIPLE> <MySQL Versions MULTIPLE>
<MariaDB versions MULTIPLE> <phpMyAdmin versions MULTIPLE> <MySQL Workbench 8.0.23>

Read The Manuals Apache -- MySQL -- PHP -- phpMyAdmin
Get your Apache/MySQL/mariaDB/PHP ADDONs here from the WAMPServer alternate Repo
-X-X-X- Backup your databases regularly Here is How dont regret it later! Yes even when developing -X-X-X-



Edited 1 time(s). Last edit at 07/04/2017 12:10PM by RiggsFolly.

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 04, 2017 09:18PM

"Out of interest, have you followed some dodgy advice to disable your TCPV6 network, have you?"

Not that I recall, but it's entirely possible...What are the most likely ways I would be able to disable TCPV6? I have everything disabled now in Comodo, and am just using the native firewall.

This also might be relevant: The first time I load wamp after a boot, I get this error:
httpd.exe Application Error
The application was unable to start correxctly (0xc0000142).

The second time I try to launch, I get the orange icon. Until now, when I try to load after the initial error message above, the orange icon appears briefly and then vanishes. So, it seems I'm now going backwards...</soupir>...


Microsoft Windows [Version 10.0.15063]
(c) 2017 Microsoft Corporation. All rights reserved.

C:\WINDOWS\system32>netstat -anop TCPV6 | find ":80"
TCP [::]:80 [::]:0 LISTENING 6880
TCP [2602:306:cd03:5f20:9090:cd4b:3a61:ba5e]:54304 [2607:f8b0:4002:808::200e]:443 ESTABLISHED 3868
TCP [2602:306:cd03:5f20:9090:cd4b:3a61:ba5e]:54305 [2607:f8b0:4007:807::200e]:80 ESTABLISHED 3868
TCP [2602:306:cd03:5f20:9090:cd4b:3a61:ba5e]:54316 [2607:f8b0:4007:80d::200a]:80 ESTABLISHED 3868
TCP [2602:306:cd03:5f20:9090:cd4b:3a61:ba5e]:54317 [2607:f8b0:4007:808::200a]:80 ESTABLISHED 3868
TCP [2602:306:cd03:5f20:9090:cd4b:3a61:ba5e]:54318 [2607:f8b0:4007:80c::2003]:80 ESTABLISHED 3868

C:\WINDOWS\system32>

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 04, 2017 10:58PM

Okay, after endless tinkering, tuning off all AV, firewall, and AWS, I have the orange icon back. Turning back on one by one, it seems maybe spybot was contributing to this mess. Still, Apache Services Admin shows green start, MySql e Services Admin shows red stop button, and php opens to a blank browser screen.

I traced the problem I noted above deleting wamp apache log files from VTRoot to two files that can't be deleted because they are being used by httpd.exe (this after a boot and before launching wamp).

I think at this point I'm going to uninstall wamp and try to reinstall and launch with all AV, firewall, and AWS disabled to see if I can get to the green icon.

Getting to the green icon...this is almost like a video game, without the wizards and wenches...

Options: ReplyQuote
Re: Preparing to install
Posted by: whiskytango (---.lightspeed.sntcca.sbcglobal.net)
Date: July 05, 2017 12:15AM

Okay, after massaging and/or deleting various security programs, all services are active and I can reach the php welcome screen. I guess I learned the hazards of too much security...

Thanks for the help and feedback. If I have any further issues, I'll try to resolve them before wasting your unpaid time.

Options: ReplyQuote


Sorry, only registered users may post in this forum.