wamp says running but icon still red
Posted by: kevin_a (---.freedom2surf.net)
Date: May 01, 2012 08:30PM

Hi
I have installed wamp, but cannot access through [localhost]
the icon stays red although the text says online.
reports page not found in firefox.
skype is turned off.
help appreciated
thanks

Options: ReplyQuote
Re: wamp says running but icon still red
Posted by: RiggsFolly (---.as13285.net)
Date: May 02, 2012 03:07PM

If the wamp manager icon in the system tray is RED then neither apache or mysql has started correctly.

The ONLINE is something else completely. It says you have used the "Put Online" which just changes the apache config to allow access from any ip address or when Offline to only allow access from localhost, 127.0.0.1

Are you sure you dont have something else using port 80? IIS is most likely.
Run wampmanager->apache->services->test port 80 see what it says.

Have a look at your Windows Event Viewer, this will probably give you a clue to why apache and mysql have not started. Also te apache and mysql error logs.

When you get a clue drop back with a bit more information.

You could also try reading through this once you get apache and mysql running, by the way they are called wampapache and wampmysql in your services list.

[forum.wampserver.com]

Options: ReplyQuote
Re: wamp says running but icon still red
Posted by: kevin_a (---.freedom2surf.net)
Date: May 02, 2012 05:42PM

Thanks RiggsFolly

Are you sure you dont have something else using port 80? IIS is most likely.
Run wampmanager->apache->services->test port 80 see what it says.

“your port 80 is not actually used”


Have a look at your Windows Event Viewer, this will probably give you a clue to why apache and mysql have not started.

The Apache service named reported the following error:
>>> Syntax error on line 183 of C:/Apache/conf/httpd.conf:


The Apache service named reported the following error:
>>> DocumentRoot must be a directory



Also the apache and mysql error logs.
Apache error log
[Tue May 01 17:02:42 2012] [notice] Apache/2.2.21 (Win64) PHP/5.3.10 configured -- resuming normal operations
[Tue May 01 17:02:42 2012] [notice] Server built: Sep 24 2011 19:57:51
[Tue May 01 17:02:42 2012] [notice] Parent: Created child process 5264
[Tue May 01 17:02:42 2012] [notice] Child 5264: Child process is running
[Tue May 01 17:02:42 2012] [notice] Child 5264: Acquired the start mutex.
[Tue May 01 17:02:42 2012] [notice] Child 5264: Starting 64 worker threads.
[Tue May 01 17:02:42 2012] [notice] Child 5264: Starting thread to listen on port 80.
[Tue May 01 17:02:42 2012] [notice] Child 5264: Starting thread to listen on port 80.

mysql error logs

120501 16:33:17 [Note] Plugin 'FEDERATED' is disabled.
120501 16:33:17 InnoDB: The InnoDB memory heap is disabled
120501 16:33:17 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120501 16:33:17 InnoDB: Compressed tables use zlib 1.2.3
120501 16:33:17 InnoDB: Initializing buffer pool, size = 128.0M
120501 16:33:17 InnoDB: Completed initialization of buffer pool
InnoDB: The first specified data file .\ibdata1 did not exist:
InnoDB: a new database to be created!
120501 16:33:17 InnoDB: Setting file .\ibdata1 size to 10 MB
InnoDB: Database physically writes the file full: wait...
120501 16:33:17 InnoDB: Log file .\ib_logfile0 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile0 size to 5 MB
InnoDB: Database physically writes the file full: wait...
120501 16:33:17 InnoDB: Log file .\ib_logfile1 did not exist: new to be created
InnoDB: Setting log file .\ib_logfile1 size to 5 MB
InnoDB: Database physically writes the file full: wait...
InnoDB: Doublewrite buffer not found: creating new
InnoDB: Doublewrite buffer created
InnoDB: 127 rollback segment(s) active.
InnoDB: Creating foreign key constraint system tables
InnoDB: Foreign key constraint system tables created
120501 16:33:19 InnoDB: Waiting for the background threads to start
120501 16:33:20 InnoDB: 1.1.8 started; log sequence number 0
120501 16:33:20 [Note] Event Scheduler: Loaded 0 events
120501 16:33:20 [Note] wampmysqld: ready for connections.
Version: '5.5.20-log' socket: '' port: 3306 MySQL Community Server (GPL)
120501 16:49:52 [Note] wampmysqld: Normal shutdown

120501 16:49:52 [Note] Event Scheduler: Purging the queue. 0 events
120501 16:49:52 InnoDB: Starting shutdown...
120501 16:49:53 InnoDB: Shutdown completed; log sequence number 1595675
120501 16:49:53 [Note] wampmysqld: Shutdown complete

120501 17:02:41 [Note] Plugin 'FEDERATED' is disabled.
120501 17:02:41 InnoDB: The InnoDB memory heap is disabled
120501 17:02:41 InnoDB: Mutexes and rw_locks use Windows interlocked functions
120501 17:02:41 InnoDB: Compressed tables use zlib 1.2.3
120501 17:02:41 InnoDB: Initializing buffer pool, size = 128.0M
120501 17:02:41 InnoDB: Completed initialization of buffer pool
120501 17:02:41 InnoDB: highest supported file format is Barracuda.
120501 17:02:42 InnoDB: Waiting for the background threads to start
120501 17:02:43 InnoDB: 1.1.8 started; log sequence number 1595675
120501 17:02:44 [Note] Event Scheduler: Loaded 0 events
120501 17:02:44 [Note] wampmysqld: ready for connections.
Version: '5.5.20-log' socket: '' port: 3306 MySQL Community Server (GPL)
120501 17:33:11 [Note] wampmysqld: Normal shutdown

