Having problems with your account or logging in?
A lot of changes are happening in the community right now. Some may affect you. READ MORE HERE
Highlighted
marsella Honored Contributor.
Honored Contributor.
305 views

Failed Service Modeling / Service Discovery Apache webserver

Hi.
Have you had difficulties modeling (automatically) an apache web server?
When trying to do so, it indicates that a configuration file is needed and it is not possible to link the entire model.
It is not possible to get from the Business Application to RunningSoftware this through the relationship consumer_provider

errormodeling.PNG

Any ideas?

Thanks in advance.

0 Likes
3 Replies
Joshua_A_UCMDB Trusted Contributor.
Trusted Contributor.

Re: Failed Service Modeling / Service Discovery Apache webserver

This topic was escalated to Email Message on 12-06-2018 by an automatic escalation.

0 Likes
marsella Honored Contributor.
Honored Contributor.

Re: Failed Service Modeling / Service Discovery Apache webserver

Hello Joshua,

Do you know something about this?

0 Likes
popadiyski Outstanding Contributor.
Outstanding Contributor.

Re: Failed Service Modeling / Service Discovery Apache webserver

Hi,

What I do to debug such issues:

1. I read the error message and do the recommendation.

2. Find the ConfigurationFileSignature.xml in the Adapter Management.

3. Find the Apache WebServer section:

 

   <!-- apache & oam webagte -->
    <Application name="Apache WebServer" productName="apache_web_server" cit="apache">
        <Scope type="application_resource">
            <CommandLine>
                <Regex expr='"?(\S+)[/\\]s?bin[/\\](httpd|apache)(?:.*?-f\s+(.*?)\/conf\/(.*?)\s+)?' ignoreCase="true">
                    <Variable name="home" group="1"/>
                    <Variable name="httpd_config_path" group="3"/>
                    <Variable name="httpd_config_name" group="4" defaultValue="httpd.conf"/>
                </Regex>
            </CommandLine>
            <CustomFile name="${httpd_config_name}" plugin="config_parser_apache">
                <FileLocations>
                    <Path>${home}/conf/</Path>
                    <Path>${home}/httpd/conf/</Path>
                    <!--<Path>${httpd_config_path}/conf/</Path>-->

4. Check with my apache installation and if the configuration files of it are described in the {home}/conf and {home}/httpd/conf

 

5. If not there, I edit the file to add the custom apache conf directory.

Cheers,

Petko Popadiyski

Freelance Microfocus CMS UCMDB Consulting

 

Likes are appreciated!
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.