[01:33] I freaking hate Yum. [01:34] yum install apt IIRC [01:36] heh [01:36] My CEO MAKES me use CentOS. [01:37] know the feeling [01:38] * r00tintheb0x sighs. [01:38] option one: new job. option two: smak the ceo a bit ;) [01:39] we had cpanel on top... [01:39] Right. [01:39] cpanel is okay. [01:39] I work for a software dev company... [01:39] no. it really isn't. [01:39] Thats good for webhosting though. [01:39] cpanel is a pile of crap. [01:39] Yeah, it trashes things quite a bit. [01:40] lol! [01:40] I didn't want to offend anyone. [01:40] brb === PrivateVoid_ is now known as PrivateVoid === PrivateVoid_ is now known as PrivateVoid [04:36] New bug: #275349 in postfix (main) "postfix fails to start: chdir(/usr/libexec/postfix)" [Undecided,New] https://launchpad.net/bugs/275349 [05:35] <[Solars]> \sh you awake? === asleeper is now known as asleeper_AWAY [07:36] hello [07:36] i need some assistance with my Ubuntu server installation. [07:37] Is anyone willing to help me? [07:46] !anyone [07:46] A large amount of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? [07:52] 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] doesnt nagios have its own front end? [07:54] hi [07:54] whats the command to see what all services has been started on ubuntu server [07:54] Yes, I believe so === asleeper_AWAY is now known as asleeper [07:58] Dave10293, ??? [08:00] yeah [08:00] i don't know that answer to that question [08:01] kaushal: he was talking to me [08:02] kaushal: do you mean `ps aux` ? [08:02] Dave10293: tried `apt-get install nagios`? [08:02] yeah, i [08:02] have [08:02] just like you have service-status-all [08:02] in redhat [08:03] there is a work on intrepid for this [08:03] you need to ask kirkland about it [08:03] but i hardy doubt he's arounf right now [08:04] but, you always send him an e-mail [08:04] nxvl, are you referring to me [08:04] yup [08:04] whats his emailid [08:04] s/hardy/hardly/g [08:05] his lp id is kirkland aswell, his e-mails are in there [08:05] launchpad.net/~kirkland [08:06] kaushal: he is based in the US so now it's late for him right now [08:06] ok [08:06] so is there any other option to know that [08:07] netstat -na | grep "LISTEN " [08:07] assuming that your system is in english [08:07] it will show you the open ports [09:32] 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] ll [11:09] oops ;-) [12:13] 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 ? [12:22] New bug: #275418 in openssh (main) "Scp freezes on named pipe" [Undecided,New] https://launchpad.net/bugs/275418 [14:49] kaushal: nxvl: http://manpages.ubuntu.com/manpages/intrepid/man1/service.html [14:49] kaushal: nxvl: service --status-all [14:50] kirkland, I am running Ubuntu 8.04 Server [14:50] kaushal: oh, sorry [14:51] kaushal: there isn't really anything already there for that [14:51] kaushal: you could try something like: [14:51] for i in `ls /etc/init.d`; do $i status; done [15:59] how to deal with missing linux-xen: Depends: linux-restricted-modules-xen (= 2.6.24.21.23) which is a virtual package. ?? [15:59] obviously restricted modules are not there in the right version. [16:01] ah, it seems it is a multiverse dependency :-/ [16:01] hm, so I know how to deal with it. [16:01] thanks for listening :) [16:39] well, I'm stuck with a chrooted raid1 server install. any mdadm gurus around? [16:40] what's up? :) [17:05] 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] well, I'd go for blaming myself :D [17:06] 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] any ideas how to handle such a thing like remote machine with passwords needed on boot ? [17:16] argh, this damn mdadm always uses the whole disks as raid, not the configured partitions .. [17:23] mmm [17:23] xen owns your "canuck" [17:23] least I have heard [17:23] we use vmware server and esxi at work it's decent [17:23] but I heard good things about sex [17:25] sex?? [17:27] well, independent of which virtualization: how would a practicable encryption of vm devices look like? [17:30] ah, I now get more info from mdadm. there is somehow a raid0 still there. just from a first test .. [17:30] a771861a [17:30] sry. wrong paste :) [17:30] http://pastie.org/280874 [17:30] how to get rid of it? [17:44] howto remove a mdadm definition of a hd (sda) [17:44] ? [17:49] :( [17:51] sudo mdadm --zero-superblock /dev/sda :) [18:00] phaidros, sorry [18:00] esx not sex [18:00] brain fart [18:01] I never understood linux's software raid tools well sorry [18:01] but there are lots of channels and probably people here that can [18:12] 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] [Solars]: well, I'm all but an expert here :) [19:22] 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] [Solars]: did you create a swap inside? (mkswap /dev/mdX) and did you put it in fstab ? [19:56] [Solars]: you can check with swapon -a (enable all from fstab) [19:56] and: swapon -s (show all swaps) [19:57] fstab entry looks like this: # #/dev/sdb2 swap swap defaults,pri=1 0 0 [19:57] or better, when you create the swap you get told an new UUID, so then use this in fstab: [19:58] UUID=5c30a82b-bb8c-4cd5-b418-cb667aa5ea9c pri=1 swap sw 0 0 [19:58] you can ignore the pri=1, I use it only, because I have 2 swaps, same prio [20:27] damn, the server kernel boots easily, xen not .. :( [20:45] the installation of mdadm *after* a new kernel in chroot should point out that initrd has be rebuilt !!! [20:45] :) [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/ 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= none swap sw 0 0 [22:31] <[Solars]> \/me wonders ivok will come back :P [22:48] New bug: #275608 in openvpn (universe) "nm-openvpn swaps ca and cert in openvpn commandline" [Undecided,New] https://launchpad.net/bugs/275608 [23:15] [Solars]: easy thing: the uuid of your fstab entry is not the same as of the actual swap partition [23:15] 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] [Solars]: what does cat /proc/mdstat say? [23:50] 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] inactive then it is not assembled [23:53] so, either try mdadm --assemble /dev/md2 /dev/sdaX /dev/sdbX [all devices] [23:53] or mdadm --assemble --scan [23:53] (it tries to guess) [23:53] hehe, I had alot to do with that mdadm last 20 hours :) [23:54] mdadm --create foo bar writes superblocks for the selected devices once and assembles them. [23:54] after that mdadm --assemle is the tool to enable this raid device [23:55] 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] hmmm [23:57] 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] hm, ok [23:59] <[Solars]> lemme fdisk sdd and see if it has the partition [23:59] <[Solars]> yepp its listed [23:59] mdadm --add /dev/md2 /dev/sdd2 [23:59] * [Solars] really should load up an irc client over there [23:59] get a shell, screen plus irssi :D