Pages: 12Next
Current Page: 1 of 2
Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 20, 2017 03:07PM

Hi, I'd really appreciate some help to get Wamp running properly on my PC. I only use it to view websites offline so I'm afraid my technical knowledge is limited.

Each week WAMP stops working on my Windows 10 PC - 2 out of 3 services are running and I get an error message about a bad image and the file above not designed to run on Windows or it contains an error.

I've used the program from this thread [forum.wampserver.com] - which checks I have the right VC++ packages installed and I do. I also don't have Skype installed.

I could delete the program again, reinstall it and it will work again, but only for a while or until I close it.

Any ideas as to what could be happening?

Thanks



Edited 2 time(s). Last edit at 10/20/2017 03:54PM by Jayne.

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 20, 2017 05:40PM

Hi,

> Each week WAMP stops working on my Windows 10 PC - 2 out of 3 services are running and I get an error
> message about a bad image and the file above not designed to run on Windows or it contains an error.

It's a good start to say that a service does not start as well as say that there are errors.
But we must go further and specify:
- What service does not start
- What are the EXACTS and COMPLETE error messages and under what conditions they occur.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 20, 2017 07:24PM

Hi, thanks for getting back to me.

I reinstalled Wamp and it started working for me again - but when I accidentally clicked restart all services it went back to just "local server - 2 of 3 services running" when I hovered over the Orand Wamp symbol in the system tray.

If I try to open Wamp up, after closing it down, I get the following error message c:\wamp64\bin\apache\apache2.4.27\bin\libhttpd.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator. Error status Oxc0000020.

I get an identical error message for the file c:\wamp64\bin\apache2.4.27\bin\libapr-1.dll

I'm afraid I don't know how to find out which ones are running and which aren't - could you tell me please and I will check>

Thanks



Edited 1 time(s). Last edit at 10/20/2017 07:39PM by Jayne.

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 20, 2017 07:59PM

Hi,

- 1 - Windows MUST BE up to date. All updates must be applied.

- 2 - - Verify that all VC ++ packages are installed and with the latest versions.
To do this, use the tool:
Checks VC++ packages installed
And you will find all the packages on [wampserver.aviatechno.net] in section Visual C++ Redistribuable Packages
Do not forget that if you have a 64 bit Windows, you must install both 32 and 64 bit versions of each package.
You must install each package "as an administrator", so right-click the exe file and then run as Administrator.

- 3 - It would be nice to know your environment, so: READ (and answer) BEFORE YOU ASK A QUESTION

- 4 - Wampserver includes many built-in tools, for example:
Right-Click wampmanager tray icon -> Tools -> Check state of services

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 20, 2017 10:51PM

Hi again,

My Windows is up-to-date and I have all the VC++ packages installed.

This is what my State of Services says -
State of services:

The service 'wampapache64' is NOT started
EXIT error code:0
Help message for error code 0 is:
The operation completed successfully.


The service 'wampmysqld64' is started

The service 'wampmariadb64' is started

The service 'dnscache' is started

WampServer (Apache, PHP and MySQL) will not function properly if any service
'wampapache64'
'wampmysqld64'
'wampmariadb64'
'dnscache'
is not started.

And here are the answers to the longer document -
1 – Windows 10, 64 bit
2 - WampServer 3.1.0 64 bit
3 - Apache Version – 2.4.17
4 - PHP Version – 5.6.31
5 - MySQL Version – 5.7.19
6 - What color is the WampServer icon (in the notification area of the taskbar) Orange

When all goes well it should be green, but it may be red or orange.

If the WampServer icon is NOT GREEN please ensure you have looked at these files :-
a - Apache error log (there is a lot more of this error log – if you need more I can send it)

