VMware Cloud Community
gpthree
Contributor
Contributor
Jump to solution

Apache httpd unable to add the configuration properties "Agent error"

Hi,

I have modified the conf file and when I try the link http://localhost:port/server-status I am able to view the server status.

However on adding it in hypric HQ - configuration properties I am getting the error "Agent error: Could not open Windows Service: Apache2"

Following is the configuration:in
general properties>install path> c:\<Path to app\apache
configuratio properties > hostname <ipaddress of the machine>
port <same port that I provide while logging into the application>
path /server - status

On clicking OK I am getting the error

Can anyone please help as I have been pondering for a solution for the past 2 days.

Thanks in advance.
0 Kudos
1 Solution

Accepted Solutions
admin
Immortal
Immortal
Jump to solution

I was getting the similar issue because my windows service name was Apache2.2 instead of Apache2 .So please go to control panel -->Services and verify your windows service name for Apache.

Thank you,
Nipuna

Message was edited by: nipuna

View solution in original post

0 Kudos
2 Replies
admin
Immortal
Immortal
Jump to solution

I was getting the similar issue because my windows service name was Apache2.2 instead of Apache2 .So please go to control panel -->Services and verify your windows service name for Apache.

Thank you,
Nipuna

Message was edited by: nipuna
0 Kudos
gpthree
Contributor
Contributor
Jump to solution

Hi Nipuna,

Thanks for the reply!

What you said is correct. The service name that I was giving was wrong.

To make things a little more clear i.e if apache service name is not found in the services.msc, then specify the name that you use when you start the apache server.

apache -k install -n "servicename" //without quotes
0 Kudos