• The Forums
  • About
  • Archives
  • Categories
  • Archive for May, 2011

    failed to create drawable – Empathy


    2011 - 05.18

    I’m a big user of Empathy, it’s a great app. It connects to world+dog so when I rebuilt a PC recently with LMDE (Debian Testing via Mint) I was kinda irate to find that it didn’t work once installed.

    When running on the command line I got this:

    failed to create drawable.
    Unable to select the newly created GLX context

    Turns out that is you have MesaGLX and libclutter-1.0-0 on Debian and Ubuntu with your standard 2D driver, GTK apps such as Empathy won’t start.

    My fix was quite easy, I installed the NVidia and NVidia-glx binaries and used those in my system rather than the opensource nouveau drivers. Not only did this have a massive performance increase, the GLX issues went away.

    BESx 5 & The RefreshGALUsingMAPI Error of Doom!


    2011 - 05.11

    So my boss messages me to say his Blackberry is playing up and randomly sending some emails, receiving some emails, not syncing the calendar, etc.  The usual fix is to sign in to Bes Manager, find the user, find the device and then push a full sync.  After having done this three times and the same issues occurring I noticed something very odd.

    The Users account had marked itself for Blackberry Services removal.  No one else has access to this service so that intrigued me but also worried me.  At the same time, my blackberry also started to play up.  I deleted the users account, waited 5 minutes for it to clear and tried to re-add it but to no avail, it claimed the user still existed.  At this point I decided it would be best to restart all the Blackberry services.  In to Admin/Services.  I stopped all the Blackberry ones, then tried to restart them.  This is where all BESx failed monumentally.  All of a sudden in my eventlog I started to see this repeatedly:

    MailStoreExchange::RefreshGALUsingMAPI – Error in HrFindExchangeGlobalAddressList, result=0×80004005.
    [ODBCRecord:DeleteRecord] No rows found to delete.  SQL = “DELETE FROM MsAddresses WHERE MailStoreDomainId = ? AND SequenceNumber > ?”.
    [ODBCRecord:DeleteRecord] DATA = “MailStoreDomainId[1] SequenceNumber[0] “.

    Well that was not a good sign, and then to add to fold this one started appearing too from MS Exchange 2007:

    * Source: MSExchangeSA
    * Event Log: Application
    * Type: Error Event
    * Event ID: 9385
    * Microsoft Exchange System Attendant failed to read the membership of the
    universal security group ‘/dc=com/dc=Domain/ou=Microsoft Exchange Security
    Groups/cn=Exchange Servers’; the error code was ’8007203a’.
    The problem might be that the Microsoft Exchange System Attendant does not
    have permission to read the membership of the group.

    If this computer is not a member of the group
    ‘/dc=com/dc=domainname/ou=Microsoft Exchange Security Groups/cn=Exchange
    Servers’, you should manually stop all Microsoft Exchange services, run the
    task ‘add-ExchangeServerGroupMember,’ and then restart all Microsoft Exchange
    services.

    Now between Microsoft and Research In Motion’s technical support, I got underway trying to resolve the issues.  First thing I did was log in as the BesAdmin account locally and try and sort out the MAPI config in the way RIM suggest.  Firstly stopping all the Blackberry Services, I fired up regedit, drilled down to HKEY_CURRENT_USER\Software\MicrosoftWindows NT\CurrentVersion\Windows Messaging Subsystem\Profiles, and deleted it!  Cue the absolute horror as the server hung for over 20 mins and regedit just sat there saying NOT RESPONDING.  I eventually bit the bullet and killed the regedit process, dove back in to the registry, expanded out the profiles subkeys and time consumingly deleted each subkey (over 100 for some reason) which took ages.

    Next I fired up the Blackberry Server Configuration Tool, Blackberry Server Tab, and hit Edit MAPI.  I whacked in the server and the mailbox name and hit Check Name…. To be confronted with an error stating that the mailbox can not be found.  Highly frustrated I came to the conclusion that it wasn’t BESx all at fault here so started down the “let’s fix MS Exchange 2007 first” route.

    Fixing error 9385 isn’t actually all that difficult it turned out.  After checking all the permissions and discovering that Microsoft tell you to move the server back to the USERS OU on the A/D, it turns out you need to move the server to the Computers OU and then restart the Microsoft Exchange System Attendant service.  Once this is done, Error 9385 will disappear.

    By resolving this, it also resolved my issue with MAPI not being able to look up the BES ADMIN mailbox.  I got that sorted, and restarted the Blackberry services.  Let the EventLog Viewer become awash in:

    agent x: will not restart – reached the maximum of 10 restarts per 24 hours.

    &

    MailStoreExchange::RefreshGALUsingMAPI – Error in HrFindExchangeGlobalAddressList, result=0×80004005.

    I obviously hadn’t quite cleared the RefreshGALUsingMAPI issue.  A lot more research led me to the fact that the Global Catalog (GC) was probably not defined in the registry under the MAPI profile area.  Regedit up, back down to Profiles and then in to:

    HKEY_CURRENT_USER\Software\Microsoft\Windows NT\CurrentVersion\Windows Messaging Subsystem\Profiles\BlackBerryServer\dca740c8c04210 1ab4b908002b2fe182

    Add a string value called 001e6602 and set the value to a FQDN of a Global Catalog server.  Go back and stop all your Blackberry Services.  Now start them all back up, making sure the Blackberry Controller and Blackberry Dispatcher services come up first.  Fingers crossed it should all be resolved!

    Removal of Fake Viruses and Trojans in Windows Vista/7


    2011 - 05.05

    There’s been a right spate of nasty viruses going about recently which generally get in via scripting on a website and then take over your machine.  They start hassling you about buying antivirus products and fake scan your PC and show you are very infected.  The fact of the matter is, you’re not actually that infected but since your new little virus buddy has disabled Run, Task Manager access and cmd prompt, you will feel well and truly stumped.

    Alas, you have nothing to fear if you have the slightest competence with a PC and hopefully with the command prompt.  A lot of people these days are all about the GUI, bad man, it’s bad.  You need to get some quality command line time.  Here’s the quick fix to rid yourself of the latest influx…

    Reboot your PC, before the Windows boot loader appears, get tapping on your F8 key so you can get your secret boot menu.  Choose from Microsofts carefully selected choices wisely, you want SAFE MODE with COMMAND PROMPT.  You don’t need a GUI, GUI’s are for kids, cripples and people that like their tea with milk and honey.

    Wait for lovely presented command window to appear.  Now here’s the easy task, you need to hunt down and destroy the virus.  Generally people don’t keep executables in their home folders, which is really handy as we’re about to remove any that may exist there.  Do the following and hit enter at the end of each line.

    cd \users

    You should now see your command prompt looking like C:\Users>

    dir *.exe /s /a

    This will search all files and sub-directories looking for executables.  Should it return with something like “aasdrwerwdf.exe” then you are infected.  Easy fix, let’s run a delete:

    del *.exe /s /a

    Generally that’ll give you the all clear, but some of the little bastards hide in another area, called ProgramData.  This is a hidden directory.

    cd \programdata

    dir *.exe /s /a

    If you found any .exe files then

    del *.exe /s /a

    That is about it.  Reboot your computer and you should be good to go.  I recommend you ditch Windows if you can, try Mint Linux Debian Edition (LMDE) and you’ll stay free from this hassle.