could not execute menu item; service has not been started
Posted by: csalet (---.csaa.com)
Date: March 24, 2010 05:36PM

Running W2K3, Apache 2.2.1, MySQL 5.1.36 and PHP 5.30

I'm a newbie, so be gentle..

Have had no issues for 2 months, and yesterday I shutdown the services, changed my SMTP server in PHP.ini. using WAMP. ** This was the first time I shutdown the services, someone else installed and set it up.

Tried to go on line.

Received Error "could not execute menu item (internal error) [exception] could not perform service action: The service has not been started" when bring WAMP online.

Tried restarting the serivce manually, no luck.

Restarted the server

Backout the changes to PhP.ini

Did the same as above, restarted server.. Same issue


Help would be appreciated

Thanks in Advance
Chris

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 24, 2010 06:10PM

check the logs in c:/wamp/logs

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: csalet (---.csaa.com)
Date: March 24, 2010 06:27PM

Trieed to start the service today 3/24/10

Mysql Log.
100324 9:39:42 [Note] Plugin 'FEDERATED' is disabled.
100324 9:39:45 InnoDB: Started; log sequence number 0 46409
100324 9:39:45 [ERROR] Do you already have another mysqld server running on port: 3306 ?
100324 9:39:45 [ERROR] Aborting

100324 9:39:45 InnoDB: Starting shutdown...
100324 9:39:50 InnoDB: Shutdown completed; log sequence number 0 46409
100324 9:39:50 [Warning] Forcing shutdown of 1 plugins
100324 9:39:50 [Note] wampmysqld: Shutdown complete

PHP_error.log - is empty

