Building rhel 7.4 VM's and forwarding their logs to our NagiosLS. The logs being forwarded are audit.logs and secure.logs as well as the default /
/var/log/messages using the setup-linux.sh script. What would cause the the script to hang up ? Restarting the rsyslog service does not seem to work, we need to reboot the VM to get it back. Like I mentioned it happens intermittently but enough to be an issue
running setup-linux.sh intermittently hangs
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: running setup-linux.sh intermittently hangs
This is puzzling, the script is not that complicated.
Do you get any output when it hangs?
Do you get any output when it hangs?
Re: running setup-linux.sh intermittently hangs
When looking at it that is correct. I will get some outputs today
0946 - CJS
Looks like the problem is a time sync issue. Once ntp is configured correctly between the forwarding VM and logserver, the script worked consistantly
0946 - CJS
Looks like the problem is a time sync issue. Once ntp is configured correctly between the forwarding VM and logserver, the script worked consistantly
-
scottwilkerson
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: running setup-linux.sh intermittently hangs
Ok good, glad to hear it is resolved!cjsGSB wrote:When looking at it that is correct. I will get some outputs today
0946 - CJS
Looks like the problem is a time sync issue. Once ntp is configured correctly between the forwarding VM and logserver, the script worked consistantly
Locking thread