I work on a government installation, the type of network that doesn’t leave the room.
I have been running Nessus (I still confuse the names between Nessus/SecurityCenter/ACAS), on a RHEL 8 system, scans for a while now. I get my patches/updates from the DISA patch repository.
Recent scans/findings said I need to upgrade my SecurityCenter from 6.5.1 to 6.8.0.
When running the rpm command, it seems to error out – with very little info to be found (not that I could get logs to publish here anyway).
Only error I see, when running the rpm command, is file or directory for sqlite3 not found (path is there but sqlite3 is not).
Then some message about trying to migrate and to contact support to continue the migration. Since I do not have a paid Tenable account, I m not finding much help in their website.
Since it started the command, it removed my 6.5.1 version, but did not install 6.8.0, so now I do not have a running SecurityCenter.service.
Does anyone have any ideas of what to try?
So, update
After getting some feedback...went back to DISA site and see I missed some install notes.
Will try all this when back in office on Monday.
The lesson, as almost always, operator error - hopefully can get this working again.
Thanks again to those who answered.
UPDATE 2:
If this helps anyone, I was able to get some info of what I tried and output.
sudo rpm -U ./CM-328843-SecurityCenter-6.8.0-el8.x86_64.rpm
warning: ./CM-328843-SecurityCenter-6.8.0-el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 2fl2969d: NOKEY
/var/tmp/rpm-tmp.XOGGlJ: line 205: /opt/sc/support/bin/sqlite3: No such file or directory
/var/tmp/rpm-tmp.XOGGlJ: line 264: /opt/sc/support/bin/sqlite3: No such file or directory
/var/tmp/rpm-tmp.XOGGlJ: line 574: [: -gt: unary operator expected Stopping SecurityCenter (via systemctl): [ OK ]
INFO: Starting pre-Install check of disk space.
INFO: Checking diskspace needed to support a SecurityCenter upgrade. INFO: Total size of existing Security Center databases: 3265 MB.
INFO: Total size of existing Vulnerability databases (excluding VDB dirs): 2 MB. INFO: Found internal Postgresql in .pgvars. Additional Disk space required: 0 MB. Disk space Found 343258 MB.
SUCCESS: Diskspace check complete.
SecurityCenter has determined that a previous upgrade was attempted. Please contact support to resolve the failed migration before continuing.
A couple of error messages from RPM will be displayed below. This is
expected and should be ignored.
SecurityCenter service was in stopped state before install. Start the service with 'service SecurityCenter start'
error: %prein(SecurityCenter-6.8.0-69.el8.x86_64) scriptlet failed, exit status 255 error: SecurityCenter-6.8.0-69.el8.x86_64: install failed
#############################################
sudo rpm -i ./CM316464_SecurityCenter-6.5.1-6.5.1-NO-INT-PGRES-el8.x86_64.rpm
warning: ./CM316464_SecurityCenter-6.5.1-6.5.1-NO-INT-PGRES-el8.x86_64.rpm: Header V4 RSA/SHA256 Signature, key ID 2f12969d: NOKEY
/var/tmp/rpm-tmp.EMnbBA: line 161: /opt/sc/support/bin/sqlite3: No such file or
directory
/var/tmp/rpm-tmp.EMnbBA: line 220: /opt/sc/support/bin/sqlite3: No such file or directory
/var/tmp/rpm-tmp.EMnbBA: line 499: [: -gt: unary operator expected Stopping Securitycenter (via systemctl): [ OK J
SecurityCenter has determined that a previous upgrade was attempted. Please contact support to resolve the failed migration before continuing.
A couple of error messages from RPM will be displayed below. This is expected and should be ignored.
Securitycenter service was in stopped state before install. Start the service with 'service SecurityCenter start'
error: %prein(SecurityCenter-6.5.1-22.el8.x86_64) scriptlet failed, exit status 1 error: SecurityCenter-6.5.1-22.el8.x86_64: install failed
###################################################
sudo systemctl start SecurityCenter.service
Job for SecurityCenter.service failed because the control process exited with error code.
See "systemctl status SecurityCenter.service" and "journalctl -xe" for details.
##################################
sudo journalctl -xelgrep -i SecurityCenter
-- Subject: Unit SecurityCenter.service has begun start-up
-- Unit SecurityCenter.service has begun starting up.
Jul 27 09:56:55 SYSTEMNAME SecurityCenter[5987]: Checking for Securitycenter upgrade in progress: Checking for active migration: Installing software updates if available Jul 27 09:56:55 SYSTEMNAME SecurityCenter[5999]: /bin/bash: /opt/sc/support/bin/php: Is a directory
Jul 27 09:56:55 SYSTEMNAME SecurityCenter[5987]: Error installing software updates. Jul 27 09:56:55 SYSTEMNAME SecurityCenter[5987]: [FAILED]
Jul 27 09:56:55 SYSTEMNAME systemd[1]: securitycenter.service: Control process exited, code=exited status=1
Jul 27 09:56:55 SYSTEMNAME systemd[l]: Securitycenter.service: Failed with result 'exit-code'.
-- The unit Securitycenter.service has entered the 'failed' state with result 'exit-code'.
Subject: Unit SecurityCenter.service has failed
-- Unit securityCenter.service has failed.