120501 17:33:11 [Note] Event Scheduler: Purging the queue. 0 events
120501 17:33:12 InnoDB: Starting shutdown...
120501 17:33:13 InnoDB: Shutdown completed; log sequence number 1595675
120501 17:33:13 [Note] wampmysqld: Shutdown complete




When you get a clue drop back with a bit more information.


Thought I'd better not be selective in listing, since I do not know what is critical.

I hope this enables the issue to be resolved.

Options: ReplyQuote
Re: wamp says running but icon still red
Posted by: RiggsFolly (---.as13285.net)
Date: May 02, 2012 05:51PM

Do these few lines from the Event log not give you JUST A LITTLE CLUE !!!!!


Quote

The Apache service named reported the following error:
>>> Syntax error on line 183 of C:/Apache/conf/httpd.conf:


The Apache service named reported the following error:
>>> DocumentRoot must be a directory


They quote the error, WITH A FILE NAME ..... AND A LINE NUMBER



So it looks like you have another version of apache running unless you have really messed with your wamp installation.


Best to uninstall wamp properly from Add remove Programs, then uninstall the other apache and probably the other mysql as well.


Then reinstall wamp.

Then let start again.

Options: ReplyQuote
Re: wamp says running but icon still red
Posted by: kevin_a (---.freedom2surf.net)
Date: May 02, 2012 06:47PM

Ok.
"JUST A LITTLE CLUE !!!!! "

sure..I did suspect that error message would be a reference to the problem, but quite what was the nature of the problem and how to fix it was/is beyond my understanding.

I have uninstalled apache and wamp using CP Add/remove, then deleted an apache folder from the C: drive which had logs, bin etc.
restarted and reinstalled WAMP, and can now access WAMP home page from localhost.

So I guess its now up and running.

Thanks for you help and patience with a floundering newb.
Hopefully I can instal my Zen Cart in the right place!, and start working on something I know a bit about.
Cheers.

Options: ReplyQuote
Re: wamp says running but icon still red
Posted by: RiggsFolly (---.as13285.net)
Date: May 02, 2012 07:44PM

GREAT.

See its easy when you give it a chance.


Sorry for the rather facietious tone of my last email.

Options: ReplyQuote
Re: wamp says running but icon still red
Posted by: rmorganit (---.gar.clearwire-wmx.net)
Date: August 20, 2013 09:28PM

-go to cpanel
-admin tools
-services
enable:wampapache
enable:wampmsqld

Options: ReplyQuote
Re: wamp says running but icon still red
Posted by: arronhult (---.sub-70-194-161.myvzw.com)
Date: November 09, 2014 01:05AM

I was reading through this blog and I have a similar problem. I am using wampserver 2.1. The wamp icon is orange. MySQL is working. The apache application will not start. I test the port 80 and it said “your port 80 is not actually used”. I checked the event logs and this is what I found.


The Apache service named reported the following error:
>>> The specified IP address is invalid.


The Apache service named reported the following error:
>>> Syntax error on line 22 of C:/wamp/alias/phpsysinfo.conf:


<Directory "c:/wamp/apps/phpsysinfo3.1.12/">
Options Indexes FollowSymLinks
AllowOverride all
<IfDefine APACHE24>
Require local
</IfDefine>
<IfDefine !APACHE24>
Order Deny,Allow
Deny from all
Allow from localhost ::1 127.0.0.1 (this is line 22)
</IfDefine>
</Directory>

I tried to change that line to Allow from localhost 127.0.0.1. The icon turned green but none my phpmyadmin wouldn't connect as well none of my command lines would work for DB connection in the lined of code on my site. I reverted back from PHP 5.5.12. I just couldn't understand the syntax. I got so fed up with and I reverted to something that I know very well.

The one thing that I did like was the specific connection in the queries. Better security. I liked that, but everything wasn't working and I couldn't get the multiple parameters int the mysqli_fetch_assoc($con, $res);. couldn't get it. I worked for hours tyring to understand it. So here I am trying to go back and this is what I run into.

If you can help me, it would be very much appreciated. Thank you

Options: ReplyQuote
Re: wamp says running but icon still red
Posted by: RiggsFolly (---.dynamic.dsl.as9105.com)
Date: November 09, 2014 12:48PM

HI Arron,

I think the issue is that the version of Apache you are using in whichever of the WAMPServer 2.1 releases you are using (a, b, c, d or e) is not IPV6 aware.

I cannot remember which version of Apache actually started becoming IPV6 aware, but whatever.

The IP address `::1` is the IPV6 equivalent to IPV4's 127.0.0.1 i.e. the loopback address meaning `this PC`
If removing it makes Apache run, then your version of Apache is not IPV6 aware.

It seems a little strange that the config file for that release has the `::1` in the Allow list so I assume you have added those yourself based on some help you have found somewhere.

Basically, you should remove the ::1 ip address from any config on that release of 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: wamp says running but icon still red
Posted by: arronhult (---.static.ftbg.wi.charter.com)
Date: November 09, 2014 11:18PM

That installation had the ::1 in the phpsys.conf or what the file was. When I took that code out, it worked just fine until I tried to access phpmyadmin. It gave and error code. It was very frustrating. I get the one to work and the other just stopped working. I swear I got a few grey hairs just dealing with it smiling smiley

I was using the previous version of wamp and I ws running into the 403 forbidden thing every time I tried to go to phpmyadmin and a thought occurred to me after reading this post. I went into the phpmyadmin.conf file and I added ::1 before the 127.0.0.1 just like the other instillation had and it worked.

Options: ReplyQuote


Sorry, only registered users may post in this forum.