-- ( wampmanager -> Apache -> Apache error log )
[Fri Oct 20 18:18:10.658056 2017] [mpm_winnt:notice] [pid 15288:tid 672] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 20 18:18:12.694279 2017] [mpm_winnt:notice] [pid 15312:tid 608] AH00364: Child: All worker threads have exited.
[Fri Oct 20 18:18:12.725336 2017] [mpm_winnt:notice] [pid 15288:tid 672] AH00430: Parent: Child process 15312 exited successfully.
[Fri Oct 20 18:18:22.626614 2017] [mpm_winnt:notice] [pid 7312:tid 648] AH00455: Apache/2.4.27 (Win64) PHP/5.6.31 configured -- resuming normal operations
[Fri Oct 20 18:18:22.626614 2017] [mpm_winnt:notice] [pid 7312:tid 648] AH00456: Apache Lounge VC15 Server built: Jul 7 2017 12:46:00
[Fri Oct 20 18:18:22.626614 2017] [core:notice] [pid 7312:tid 648] AH00094: Command line: 'c:\\wamp64\\bin\\apache\\apache2.4.27\\bin\\httpd.exe -d C:/wamp64/bin/apache/apache2.4.27'
[Fri Oct 20 18:18:22.627617 2017] [mpm_winnt:notice] [pid 7312:tid 648] AH00418: Parent: Created child process 15824
[Fri Oct 20 18:18:23.730573 2017] [mpm_winnt:notice] [pid 15824:tid 616] AH00354: Child: Starting 64 worker threads.
[Fri Oct 20 18:27:02.921114 2017] [mpm_winnt:notice] [pid 7312:tid 648] AH00422: Parent: Received shutdown signal -- Shutting down the server.
[Fri Oct 20 18:27:04.945874 2017] [mpm_winnt:notice] [pid 15824:tid 616] AH00364: Child: All worker threads have exited.
[Fri Oct 20 18:27:04.966517 2017] [mpm_winnt:notice] [pid 7312:tid 648] AH00430: Parent: Child process 15824 exited successfully.




-- ( wampmanager -> Apache -> Apache access log )
127.0.0.1 - - [20/Oct/2017:16:23:48 +0100] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 47
127.0.0.1 - - [20/Oct/2017:16:24:48 +0100] "-" 408 -
127.0.0.1 - - [20/Oct/2017:16:25:48 +0100] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 47
127.0.0.1 - - [20/Oct/2017:16:26:48 +0100] "-" 408 -
127.0.0.1 - - [20/Oct/2017:16:27:48 +0100] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 47
127.0.0.1 - - [20/Oct/2017:16:28:48 +0100] "-" 408 -
127.0.0.1 - - [20/Oct/2017:16:29:48 +0100] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 47
127.0.0.1 - - [20/Oct/2017:16:31:48 +0100] "POST /wp-admin/admin-ajax.php HTTP/1.1" 200 47

b - MySQL error log ( wampmanager -> MySQL -> MySQL log )
2017-10-20T14:59:20.474586Z 0 [Warning] InnoDB: Resizing redo log from 2*3072 to 2*320 pages, LSN=2539324
2017-10-20T14:59:20.590498Z 0 [Warning] InnoDB: Starting to delete and rewrite log files.
2017-10-20T14:59:20.774954Z 0 [Warning] InnoDB: New log files created, LSN=2539324

c - PHP error log ( wampmanager -> PHP -> PHP error log )
[20-Oct-2017 14:59:19 UTC] No error - Only to create the file
[20-Oct-2017 15:17:37 UTC] PHP Warning: POST Content-Length of 8946017 bytes exceeds the limit of 8388608 bytes in Unknown on line 0
[20-Oct-2017 17:28:21 UTC] Apache variable "${INSTALL_DIR}" is not defined.
[20-Oct-2017 17:28:21 UTC] Apache variable "${INSTALL_DIR}" is not defined.
[20-Oct-2017 17:30:59 UTC] Apache variable "${INSTALL_DIR}" is not defined.
[20-Oct-2017 17:30:59 UTC] Apache variable "${INSTALL_DIR}" is not defined.

Depending on the error, one or all of the above may be empty so also look at
d - The windows event viewer
--- Windows Key + R to launch the run dialog then enter eventvwr.exe and press the OK button
--- - On the left side of the windows click 'Windows Logs -> Applications'
--- - Look for the names 'Apache Service' or 'MySQL' in the Source column which have a error symbol in the first column.

