Friday, December 3, 2010

pyGTK issues on with Python 2.7 , GTK 2.22.0 and Windows 7

I just installed Python, pyGTK, GTK+ on this system, and wrestled with getting Python to load GTK for a couple hours.

Everytime I would open Python and type "import gtk", I would receive the following error:

Traceback (most recent call last):
File "", line 1, in
import gtk
File "C:\Python27\lib\site-packages\gtk-2.0\gtk\__init__.py", line
40, in
from gtk import _gtk
ImportError: DLL load failed: The specified procedure could not be found.
>>>

I could not get past this error until the following:

a) made the GTK runtime bin directory path to the first item in the PATH system variable (maybe something else like GIMP has a GTK dll that isn't compatible)

b) restarted the computer (killing and restarting explorer seems to update the path statement for the session, but not for some applications.)

Thursday, November 11, 2010

Sleep and Hibernate Greyed Out

On Windows Vista or Windows 7, Sleep and Hibernate may be disabled if you have a legacy driver installled.

You can find the offending driver by running "powercfg -Hibernate ON" from the command prompt.

I received a message like this:

The following items are preventing hibernation on this system.
There are one or more legacy drivers installed:
LMCPort



...Now I just have to figure out what to do with that legacy driver to make it work.

Friday, September 11, 2009

Zenworks Imaging with an external drive

Format the drive as ext2 (ext3 will not be readable by windows)

after booting to PXE Linux:
1. use "dmesg" to see what the external drives device name is (example: /dev/sdb)
2. mkdir /mnt/exthd
3. mount /dev/sdb1 /mnt/exthd
4. img
5. local
6. /mnt/exthd/imagename.zmg

to use the drive on a windows box if you need to extract something from the image, use the driver from http://www.fs-driver.org/ .

Wednesday, March 11, 2009

Miscellaneous Novell Tips

I had some issues with stuck obituaries in my tree and etc. and I picked up this info from Novell Support.

None of this is probably new or previously unknown, but useful nevertheless.

Delete stubborn obituaries in iMonitor:
in iMonitor when you are viewing a stuck obituary, add "&op=all" to the end of the URL and hit enter. This will enable all options for advanced management of an obituary, such as deleting it.

ConsoleOne doesn't connect to the tree:
in command line, run "consoleone.exe -forcemaster". This will force consoleone to connect to your master of root server, instead of whatever bad server it is attempting to connect to.

Friday, February 1, 2008

WSUS 3.0 Management Console Woes

After about 2 weeks of successfully running WSUS 3.0, the Management Console stopped working. Every time I tried to launch it, I would receive the following error message:

MMC could not create the snap-in. The snap-in might not have been installed correctly.
CLSID: FX:{8b6499ed-0241-e032-6508-da4b1c879d7e}

I solved the problem by renaming c:\windows\system32\mmc.exe.config to c:\windows\system32\mmc.exe.config.old .

Other things to try (None of these worked for me):
-Make sure you have MMC 3.0 and MS Report Viewer 2005 installed.
-Delete a file called "wsus" C:\Documents and Settings\chief\Application Data\Microsoft\MMC
-Last Resort: uninstall/reinstall WSUS 3.0


Sunday, September 2, 2007

Moving a groupwise 7.x GWDOMAIN folder

When I migrated our Groupwise server to a new machine, I decided to change around some of the volumes.

In this example, I moved GWDOMAIN from BORDER\SYS:\ to BORDER\Groupwise:\

First I shut down all groupwise agents/NLMs on the server. Then I made the config changes and brought groupwise up like normal.

Here are all of the configurations I had to change to make the move work:

gwia.cfg
from
/Home-\\border\sys\gwdomain\wpgate\GWIA
to
/Home-\\border\groupwise\gwdomain\wpgate\GWIA

domain.mta
from
/home-\\BORDER\sys\gwdomain
to
/home-\\BORDER\groupwise\gwdomain

webac70a.waa
from
/ph=\\Border\sys\GWDOMAIN\WPGATE\WEBAC70A
to
/ph=\\Border\groupwise\GWDOMAIN\WPGATE\WEBAC70A


gmtacfg.ini
from
BackLink=\\BORDER\sys\gwdomain\GWAVA\config
to
BackLink=\\BORDER\groupwise\gwdomain\GWAVA\config

ConsoleOne
GWIA-
"Server Directories" Tab had to be modified

Domain Object Properties- UNC Path:
from
\\BORDER\sys\gwdomain
to
\\BORDER\groupwise\gwdomain

GWAVA 3.x:
edit thie file: gwdomain/gwava/config/gmtacfg.ini
The following lines had to be modified:
Home=\\BORDER\groupwise\gwdomain
MTASieveBase=\\BORDER\groupwise\gwdomain\GWAVA
ProgramBase=\\BORDER\sys\SYSTEM
ArchiveDirectoryPath=\\BORDER\groupwise\gwdomain\GWAVA\archive
POQueuePath=\\BORDER\groupwise\gwdomain\GWAVA\config\poq

Thursday, June 28, 2007

MSIZAP - Windows Installer CleanUp Utility

After upgrading my network to ZFD 7.01 Hot Patch 5, I had a corrupted install of Zenworks for Desktop Agent on a machine that I couldnt upgrade or uninstall. I kept receiving the error -1722 "there is a problem with this windows installer package"

Eventually came across TID 10088429, which explains that this is simply inevitable on some machines when upgrading to ZFDAgent 7.0.1.4 (which is the latest version in Hot Patch 5). They reccommend using MSIZAP to blow away the msi info and let you install a new one without any problems.

I have to say that I am in love with MSIZAP aka Windows Installer CleanUp Utility, an invaluable little tool for dealing with naughty MSI's.

here is the KB Article on MSIZAP: http://support.microsoft.com/kb/290301