Xymon Mailing List Archive search

New Version of Admin Scripts ( v.0.1.0)

2 messages in this thread

list Pnixon · Fri, 5 Jan 2007 10:11:10 -0500 ·
You need to do all of your transfers in Binary mode instead of ASCII mode
for text files.  I personally transfer everything in binary mode.

That's typically the cause of the ^M on text files coming across an FTP
Server. 
-----Original Message-----
From: Iain Conochie [mailto:user-c784e16a5170@xymon.invalid] Sent: Friday, January 05, 2007 10:06 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: Re: [hobbit] Antwort: RE: [hobbit] New Version of Admin Scripts
(v.0.1.0)

<my-opinion>

Ftp is a horrible protocol for doing this kind of thing :(

</my-opinion>

As far as i can tell, this is actually a function of the FTP server. I have
even seen this issue on installation CD's for UNIX type software.

Since I have seen this in the past, I had a quick check and found a way to
fix. NOt really sure how you can stop this from happening though.

Cheers

Iain

On Fri, 2007-01-05 at 14:20 +0100, user-75055581652a@xymon.invalid
wrote:
Hi,
OK - I had this issue. Basically, these scripts seem to have been
edited
on a windows box, as so have the DOS style ^M at the end of each
line.
This will need to be removed for the scripts to run on a UNIX box.
You
can use a utility called "dos2unix" to convert all the scripts.
are you shure? before i mad my packets i hade used dos2unix, because there was a problem too in the past and since than i made this everytime.

Can it be that my ftp-client made this fault? 
mfg
Stefan
Cheers
Iain
On Thu, 2007-01-04 at 20:07 -0500, Jeffcoat, Al wrote:
Hi Stefan,
I've downloaded 0.1.1, and am getting the Server 500 error on
Apache,
"The server encountered an internal error and was unable to
complete
your request.
Error message:
Premature end of script headers: testalarm.sh"
I looked on the apache web site regarding this error, and it says
to
try to run this from the command line.  When I do, I get ": bad
interpreter: No such file or directory".
I'm not sure what info you need from me to help me to help you
figure
this out J
I'm running OpenSuSE 10.0.
Thanks,
Al
From:user-75055581652a@xymon.invalid
[mailto:user-75055581652a@xymon.invalid]
Sent: Thursday, January 04, 2007 8:45 AM
To: user-ae9b8668bcde@xymon.invalid
Subject: [hobbit] New Version of Admin Scripts (v.0.1.0)
Hi,
i have added a new version of my admin scripts, with some more > > features and lesser bugs (i hope ;-) )
You can Download it here: > > http://www.fh-augsburg.de/~henk/hobbit/
Have fun to test it and to report Bugs and Wishes. > > > > Changelog: > > 2007-01-04 v0.1.0
+use DHTML-Calendar instead of Plain HTML
(http://www.dynarch.com/projects/calendar/)
+use an better files-structur
+use bb to get Hosts and Services (hobbitdxboard) (with to ways
(enable it in cfg)) > >         1. Get all services and hosts > >         2. Get all hosts and only the services of this Host (Use > > Javascript to select)(it can be slow because bash programms are
not
c)
+Show time it needed the Script
+Header and Footer lidle overworked New Option in viewlogs.sh to > > +set Tail because it don't work on
Solaris
+View Log should show now an list, if it has not until yet. > > +Some more Bugs fixed
This e-mail message and any attached files are confidential and
are
intended solely for the use of the addressee(s) named above. If
you
are not the intended recipient, any review, use, or distribution
of
this e-mail message and any attached files is strictly prohibited.
This communication may contain material protected by Federal
privacy
regulations, attorney-client work product, or other privileges. If
you
have received this confidential communication in error, please
notify
the sender immediately by reply e-mail message and permanently
delete
the original message. To reply to our email administrator
directly,
send an email to: user-ecde3bbc361d@xymon.invalid . If this e-mail > > message concerns a contract matter, be advised that no employee or > > agent is authorized to conclude any binding agreement on behalf of > > Orlando Regional Healthcare by e-mail without express written > > confirmation by an officer of the corporation. Any views or
opinions
presented in this e-mail are solely those of the author and do not > > necessarily represent those of Orlando Regional Healthcare.
list Stefan Freisler · Fri, 5 Jan 2007 16:14:06 +0100 ·
ah ok the next time ;-)