Description of problem: To monitor few latest failures, archived all the data /var/log/* and restarted katello services. mongod, httpd, foreman-proxy fails to restart [root@satserver log]# ls old.tgz [root@satserver log]# katello-service restart --- <snip> Redirecting to /bin/systemctl stop mongod.service Success! Redirecting to /bin/systemctl start mongod.service Job for mongod.service failed because the control process exited with error code. See "systemctl status mongod.service" and "journalctl -xe" for details. Redirecting to /bin/systemctl start postgresql.service Redirecting to /bin/systemctl start qpidd.service Redirecting to /bin/systemctl start qdrouterd.service Redirecting to /bin/systemctl start tomcat.service Redirecting to /bin/systemctl start foreman-proxy.service Job for foreman-proxy.service failed because the control process exited with error code. See "systemctl status foreman-proxy.service" and "journalctl -xe" for details. Redirecting to /bin/systemctl start pulp_celerybeat.service Redirecting to /bin/systemctl start pulp_resource_manager.service Redirecting to /bin/systemctl start pulp_workers.service Redirecting to /bin/systemctl start httpd.service Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details. Redirecting to /bin/systemctl start foreman-tasks.service Job for foreman-tasks.service failed because the control process exited with error code. See "systemctl status foreman-tasks.service" and "journalctl -xe" for details. Some services failed to start: mongod,foreman-proxy,httpd,foreman-tasks --- untarring this helps to restart again. Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Archive /var/log/* data [root@satserver log]# ls old.tgz 2. restart katello services katello-service restart 3. Some services failed to start: mongod,foreman-proxy,httpd,foreman-tasks Actual results: Few services fails to start Expected results: All services should start Additional info:
Removing the logs from /var/log in order to archive is not the ideal solution. The recommendation is to utilize logrotate vs rm/archive.