So, I thought I would look a little closer at the previous files that were created that were successful and the one that I most recently created that is not successful. They all looked the same. Until I looked at the non printing characters and that is where the difference is:
Successful output of the first script using cat -An filename:
I guess, really what my question is why would all of a sudden (only after a password change) would a script that worked perfectly fine all of a sudden stop working?
There must be something I'm missing in regards to the password change, but for the life of me, I cannot figure it out. Everything else is running fine. No issues with the back ups.
higgie1
4 Posts
0
June 27th, 2017 09:00
All,
So, I thought I would look a little closer at the previous files that were created that were successful and the one that I most recently created that is not successful. They all looked the same. Until I looked at the non printing characters and that is where the difference is:
Successful output of the first script using cat -An filename:
130 . type:nsr client;scheduled backup:enabled;name:server_name $
131 p$
132 $
Now the most recent output with the same cat command:
25 . type:nsr client;scheduled backup:enabled;name:server_nameM-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- M-BM- $
26 p$
27 $
So, now to figure out the differences between the two cases. They were both called using the same command:
./nsrmig1.pl file_name
After using the familar command:
tr -cd '\11\12\15\40-\176' < badfile > cleanfile
This now shows accurately:
25 . type:nsr client;scheduled backup:enabled;name:server_name$
26 p$
27 $
So, I will mark this as answered.
higgie1
4 Posts
0
June 20th, 2017 08:00
All,
I forgot to mention all the zone servers but one is running in RHEL 6.8 & 7 and one in Windows 2008.
Thanks,
Lee
higgie1
4 Posts
0
June 27th, 2017 06:00
All,
I guess, really what my question is why would all of a sudden (only after a password change) would a script that worked perfectly fine all of a sudden stop working?
There must be something I'm missing in regards to the password change, but for the life of me, I cannot figure it out. Everything else is running fine. No issues with the back ups.
Thank you all in advance.
Sincerely,
Lee