If you find any errors that you cannot fix for yourself please post the COMPLETE EXACT error message in your question.

No Errors


7 - In the file c:\Windows\System32\drivers\etc\hosts, what are the active lines with the name [localhost] in them?
* Active means no # at the beginning of the line.
The only lines without the # in front are
127.0.0.1 andrewmarkperry.dev
::1 andrewmarkperry.dev

127.0.0.1 andrewmarkperry.dev
::1 andrewmarkperry.dev

127.0.0.1 andrewmarkperry.dev
::1 andrewmarkperry.dev

127.0.0.1 andrewmarkperry.dev
::1 andrewmarkperry.dev


If the WampServer icon is green: Mine is Orange

8 - Do you have access to localhost (Homepage WampServer)?
8a - If so, is there an error message at the bottom of the page?

9 - Do you have access to phpMyAdmin? No

10 - If you refer to an error message, please include the EXACT wording of the error in your post
c:\wamp64\bin\apache\apache2.4.27\bin\libhttpd.dll is either not designed to run on Windows or it contains an error. Try installing the program again using the original installation media or contact your system administrator. Error status Oxc0000020.

I get an identical error message for the file c:\wamp64\bin\apache2.4.27\bin\libapr-1.dll

11 - If you use an Antivirus and / or Firewall, please include the names of these
McAfee Livesafe

12 - What is the full path to the installation of WampServer (eg D:\wamp\)
C:\wamp64

13 - If you have one or more Virtual Hosts defined, please show their definition(s) - apologises, I don't understand this question


Thanks

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 21, 2017 09:26AM

Hi,

7 - hosts file
The hosts file must contain:
127.0.0.1 localhost
::1 localhost
127.0.0.1 andrewmarkperry.dev
::1 andrewmarkperry.dev
On the condition that andrewmarkperry.dev is the ServerName of one of your VirtualHost.

> The service 'wampapache64' is NOT started
What is the result of
- Right-Click wampmanager tray icon -> Tools -> Check httpd.conf syntax
- Right-Click wampmanager tray icon -> Tools -> Test port 80

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 21, 2017 04:57PM

Hi,

When I did - Right-Click wampmanager tray icon -> Tools -> Check httpd.conf syntax - I got a black window with the same two error messages I am having the trouble with.

I tested port 80 and got the following report ...

***** Test which uses port 80 *****

===== Tested by command netstat filtered on port 80 =====

Port 80 is not found associated with TCP protocol
Port 80 is not found associated with TCP protocol

===== Tested by attempting to open a socket on port 80 =====

Your port 80 is not actually used.

--- Do you want to copy the results into Clipboard?
--- Type 'y' to confirm - Press ENTER to continue...

Thanks,

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 21, 2017 06:27PM

Bonsoir.
Hi,

I answered in French, I start again, in English.

Saw the message:
> [20-Oct-2017 15:17:37 UTC] PHP Warning: POST Content-Length of 8946017 bytes exceeds
> the limit of 8388608 bytes in Unknown on line 0
We will try a trick.

But before, let's check: You answered:
3 - Apache Version – 2.4.17
4 - PHP Version – 5.6.31
5 - MySQL Version – 5.7.19

It must be Apache 2.4.27
PHP 5.6.31 is the CLI version. Are you sure that the version used displayed in Right-click -> About ... Same for the MySQL version.
So, check which versions are used, especially for PHP

- Exit Wampserver
Edit the file
c:\wamp64\bin\php\php5.6.31\phpForApache.ini
Look for the line
post_max_size = 8M
(The value can be different from 8M)
Replace with
post_max_size = 32M
Save the modified file
If the used version of PHP is not 5.6.31, in the procedure above, replace 5.6.31 with the version number used.

Start Wampserver
Eventually, you can perform:
- Right-click wampmanager icon -> Refresh
even twice.
Sometimes the refresh time can be long ....

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons



