Archive for March, 2015

Filter the messages file

Thursday, March 19th, 2015

I had an issue which the vendor support needed messages from the messages log file.

There of course are messages which are frequent and could hide the needed debug messages.

I just needed to filter them out.

cat messages | grep -v "message not wanted" | grep "message repeated" > textfile

Smaller and more succinct detail for the vendor support people.

Legibility could be an issue for some so if you want to be nice; run the file through a conversion:

unix2dos <file> <outputfile>

LSF reports “CScript Error: Loading your settings failed. (Access is denied. )”

Wednesday, March 18th, 2015

This was an odd error. We are setting up a new image for our farm and one user reported this message when he submitted his jobs:

CScript Error: Loading your settings failed. (Access is denied. )

Everything looked in order but for some reason his vbscript job failed. Looking around the Net, I did find a kb article which mentioned enabling vbscript for CGI. It seemed odd bot be touching the users key but I gave it a try.

I created the following keys:

HKEY_USERS\.DEFAULT\Software\Microsoft\Windows Script Host
HKEY_USERS\.DEFAULT\Software\Microsoft\Windows Script Host\Settings

The technote said to verify Everyone has access but I decided to leave it to the Users group.

I also decided to also add the following entries in the settings key:

BatchMode: REG_DWORD: 0
DisplayLogo: REG_DWORD: 0
Timeout: REG_DWORD: 0

There was no need for a reboot.

The user was able to submit jobs after that.

I did not heavily research the reason but I am assuming with Microsoft’s effort to go into Powershell (you should look at it if you haven’t); some things are left out of the Windows Scripting Host on new installs or this was a case of the user once being a local admin and that was removed.


Well now. This turned out to not be the case. We have working on automating the setups and this is what caused the problem. In the past, we would login as a specific user and finish the install. Debugging we would login as a user and the problem went away.

The villain?  No user profile on the system!

Once we logged in as the user and the profile was created; job submits worked!

A nuance that is easy to miss!

Apple Watch looks cool but…..

Tuesday, March 10th, 2015

Apple released it’s new watch and I must admit it looks interesting.  But when I heard the price, it started to loose my interest.

I decided I am going to pass on this for now.

The main reason is the old rule of not being an early adopter. Is there really “bragging rights” for being an early adopter? Experience has shown there will be new models that are better and cheaper later on.  Remember the first iPod? Then again, iPad really hasn’t dropped in price so maybe the same will be said for the watch?

Personal data is always an issue for me.  Everybody is out to get it and unfortunately the security world has shown it has a hard time keeping undesirables from getting at it.  Is iCloud secure now 😉  With a more paranoid view, could this type of thing quickly turn into “Hello this is your insurance company. We are going to raise your rates as we see that you are kind of lethargic and like to frequent fast food shops.”

Finally, there is the link to the iPhone.  You want email and other features; the iPhone has to be near.  Problem is much of the features are already available on the iPhone so is the convenience really just flicking your wrist rather then pulling out your iPhone?

Have we gotten that bad?