Page 1 of 1

running setup-linux.sh intermittently hangs

Posted: Thu Apr 25, 2019 12:47 pm
by cjsGSB
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

Re: running setup-linux.sh intermittently hangs

Posted: Thu Apr 25, 2019 4:25 pm
by scottwilkerson
This is puzzling, the script is not that complicated.

Do you get any output when it hangs?

Re: running setup-linux.sh intermittently hangs

Posted: Fri Apr 26, 2019 6:11 am
by cjsGSB
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

Re: running setup-linux.sh intermittently hangs

Posted: Fri Apr 26, 2019 12:15 pm
by scottwilkerson
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
Ok good, glad to hear it is resolved!

Locking thread