Edited 1 time(s). Last edit at 10/21/2017 06:32PM by Otomatic.

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 22, 2017 06:07PM

Hi,

Thanks for your reply.

I am running the Apache 2.4.27 - apologies for before as I had typed the wrong digit.

I have tried as you suggested and edited the post limit to 32M. Restarted Wamp and refreshed a few times. Unfortunately I am still getting the same two error messages and Wamp is Orange.

Thanks,

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 22, 2017 07:00PM

Hi,

Verify with care item number 08 of TROUBLESHOOTING TIPS

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 22, 2017 07:42PM

Hi,
In the Turn Windows features on or off area, the Internet Information Services box is unchecked, and so are the subdirectories of FTP Server, Web Management Tools and World Wide Web Services. And every category within these subcategories

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 22, 2017 08:24PM

Hi,

I'm trying to see where your problem may come from, so I configured my Wampserver 64 version with Apache 2.4.27 and PHP 5.6.31 then I launched Wampserver.
There is no problem with libapr-1.dll or libaprutil-1.dll or libhttpd.dll files.

Theses file are in C:\wamp64\bin\apache\apache2.4.27\bin\ directory.

You will check the sizes and versions of your files against the sizes and versions of mine that have no problem.
In File Explorer Right-click on the file name then Properties.

libapr-1.dll Size 189 KB (193 536 bytes) - Details tab Version 1.6.2.0

libaprutil-1.dll Size 275 KB (282 112 bytes) - Details tab Version 1.6.0.0

libhttp.dll Size Size 425 KB (435 712 bytes) - Details tab Version 2.4.27.0

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 22, 2017 10:09PM

This is interesting - I've found the files - and the two causing the error messages are empty!


libapr-1.dll Size 0 bytes - no version in the Details tab

libaprutil-1.dll Size275 KB (282,112 bytes) - Details tab Version 1.6.0.0

libhttp.dll Size Size 0 bytes - no version in the Details tab


There are many other files in that same directory which are also empty - I don't know if this should also be the case.

It's very odd. I have deleted Wamp 3 times in the last few weeks and re-downloaded it twice - the third time I just reinstalled the version from my download folder as it was relatively new. I've always had the same error but only after Wamp has working for a while.

I haven't a clue!

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 22, 2017 10:38PM

Hi,

It is normal for some "files" in the Apache bin folder to have a size of 0 bytes. These are symbolic links, but not the two files you mention.

