[00:07] <dou213> hi guys, can i use mirc/xchat with ubuntu server?
[00:07] <Deeps> sure, if you're running X
[00:07] <Deeps> or want to X forward it
[00:08] <dou213> Deeps: i'm not using X-server, thus not possible?
[00:08] <Deeps> wel if you're not running X, how do you think a graphical client is going to be displayed? heh
[00:09] <Deeps> you can X forward it from the server to your local X server if you wish
[00:09] <jmedina> dou213: why dont you use a Terminal irc client?
[00:10] <dou213> jmedina: like? that's what i'm searching for i guess... didn't know how to put it :)
[00:10] <Deeps> irssi
[00:10] <Deeps> bitchx
[00:10] <jmedina> you can login by ssh to the server and start chatting without problem, or you can use screen inside your ssh session, and when you are bored you can detatatch you session, and the next day re use your session
[00:10] <dou213> Deeps: sry for the inconvenience
[00:10] <jmedina> I only know irssi
[00:10] <Deeps> those are the 2 more popular terminal clients
[00:11] <dou213> ok Deeps and jmedinam thx i'll give it a try..
[00:11] <dou213> jmedina, sry
[02:07] <jimmy_> Hello
[02:18] <espacious> will software raid acheave better speed if i make raid1 betwenn ide1 dev1 - ide2 dev1 or ide1 dev1 - ide1 dev2 (i have total four disks on other two i will setup lvm)
[07:45] <_ruben> espacious: having 4 pata disks on 2 busses will kill your performance either way .. when just looking at the raid part, splitting the 2 members of the raid over the 2 busses sure is faster (shared busses suck)
[07:57] <espacious> _ruben glad somthing pointed me out that
[07:57] <espacious> infact my rebuild is extremly slow but i have raid1 on separate ide
[07:58] <espacious> fact is i have two separate ride1 one is (ide1-1,ide2-2)
[07:58] <espacious> other is ide1-2, ide2-1
[07:59] <espacious> is doing both rebuilds on start it was fast enough now speed dropped to almos 0
[08:03] <_ruben> well, pata will always remain slow, especially with 2 devices on a single bus, you should buy 2 port ide controller and give each drive its own bus
[08:05] <espacious> _ruben u got it i use pata not sata i will buy it, i think its a good idea.
[08:06] <espacious> _ruben can u cca tell me what is the difference in speed on same and on separate ide?
[08:08] <espacious> another thing can i stop the rebuilding array proces?
[08:08] <espacious> since i have two running, i want first finish one and than do the second.
[08:12] <Jeeves_> Hiya!
[08:12] <henkjan> hey Jeeves_
[08:13] <henkjan> good to see you here :)
[08:18] <Jeeves_> :)
[08:19] <_ruben> espacious: i dont know the exact comand by head, but with mdadm you can stop one of the (re)builds afaik
[08:19] <_ruben> espacious: theoretically the speed gain is atleast a factor 2
[08:19] <_ruben> one bus, shared by 2 disks, each disk has 50% .. but there's quite a bit of overhead, so the gain would be even more
[08:19] <espacious> no realy 50% ?
[08:20] <espacious> that's sooo much!
[08:20] <espacious> i will buy the controller.
[08:21] <_ruben> Jeeves_ returned from the dead ;)
[08:21] <espacious> _ruben u think i can remove the sdd1 from the array when is still syncing?
[08:21] <espacious> with the --remove command?
[08:22] <_ruben> espacious: i think you can, you could stop the array first to be sure
[08:26] <espacious> ok thanks
[08:27] <kraut> moin
[08:33] <Jeeves_> Morning
[09:06] <ubuntu_> is eBox a recommended tool for server management?
[09:07] <ropetin> ubuntu_: Recommended is a relative term
[09:07] <ropetin> I'd say it depends on your experience level, desire to learn, and the type of server you're refering to
[09:09] <ubuntu_> ropetin, my experience level is intermediate... I'm currently maintaining an office server since I have the most linux experience in the company, but I'm only a part-time administrator.
[09:10] <ubuntu_> I'm happy to learn what's needed, but preferably if it helps me maintain the server more effectively
[09:11] <ubuntu_> the server itself is a file/print/backup/network server which I have direct access to
[09:12] <ubuntu_> currently I maintain the server through a combination of commandline and GUI interfaces
[09:13] <ropetin> ubuntu_: is it externally accessible or only on your LAN?
[09:14] <ubuntu_> ropetin, at the moment it's only on the LAN
[09:15] <ropetin> In which case, no worries, give eBox a go, see if you like it
[09:16] <ubuntu_> ropetin, can there be difficulties if I'm using eBox and still tweaking the conf files manually?
[09:16] <ropetin> I only used it one time, a while ago and didn't like it, so I can't say for 100%, but I'd think so, based on the way somethign like that works
[09:18] <ubuntu_> thanks ropetin, I'll check it out and see if I like it
[09:32] <ropetin> No worries, good luck
[10:34] <ubuntu_> is there a good way to backup users and groups (incl. passwords)?
[10:37] <Omahn_> Shame eBox isn't installable from the standard repos at the moment.
[10:38] <Deeps> backup the /etc/passwd, /etc/shadow and /etc/group files?
[10:41] <ubuntu_> Deeps, so if I just restored those files to the new /etc directory, the users will be reinstated?
[10:42] <Omahn_> ubuntu_: Yes, although you might want to backup their home directories too.
[10:43] <ubuntu_> Omahn_, yes, that would be part of the plan
[10:43] <Deeps> ubuntu_: you also might wanna check that the system user uids and gids all match up to what your new system has too
[10:43] <Deeps> e.g. if you've installed some services that run under their own user, e.g. named, postfix, mysql
[10:44] <Deeps> better would be to just grab all the real user + group accounts (uid/gid >= 1000) and add them back in
[10:45] <ubuntu_> Deeps, is there a way to restore users/groups selectively?
[11:53] <espacious> where can i get help with software raid1?
[12:11] <soren> espacious: Here, maybe. Just ask your question.
[12:12] <espacious> so i have 2x raid1 now it's rebuilding both arrays, and it became slow, almost 0. i want to pause one array or stop one to let first finish one.
[12:13] <espacious> at start was going ok normal rebuilding speed, then near the end it became very slow i rebooted did again the stuff but same happened = slow performance at the end.
[12:13] <espacious> also the console is much unresponsive
[12:13] <espacious> takes ages to make a command
[12:14] <espacious> take a look at that
[12:14] <espacious> http://pastebin.com/m66f9ed8c
[12:16] <espacious> shud i try "mdadm --stop /dev/mdx
[12:16] <espacious> ?
[12:17] <soren> Which version of Ubuntu is this?
[12:17] <espacious> latest server ubuntu
[12:17] <espacious> 8.10
[12:17] <soren> anything interesting in dmesg?
[12:18] <espacious> cat /var/log/dmesg?
[12:20] <piti> espacious: or just dmesg
[12:21] <espacious> i got slow respond on console
[12:21] <espacious> will paste it
[12:22] <ahasenack> do you have anything else heavily using the disk perhaps?
[12:22] <espacious> no only two raid's
[12:22] <espacious> its a new install almost.
[12:23] <espacious> just added apache and samba and raid.
[12:23] <espacious> apache is topped also samba
[12:23] <espacious> stopped*
[12:24] <espacious> last few lines of dmesg
[12:24] <espacious> http://pastebin.com/m23b9e410
[12:25] <espacious> JBD: IO error reading journal superblock ???
[12:26] <espacious> i think becouse i hard rebooted
[12:31] <espacious> piti if i mdadm --stop /dev/md1 i get
[12:31] <espacious> fail to stop array /dev/md1: Device or resource busy
[12:32] <Omahn_> Presumably because you have something mounted off /dev/md1
[12:32] <espacious> md1 is lvm
[12:32] <espacious> should i unmount?
[12:33] <espacious> the rebuild array is in progres but it's froozen
[12:33] <Omahn_> If possible yes. I suspect you will also have to make the volume groups inactive.
[12:35] <espacious> ok will try.
[12:37] <espacious> disk led is up for hours now, console is very unresponsive.
[12:37] <espacious> i doubt its a fault disk.
[12:38] <Omahn_> Sounds like it might be a fault on the controller if you're sure the disk is healthy.
[12:38] <espacious> worked ok a couple of hours ago
[12:38] <espacious> so was not mounted
[12:39] <celephais> Hi, how can i use lvm with kvm?
[12:42] <espacious> Omahn_ how i make volume groups inactive?
[12:44] <espacious> umount /dev/fileserver/share ?
[12:44] <espacious> or lvremove ?
[12:51] <ahasenack> espacious: vgchange -a n
[12:52] <espacious> dows what?
[12:52] <espacious> does*
[12:53] <espacious> ok found the vgchange man
[12:54] <espacious> is safe to do that while an array is build?
[12:55] <soren> espacious: This also doesn't look too good: #
[12:55] <soren> [   43.821632] attempt to access beyond end of device
[12:56] <soren> celephais: What do you mean?
[12:56] <espacious> hmm.
[12:56] <celephais> soren, how can i install guest system on a logical volume?
[12:57] <espacious> i wil rebuild lvm as now i dont use entire disks and they are not same size but almost equal.
[12:57] <celephais> soren, or let a guest access a logical volume
[12:57] <espacious> celephais im sure u can find some how to's
[12:58] <espacious> i ran vgchange -a n to see.
[12:58] <celephais> espacious, with xen yes, but i can't find anything for kvm
[12:59] <celephais> espacious, and with vmbuilder i can use only files
[12:59] <soren> celephais: Just like you would install it to any other file or device.
[12:59] <soren> If you were using a file, you'd: kvm -hda /path/to/some/file.
[12:59] <soren> If you were using an lv, you'd: kvm -hda /path/to/some/lv. Same.
[13:00] <celephais> soren, ok, is supported in vmbuilder?
[13:00] <espacious> root@kgsstore01:~# vgchange -a n
[13:00] <espacious> File descriptor 5 left open
[13:00] <espacious> for 5 min now....
[13:01] <soren> celephais: It's meant to be (it works for me), but i've heard about others who had less luck. The option, you're looking for is --raw.
[13:01] <celephais> soren, ok I'll try thank you
[13:03] <espacious> so stuck at vgchange... how can i repair that mess
[13:05] <espacious> im worried about the disks they are reading/writing now for a couple of houres non stop.
[13:05] <soren> espacious: What does your partition table look like?
[13:05] <espacious> sda - sdd
[13:06] <espacious> a1 c1 raid1 normal ext3
[13:06] <soren> Ah, no.
[13:06] <espacious> what?
[13:06] <soren> 0
[13:06] <soren> Whoops
[13:06] <soren> I'd like to see your partition table.
[13:06] <soren> fdisk -l /dev/sda, for isntance.
[13:07] <soren> Actually, "sudo fdisk -l /dev/sd?"
[13:07] <espacious> now i can only wait but it is ...
[13:07] <espacious> sda1 /
[13:07] <soren> That's not what I'm looking for.
[13:07] <espacious> ok will make output of fdisk
[13:08] <espacious> is the pc dont blow up, it's writing like an animal
[13:08] <espacious> if*
[13:09] <espacious> still stuck.
[13:10] <espacious> shuld i reboot and disct the second disk in the raid?
[13:10] <espacious> and then rebuild the whole again?
[13:11]  * soren thinks something is screwed
[13:11] <soren> ...and I'm suspecting the partition table right now.
[13:11] <espacious> btw when i runed top it was ok..
[13:11] <soren> meaning?
[13:11] <espacious> ok will try to post out that fdisk
[13:11] <espacious> no proces was 100% cpu
[13:12] <soren> Ah, no. There wouldn't be.
[13:12] <soren> All the raid magic is in the kernel (and hence doesn't show up in top).
[13:13] <espacious> right.
[13:14] <Omahn_> espacious: Is this a server or a desktop box?
[13:14] <espacious> server.
[13:14] <Omahn_> Bummer.
[13:15] <espacious> u mean the motherboard etc... or the OS version?
[13:15] <Omahn_> Just the box, if it was just a desktop machine then a reboot might be a worthwhile.
[13:16] <espacious> its a normal pc its not a server ubuntu is server ver...
[13:17] <espacious> still at vgchange should i ctrl+c?
[13:17] <Omahn_> Yeah, it should return immediately.
[13:18] <Omahn_> Is the filesystem ext3 on the logical volume?
[13:18] <espacious> all command have delay
[13:19] <espacious> yes on sda1 and ext3 is also on md1 (lvm)
[13:19] <Omahn_> Are these disks SATA or SCSI?
[13:19] <espacious> and both are rebuilded..
[13:19] <espacious> pata
[13:19] <ahasenack> espacious: what do you mean when you say "md1 (lvm)"? Is it lvm over raid?
[13:20] <espacious> two disks in lvm group and in raid1
[13:20] <Nafallo> md1 is usually raid.
[13:20] <Nafallo> oh.
[13:20] <espacious> i messed up sth?
[13:20]  * Nafallo makes a note to not comment without reading ;-)
[13:21] <espacious> neither ctrl+c has effect seems
[13:21] <ahasenack> espacious: so it's raid1 first, and then you created an lvm group using the raid device, that's it?
[13:22] <ahasenack> espacious: is / a logical volume too?
[13:24] <espacious> hmm.. i made first lvm on both disks and than put them in vlm group and in raid md1
[13:25] <Omahn_> espacious: Might be easier if you could give us the output from the following commands, as root.
[13:25] <Omahn_> pvscan
[13:25] <Omahn_> vgscan
[13:25] <Omahn_> lvscan
[13:25] <Omahn_> mount
[13:25] <espacious> i know.
[13:25] <Omahn_> cat /proc/mdstat
[13:25] <Omahn_> dmesg
[13:25]  * soren still thinks fdisk -l /dev/hd? is what we want
[13:25] <Omahn_> Assuming the machine is responsive enough to produce the output :-)
[13:25] <espacious> waiting if it becomes responsive otherwire i will rebot
[13:25] <espacious> is not.
[13:26] <Omahn_> soren: The earlier mdstat pasted was referring to sd?, hence a little confusion when espacious mentioned PATA.
[13:26] <soren> Omahn_: Why? And what's your point? :)
[13:27] <soren> Very, very few disks (if any at all) are named hd? nowadays.
[13:27] <soren> Err...
[13:28] <soren> I mean, disks on very, very few controllers (if any at all) are name hd? nowadays.
[13:28] <espacious> Omahn_ they are normal 80 pin pata and are shown as sd**
[13:28]  * Omahn_ still has many machines with hd? disks.
[13:28] <soren> I haven't had any for years and years.
[13:29]  * Omahn_ passes the willy waving award to soren 
[13:29] <soren> Even my ancient laptop (pre 2000, IIRC) has an sda disk.
[13:29] <soren> Omahn_: :)
[13:29] <espacious> my lifebook too.
[13:29] <espacious> so ctrl+c stuck no nada nothing.
[13:30] <soren> Switch to another console.
[13:30] <espacious> local? it won let me axx over lan
[13:30] <soren> Yes, local.
[13:30] <espacious> brb
[13:31] <espacious> huh local console is full of errors!
[13:31] <espacious> DRDY ERR ata1.00
[13:31] <espacious> error UNC
[13:32] <espacious> never seen that
[13:32] <Omahn_> Doesn't sound good..
[13:32] <espacious> in fact ata2 not ata 1
[13:32] <espacious> i see !
[13:32] <espacious> damn.
[13:32] <espacious> so what is the procedure?
[13:33] <espacious> got the remote console..
[13:33] <espacious> shutdown -r now?
[13:33] <Omahn_> Might as well.
[13:34] <espacious> since i presume it wont stop writing
[13:34] <espacious> what u suggest?
[13:34] <Omahn_> How have you got to this stage? Was this a RAID1 mirror that experienced a failed disk?
[13:35] <espacious> no i had raid1 on that i had my os i only created another raid LVM one but i had it before i only changed disks. there is almost no data on that lvm...
[13:35] <soren> espacious: I'd start over.
[13:36] <Omahn_> ^^^^
[13:36] <espacious> how.
[13:36] <soren> espacious: How what?
[13:37] <espacious> i think the main disks should be ok. i can maybe just recreate raid and lvm again.
[13:37]  * soren mumbles some more about a partition table..
[13:38] <Omahn_> espacious: I would recommend checking those disks before you go any further.
[13:38] <espacious> what exact output u wanna see fdisk -l ?
[13:38] <soren> espacious: All of the output from "fdisk -l /dev/sda?"
[13:38] <soren> Whoops
[13:38] <soren>  "fdisk -l /dev/sd?" I mean.
[13:38] <espacious> damn.;D
[13:39] <soren> What now?
[13:39] <espacious> i entered the first one.
[13:39] <espacious> thamn this can take ages.
[13:40] <espacious> let me try local
[13:40] <soren> "the first one"?
[13:40] <soren> Oh, what I wrote first.
[13:40] <soren> Right, sorry about that.
[13:40] <soren> It shouldn't take long, though.
[13:41] <espacious> yes.shouldnt.
[13:41] <espacious> local console is not usable
[13:41] <espacious> outputs only errors cant login
[13:42] <espacious> also i noticed only sdc and sdb are involved in errors so is sth with the lvm disks not the main
[13:42] <espacious> aha fdisk output.
[13:43] <espacious> http://pastebin.com/m2baea8a6
[13:44] <espacious> dont tell much
[13:44] <Omahn_> Was that the output from fdisk -l /dev/sd?
[13:45] <espacious> fdisk -l /dev/sda
[13:45] <Omahn_> Try again with 'fdisk -l /dev/sd?' without the quotes.
[13:45] <espacious> already in progres
[13:46] <espacious> ok was a bit faster
[13:46] <espacious> http://pastebin.com/m55f7e23d
[13:47] <Omahn_> Ok, now 'cat /proc/mdstat'
[13:48] <espacious> http://pastebin.com/m49d2a06b
[13:48] <espacious> read your mind:D
[13:49] <Omahn_> :-)
[13:49] <espacious> :D where i screwed up?
[13:50] <Omahn_> You didn't hot swap any of the disks did you?
[13:50] <espacious> no.
[13:50] <espacious> im also preaty sure there were both disks in md1
[13:50] <espacious> when i booted up.
[13:52] <Omahn_> If you have lsscsi installed, the output from 'lsscsi' would be useful.
[13:52] <espacious> ...
[13:53] <espacious> if i could stop the rebuild somehow would help i think.
[13:54] <espacious> still no output.
[13:55] <Omahn_> I think a reboot would be a smart move. Something has gone badly wrong somewhere. It's extremely odd to see two RAID arrays, with different disks, fail like this.
[13:55]  * Omahn_ still suspects controller
[13:55]  * Omahn_ has to head off now
[13:56] <espacious> thanks for helping.
[13:56] <Omahn_> Didn't really help much, but no problem :-)
[14:10] <W8TAH> on server 8.06 where do i specify the name servers -- resolve.conf says not to edit it
[14:11] <Deeps> either in resolv.conf, or as args in /etc/network/interfaces on the network interface
[14:11] <espacious_> i reboted the server now how can i stop the rebuild that has again started?
[14:11] <espacious_> for now the console is responsive.
[14:11] <espacious_> mdadm --stop /dev/md1 dont help
[14:12] <W8TAH> thanks deeps
[14:12] <Deeps> dns-nameservers arg in interfaces
[14:12] <Deeps> see interfaces(5) manpage
[14:12] <Deeps> i lie, it's not in there lol
[14:13] <Deeps> (in the manpage, that is)
[14:15] <espacious_> ok i managed to stop the array
[14:15] <espacious_> mdadm --manage /dev/md0 --fail /dev/sdb1
[14:15] <espacious_> what shoul i do now?
[14:16] <W8TAH> cool
[14:51] <DrUnKnMuNkY> Hey i'm getting frequent kernel panics that all seem to be indicating that something to do with iptables is causing them. I'm not sure how to investigate further to try to figure out what's causing them though. Any ideas?
[14:52] <DrUnKnMuNkY> 8.04 with all updates installed
[14:53] <soren> kernel version?
[14:58] <DrUnKnMuNkY> 2.6.24-21-server
[15:06] <mathiaz> soren: question about iscsi merge - why do you start iscsi before networking?
[15:10] <mathiaz> Koon: what should be done about bug 286828?
[15:10] <mathiaz> Koon: it seems that we've found what the problem is. However I stil wonder why the cifs client broke in the first place
[15:11] <soren> mathiaz: I don't.
[15:12] <Koon> mathiaz: I wanted to check if dapper was affected
[15:12] <soren> mathiaz: I start it before S40networking, yes.
[15:12] <mathiaz> soren: hm - the iscsi init script is started at S25
[15:12] <Koon> mathiaz: also I'm just not sure saying it's a server-side problem will "solve" the issue for those who can't upgrade (closed NAS boxen)
[15:13] <Koon> smbfs was apparently ignoring this bug quite well.
[15:13] <mathiaz> soren: while networking is at S40
[15:13] <mathiaz> Koon: exactly.
[15:13] <soren> mathiaz: Yes...
[15:13] <soren> mathiaz: But the network is brought up before that.
[15:14] <soren> udev discovers a nic -> it's configured.
[15:14] <mathiaz> soren: right :D
[15:14] <Koon> mathiaz: but I also undersand steve french's pov: as upstream he shouldn't consider the bug on his side
[15:15] <Koon> mathiaz: that leaves us in the middle, and our choice to use CIFS where SMBFS was used before
[15:15] <mathiaz> soren: even in the case of interfaces setup in bonding?
[15:15] <soren> mathiaz: No.
[15:16] <mathiaz> Koon: well... backward compatibility could be taken into account.
[15:16] <Koon> mathiaz: so my plan was: 1/check if dapper samba server is affected 2/try to see if we can workaround this in CIFS
[15:16] <soren> mathiaz: but S40 is way too late for something that might be providing your block devices for all your filesystems.
[15:17] <Koon> mathiaz: I'm just not sure we can achieve 2/ without Steve's help :)
[15:17] <mathiaz> Koon: dapper is probably affected.
[15:17] <mathiaz> Koon: I haven't tested though.
[15:17] <mathiaz> Koon: OTOH hardy is not
[15:18] <mathiaz> soren: right - could the iscsi block devices be considered as network filesystems?
[15:18] <mathiaz> soren: it seems that the pre-condition for iscsi to work correctly is to have the network up and running
[15:18] <soren> No.
[15:19] <soren> Sorry for being so terse... I'm trying to look after my daughter at the same time, and she's rather unhappy.
[15:19] <Koon> mathiaz: all the reporters use the 3.0.23-3.0.25 range, and I find it funny noone has reported the bug using dappers' samba server
[15:19] <mathiaz> soren: ok - we can resume this conversation later
[15:20] <Koon> that's why I wanted to check (and identify precisely which upstream bug causes this)
[15:23] <mathiaz> Koon: right. Even if dapper is not affected, I'm still not convinced that we can close to bug with a answer - please upgrade your server
[15:23] <Koon> mathiaz: I agree with you.
[15:24] <mathiaz> Koon: it may worth asking steve opinion if adding a workaround this would be possible
[15:25] <Koon> mathiaz: sure, want me to do it ? I wanted to identify the bug more precisely before I did that.
[15:25] <mathiaz> Koon: sure. Seems that your plan is good - first try dapper
[15:25] <mathiaz> Koon: and then get in touch with steve
[15:26] <mathiaz> Koon: to see if a workaround could be added to the code.
[15:26] <Koon> yep.
[15:28] <mathiaz> Koon: awesome - thanks
[15:47] <soren> mathiaz: Yes, network needs to be up and running for iscsi to work. However, "network being up and running might not mean what you think".
[15:48]  * soren is bad at placing quotation marks..
[15:48] <soren> I'll try again:
[15:48] <soren> "network being up and running" might not mean what you think.
[15:49] <soren> If you've booted off of iscsi (some BIOS'es support this), the network is up and running even before you boot the kernel.
[15:49] <soren> So you might not even have to do anything to get it to work.
[15:50] <soren> mathiaz: S25 is about the right place for open-iscsi. We just need to make sure that bonded interfaces are up at that point as well.
[15:51] <soren> I proposed a patch for that a long time ago.
[15:52] <soren> IIRC, I'm still awaiting feedback on it.
[15:52] <soren> The gist of it:
[15:53] <soren> Err...
[15:53]  * soren was looking at the wrong file.
[15:54] <mathiaz> soren: ok - another solution that debian tried was to use ifup.d script
[15:54]  * soren doesn't like it
[15:55] <ahasenack> mandriva had something in fstab specifying that the iscsi mount point used network, so it's mounting would only be attempted later after network was up
[15:55] <mathiaz> soren: it was reverted later
[15:55] <ahasenack> _netdev IIRC
[15:55]  * ahasenack jumped into the middle of the discussion, and now jumps out
[15:56] <mathiaz> soren: and they mount _netdev filesystems
[15:56] <soren> ahasenack: Right. I don't like it.
[15:56] <mathiaz> ahasenack: right - I think that's what debian is doing for now.
[15:56] <mathiaz> soren: It also seems that the use case of root on iscsi is separate from non-root on iscsi
[15:57] <soren> mathiaz: IIRC, yes.
[15:57] <soren> mathiaz: What I changed in ifenslave-2.6 was:
[15:58] <soren> Instead of the bond0 interface listing its slaves, the slaves would refer to the bond0 interface.
[15:58] <soren> The if-up.d would check if the bond0 was "complete" and bring it up when all the slaves were available.
[15:59] <soren> I.e. when udev discovers the last one.
[15:59] <soren> ...as opposed to S40, which is way too late to be useful.
[16:00] <mathiaz> soren: ok.
[16:32] <mathiaz> soren: other question related to iscsi - why is iscsi shutdown at K25?
[16:32] <mathiaz> soren: that is way before S40umountfs
[16:32] <soren> mathiaz: That's a bug, I believe.
[16:32] <mathiaz> soren: ok.
[16:33] <soren> The road of iscsi zen is paved with mysteries and surprises. Beware.
[16:33] <mathiaz> soren: right - debian added a new shutdown script
[16:33] <mathiaz> soren: umountiscsi.sh at K80 in rc6
[16:34] <mathiaz> soren: that's before S20sensigs
[16:35] <mathiaz> soren: it seems that iscsi devices should be umounted around the same time as S31umountnfs
[16:36] <soren> If you can find a way to identify iscsi mounts, that's the rigth place to unmount them probably.
[16:36] <mathiaz> soren: http://paste.ubuntu.com/74398/
[16:37] <mathiaz> soren: that's what is used to umount iscsi devices
[16:38] <soren> mathiaz: At a glance, that seems to at least attempt to do the right thing. Let's try it.
[17:05] <espacious_> soren i screwed up again or there is sth wrong
[17:05] <espacious_> i recreated raid and lvm
[17:06] <espacious_> i saved the sda1 the drive is ok raid was rebuild
[17:06] <espacious_> but when trying to rebuild raid with lvm
[17:06] <espacious_> http://pastebin.com/m312628e5
[17:07] <espacious_> where im making the mistaake now i made also xfs not ext3..is maybe that the disks are not exactli the asme?
[17:08] <soren> It's hard to say. I don't know what you've done. You're just showing me the result.
[17:10] <espacious_> i folowed one tutorial now.
[17:10] <espacious_> but quite as i setuped earlier
[17:12] <soren> That doesn't help me much :)
[17:13] <espacious_> i know can u just point me a bit
[17:13] <espacious_> or tell me what to show u
[17:19] <soren> espacious_: How did you set it up?
[17:19] <espacious_> first i make fdisk /dev/sdb and sdc type Raid linux auto
[17:20] <espacious_> than i added one disk
[17:20] <espacious_> to the xxx_vg
[17:20] <espacious_> made xxx_lv
[17:20] <espacious_> mkfs xfs
[17:20] <Ju> hello there !
[17:21] <espacious_> addet the other disk /dev/sdc
[17:21] <espacious_> an started the array was going ok till reached about 50%
[17:21] <espacious_> now its again stuck and the console is slow.
[17:22] <espacious_> but the md0 raid is now ok (system) only the lvm md1 has problems
[17:22] <Ju> Just updated https://bugs.launchpad.net/ubuntu/+source/libapache-mod-auth-mysql/+bug/150649/comments I'm a bit worry, ie that could be something I've misconfigured, but the "stack smashing detected" is quite bad
[17:29] <espacious_> hey soren http://pastebin.com/m6807ed47
[17:29] <espacious_> is maybe this related to my bios setup of diks?
[17:30] <Koon> zul/jdstrand: one of you might be interested in sponsoring my debdiff on bug 291265
[17:37] <zul> jdstrand: would that patch go into security then? or just a regular upload to proposed?
[17:37] <espacious_> i also get this soren mdadm: metadata format 00.90 unknown, ignored.
[17:38] <jdstrand> zul: not security relevant
[17:38] <zul> jdstrand: cool
[17:38] <zul> Koon: ill take it then ;)
[17:38] <Koon> don't fight :)
[17:38] <jdstrand> thanks zul!
[17:39] <jdstrand> (I'm certainly not fighting him sponsoring that :)
[17:39] <Koon> zul: i'll do a SRU for intrepid after that.
[17:39] <zul> Koon: sounds good
[17:42] <zul> Koon: done
[17:43] <Koon> zul: cool, thx
[17:43] <zul> Koon: np
[18:51] <sommer> mathiaz: doh, was composing a reply to that bug as well
[18:52] <sommer> :)
[18:52] <mathiaz> sommer: oh! thanks:)
[18:52] <sommer> least I had the same conclusion
[18:52] <mathiaz> sommer: it seems that the end user installed something in /usr/local/
[18:54] <dana_good> I'm setting up a mailman server (jeOS 8.04) with exim4, apache2, and mailman. I've also installed openssh, screen, and unattended upgrades. the issue i'm having is that the server doesn't recieve mail because SSH is listening on 22 AND 25 for some reason.
[18:55] <sommer> dana_good: strange... you might check /etc/default/ssh to see if there are any options configured
[18:55] <dana_good> okay
[18:56] <dana_good> sommer: i'm not seeing any options configured, i'm running the default SSH install from "aptitude install ssh"
[18:57] <sommer> mmmm... I'd try stopping ssh using /etc/init.d/ssh stop; then kill any remaining ssh processes and start ssh again
[18:57] <sommer> that should tell you if there's something going on with sshd
[18:58] <mathiaz> dana_good: are you sure it's the sshd process that listens on port 25?
[18:58] <mathiaz> dana_good: you can check that with netstat -anp | grep sshd
[18:58] <Nafallo> or even netstat -ltnp | grep \:22 :-)
[18:59] <Nafallo> ehrm. 25
[18:59] <Nafallo> that one might need root though
[19:01] <tacone> is it normal being able that everyone is able to read apache's logs on ubuntu while in debian they are readable on by root ?
[19:03] <sommer> tacone: mine are only readable by root.adm
[19:03] <Nafallo> -rw-r-----  1 root adm     5182 2008-11-19 14:28 access.log <-- tacone, my server disagrees
[19:03] <tacone> uhh, adm.
[19:03] <tacone> ok, makes sense.
[19:04] <tacone> guess on debian the desktop user is not into adm group, that's why i got that report.
[19:04] <tacone> thank you very much.
[19:19] <dana_good> mathiaz and Nafallo netstat says exim4 is listening on 25, but when i telnet to 25 i get the openSSH prompt and it says procol mismatch, when i SSH to port 25, i can log in like it was the ssh port
[19:20] <Deeps> lol that doesn't sound good
[19:49] <Lamo> Anyone know of anything that's the equivalent of cpanel but free?
[19:55] <dana_good> !ebox
[20:11] <jgjones> Greetings...
[20:11] <Lamo> dana_good: ebox is bad, I'm trying webmin right now
[20:12] <jgjones> I have an Ubuntu server running KVM, and one of the virtual machine is also Ubuntu server running ebox - it's a gateway (testing) but....would there be any reason why the network would be slow
[20:12] <Deeps> !webmin | Lamo
[20:13] <Lamo> damn
[20:13] <Deeps> jgjones: ebox is just a web based front end to aid in configuration of services
[20:13] <jgjones> let me try to explain - the virtual server (ebox) is DHCP, gateway, and DNS....the phyiscal server have two NIC's) - when I join network...computer get IP just fine...
[20:14] <jgjones> but it doesn't ping internet at all...
[20:14] <jgjones> it seem to take a long time to pick up DNS requests
[20:14] <Deeps> sounds like you dont have ip forwarding or NAT enabled
[20:14] <Deeps> cat /proc/sys/net/ipv4/ip_forward
[20:14] <jgjones> and sometime I can't ping the server itself at all despite picking up IP via DHCP...but after a while...ie a minute or so...
[20:14] <jgjones> everything works just fine.
[20:15] <Deeps> iptables -nvL; iptables -t nat -nvL
[20:15] <jgjones> ie after I ping the server, then I can use internet.
[20:16] <jgjones> Deeps - it's 1
[20:16] <jgjones> for cat /proc/sys/net/ipv4/ip_forward
[20:17] <jgjones> there's just a long lag in between picking up IP and being able to go on the internet...sometime I cannot do this until I ping the server.
[20:18] <jgjones> I don't know if this is something on the server as can't see anything wrong with configuration or if it's related to the fact that it's a KVM virtual machine - ie would being on KVM cause this lag?
[20:54] <Lamo> what's the command to login as root in Ubuntu? tired of typing my 14 character password every time I want to edit a file.
[20:55] <Lamo> found it. sudo su
[20:58] <maw_> cant apt-get differentiate between an upgrade that is just a new feature compared to a security patch?
[20:58] <maw_> *can
[20:58] <maw_> I am looking for a way to only apply security patches
[20:59] <vensign> Lamo you can use sudo -i
[21:00] <Lamo> vensign: what's the difference? also is there no way to login as root at login. cause when I ssh into my box I have to first login as user then root typing my really long password twice.
[21:03] <kees> maw_: if you disable the -updates repository, you'll only get security updates.
[21:03] <kees> maw_: and traditionally, "new features" don't go into -updates, just major bug fixes
[21:04] <maw_> ah thanks, that is simple enough
[21:07] <jmedina> Lamo, set a password for the root user
[21:09] <Lamo> Having problems with ebox, is there no better alternative?
[21:09] <Ju> Lamo you can set sudo password less , so you type your passwd only once
[21:09] <jmedina> Lamo why dont you better report your problems and try to fix them
[21:11] <dana_good> "sudo su -" will log you in as root if you want to
[21:11] <dana_good> or you can set sudo to remember your password for a longer timeout
[21:11] <Lamo> ok well I installed ebox on a headless ubuntu server I setup yesterday, and after installing the ebox-network it killed my network. so I removed it to fix my network which I got back. but now I'm having problems reinstalling. ill give an error when I get it.
[21:15] <Lamo> ok when reinstalling ebox I get http://pastebin.com/d55b37bb1
[21:15] <jmedina> Lamo there is a ebox log file
[21:16] <jmedina> Lamo the best place to askt about ebox is in the ebox mailing list
[21:16] <jmedina> the ebox developers can answer you questions
[21:16] <jmedina> they always recommend to install the PPA version, not the one in the ubuntu repositories
[21:16] <Lamo> ok then I just thought you were maybe offering to help.
[21:17] <Lamo> oh right I should do that too
[21:17] <jmedina> Lamo I can help you, but I dont have a ebox here
[21:18] <jmedina> Lamo did you install ebox under a ubuntu server, or with the ebox iso?
[21:18] <Lamo> under a server
[21:18] <Lamo> I'm gonna add the ppa repos
[21:18] <jmedina> https://lists.warp.es/mailman/listinfo/ebox-user
[21:19] <jmedina> maybe you can find a similar problem in the mailing list archives
[21:19] <Lamo> jmedina: thanks ill take a look
[21:24] <Lamo> PPA repos much better :)
[21:26] <jmedina> Lamo no problems so far?
[21:27] <Lamo> not yet but I still need to install ebox-network
[21:37] <dana_good> so my exim4 mail server can send mail, it just cant recieve mail. when i telnet to port 25 i get a protocol mismatch and SSH responds
[21:40] <jmedina> dana_good: could you showus that message?
[21:40] <jmedina> for example the output from $ telnet localhost 25
[21:41] <dana_good> SSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.2
[21:41] <dana_good> Protocol mismatch.
[21:42] <dana_good> that's from windows, jeOS doesn't have telnet built in
[21:43] <Deeps> netstat -anp | grep 22
[21:43] <Deeps> urr, ignore that
[21:43] <Deeps> netstat -anp | grep 25
[21:43] <Deeps> even
[21:44] <Deeps> find whatever's listening on 0.0.0.0:25 or :::25
[21:45] <dana_good> http://pastebin.ca/1261742
[21:46] <Deeps> cat /proc/17231/cmdline
[21:48] <dana_good> same pastebin
[21:48] <dana_good> http://pastebin.ca/1261747
[21:48] <dana_good> nevermind, incremented pastebin
[21:48] <dana_good> haha
[21:48] <Deeps> /usr/sbin/exim4-bd-q30m
[21:49] <Deeps> i dunno if that's normal for exim
[21:49] <dana_good> i have no idea what that even means
[21:49] <Deeps> oh, no, it probably is, hmm
[21:49] <Deeps> bizarre
[21:50] <Deeps> vi /etc/ssh/sshd_config
[21:50] <Deeps> ensure that there's nothing in there
[21:50] <Deeps> if you've got local access to the machine, killall -9 sshd
[21:51] <dana_good> http://pastebin.ca/1261752
[21:51] <dana_good> i haven't killed ssh
[21:51] <dana_good> i have local access, but not atm
[21:52] <Deeps> urr, dunno why you're tailing ssh
[21:52] <Deeps> last 10 lines of a file bigger than 10 lines doesn't really say much, heh
[21:52] <Deeps> it's a config file, not a log file
[21:52] <dana_good> okay hold pls
[21:55] <dana_good> http://pastebin.ca/1261756
[21:56] <Deeps> ps ax|grep exim
[21:56] <Deeps> and netstat -anp|grep exim
[21:58] <dana_good> 17231 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m
[21:58] <dana_good> 29888 pts/1    R+     0:00 grep exim
[21:58] <jmedina> dana_good: could you please pastebin the output from telnet localhost 25, please?
[21:59] <dana_good> there's one thing that i'm thinking may be wrong
[22:00] <Deeps> i'm thinking firewall rules
[22:00] <Deeps> potentially
[22:00] <Deeps> one thing makes no sense
[22:01] <Deeps> < dana_good> so my exim4 mail server can send mail, it just cant recieve mail.
[22:01] <Deeps> how does it send mail?
[22:01] <Deeps> where are you sending mail from?
[22:02] <Deeps> jmedina: scroll up, 21mins ago
[22:02] <Deeps> although, actually
[22:02] <Deeps> dana_good: on the machine, nc localhost 25
[22:05] <dana_good> deeps, jmedina: it was a NAT issue, thanks for your help
[22:05] <dana_good> jeOS doesn't have telnet built in so i couldn't fix that
[22:05] <dana_good> typos on routers ftw
[22:06] <Deeps> :p
[22:06] <Deeps> good to know i got it right then
[22:07] <Deeps> dana_good: and yeah, forget telnet, use netcat (nc)
[22:08] <Deeps> jdstrand: you too, forget telnet, use netcat.
[22:08] <dana_good> i'll have to try that on one of the shell machines
[22:08] <dana_good> woah netcat is cool
[23:15] <XiXaQ> I'm setting up LDAP+NFS for centralized user management and homes. However, it feels wrong. As it is now, I think anyone with knowledge about usernames and uids can access any users home? Just create a user with the right username and uid and you're in?
[23:30] <espacious> i want to install bugzilla i found the apache.conf for debian bugzilla but how do i enable it/this?