The Official *nix Thread

Inane baanter or words of wisdom - you decide...
Post Reply
User avatar
Ratsoap
Baaaaaaa!
Baaaaaaa!
Posts: 6344
Joined: Fri Dec 19, 2003 1:46 pm 0
Location: Back in Edinburgh
Contact:

Re: The Official *nix Thread

Post by Ratsoap »

Oh dear, another borked ubuntu update. After updating to 8.10, i now get the error message Kernel Panic: unable to mount root fs on unknown-block (0,0).

Any ideas how to fix that?
Because fucking marketing cunts would never call a spade anything other than a Deluxe Easi-Shift Earth Movement Solution.
User avatar
JQW
Baaaaa!
Baaaaa!
Posts: 1186
Joined: Thu Feb 22, 2007 12:23 pm 0
Location: Ripon, where nothing ever happens.

Re: The Official *nix Thread

Post by JQW »

You typically see these errors when the kernel is missing a device driver for your disk interface; I've had a few times when cutting my own kernel and missing out the correct SCSI driver.

In this case either the new kernel can't see your hard drive, or there's a problem loading the initrd image. Have you tried booting an older kernel from the GRUB menu?
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

I fancy running my own IRC server under Linux (so obviously people can login and chat normally). Is this even possible? Or do I need to regster with a wider network or something?

I know nowt about IRC aside from using mIRC on occasion. Any advice? Also, I assuming if the aove is possible, detailed logging is too.
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
defsdoor
Baaaaaa!
Baaaaaa!
Posts: 3909
Joined: Fri Jan 30, 2004 12:26 am 0
Location: Sunny Beduff

Re: The Official *nix Thread

Post by defsdoor »

You can run your own server that people log in to directly. However gaining the trust of another responsible irc network and being added as a host would take some doing.
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

defsdoor wrote:You can run your own server that people log in to directly. However gaining the trust of another responsible irc network and being added as a host would take some doing.
That'll do for starters. Any recommendations?
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
defsdoor
Baaaaaa!
Baaaaaa!
Posts: 3909
Joined: Fri Jan 30, 2004 12:26 am 0
Location: Sunny Beduff

Re: The Official *nix Thread

Post by defsdoor »

User avatar
Dungeon-Dave
Baaaaaa!
Baaaaaa!
Posts: 3925
Joined: Thu Aug 04, 2005 12:01 pm 0
Location: UK
Contact:

Re: The Official *nix Thread

Post by Dungeon-Dave »

RageMatrix wrote:Any advice?
Plenty. Running an IRC server is a bit like being a webserver admin - if you're not careful, several bots out there can take advantage of an unsecured node and then you're up to your eyeballs pretty quickly.

Firstly, it helps to deeply understand how IRC commands/concepts work - not just from chanop stuff, but also from wider network issues.
Secondly, if you're looking at getting others on your network, look to installing some services (we use Anope) which can safeguard your IRC server/network in some respect.
Thirdly... I run an IRCD server/network - if you want a brief spell on one of my servers (a month tryout on some commands and concepts on the live network, or a spell on my test network) you're welcome to hop on for a bit to learn the ropes before you forage on with your own server. We use UnrealIRCD on Linux-only OSen.
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

Thanks Dave, I'll do that after Christmas if I may. I'm going to do some more research on this. Possibly not as easy as I first imagined...
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
defsdoor
Baaaaaa!
Baaaaaa!
Posts: 3909
Joined: Fri Jan 30, 2004 12:26 am 0
Location: Sunny Beduff

Re: The Official *nix Thread

Post by defsdoor »

What do you want it for ? Would a jabber server be a better option ?
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

defsdoor wrote:What do you want it for ? Would a jabber server be a better option ?
Mainly for fun, really. I have no idea what a jabber server is :) <back to wikipedia>
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

Okay, I've a read-only vsftpd service running on my box in a chroot jail. A friend wants to upload some files for a friend to get, but I don't see a way to allow read-only on a per-user basis, only for all users through the vsftpd.conf file, so my friend cannot upload the files. Is there any way around this? I suppose I could do it simply with file permissions, I guess.

Any other ideas?
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
Dungeon-Dave
Baaaaaa!
Baaaaaa!
Posts: 3925
Joined: Thu Aug 04, 2005 12:01 pm 0
Location: UK
Contact:

Re: The Official *nix Thread

Post by Dungeon-Dave »

"mount --bind" can be used to create virtual dirs off the chrooted "home directory", so one person uploading into their chroot actually appears as a subdir for another.

I'll leave the configuration and man page research as an exercise for you, but I'd also advise to go a stage further: consider what would happen if there were 3 users, and all 3 wanted to download R/O content from a shared area and upload into a "private" area. What would your directory layout look like, and why?

I faced the same Q a bit ago, and can confirm that proper planning and documented structures greatly help sanity.
User avatar
RageMatrix
Baaaaaaa!
Baaaaaaa!
Posts: 5515
Joined: Fri May 10, 2002 12:52 pm 0
XBL Gamertag: Jon256
Location: East Sussex

Re: The Official *nix Thread

Post by RageMatrix »

Thanks Dave - research time again! :D
XBox Gamertag: Jon256
Wii Code: 4849 1090 9042 6725
"Wrapped in metal, wrapped in ivy"
The Official UNIX/Linux Thread
User avatar
disciple
Sheepie Whore
Sheepie Whore
Posts: 13941
Joined: Mon Oct 27, 2003 11:33 pm 0
XBL Gamertag: LiberMentis
PSN: Prime_Heretic
Location: Greenfield
Contact:

Re: The Official *nix Thread

Post by disciple »

I want to rebuild my file server. Disk space has always been a problem and I don't want to spend loads of money on new drives. So I'm wanting to use some sort of compressed filesystem.

I've had a look and it seems ext2 does it but not ext3, well ext3 does but with a patch that doesn't support journalling so not too keen on going down that route.

Have found a few other bits and pieces but invariably they're very old articles. Anyone know if there's a safe and reliable way to do this?

Since this is just for a smb file server, maybe something in samba that will compress everything going through it? Hmm that could be really slow though couldn't it.
PS4 : Prime_Heretic
Steam: bitstorm
Elite Dangerous: Cmdr Britain
User avatar
dom
Baaaaa!
Baaaaa!
Posts: 1370
Joined: Wed Feb 09, 2005 1:17 pm 0
Location: Edinburgh, UK and level 691859
Contact:

Re: The Official *nix Thread

Post by dom »

http://www.biggerbytes.be/ - CompFUSEd looks worth a go as compressed filesystems go, although I havn't used it myself.

Edit: to address your other point, any compressed filesystem is potentially going to be slow, due to the overhead of compressing or uncompressing on the fly. Is archiving to tape a possible alternative?
OMG (or oligodendrocyte myelin glycoprotein) is a molecule found in your central nervous system.
Post Reply