Symbolic links are seen by a "dir / al" command in a command window positioned on the Apache bin folder, for example:
Microsoft Windows [version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. Tous droits réservés.

J:\wamp64\bin\apache\apache2.4.27\bin>dir /al
 Le volume dans le lecteur J s'appelle SATA_1_J
 Le numéro de série du volume est DD8A-2E62

 Répertoire de J:\wamp64\bin\apache\apache2.4.27\bin

22/10/2017  20:11    <SYMLINK>      icudt57.dll [J:/wamp64/bin/php/php5.6.31/icudt57.dll]
22/10/2017  20:11    <SYMLINK>      icuin57.dll [J:/wamp64/bin/php/php5.6.31/icuin57.dll]
22/10/2017  20:11    <SYMLINK>      icuio57.dll [J:/wamp64/bin/php/php5.6.31/icuio57.dll]
22/10/2017  20:11    <SYMLINK>      icule57.dll [J:/wamp64/bin/php/php5.6.31/icule57.dll]
22/10/2017  20:11    <SYMLINK>      iculx57.dll [J:/wamp64/bin/php/php5.6.31/iculx57.dll]
22/10/2017  20:11    <SYMLINK>      icutest57.dll [J:/wamp64/bin/php/php5.6.31/icutest57.dll]
22/10/2017  20:11    <SYMLINK>      icutu57.dll [J:/wamp64/bin/php/php5.6.31/icutu57.dll]
22/10/2017  20:11    <SYMLINK>      icuuc57.dll [J:/wamp64/bin/php/php5.6.31/icuuc57.dll]
22/10/2017  20:11    <SYMLINK>      libeay32.dll [J:/wamp64/bin/php/php5.6.31/libeay32.dll]
22/10/2017  20:11    <SYMLINK>      libpq.dll [J:/wamp64/bin/php/php5.6.31/libpq.dll]
22/10/2017  20:11    <SYMLINK>      libsasl.dll [J:/wamp64/bin/php/php5.6.31/libsasl.dll]
22/10/2017  20:11    <SYMLINK>      libssh2.dll [J:/wamp64/bin/php/php5.6.31/libssh2.dll]
22/10/2017  20:11    <SYMLINK>      php.ini [J:/wamp64/bin/php/php5.6.31/phpForApache.ini]
22/10/2017  20:11    <SYMLINK>      php5ts.dll [J:/wamp64/bin/php/php5.6.31/php5ts.dll]
22/10/2017  20:11    <SYMLINK>      ssleay32.dll [J:/wamp64/bin/php/php5.6.31/ssleay32.dll]
              15 fichier(s)                0 octets
               0 Rép(s)  103 548 067 840 octets libres

J:\wamp64\bin\apache\apache2.4.27\bin>

What I can offer you is to download and install an addon Apache 2.4.28 64 bit, for example here:
http://wampserver.aviatechno.net/files/apache/wampserver3_x64_addon_apache2.4.28.exe
Do not forget to install it "as an administrator"

Once this addon is installed, you launch Wampserver and then - even with not green icon - you will change the Apache version by:
Left-Click Wampmanager tray icon -> Apache -> Version -> 2.4.28

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 22, 2017 10:56PM

It is working again!!! Thank you so much!!!!!

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 23, 2017 09:39AM

Hi,

I'm happy !
Now you have to do a little cleaning:

- Launch Wampserver
- Right-Click Wampmanager tray icon -> Tools -> Delete unused versions -> Delete Apache 2.4.27
- Exit Wampserver

To prepare for a possible Apache problem, download and install the Apache 2.4.27 64 bit addon:
http://wampserver.aviatechno.net/files/apache/wampserver3_x64_addon_apache2.4.27.exe

If ever a problem occurs with Apache 2.4.28, you will just have to switch to Apache 2.4.27 and then start the previous manipulation again.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: October 31, 2017 10:51AM

Thank you - you've been great!

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.40.249.159.threembb.co.uk)
Date: October 31, 2017 11:34AM

I’m sorry, I’ve just followed your last piece of advice about house clearing and it has broken again. Another error message about libaprutil-1.dll this time. I have followed the file extension to the Apache folder and it is empty.

For a week I haven’t been using the server but have occasionally closed it and opened it to check it was still working and it has been.


This morning I logged in and saw your message and I deleted apache 2.4.27 and then added it again via the link you sent. Following this I tried to edit the php.ini file as the max file size is only 2M which is too low for the Wordpress theme I’d like to use.

I then restarted Wamp and got the error message again about libraprutil but this time for Apache 2.4.28.

I don’t understand why this file keeps disappearing.

I’d be grateful for your help again

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Otomatic (Moderator)
Date: October 31, 2017 08:36PM

Hi,

> Following this I tried to edit the php.ini
You don't have to edit php.ini file !

Left-click Wampmanager tray icon -> PHP -> PHP settings > upload_max_filesize

You'll see some other parameters to be modified.

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Errors libhttpd.dll and libaprutil-1.dll
Posted by: Jayne (---.17-4.cable.virginm.net)
Date: November 01, 2017 01:27PM

Thank you, that is an easier way of doing it. However I don't think it's the reason Wamp is having problems on my PC.

I have again this morning removed and reinstalled Wamp - just after I'd named a local host and was restarting the DNS server I got the same old windows message about libruptil-1 - the file's contents were missing again. I've reinstalled the Apache 2.4.28 as before. This will buy me some time but it will keep on happening.

Have you any idea what could be causing it - if there's a program conflict I'd happily strip the other program off

Options: ReplyQuote
Pages: 12Next
Current Page: 1 of 2


Sorry, only registered users may post in this forum.