Out of troublePosted by Magnus Glantz 2010-06-10 17:34:30If you get something like this on the RHN Satellite side during rhnreg_ks (you'll find it in /var/log/httpd/error_log). Make sure that /tmp is writeable!
Exception reported from rhnsat.example.com
Time: Thu Jun 10 17:07:49 2010
Exception type exceptions.OSError
Exception while handling function handler
Request object information:
URI: /XMLRPC
Remote Host: 130.241.37.200
Server Name: rhnsat.example.com:443
Headers passed in:
Accept-Encoding: identity
Content-Length: 30007
Host: rhnsat.example.com:443
content-type: text/xml
user-agent: rhn.rpclib.py/$Revision: 136589 $
x-client-version: 1
x-info: RPC Processor (C) Red Hat, Inc (version 183383)
x-rhn-client-capability: packages.verifyAll(1)=1,caneatCheese(1)=1,packages.extended_profile(1)=1,reboot.reboot(1)=1,packages.verify(1)=1,packages.runTransaction(1)=1,packages.update(2)=2,packages.rollBack(1)=1
x-rhn-transport-capability: follow-redirects=3
x-transport-info: Extended Capabilities Transport (C) Red Hat, Inc (version 136589)
x-up2date-version: 0.4.20-9.el5
Extra information about this error:
Unhandled exception type
Exception Handler Information
Traceback (most recent call last):
File "/usr/share/rhn/server/apacheServer.py", line 58, in __call__
ret = f(req)
File "/usr/share/rhn/server/apacheHandler.py", line 198, in handler
ret = self._req_processor.process()
File "/usr/share/rhn/server/apacheRequest.py", line 450, in process
fd = self.input.decode(self.req)
File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 423, in decode
self.read(fd)
File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 401, in read
max_mem_size=self.max_mem_size)
File "/usr/lib/python2.4/site-packages/rhn/transports.py", line 518, in _smart_read
buf.write(chunk)
File "/usr/lib/python2.4/site-packages/rhn/SmartIO.py", line 49, in write
tmpfile = _tempfile()
File "/usr/lib/python2.4/site-packages/rhn/SmartIO.py", line 65, in _tempfile
% os.getpid(), dir=tmpdir)
File "/usr/lib64/python2.4/tempfile.py", line 302, in mkstemp
return _mkstemp_innException reported from rhnsat.example.com
Out of troublePosted by Magnus Glantz 2010-05-29 23:58:28I spend 2 hours of trying to figure out how the hell to enable wireless/bluetooth/radio on my Lenovo T400. It had worked before, but suddenly after booting up one day, nothing worked.
As then found out that the FN+F5 button doesn't work properly. It's not bound at all it seems.
But.. on the Lenovo T400 there is a hardware switch that can be pressed from left (wireless/bluetooth/radio=disabled) to right (all/stuff=enabled). You'll find the hardware switch on the "front", to the left of where you put you're headphones or microphone cables.
There you go.
You must readPosted by Magnus Glantz 2010-04-30 00:19:04I've just released my first piece of Open Source software, it's a small command line utility to repeat arbitrary commands or strings. Instead of having to write tiresome loops in you're shell of choice - you run: repeat [command].
Just added a pretty neat feature where repeat will repeat a command up to 4 times - if it fails (returns an exit code other than 0).
It's RPM packaged, but also available as a pre-compiled binary or source (C).
Download 'repeat' below!
Goto the Repeat Website!
You must readPosted by Magnus Glantz 2010-03-15 14:12:09Goto http://chmod.hacka.net. A simple app that allows you to calculate chmod permissions.
You must readPosted by Magnus Glantz 2010-02-23 09:11:45Here's all you need to know for getting Firefox 3.6 running on Fedora 12 64 bits with properly working Flash and Java.
You need to keep in mind that as of yet OpenJDK does not work with Firefox 3.6, that means you'll have to download Oracle's Java.
1) Goto java.com to download the Linux x64 RPM .2) Goto your download directory ( probably ~/downloads )
3) Make the installer executable:
chmod +x jre-6u18-linux-x64-rpm.bin4) Execute the installer:
./jre-6u18-linux-x64-rpm.bin5) Create a symlink to your Firefox directory, either:
ln -s /usr/java/jre1.6.0_18/lib/amd64/libnpjp2.so /usr/lib/mozilla/plugins/libnpjp2.so or
ln -s /usr/java/jre1.6.0_18/lib/amd64/libnpjp2.so ~username/.mozilla/plugins/libnpjp2.so
6) Download the 64 bits 'labs' version of Flash from Adobe Labs.7) Goto your download directory ( probably ~/downloads )
8) Extract the downloaded tar.gz archive
tar -xzvf libflashplayer-10.0.45.2.linux-x86_64.so.tar.gz9) Copy the libflashplayer.so to your central or local firefox plugin directory, either:
sudo cp libflashplayer.so /usr/lib/mozilla/plugins/ or
cp libflashplayer.so ~username/.mozilla/plugins/10) Done!
You must readPosted by Magnus Glantz 2009-12-27 00:53:58To install
the calendar Lightning on Fedora 12 do as follows..
Please be aware that when this is written, one need to use beta versions of Lightning to get this to work. This will not be the case in the future.
Please check the Lightning Mozilla addon page to check if there is stable versions available before proceeding with the below instructions. Click here.For 32 bits Thunderbird1. In Thunderbird 3.0, open your Add-Ons Window
(Tools->Add-Ons)
2. In Firefox, open the Lightning nightly builds for Linux:
Found here.
3. Drag Lightning.xpi to the Add-Ons Window you opened in Step 1 and click "Install"
4. Restart Thunderbird
Repeat for :
gdata-provider.xpi if you need Google Calendar
For 64 bits ThunderbirdWhen writing this I could not locate an official 64 bits nightly build.
1. In Thunderbird 3.0, open your Add-Ons Window
(Tools->Add-Ons)
2. In Firefox, goto a site making 64 bits versions of Lightning nightly builds for Linux:
Found here. I used the
2010-01-12
- lightning 1.0pre x86_64 linux english/ version with all the latest Thunderbird Fedora update applied.
3. Drag Lightning.xpi to the Add-Ons Window you opened in Step 1 and click "Install"
4. Restart Thunderbird
Repeat for :
gdata-provider.xpi if you need Google Calendar
Out of troublePosted by Magnus Glantz 2009-12-16 23:47:53How to install Google Earth.1. Download it from
http://earth.google.com2. On Fedora 12 64 bits you need to install glib2.i686! Else it won't work. Run:
# yum -y install glib2.i6863. Make GoogleEarthLinux.bin executable by opening up a terminal and typing:
$ chmod +x GoogleEarthLinux.bin4. Install (as root for system wide installation or regular user for local install) by typing:
$ ./GoogleEarthLinux.bin5. Run Google Earth by typing:
$ googleearth (if you installed it as root)
$ ~/google-earth/googleearth (if you installed it as a regular user)When running it, if you encounter the below error message: $ googleearth
./googleearth-bin: error while loading shared libraries: libgthread-2.0.so.0: cannot open shared object file: No such file or directory..then you probably are running Fedora 12 64 bits or are missing glib2. In either case, run:
# yum -y install glib2.i686
Out of troublePosted by Magnus Glantz 2009-12-08 00:30:02I never had problems running Wine or Spotify on Fedora, but after
re-installing my laptop with Fedora 12 64 bits, I ran into some issues.
The first symptoms was that Spotify wasn't able to play and sound. Also
Spotify was experiencing connection issues and kept re-connecting all
the time.
I guessed it was sound dev related and tried to run 'winecfg', but that
resulted in winecfg crashing to it's death when I accessed the audio
tab. It blurped out the below error message:
"wine: Unhandled page fault on write access to 0x1234567 at address 0x1234567 (thread 0009), starting debugger..."
I encountered someone else with the same Winecfg issue using the Wine 64 bits version, just as I. ( Thank to
LeeNukes at
linuxformat.co.uk )
The solution was to un-install Wine 64 bits and install Wine 32 bits.1. Remove Wine 64 bits.# Remove the .wine directory for the relevant users (the ones you run Wine software as)
#rm -rf ~/.wine
yum -y erase wine*2. Install the 32 bits version of Wine.yum install wine.i686Done!
You must readPosted by Magnus Glantz 2009-11-19 09:34:30I just installed Fedora 12 on my Lenovo T400 laptop, and it works like a charm, out-of-the-box. Graphics (Intel gfx card with 3D enabled), sound, wifi, bluetooth, 3G/HSPDA via a Huawei E220 modem. It's like Fedora 11 - but faster and much more feature rich.
Get Fedora 12 here.You'll find Release Notes, Installation Guide and all the other documentation here.The only heads-up so far has been using qcow2 image format for virtual machines. It has become very much slower than using regular raw. This is as I understand a bug that will be fixed soon.

I tried out the Gnome 3.0 Interface preview and after having used Gnome-Shell for 2 days - I think I'm going to keep it. It's very different and for a while I thought I'd give up and go back to the standard Gnome 2.x interface, but.. no.. I don't want to go back any more.
I did have some difficulties finding my way around, for example..
Q) Where the hell did all the menu's go?
A) Applications are found at "Activities" on your upper left, the old menus doing stuff like configuring sound, appearance, startup applications, etc - are found at your upper right. Just click on your "username" and select "System preferences".
For more info, checkout the below sites:
Gnome-Shell Cheat SheetGnome-Shell Project Page
You must readPosted by Magnus Glantz 2009-10-11 13:31:50Please have a look at this if you are having SELinux issues. Many people take the easy way out and just disable SELinux, when the issues at hand often isn't that difficult to overcome.
Checkout the blog of
Dan Walsh, Lead SELinux Developer at Red Hat. In the below article he explains in a very easy-to-understand way, how to understand the root behind the 4 most common SELinux issues - and how to solve them.
http://danwalsh.livejournal.com/30837.htmlHappy reading!