I was getting the "Bad string" messages on Solaris 10 Sparc system where the locale was set to UTF-8. Changed the locale to "C" and the script runs without errors.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
http://forums.hyperic.com/jiveforums/thread.jspa?messageID=23996&tstart=0#23996
I was getting the "Bad string" messages on Solaris 10 Sparc system where the locale was set to UTF-8. Changed the locale to "C" and the script runs without errors.