/srv/irclogs.ubuntu.com/2008/09/28/#ubuntu-server.txt

r00tintheb0xI freaking hate Yum.01:33
Nafalloyum install apt IIRC01:34
r00tintheb0xheh01:36
r00tintheb0xMy CEO MAKES me use CentOS.01:36
Nafalloknow the feeling01:37
* r00tintheb0x sighs.01:38
kgoetzoption one: new job. option two: smak the ceo a bit ;)01:38
Nafallowe had cpanel on top...01:39
r00tintheb0xRight.01:39
r00tintheb0xcpanel is okay.01:39
r00tintheb0xI work for a software dev company...01:39
Nafallono. it really isn't.01:39
r00tintheb0xThats good for webhosting though.01:39
Nafallocpanel is a pile of crap.01:39
r00tintheb0xYeah, it trashes things quite a bit.01:39
r00tintheb0xlol!01:40
r00tintheb0xI didn't want to offend anyone.01:40
r00tintheb0xbrb01:40
=== PrivateVoid_ is now known as PrivateVoid
=== PrivateVoid_ is now known as PrivateVoid
uvirtbotNew bug: #275349 in postfix (main) "postfix fails to start: chdir(/usr/libexec/postfix)" [Undecided,New] https://launchpad.net/bugs/27534904:36
[Solars]\sh you awake?05:35
=== asleeper is now known as asleeper_AWAY
Dave10293hello07:36
Dave10293i need some assistance with my Ubuntu server installation.07:36
Dave10293Is anyone willing to help me?07:37
kgoetz!anyone07:46
ubottuA 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:46
Dave10293I 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:52
kgoetzdoesnt nagios have its own front end?07:53
kaushalhi07:54
kaushalwhats the command to see what all services has been started on ubuntu server07:54
Dave10293Yes, I believe so07:54
=== asleeper_AWAY is now known as asleeper
kaushalDave10293, ???07:58
Dave10293yeah08:00
Dave10293i don't know that answer to that question08:00
kgoetzkaushal: he was talking to me08:01
kgoetzkaushal: do you mean `ps aux` ?08:02
kgoetzDave10293: tried `apt-get install nagios`?08:02
Dave10293yeah, i08:02
Dave10293 have08:02
kaushaljust like you have service-status-all08:02
kaushalin redhat08:02
nxvlthere is a work on intrepid for this08:03
nxvlyou need to ask kirkland about it08:03
nxvlbut i hardy doubt he's arounf right now08:03
nxvlbut, you always send him an e-mail08:04
kaushalnxvl, are you referring to me08:04
nxvlyup08:04
kaushalwhats his emailid08:04
nxvls/hardy/hardly/g08:04
nxvlhis lp id is kirkland aswell, his e-mails are in there08:05
nxvllaunchpad.net/~kirkland08:05
nxvlkaushal: he is based in the US so now it's late for him right now08:06
kaushalok08:06
kaushalso is there any other option to know that08:06
nxvlnetstat -na | grep "LISTEN "08:07
nxvlassuming that your system is in english08:07
nxvlit will show you the open ports08:07
ropetinAnyone 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 it09:32
kopall11:09
kopaoops ;-)11:09
scuserhi 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:13
uvirtbotNew bug: #275418 in openssh (main) "Scp freezes on named pipe" [Undecided,New] https://launchpad.net/bugs/27541812:22
kirklandkaushal: nxvl: http://manpages.ubuntu.com/manpages/intrepid/man1/service.html14:49
kirklandkaushal: nxvl: service --status-all14:49
kaushalkirkland, I am running Ubuntu 8.04 Server14:50
kirklandkaushal: oh, sorry14:50
kirklandkaushal: there isn't really anything already there for that14:51
kirklandkaushal: you could try something like:14:51
kirklandfor i in `ls /etc/init.d`; do $i status; done14:51
phaidroshow to deal with missing linux-xen: Depends: linux-restricted-modules-xen (= 2.6.24.21.23) which is a virtual package. ??15:59
phaidrosobviously restricted modules are not there in the right version.15:59
phaidrosah, it seems it is a multiverse dependency :-/16:01
phaidroshm, so I know how to deal with it.16:01
phaidrosthanks for listening :)16:01
phaidroswell, I'm stuck with a chrooted raid1 server install. any mdadm gurus around?16:39
ivokswhat's up? :)16:40
phaidroswell, 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
phaidroswell, I'd go for blaming myself :D17:05
phaidrosas 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
phaidrosany ideas how to handle such a thing like remote machine with passwords needed on boot ?17:06
phaidrosargh, this damn mdadm always uses the whole disks as raid, not the configured partitions ..17:16
flybackmmm17:23
flybackxen owns your "canuck"17:23
flybackleast I have heard17:23
flybackwe use vmware server and esxi at work it's decent17:23
flybackbut I heard good things about sex17:23
phaidrossex??17:25
phaidroswell, independent of which virtualization: how would a practicable encryption of vm devices look like?17:27
phaidrosah, I now get more info from mdadm. there is somehow a raid0 still there. just from a first test ..17:30
phaidrosa771861a17:30
phaidrossry. wrong paste :)17:30
phaidroshttp://pastie.org/28087417:30
phaidroshow to get rid of it?17:30
phaidroshowto remove a mdadm definition of a hd (sda)17:44
phaidros?17:44
phaidros:(17:49
phaidrossudo mdadm --zero-superblock /dev/sda :)17:51
flybackphaidros, sorry18:00
flybackesx not sex18:00
flybackbrain fart18:00
flybackI never understood linux's software raid tools well sorry18:01
flybackbut there are lots of channels and probably people here that can18:01
phaidrosflyback: yeah I find mdadm quite non-intuitive ..18:12
[Solars]ivoks love raids :P18:23
[Solars]apprently i screwd up something during the install19:11
[Solars]my /dev/md2 is a raid 5 ment to be used as swap19:11
[Solars]but it is not being mounted and its not being used19:12
[Solars]best way to fix this?19:12
* flyback bbl19:21
phaidros[Solars]: well, I'm all but an expert here :)19:21
phaidrosbut: /usr/share/mdadm/mkconf (on ubuntu) cretes you a nice mdadm.conf for a setup arry19:22
[Solars]phaidros the raid is already created19:48
[Solars]its just not mounted19:48
[Solars]dunno if i have to mod eth fstab or not19:49
[Solars]or even how to mount it19:49
* 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 matter19:50
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
phaidrosand: swapon -s (show all swaps)19:56
phaidrosfstab entry looks like this: # #/dev/sdb2       swap            swap    defaults,pri=1  0 019:57
phaidrosor better, when you create the swap you get told an new UUID, so then use this in fstab:19:57
phaidrosUUID=5c30a82b-bb8c-4cd5-b418-cb667aa5ea9c pri=1            swap    sw              0       019:58
phaidrosyou can ignore the pri=1, I use it only, because I have 2 swaps, same prio19:58
phaidrosdamn, the server kernel boots easily, xen not .. :(20:27
phaidrosthe installation of mdadm *after* a new kernel in chroot should point out that initrd has be rebuilt !!!20:45
phaidros:)20:45
[Solars]erm phaidros sorry for the delay i'll look into that21:41
[Solars]phaidros when i try to do swapon -a i get an error21:43
[Solars]didn't do mkswap /dev/mdX21:43
[Solars]the error is21:43
[Solars]swapon: cannot canonicaliz /dev/disk/by-uuid/<some long alphanumeric string> no such file or directory21:45
[Solars]also says it cannot stat it21:45
[Solars]and looking in /etc/fstab21:47
[Solars]it appearse that the /etc/md2 isn't mounted anywhere21:47
[Solars]"UUID=<alphanumeric string> none swap sw 0 021:50
[Solars]\/me wonders ivok will come back :P22:31
uvirtbotNew bug: #275608 in openvpn (universe) "nm-openvpn swaps ca and cert in openvpn commandline" [Undecided,New] https://launchpad.net/bugs/27560822:48
phaidros[Solars]: easy thing: the uuid of your fstab entry is not the same as of the actual swap partition23:15
phaidrosjust mkswap again and use that uuid in fstab23:15
[Solars]phaidros erm kk i'll try that again23:40
[Solars]mkswap didn't work, "sudo mkswap /dev/md2" says area must be 40KB in size23:42
[Solars]so i have a feeling this is a raid issue23:42
phaidros[Solars]: what does cat /proc/mdstat say?23:49
phaidrosand: fdisk -l /dev/md223:50
[Solars]it says inactive23:51
[Solars]for /dev/md223:51
[Solars]and fdisk -l shows nothig23:51
[Solars]or rather returned nothing23:51
phaidrosinactive then it is not assembled23:52
phaidrosso, either try mdadm --assemble /dev/md2 /dev/sdaX /dev/sdbX [all devices]23:53
phaidrosor mdadm --assemble --scan23:53
phaidros(it tries to guess)23:53
phaidroshehe, I had alot to do with that mdadm last 20 hours :)23:53
phaidrosmdadm --create foo bar writes superblocks for the selected devices once and assembles them.23:54
phaidrosafter that mdadm --assemle is the tool to enable this raid device23:54
phaidroscreate is only used initially23:55
[Solars]says its already active23:55
[Solars]also appears that there are missing parts of raid in mdstat23:56
[Solars]missing "sdd2"23:57
[Solars]the line reads23:57
phaidroshmmm23:57
phaidrosthen further to things I didn't try myself :D23:57
[Solars]md2 : inactive sda2[0] sdb2[2] sdc2[1]23:58
[Solars]should be a raid 5 with 4 disks23:58
phaidroshm, ok23:58
[Solars]lemme fdisk sdd and see if it has the partition23:59
[Solars]yepp its listed23:59
phaidrosmdadm --add /dev/md2 /dev/sdd223:59
* [Solars] really should load up an irc client over there23:59
phaidrosget a shell, screen plus irssi :D23:59

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!