[01:33] <r00tintheb0x> I freaking hate Yum.
[01:34] <Nafallo> yum install apt IIRC
[01:36] <r00tintheb0x> heh
[01:36] <r00tintheb0x> My CEO MAKES me use CentOS.
[01:37] <Nafallo> know the feeling
[01:38]  * r00tintheb0x sighs.
[01:38] <kgoetz> option one: new job. option two: smak the ceo a bit ;)
[01:39] <Nafallo> we had cpanel on top...
[01:39] <r00tintheb0x> Right.
[01:39] <r00tintheb0x> cpanel is okay.
[01:39] <r00tintheb0x> I work for a software dev company...
[01:39] <Nafallo> no. it really isn't.
[01:39] <r00tintheb0x> Thats good for webhosting though.
[01:39] <Nafallo> cpanel is a pile of crap.
[01:39] <r00tintheb0x> Yeah, it trashes things quite a bit.
[01:40] <r00tintheb0x> lol!
[01:40] <r00tintheb0x> I didn't want to offend anyone.
[01:40] <r00tintheb0x> brb
[05:35] <[Solars]> \sh you awake?
[07:36] <Dave10293> hello
[07:36] <Dave10293> i need some assistance with my Ubuntu server installation.
[07:37] <Dave10293> Is anyone willing to help me?
[07:46] <kgoetz> !anyone
[07:52] <Dave10293> I want to setup "Ubuntu-server-Hardy Heron" on a server machine, then I need it to serve a simple webpage display "Nagios", what is the best method of doing this + what will i need to install.
[07:53] <kgoetz> doesnt nagios have its own front end?
[07:54] <kaushal> hi
[07:54] <kaushal> whats the command to see what all services has been started on ubuntu server
[07:54] <Dave10293> Yes, I believe so
[07:58] <kaushal> Dave10293, ???
[08:00] <Dave10293> yeah
[08:00] <Dave10293> i don't know that answer to that question
[08:01] <kgoetz> kaushal: he was talking to me
[08:02] <kgoetz> kaushal: do you mean `ps aux` ?
[08:02] <kgoetz> Dave10293: tried `apt-get install nagios`?
[08:02] <Dave10293> yeah, i
[08:02] <Dave10293>  have
[08:02] <kaushal> just like you have service-status-all
[08:02] <kaushal> in redhat
[08:03] <nxvl> there is a work on intrepid for this
[08:03] <nxvl> you need to ask kirkland about it
[08:03] <nxvl> but i hardy doubt he's arounf right now
[08:04] <nxvl> but, you always send him an e-mail
[08:04] <kaushal> nxvl, are you referring to me
[08:04] <nxvl> yup
[08:04] <kaushal> whats his emailid
[08:04] <nxvl> s/hardy/hardly/g
[08:05] <nxvl> his lp id is kirkland aswell, his e-mails are in there
[08:05] <nxvl> launchpad.net/~kirkland
[08:06] <nxvl> kaushal: he is based in the US so now it's late for him right now
[08:06] <kaushal> ok
[08:06] <kaushal> so is there any other option to know that
[08:07] <nxvl> netstat -na | grep "LISTEN "
[08:07] <nxvl> assuming that your system is in english
[08:07] <nxvl> it will show you the open ports
[09:32] <ropetin> Anyone have experience with OpenVPN?  I'd like to configure a client to run a script after connection (connect to file share, copy file if newer etc), but I can't seem to find where/how to do it
[11:09] <kopa> ll
[11:09] <kopa> oops ;-)
[12:13] <scuser> hi all, I have scuser account and scuser principal, but the system authentication refuses to go through kerberos principal, although it goes through any other account such as test account and test principal, any help ?
[14:49] <kirkland> kaushal: nxvl: http://manpages.ubuntu.com/manpages/intrepid/man1/service.html
[14:49] <kirkland> kaushal: nxvl: service --status-all
[14:50] <kaushal> kirkland, I am running Ubuntu 8.04 Server
[14:50] <kirkland> kaushal: oh, sorry
[14:51] <kirkland> kaushal: there isn't really anything already there for that
[14:51] <kirkland> kaushal: you could try something like:
[14:51] <kirkland> for i in `ls /etc/init.d`; do $i status; done
[15:59] <phaidros> how to deal with missing linux-xen: Depends: linux-restricted-modules-xen (= 2.6.24.21.23) which is a virtual package. ??
[15:59] <phaidros> obviously restricted modules are not there in the right version.
[16:01] <phaidros> ah, it seems it is a multiverse dependency :-/
[16:01] <phaidros> hm, so I know how to deal with it.
[16:01] <phaidros> thanks for listening :)
[16:39] <phaidros> well, I'm stuck with a chrooted raid1 server install. any mdadm gurus around?
[16:40] <ivoks> what's up? :)
[17:05] <phaidros> well, the problem was either I remounted proc wronlgy (-o bind instead of -t proc) *or* grub was to dumb to realize md0 is an array ..
[17:05] <phaidros> well, I'd go for blaming myself :D
[17:06] <phaidros> as this is a new machine, I have the chance to think about disk encryption for e.g. xen hosts .. bothering me is the problem of e.g. power outtages.
[17:06] <phaidros> any ideas how to handle such a thing like remote machine with passwords needed on boot ?
[17:16] <phaidros> argh, this damn mdadm always uses the whole disks as raid, not the configured partitions ..
[17:23] <flyback> mmm
[17:23] <flyback> xen owns your "canuck"
[17:23] <flyback> least I have heard
[17:23] <flyback> we use vmware server and esxi at work it's decent
[17:23] <flyback> but I heard good things about sex
[17:25] <phaidros> sex??
[17:27] <phaidros> well, independent of which virtualization: how would a practicable encryption of vm devices look like?
[17:30] <phaidros> ah, I now get more info from mdadm. there is somehow a raid0 still there. just from a first test ..
[17:30] <phaidros> a771861a
[17:30] <phaidros> sry. wrong paste :)
[17:30] <phaidros> http://pastie.org/280874
[17:30] <phaidros> how to get rid of it?
[17:44] <phaidros> howto remove a mdadm definition of a hd (sda)
[17:44] <phaidros> ?
[17:49] <phaidros> :(
[17:51] <phaidros> sudo mdadm --zero-superblock /dev/sda :)
[18:00] <flyback> phaidros, sorry
[18:00] <flyback> esx not sex
[18:00] <flyback> brain fart
[18:01] <flyback> I never understood linux's software raid tools well sorry
[18:01] <flyback> but there are lots of channels and probably people here that can
[18:12] <phaidros> flyback: yeah I find mdadm quite non-intuitive ..
[18:23] <[Solars]> ivoks love raids :P
[19:11] <[Solars]> apprently i screwd up something during the install
[19:11] <[Solars]> my /dev/md2 is a raid 5 ment to be used as swap
[19:12] <[Solars]> but it is not being mounted and its not being used
[19:12] <[Solars]> best way to fix this?
[19:21]  * flyback bbl
[19:21] <phaidros> [Solars]: well, I'm all but an expert here :)
[19:22] <phaidros> but: /usr/share/mdadm/mkconf (on ubuntu) cretes you a nice mdadm.conf for a setup arry
[19:48] <[Solars]> phaidros the raid is already created
[19:48] <[Solars]> its just not mounted
[19:49] <[Solars]> dunno if i have to mod eth fstab or not
[19:49] <[Solars]> or even how to mount it
[19:50]  * flyback ponders how much crap he is going to break in his 2k vm doing a repair install of 2k noSP over 2k sp4 but since the vm died anyways guess it doesn't matter
[19:56] <phaidros> [Solars]: did you create a swap inside? (mkswap /dev/mdX) and did you put it in fstab ?
[19:56] <phaidros> [Solars]: you can check with swapon -a (enable all from fstab)
[19:56] <phaidros> and: swapon -s (show all swaps)
[19:57] <phaidros> fstab entry looks like this: # #/dev/sdb2       swap            swap    defaults,pri=1  0 0
[19:57] <phaidros> or better, when you create the swap you get told an new UUID, so then use this in fstab:
[19:58] <phaidros> UUID=5c30a82b-bb8c-4cd5-b418-cb667aa5ea9c pri=1            swap    sw              0       0
[19:58] <phaidros> you can ignore the pri=1, I use it only, because I have 2 swaps, same prio
[20:27] <phaidros> damn, the server kernel boots easily, xen not .. :(
[20:45] <phaidros> the installation of mdadm *after* a new kernel in chroot should point out that initrd has be rebuilt !!!
[20:45] <phaidros> :)
[21:41] <[Solars]> erm phaidros sorry for the delay i'll look into that
[21:43] <[Solars]> phaidros when i try to do swapon -a i get an error
[21:43] <[Solars]> didn't do mkswap /dev/mdX
[21:43] <[Solars]> the error is
[21:45] <[Solars]> swapon: cannot canonicaliz /dev/disk/by-uuid/<some long alphanumeric string> no such file or directory
[21:45] <[Solars]> also says it cannot stat it
[21:47] <[Solars]> and looking in /etc/fstab
[21:47] <[Solars]> it appearse that the /etc/md2 isn't mounted anywhere
[21:50] <[Solars]> "UUID=<alphanumeric string> none swap sw 0 0
[22:31] <[Solars]> \/me wonders ivok will come back :P
[23:15] <phaidros> [Solars]: easy thing: the uuid of your fstab entry is not the same as of the actual swap partition
[23:15] <phaidros> just mkswap again and use that uuid in fstab
[23:40] <[Solars]> phaidros erm kk i'll try that again
[23:42] <[Solars]> mkswap didn't work, "sudo mkswap /dev/md2" says area must be 40KB in size
[23:42] <[Solars]> so i have a feeling this is a raid issue
[23:49] <phaidros> [Solars]: what does cat /proc/mdstat say?
[23:50] <phaidros> and: fdisk -l /dev/md2
[23:51] <[Solars]> it says inactive
[23:51] <[Solars]> for /dev/md2
[23:51] <[Solars]> and fdisk -l shows nothig
[23:51] <[Solars]> or rather returned nothing
[23:52] <phaidros> inactive then it is not assembled
[23:53] <phaidros> so, either try mdadm --assemble /dev/md2 /dev/sdaX /dev/sdbX [all devices]
[23:53] <phaidros> or mdadm --assemble --scan
[23:53] <phaidros> (it tries to guess)
[23:53] <phaidros> hehe, I had alot to do with that mdadm last 20 hours :)
[23:54] <phaidros> mdadm --create foo bar writes superblocks for the selected devices once and assembles them.
[23:54] <phaidros> after that mdadm --assemle is the tool to enable this raid device
[23:55] <phaidros> create is only used initially
[23:55] <[Solars]> says its already active
[23:56] <[Solars]> also appears that there are missing parts of raid in mdstat
[23:57] <[Solars]> missing "sdd2"
[23:57] <[Solars]> the line reads
[23:57] <phaidros> hmmm
[23:57] <phaidros> then further to things I didn't try myself :D
[23:58] <[Solars]> md2 : inactive sda2[0] sdb2[2] sdc2[1]
[23:58] <[Solars]> should be a raid 5 with 4 disks
[23:58] <phaidros> hm, ok
[23:59] <[Solars]> lemme fdisk sdd and see if it has the partition
[23:59] <[Solars]> yepp its listed
[23:59] <phaidros> mdadm --add /dev/md2 /dev/sdd2
[23:59]  * [Solars] really should load up an irc client over there
[23:59] <phaidros> get a shell, screen plus irssi :D