|HP Openview event log error||Thursday 24th November 2011|
Running on an ancient version of Openview, I see this error on some of my servers:|
Event Type: Error
Event Source: HPOV-MAA
Event Category: None
Event ID: 1024
Could not register at the NT Local Security Authority.
Actions will not be allowed to switch user accounts. (OpC30-563)
If you're not running the server's agent service under a privileged account you need to ensure that the account has been granted the "Act as part of the operating system" role in Local Security Settings.
Given that the agent normally runs under the SYSTEM account, this isn't really much of an elevation - still, if you have a point of running services on unprivileged accounts you might want to pause to think about this.
|Zend auto-complete||Tuesday 22nd November 2011|
Zend has a poor version of Microsoft's IntelliSense, which provides you with code hints when typing. It's very handy when programming with classes, as you can type the instance name and it'll pop up all the available children.|
Mine broke a long time ago which I resolved with a fix from the Zend forums.
Of course today, I had the same problem and that fix didn't work. This time it was user-error. When I created the project I somehow managed to set only one folder in my project to be built. The code I was writing was in a different folder so didn't get parsed.
To fix this you just need to go to the project properties, select 'PHP Build Path', and then add your project's root directory in.
It's also quite handy for excluding some directories which don't have proper code and makes your project look all messy.
|TestDisk||Sunday 20th November 2011|
Being able to undelete files has always been one of those top tasks for computer geeks when assisting friends and family recover deleted files.|
When you delete a file the index for it is removed, but the content isn't. The content remains until new data is written over the top. So in order to recover the file, you just need a program that will scan the hard disk, instead of the usual file index to find files that don't have an associated index.
With flash storage things get more complicated, and I have to say I've never looked into how it works really. Data bits in flash storage can only take a limited number of writes, so in order to preserve the life of the card, modern systems will distribute the write all over the card. This gives more chance for the data to exist after deleting as writes are not sequentially put back.
Now, how one over-rides this behaviour and reads the bits off a card directly is beyond me, but I recent had to do just this.
I used TestDisk to do this. Popped the card into my laptop and let it scan through. I was astonished at how much - and how old some of the deleted data was. As with everything, some of the content was unrecoverable because it had been written over, but a lot was.
It's free to use being covered under the GPL.