Debian Postgresql NFS issue!

Posted by Justin | Experiments,New User Information,Server Work,Troubleshooting,Tutorials | Monday 24 November 2008 7:57 pm

Now what it worked this way I have NO IDEA, but it sees that Debian does not play well with it’s packages. I did a clean install of Debian to be my NFS server for my movies to my home network. I set it up exactly as I did my former Ubuntu media sever, web server, and file server yet when ever I attempted to mount the NFS share with a client I got an error:

mount.nfs: mount to NFS server ‘rpcbind’ failed: RPC Error: Program not registered
mount.nfs: internal error

It took half the night with no help really in the #debian IRC channel or Debian forums but I found a site that the guy had the same issue back in June of ’08. Here’s the LINK.

In a nutshell for some reason Postgresql doesn’t let NFS start up correctly (if at all) so all the clients can’t see the NFS share until you perform a removal of the Postgresql applications (I like MySQL better anyhow).

All I did to fix my NFS errors was:

sudo aptitude remove postgresql-7.4 (and let it remove all related items).

sudo shutdown -r now

and on all the clients that were setup for NFS I did a simple:

sudo mount -a

It worked like a champ. Now we’ll really see if that little Cyrix II M, 131mb ram, 10gig and 500gig computer can dish out the movies fast enough to stream them =) .

Ubuntu Partition “Mini-tut”

Posted by Justin | New User Information,Tutorials | Sunday 23 November 2008 7:03 pm


Here’s a quick rundown on Ubuntu Desktop Alternate install. It starts at the partitoning since I beleive this is the point when most peple say “what the fuck?” .. lol

Images speak a thousand words:

Manual is my choice

Manual is my choice

Guided – use entire disk: will walk you through the install too, but assumes you will use one ext3 and one swap and what ever other OS you have on there.

Select disc to partition

Select disc to partition

Once you’ve selected your disc, I hammer down “Return” and it asks me if “I’m sure”.

If it is your only hdd/os wipe it

If it is your only hdd/os wipe it

In this case it was saying “This is an unformatted disc, we need to get it set up to partition” .. so I did.

Freshly wiped hdd

Freshly wiped hdd

This frame should start looking kind of familure. You may see SDA/SDB/SDC the sd is the device and the sdA,sdB,sdC are the devices. If you had 3 hdd in your computer you would see sda through sdc. In this case we’ve only got one hdd (sda) so we are going to make three partitions in here (if you already have Windows installed you’ll see sda1 already). We are going to make sda1, 2 & 3. If you have windows already you’ll make sda2,3 &4. More on windows ‘crap’ later.

Select create new partition

Select create new partition

Create a new partition. Do not click the partition your windows is installed on just yet. I’ll shoot you some screenshots for that in a bit.

Size your part up

Size your part up

Back space that size out and enter your own size. In this case I backed up and entered “512MB” and hit enter. This was for my /boot partition.

This is the finished look

This is the finished look

I entered ext3 for /boot (/boot or grub can only do ext3, ext2 and reiserfs) and changed the Bootable flag: to on. If you already have windows installed this will reamain off.

All done

All done

This is my finished partition table for an all Ubuntu install. For windows it would look similar, except that sda1 (#1 primary) would be “#1 primary xx.x GB B f NTFS /media/WinSux_XP” followed by the Ubuntu partitions. I do similar partitions for Gentoo, Debian, FreeBSD and gOS.

Last Chance

Last Chance

If you see a windows partition in the section that says “The following partitions are going to be formatted:” then it WILL erase all your virus magnet area with what ever it says here. In this instance it is all just the stuff I selected.

Six percent

Six percent

After your partitions finish writing it will jump into the base install (all the stuff it needs to really install). It is natorious to look like it “stuck” at 6% but it is usually just unzipping (for a lack of better word) the files it needs to continue. It’ll stop here for a while (10 minutes or more sometimes).

pov windows

This is Ubuntu alt install cd started from a windows virtualbox inside my Ubuntu box. If it were “reality” you’d see more than 8.2mb down there to mess with, but we’ll chop it once more for example.

Select free

Select free

We only have 8.2mb to dink’ with, but this will give you an idea.

sorta

sorta

Basically you can see here. The bootable disc (B under GB) is still for the Windows partition, but we’ve still got /boot where Ubuntu will store it’s startup files. Grub will change the MBR (Master Boot Record) so it will use Grub (in /boot/grub) to start the computer, then offer a menu so you can select the OS you wanna play with.

Something I always do (but know what I’m doing) is to click the windows partition, and change it’s mount location. I usually change it to /media/WinSux_ExPee or something along those lines. That way it shows up on my desktop as such. Just do not format it, you’ll loose that stuff.

After Ubuntu is all installed I also go toss a buttload of other stuff on there. Mainly virtualbox (& how to) medibuntu, playdeb and uncleck the blocked repositories in /etc/apt/sources.list (sudo gedit (or nano -w) /etc/apt/sources.list). I like to watch my purchased DVD movies on the hardware I paid for (DRM is such a rip off to the consumer).

That’s a foot in the door I guess. Hope it doesn’t seem too bad, it’s cake really.

Justin =)

Communist Microsoft?

Posted by Justin | General News | Wednesday 12 November 2008 10:11 am

I was poking around the internet during some downtime and found this picture. I thought it was a pretty good representation of how I feel about Microsoft and their methods in marketing, business practice and software dissemination. The article I was looking for was one about the NSA (National Security Agency) getting pretty bent at MS when they (MS) gave the source code for Windows NT to China, but not the NSA. Needless to say I couldn’t find it; it was quite a while ago, but as it turns out, MS still gave a bunch of their code to some other countries (to include China) in order to get sales back up. It appears OpenOffice.org is indeed a viable threat to MS’s bottom line when it comes to office applications.

MS in China

Image credit to “this” article at CNN.

Next Page »