Apache_error.Log _no new errors for today
[Tue Mar 23 18:56:40 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/php
[Tue Mar 23 19:43:26 2010] [error] [client 127.0.0.1] File does not exist: C:/wamp/www/php.htm
[Tue Mar 23 19:44:55 2010] [notice] Parent: Received shutdown signal -- Shutting down the server.
[Tue Mar 23 19:44:55 2010] [notice] Child 12248: Exit event signaled. Child process is ending.
[Tue Mar 23 19:44:56 2010] [notice] Child 12248: Released the start mutex
[Tue Mar 23 19:44:57 2010] [notice] Child 12248: All worker threads have exited.
[Tue Mar 23 19:44:57 2010] [notice] Child 12248: Child process is exiting
[Tue Mar 23 19:44:57 2010] [notice] Parent: Child process exited successfully.


Access_log - nothing for today
127.0.0.1 - - [23/Mar/2010:19:43:26 -0700] "GET /php.htm HTTP/1.1" 404 205
127.0.0.1 - - [23/Mar/2010:19:44:19 -0700] "GET /?phpinfo=1 HTTP/1.1" 200 64996
127.0.0.1 - - [23/Mar/2010:19:44:19 -0700] "GET /index.php?=PHPE9568F34-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2524
127.0.0.1 - - [23/Mar/2010:19:44:19 -0700] "GET /index.php?=PHPE9568F35-D428-11d2-A769-00AA001ACF42 HTTP/1.1" 200 2146


Thanks

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: csalet (---.csaa.com)
Date: March 24, 2010 06:53PM

Getting closer, I resolved the issue with MySql, there was another version running on the server.

WampMySQL service is running.
WampApache is not

But, I still getting the same message "could not execute menu item; service has not been started"

Looks like Apache is not starting, and no errors in the log, maybe error reporting is turn off..


Any Ideas, I did mention that I'm a newbie.

Thanks for the help

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: stevenmartin99 (---.b-ras2.blp.dublin.eircom.net)
Date: March 24, 2010 07:05PM

check netstat


open cmd

netstat -aon



see if any process is using port 80

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: csalet (---.csaa.com)
Date: March 24, 2010 07:35PM

I don't see port 80 open, Hmmm, How do I open it?

Active Connections

Proto Local Address Foreign Address State PID
TCP 0.0.0.0:7 0.0.0.0:0 LISTENING 1420
TCP 0.0.0.0:9 0.0.0.0:0 LISTENING 1420
TCP 0.0.0.0:13 0.0.0.0:0 LISTENING 1420
TCP 0.0.0.0:17 0.0.0.0:0 LISTENING 1420
TCP 0.0.0.0:19 0.0.0.0:0 LISTENING 1420
TCP 0.0.0.0:135 0.0.0.0:0 LISTENING 744
TCP 0.0.0.0:445 0.0.0.0:0 LISTENING 4
TCP 0.0.0.0:1025 0.0.0.0:0 LISTENING 420
TCP 0.0.0.0:3306 0.0.0.0:0 LISTENING 3800
TCP 0.0.0.0:3389 0.0.0.0:0 LISTENING 2112
TCP 0.0.0.0:28002 0.0.0.0:0 LISTENING 1168
TCP 0.0.0.0:38827 0.0.0.0:0 LISTENING 1836
TCP 127.0.0.1:1041 0.0.0.0:0 LISTENING 1168
TCP 127.0.0.1:1056 0.0.0.0:0 LISTENING 2256
TCP 127.0.0.1:1673 127.0.0.1:28002 ESTABLISHED 3100
TCP 127.0.0.1:28002 127.0.0.1:1673 ESTABLISHED 1168
TCP 192.168.50.59:135 192.168.50.59:1635 ESTABLISHED 744
TCP 192.168.50.59:139 0.0.0.0:0 LISTENING 4
TCP 192.168.50.59:1635 192.168.50.59:135 ESTABLISHED 1916
TCP 192.168.50.59:3389 10.228.192.118:4564 ESTABLISHED 2112
UDP 0.0.0.0:7 *:* 1420
UDP 0.0.0.0:9 *:* 1420
UDP 0.0.0.0:13 *:* 1420
UDP 0.0.0.0:17 *:* 1420
UDP 0.0.0.0:19 *:* 1420
UDP 0.0.0.0:161 *:* 1452
UDP 0.0.0.0:445 *:* 4
UDP 0.0.0.0:500 *:* 420
UDP 0.0.0.0:1043 *:* 1452
UDP 0.0.0.0:4500 *:* 420
UDP 127.0.0.1:123 *:* 828
UDP 127.0.0.1:1026 *:* 420
UDP 127.0.0.1:1047 *:* 360
UDP 127.0.0.1:1068 *:* 1720
UDP 127.0.0.1:1624 *:* 1848
UDP 127.0.0.1:1664 *:* 3564
UDP 192.168.50.59:123 *:* 828
UDP 192.168.50.59:137 *:* 4
UDP 192.168.50.59:138 *:* 4

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: csalet (---.csaa.com)
Date: March 24, 2010 07:39PM

Just checked Hyypd.conf and it has listen 80


#
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# directive.
#
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses.
#
#Listen 12.34.56.78:80

Listen 80


Thanks Steven for the help.

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: yfastud (Moderator)
Date: March 24, 2010 11:15PM

IIS and Apache/Wamp are both web server and might conflict in some way, so you have to disable IIS in order for Wamp to work

Disable IIS in Vista/7:

Control Panel, Uninstall Programs, Turn Widows Features On or Off, uncheck Internet Information Services

Disable IIS in XP:

Control Panel, Add/Remove Programs, Add/Remove Windows Components, uncheck Internet Information Services (IIS)

Restart computer, then restart Wamp

Also, open file hosts in folder C:\WINDOWS\System32\drivers\etc and delete anything in there and have only this line and nothing else

127.0.0.1 localhost

if using skype, open skype > tools>options>advanced>connection and uncheck "use port 80..." then restart wamp then skype

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: csalet (---.csaa.com)
Date: March 25, 2010 05:04PM

IIS is not installed and hosts file only had "127.0.0.1 localhost"

Options: ReplyQuote
Re: could not execute menu item; service has not been started
Posted by: csalet (---.csaa.com)
Date: March 26, 2010 12:41AM

Issue resolved.

The problem was a Invailded path under Alias:<Directory "E:\\wamp\\www\\Production_Control\\output"> path is invalid. Not sure where it came from as the server doesn't have a E: drive

After commenting out the path and recycle Wamp, Apache came right up smiling smiley


Thanks for all the help

Chris

Options: ReplyQuote


Sorry, only registered users may post in this forum.