Not able to install Patch Agent on CentOS 7

Not sure how to resolve, trying to install the Patch Agent on a CentOS VPS to test patch management

I execute the script and get the following:

All good
System: RpmBased 64 bit
Python 2.7.5
Python is installed. python: /usr/bin/python /usr/bin/python2.7 /usr/lib/python2.7 /usr/lib64/python2.7 /usr/include/python2.7 /usr/share/man/man1/python.1.gz
Variables passed to the script:
Username: <REMOVED FOR SECURITY>
Password: <REMOVED FOR SECURITY>
Server Hostname: patch.comodo.com
Customer: <REMOVED FOR SECURITY>
Command executing: ./install -u agent_<REMOVED FOR SECURITY> -p <REMOVED FOR SECURITY> -s patch.comodo.com -c <REMOVED FOR SECURITY>
RHEL VERSION is
Moved daemon to init.d
Added daemon to startup.
Checking run levels.
Error(s):
- Failure when installing agent. See /opt/Comodo/agent_install_failure.log for details.

When I pull up the log it shows this:

2015-06-16 16:32:40.440394 : Could not check agent run levels.
2015-06-16 16:32:40.441368 : Traceback (most recent call last):
File “./install”, line 849, in install
self._rpm_check_run_levels()
File “./install”, line 759, in _rpm_check_run_levels
raise Exception(“Could not check agent run levels.”)
Exception: Could not check agent run levels.

Ideas?

Thanks.

Did you run the command with admin privileges? as SU?

Sorry for the delay, been busy with other projects, yea, I tried running as Root with SU and SUDO.

What I get is the output I listed in my initial post. :confused:

Ok, I am creating an escalation ticket for this.

Hello,
I currently have the same issues on our CentOS machines with exact same errors in the /opt/Comodo/agent_install_failure.log.
As this topic is quite old, was this addressed and repaired, and if so how?

Regards,
Sean

This is now urgent, can this be directed to a Support Case please?

Hello @AWS-Team ,

We have contacted you by email regarding the issue reported above.

I had this issue as well, but I decided not to install the agent on the CentOS production server in the end, so I am not really worried about it, but I did run into the same problem, just as an fyi.

Why do you need patch management for CentOS? Just install things from a yum repo and run yum update as a cron job.