/srv/irclogs.ubuntu.com/2008/11/19/#ubuntu-server.txt

dou213hi guys, can i use mirc/xchat with ubuntu server?00:07
Deepssure, if you're running X00:07
Deepsor want to X forward it00:07
dou213Deeps: i'm not using X-server, thus not possible?00:08
Deepswel if you're not running X, how do you think a graphical client is going to be displayed? heh00:08
Deepsyou can X forward it from the server to your local X server if you wish00:09
jmedinadou213: why dont you use a Terminal irc client?00:09
dou213jmedina: like? that's what i'm searching for i guess... didn't know how to put it :)00:10
Deepsirssi00:10
Deepsbitchx00:10
jmedinayou 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 session00:10
dou213Deeps: sry for the inconvenience00:10
jmedinaI only know irssi00:10
Deepsthose are the 2 more popular terminal clients00:10
dou213ok Deeps and jmedinam thx i'll give it a try..00:11
dou213jmedina, sry00:11
=== dedi_away is now known as Dedi
=== Dedi is now known as dedi_away
=== dedi_away is now known as Dedi
=== Dedi is now known as dedi_away
=== dedi_away is now known as Dedi
=== Dedi is now known as dedi_away
=== dedi_away is now known as Dedi
jimmy_Hello02:07
espaciouswill 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)02:18
=== Dedi is now known as dedi_away
=== dedi_away is now known as Dedi
=== Dedi is now known as dedi_away
=== dedi_away is now known as Dedi
=== espacious_ is now known as asdas
=== asdas is now known as espacious
=== espacious is now known as asdaf
=== asdaf is now known as espacious
_rubenespacious: 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:45
espacious_ruben glad somthing pointed me out that07:57
espaciousinfact my rebuild is extremly slow but i have raid1 on separate ide07:57
espaciousfact is i have two separate ride1 one is (ide1-1,ide2-2)07:58
espaciousother is ide1-2, ide2-107:58
espaciousis doing both rebuilds on start it was fast enough now speed dropped to almos 007:59
_rubenwell, 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 bus08:03
espacious_ruben u got it i use pata not sata i will buy it, i think its a good idea.08:05
espacious_ruben can u cca tell me what is the difference in speed on same and on separate ide?08:06
espaciousanother thing can i stop the rebuilding array proces?08:08
espacioussince i have two running, i want first finish one and than do the second.08:08
=== jmarsden_ is now known as jmarsden
Jeeves_Hiya!08:12
henkjanhey Jeeves_08:12
henkjangood to see you here :)08:13
Jeeves_:)08:18
_rubenespacious: i dont know the exact comand by head, but with mdadm you can stop one of the (re)builds afaik08:19
_rubenespacious: theoretically the speed gain is atleast a factor 208:19
_rubenone bus, shared by 2 disks, each disk has 50% .. but there's quite a bit of overhead, so the gain would be even more08:19
espaciousno realy 50% ?08:19
espaciousthat's sooo much!08:20
espaciousi will buy the controller.08:20
_rubenJeeves_ returned from the dead ;)08:21
espacious_ruben u think i can remove the sdd1 from the array when is still syncing?08:21
espaciouswith the --remove command?08:21
_rubenespacious: i think you can, you could stop the array first to be sure08:22
espaciousok thanks08:26
krautmoin08:27
Jeeves_Morning08:33
ubuntu_is eBox a recommended tool for server management?09:06
ropetinubuntu_: Recommended is a relative term09:07
ropetinI'd say it depends on your experience level, desire to learn, and the type of server you're refering to09:07
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:09
ubuntu_I'm happy to learn what's needed, but preferably if it helps me maintain the server more effectively09:10
ubuntu_the server itself is a file/print/backup/network server which I have direct access to09:11
ubuntu_currently I maintain the server through a combination of commandline and GUI interfaces09:12
ropetinubuntu_: is it externally accessible or only on your LAN?09:13
ubuntu_ropetin, at the moment it's only on the LAN09:14
ropetinIn which case, no worries, give eBox a go, see if you like it09:15
ubuntu_ropetin, can there be difficulties if I'm using eBox and still tweaking the conf files manually?09:16
ropetinI 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 works09:16
ubuntu_thanks ropetin, I'll check it out and see if I like it09:18
ropetinNo worries, good luck09:32
uvirtbotNew bug: #299843 in open-iscsi (main) "armel build failure (package not yet in the archive)" [Medium,Triaged] https://launchpad.net/bugs/29984310:21
ubuntu_is there a good way to backup users and groups (incl. passwords)?10:34
Omahn_Shame eBox isn't installable from the standard repos at the moment.10:37
Deepsbackup the /etc/passwd, /etc/shadow and /etc/group files?10:38
ubuntu_Deeps, so if I just restored those files to the new /etc directory, the users will be reinstated?10:41
Omahn_ubuntu_: Yes, although you might want to backup their home directories too.10:42
ubuntu_Omahn_, yes, that would be part of the plan10:43
Deepsubuntu_: you also might wanna check that the system user uids and gids all match up to what your new system has too10:43
Deepse.g. if you've installed some services that run under their own user, e.g. named, postfix, mysql10:43
Deepsbetter would be to just grab all the real user + group accounts (uid/gid >= 1000) and add them back in10:44
ubuntu_Deeps, is there a way to restore users/groups selectively?10:45
uvirtbotNew bug: #299813 in xine-lib (universe) "armel builds failure (package not yet in the archive)" [High,Invalid] https://launchpad.net/bugs/29981311:38
espaciouswhere can i get help with software raid1?11:53
uvirtbotNew bug: #299866 in tomcat6 (main) "package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255" [Undecided,New] https://launchpad.net/bugs/29986612:02
sorenespacious: Here, maybe. Just ask your question.12:11
espaciousso 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:12
espaciousat 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
espaciousalso the console is much unresponsive12:13
espacioustakes ages to make a command12:13
espacioustake a look at that12:14
espacioushttp://pastebin.com/m66f9ed8c12:14
espaciousshud i try "mdadm --stop /dev/mdx12:16
espacious?12:16
sorenWhich version of Ubuntu is this?12:17
espaciouslatest server ubuntu12:17
espacious8.1012:17
sorenanything interesting in dmesg?12:17
espaciouscat /var/log/dmesg?12:18
pitiespacious: or just dmesg12:20
espaciousi got slow respond on console12:21
espaciouswill paste it12:21
ahasenackdo you have anything else heavily using the disk perhaps?12:22
espaciousno only two raid's12:22
espaciousits a new install almost.12:22
espaciousjust added apache and samba and raid.12:23
espaciousapache is topped also samba12:23
espaciousstopped*12:23
espaciouslast few lines of dmesg12:24
espacioushttp://pastebin.com/m23b9e41012:24
espaciousJBD: IO error reading journal superblock ???12:25
espaciousi think becouse i hard rebooted12:26
espaciouspiti if i mdadm --stop /dev/md1 i get12:31
espaciousfail to stop array /dev/md1: Device or resource busy12:31
Omahn_Presumably because you have something mounted off /dev/md112:32
espaciousmd1 is lvm12:32
espaciousshould i unmount?12:32
espaciousthe rebuild array is in progres but it's froozen12:33
Omahn_If possible yes. I suspect you will also have to make the volume groups inactive.12:33
espaciousok will try.12:35
espaciousdisk led is up for hours now, console is very unresponsive.12:37
espaciousi doubt its a fault disk.12:37
Omahn_Sounds like it might be a fault on the controller if you're sure the disk is healthy.12:38
espaciousworked ok a couple of hours ago12:38
espaciousso was not mounted12:38
celephaisHi, how can i use lvm with kvm?12:39
espaciousOmahn_ how i make volume groups inactive?12:42
espaciousumount /dev/fileserver/share ?12:44
espaciousor lvremove ?12:44
ahasenackespacious: vgchange -a n12:51
espaciousdows what?12:52
espaciousdoes*12:52
espaciousok found the vgchange man12:53
espaciousis safe to do that while an array is build?12:54
sorenespacious: This also doesn't look too good: #12:55
soren[   43.821632] attempt to access beyond end of device12:55
sorencelephais: What do you mean?12:56
espacioushmm.12:56
celephaissoren, how can i install guest system on a logical volume?12:56
espaciousi wil rebuild lvm as now i dont use entire disks and they are not same size but almost equal.12:57
celephaissoren, or let a guest access a logical volume12:57
espaciouscelephais im sure u can find some how to's12:57
espaciousi ran vgchange -a n to see.12:58
celephaisespacious, with xen yes, but i can't find anything for kvm12:58
celephaisespacious, and with vmbuilder i can use only files12:59
sorencelephais: Just like you would install it to any other file or device.12:59
sorenIf you were using a file, you'd: kvm -hda /path/to/some/file.12:59
sorenIf you were using an lv, you'd: kvm -hda /path/to/some/lv. Same.12:59
celephaissoren, ok, is supported in vmbuilder?13:00
espaciousroot@kgsstore01:~# vgchange -a n13:00
espaciousFile descriptor 5 left open13:00
espaciousfor 5 min now....13:00
sorencelephais: 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
celephaissoren, ok I'll try thank you13:01
espaciousso stuck at vgchange... how can i repair that mess13:03
espaciousim worried about the disks they are reading/writing now for a couple of houres non stop.13:05
sorenespacious: What does your partition table look like?13:05
espacioussda - sdd13:05
espaciousa1 c1 raid1 normal ext313:06
sorenAh, no.13:06
espaciouswhat?13:06
soren013:06
sorenWhoops13:06
sorenI'd like to see your partition table.13:06
sorenfdisk -l /dev/sda, for isntance.13:06
sorenActually, "sudo fdisk -l /dev/sd?"13:07
espaciousnow i can only wait but it is ...13:07
espacioussda1 /13:07
sorenThat's not what I'm looking for.13:07
espaciousok will make output of fdisk13:07
espaciousis the pc dont blow up, it's writing like an animal13:08
espaciousif*13:08
espaciousstill stuck.13:09
espaciousshuld i reboot and disct the second disk in the raid?13:10
espaciousand then rebuild the whole again?13:10
* soren thinks something is screwed13:11
soren...and I'm suspecting the partition table right now.13:11
espaciousbtw when i runed top it was ok..13:11
sorenmeaning?13:11
espaciousok will try to post out that fdisk13:11
espaciousno proces was 100% cpu13:11
sorenAh, no. There wouldn't be.13:12
sorenAll the raid magic is in the kernel (and hence doesn't show up in top).13:12
espaciousright.13:13
Omahn_espacious: Is this a server or a desktop box?13:14
espaciousserver.13:14
Omahn_Bummer.13:14
espaciousu 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:15
espaciousits a normal pc its not a server ubuntu is server ver...13:16
uvirtbotNew bug: #299886 in mysql-dfsg-5.0 (main) "error processing /var/cache/apt/archives/mysql-common_5.0.22-0ubuntu6.06.11_all.deb (--unpack)" [Undecided,New] https://launchpad.net/bugs/29988613:16
espaciousstill at vgchange should i ctrl+c?13:17
Omahn_Yeah, it should return immediately.13:17
Omahn_Is the filesystem ext3 on the logical volume?13:18
espaciousall command have delay13:18
espaciousyes on sda1 and ext3 is also on md1 (lvm)13:19
Omahn_Are these disks SATA or SCSI?13:19
espaciousand both are rebuilded..13:19
espaciouspata13:19
ahasenackespacious: what do you mean when you say "md1 (lvm)"? Is it lvm over raid?13:19
espacioustwo disks in lvm group and in raid113:20
Nafallomd1 is usually raid.13:20
Nafallooh.13:20
espaciousi messed up sth?13:20
* Nafallo makes a note to not comment without reading ;-)13:20
espaciousneither ctrl+c has effect seems13:21
ahasenackespacious: so it's raid1 first, and then you created an lvm group using the raid device, that's it?13:21
ahasenackespacious: is / a logical volume too?13:22
espacioushmm.. i made first lvm on both disks and than put them in vlm group and in raid md113:24
Omahn_espacious: Might be easier if you could give us the output from the following commands, as root.13:25
Omahn_pvscan13:25
Omahn_vgscan13:25
Omahn_lvscan13:25
Omahn_mount13:25
espaciousi know.13:25
Omahn_cat /proc/mdstat13:25
Omahn_dmesg13:25
* soren still thinks fdisk -l /dev/hd? is what we want13:25
Omahn_Assuming the machine is responsive enough to produce the output :-)13:25
espaciouswaiting if it becomes responsive otherwire i will rebot13:25
espaciousis not.13:25
Omahn_soren: The earlier mdstat pasted was referring to sd?, hence a little confusion when espacious mentioned PATA.13:26
sorenOmahn_: Why? And what's your point? :)13:26
sorenVery, very few disks (if any at all) are named hd? nowadays.13:27
sorenErr...13:27
sorenI mean, disks on very, very few controllers (if any at all) are name hd? nowadays.13:28
espaciousOmahn_ they are normal 80 pin pata and are shown as sd**13:28
* Omahn_ still has many machines with hd? disks.13:28
sorenI haven't had any for years and years.13:28
* Omahn_ passes the willy waving award to soren 13:29
sorenEven my ancient laptop (pre 2000, IIRC) has an sda disk.13:29
sorenOmahn_: :)13:29
espaciousmy lifebook too.13:29
espaciousso ctrl+c stuck no nada nothing.13:29
sorenSwitch to another console.13:30
espaciouslocal? it won let me axx over lan13:30
sorenYes, local.13:30
espaciousbrb13:30
espacioushuh local console is full of errors!13:31
espaciousDRDY ERR ata1.0013:31
espaciouserror UNC13:31
espaciousnever seen that13:32
Omahn_Doesn't sound good..13:32
espaciousin fact ata2 not ata 113:32
espaciousi see !13:32
espaciousdamn.13:32
espaciousso what is the procedure?13:32
espaciousgot the remote console..13:33
espaciousshutdown -r now?13:33
Omahn_Might as well.13:33
espacioussince i presume it wont stop writing13:34
espaciouswhat u suggest?13:34
Omahn_How have you got to this stage? Was this a RAID1 mirror that experienced a failed disk?13:34
espaciousno 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
sorenespacious: I'd start over.13:35
Omahn_^^^^13:36
uvirtbotOmahn_: Error: "^^^" is not a valid command.13:36
espacioushow.13:36
sorenespacious: How what?13:36
espaciousi 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:37
Omahn_espacious: I would recommend checking those disks before you go any further.13:38
espaciouswhat exact output u wanna see fdisk -l ?13:38
sorenespacious: All of the output from "fdisk -l /dev/sda?"13:38
sorenWhoops13:38
soren "fdisk -l /dev/sd?" I mean.13:38
espaciousdamn.;D13:38
sorenWhat now?13:39
espaciousi entered the first one.13:39
espaciousthamn this can take ages.13:39
espaciouslet me try local13:40
soren"the first one"?13:40
sorenOh, what I wrote first.13:40
sorenRight, sorry about that.13:40
sorenIt shouldn't take long, though.13:40
espaciousyes.shouldnt.13:41
espaciouslocal console is not usable13:41
espaciousoutputs only errors cant login13:41
espaciousalso i noticed only sdc and sdb are involved in errors so is sth with the lvm disks not the main13:42
espaciousaha fdisk output.13:42
espacioushttp://pastebin.com/m2baea8a613:43
espaciousdont tell much13:44
Omahn_Was that the output from fdisk -l /dev/sd?13:44
espaciousfdisk -l /dev/sda13:45
Omahn_Try again with 'fdisk -l /dev/sd?' without the quotes.13:45
espaciousalready in progres13:45
espaciousok was a bit faster13:46
espacioushttp://pastebin.com/m55f7e23d13:46
Omahn_Ok, now 'cat /proc/mdstat'13:47
espacioushttp://pastebin.com/m49d2a06b13:48
espaciousread your mind:D13:48
Omahn_:-)13:49
espacious:D where i screwed up?13:49
Omahn_You didn't hot swap any of the disks did you?13:50
espaciousno.13:50
espaciousim also preaty sure there were both disks in md113:50
espaciouswhen i booted up.13:50
Omahn_If you have lsscsi installed, the output from 'lsscsi' would be useful.13:52
espacious...13:52
espaciousif i could stop the rebuild somehow would help i think.13:53
espaciousstill no output.13:54
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 controller13:55
* Omahn_ has to head off now13:55
espaciousthanks for helping.13:56
Omahn_Didn't really help much, but no problem :-)13:56
W8TAHon server 8.06 where do i specify the name servers -- resolve.conf says not to edit it14:10
Deepseither in resolv.conf, or as args in /etc/network/interfaces on the network interface14: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 help14:11
W8TAHthanks deeps14:12
Deepsdns-nameservers arg in interfaces14:12
Deepssee interfaces(5) manpage14:12
Deepsi lie, it's not in there lol14:12
Deeps(in the manpage, that is)14:13
espacious_ok i managed to stop the array14:15
espacious_mdadm --manage /dev/md0 --fail /dev/sdb114:15
espacious_what shoul i do now?14:15
W8TAHcool14:16
DrUnKnMuNkYHey 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:51
DrUnKnMuNkY8.04 with all updates installed14:52
sorenkernel version?14:53
DrUnKnMuNkY2.6.24-21-server14:58
mathiazsoren: question about iscsi merge - why do you start iscsi before networking?15:06
mathiazKoon: what should be done about bug 286828?15:10
uvirtbotLaunchpad bug 286828 in samba "Access to samba<3.0.26 shares using CIFS is broken on 8.10" [Undecided,Confirmed] https://launchpad.net/bugs/28682815:10
mathiazKoon: it seems that we've found what the problem is. However I stil wonder why the cifs client broke in the first place15:10
sorenmathiaz: I don't.15:11
Koonmathiaz: I wanted to check if dapper was affected15:12
sorenmathiaz: I start it before S40networking, yes.15:12
mathiazsoren: hm - the iscsi init script is started at S2515:12
Koonmathiaz: 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:12
Koonsmbfs was apparently ignoring this bug quite well.15:13
mathiazsoren: while networking is at S4015:13
mathiazKoon: exactly.15:13
sorenmathiaz: Yes...15:13
sorenmathiaz: But the network is brought up before that.15:13
sorenudev discovers a nic -> it's configured.15:14
mathiazsoren: right :D15:14
Koonmathiaz: but I also undersand steve french's pov: as upstream he shouldn't consider the bug on his side15:14
Koonmathiaz: that leaves us in the middle, and our choice to use CIFS where SMBFS was used before15:15
mathiazsoren: even in the case of interfaces setup in bonding?15:15
sorenmathiaz: No.15:15
mathiazKoon: well... backward compatibility could be taken into account.15:16
Koonmathiaz: so my plan was: 1/check if dapper samba server is affected 2/try to see if we can workaround this in CIFS15:16
sorenmathiaz: but S40 is way too late for something that might be providing your block devices for all your filesystems.15:16
Koonmathiaz: I'm just not sure we can achieve 2/ without Steve's help :)15:17
mathiazKoon: dapper is probably affected.15:17
mathiazKoon: I haven't tested though.15:17
mathiazKoon: OTOH hardy is not15:17
mathiazsoren: right - could the iscsi block devices be considered as network filesystems?15:18
mathiazsoren: it seems that the pre-condition for iscsi to work correctly is to have the network up and running15:18
sorenNo.15:18
sorenSorry for being so terse... I'm trying to look after my daughter at the same time, and she's rather unhappy.15:19
Koonmathiaz: 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 server15:19
mathiazsoren: ok - we can resume this conversation later15:19
Koonthat's why I wanted to check (and identify precisely which upstream bug causes this)15:20
mathiazKoon: right. Even if dapper is not affected, I'm still not convinced that we can close to bug with a answer - please upgrade your server15:23
Koonmathiaz: I agree with you.15:23
mathiazKoon: it may worth asking steve opinion if adding a workaround this would be possible15:24
Koonmathiaz: sure, want me to do it ? I wanted to identify the bug more precisely before I did that.15:25
mathiazKoon: sure. Seems that your plan is good - first try dapper15:25
mathiazKoon: and then get in touch with steve15:25
mathiazKoon: to see if a workaround could be added to the code.15:26
Koonyep.15:26
mathiazKoon: awesome - thanks15:28
sorenmathiaz: 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:47
* soren is bad at placing quotation marks..15:48
sorenI'll try again:15:48
soren"network being up and running" might not mean what you think.15:48
sorenIf 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
sorenSo you might not even have to do anything to get it to work.15:49
sorenmathiaz: 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:50
sorenI proposed a patch for that a long time ago.15:51
sorenIIRC, I'm still awaiting feedback on it.15:52
sorenThe gist of it:15:52
sorenErr...15:53
* soren was looking at the wrong file.15:53
mathiazsoren: ok - another solution that debian tried was to use ifup.d script15:54
* soren doesn't like it15:54
ahasenackmandriva had something in fstab specifying that the iscsi mount point used network, so it's mounting would only be attempted later after network was up15:55
mathiazsoren: it was reverted later15:55
ahasenack_netdev IIRC15:55
* ahasenack jumped into the middle of the discussion, and now jumps out15:55
mathiazsoren: and they mount _netdev filesystems15:56
sorenahasenack: Right. I don't like it.15:56
mathiazahasenack: right - I think that's what debian is doing for now.15:56
mathiazsoren: It also seems that the use case of root on iscsi is separate from non-root on iscsi15:56
sorenmathiaz: IIRC, yes.15:57
sorenmathiaz: What I changed in ifenslave-2.6 was:15:57
sorenInstead of the bond0 interface listing its slaves, the slaves would refer to the bond0 interface.15:58
sorenThe if-up.d would check if the bond0 was "complete" and bring it up when all the slaves were available.15:58
sorenI.e. when udev discovers the last one.15:59
soren...as opposed to S40, which is way too late to be useful.15:59
mathiazsoren: ok.16:00
=== kirkland` is now known as kirkland
mathiazsoren: other question related to iscsi - why is iscsi shutdown at K25?16:32
mathiazsoren: that is way before S40umountfs16:32
sorenmathiaz: That's a bug, I believe.16:32
mathiazsoren: ok.16:32
sorenThe road of iscsi zen is paved with mysteries and surprises. Beware.16:33
mathiazsoren: right - debian added a new shutdown script16:33
mathiazsoren: umountiscsi.sh at K80 in rc616:33
mathiazsoren: that's before S20sensigs16:34
mathiazsoren: it seems that iscsi devices should be umounted around the same time as S31umountnfs16:35
sorenIf you can find a way to identify iscsi mounts, that's the rigth place to unmount them probably.16:36
mathiazsoren: http://paste.ubuntu.com/74398/16:36
mathiazsoren: that's what is used to umount iscsi devices16:37
sorenmathiaz: At a glance, that seems to at least attempt to do the right thing. Let's try it.16:38
espacious_soren i screwed up again or there is sth wrong17:05
espacious_i recreated raid and lvm17:05
espacious_i saved the sda1 the drive is ok raid was rebuild17:06
espacious_but when trying to rebuild raid with lvm17:06
espacious_http://pastebin.com/m312628e517:06
espacious_where im making the mistaake now i made also xfs not ext3..is maybe that the disks are not exactli the asme?17:07
sorenIt's hard to say. I don't know what you've done. You're just showing me the result.17:08
espacious_i folowed one tutorial now.17:10
espacious_but quite as i setuped earlier17:10
sorenThat doesn't help me much :)17:12
espacious_i know can u just point me a bit17:13
espacious_or tell me what to show u17:13
sorenespacious_: How did you set it up?17:19
espacious_first i make fdisk /dev/sdb and sdc type Raid linux auto17:19
espacious_than i added one disk17:20
espacious_to the xxx_vg17:20
espacious_made xxx_lv17:20
espacious_mkfs xfs17:20
Juhello there !17:20
espacious_addet the other disk /dev/sdc17: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:21
espacious_but the md0 raid is now ok (system) only the lvm md1 has problems17:22
JuJust 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 bad17:22
uvirtbotLaunchpad bug 150649 in libapache-mod-auth-mysql "gutsy does not have a working apache+mysql authentication solution" [Undecided,Incomplete]17:22
espacious_hey soren http://pastebin.com/m6807ed4717:29
espacious_is maybe this related to my bios setup of diks?17:29
Koonzul/jdstrand: one of you might be interested in sponsoring my debdiff on bug 29126517:30
uvirtbotLaunchpad bug 291265 in nagios-plugins "Buffer overflow in check_ntp_peer - Nagios can't check time servers in Intrepid" [Medium,Confirmed] https://launchpad.net/bugs/29126517:30
zuljdstrand: 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:37
jdstrandzul: not security relevant17:38
zuljdstrand: cool17:38
zulKoon: ill take it then ;)17:38
Koondon't fight :)17:38
jdstrandthanks zul!17:38
jdstrand(I'm certainly not fighting him sponsoring that :)17:39
Koonzul: i'll do a SRU for intrepid after that.17:39
zulKoon: sounds good17:39
zulKoon: done17:42
Koonzul: cool, thx17:43
zulKoon: np17:43
uvirtbotNew bug: #300033 in openldap (main) "package slapd 2.4.11-0ubuntu6 failed to install/upgrade: subprocess post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/30003318:41
sommermathiaz: doh, was composing a reply to that bug as well18:51
sommer:)18:52
mathiazsommer: oh! thanks:)18:52
sommerleast I had the same conclusion18:52
mathiazsommer: it seems that the end user installed something in /usr/local/18:52
dana_goodI'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:54
sommerdana_good: strange... you might check /etc/default/ssh to see if there are any options configured18:55
dana_goodokay18:55
dana_goodsommer: i'm not seeing any options configured, i'm running the default SSH install from "aptitude install ssh"18:56
sommermmmm... I'd try stopping ssh using /etc/init.d/ssh stop; then kill any remaining ssh processes and start ssh again18:57
sommerthat should tell you if there's something going on with sshd18:57
mathiazdana_good: are you sure it's the sshd process that listens on port 25?18:58
mathiazdana_good: you can check that with netstat -anp | grep sshd18:58
Nafalloor even netstat -ltnp | grep \:22 :-)18:58
Nafalloehrm. 2518:59
Nafallothat one might need root though18:59
taconeis 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:01
sommertacone: mine are only readable by root.adm19:03
Nafallo-rw-r-----  1 root adm     5182 2008-11-19 14:28 access.log <-- tacone, my server disagrees19:03
taconeuhh, adm.19:03
taconeok, makes sense.19:03
taconeguess on debian the desktop user is not into adm group, that's why i got that report.19:04
taconethank you very much.19:04
=== leonel_ is now known as leonel
dana_goodmathiaz 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 port19:19
Deepslol that doesn't sound good19:20
LamoAnyone know of anything that's the equivalent of cpanel but free?19:49
dana_good!ebox19:55
ubottuebox is a web-based GUI interface for administering a server. It is designed to work with Ubuntu/Debian style configuration management. See https://help.ubuntu.com/community/eBox19:55
jgjonesGreetings...20:11
Lamodana_good: ebox is bad, I'm trying webmin right now20:11
jgjonesI 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 slow20:12
Deeps!webmin | Lamo20:12
ubottuLamo: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead.20:12
Lamodamn20:13
Deepsjgjones: ebox is just a web based front end to aid in configuration of services20:13
jgjoneslet 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:13
jgjonesbut it doesn't ping internet at all...20:14
jgjonesit seem to take a long time to pick up DNS requests20:14
Deepssounds like you dont have ip forwarding or NAT enabled20:14
Deepscat /proc/sys/net/ipv4/ip_forward20:14
jgjonesand 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
jgjoneseverything works just fine.20:14
Deepsiptables -nvL; iptables -t nat -nvL20:15
jgjonesie after I ping the server, then I can use internet.20:15
jgjonesDeeps - it's 120:16
jgjonesfor cat /proc/sys/net/ipv4/ip_forward20:16
jgjonesthere'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:17
jgjonesI 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:18
Lamowhat'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:54
Lamofound it. sudo su20:55
maw_cant apt-get differentiate between an upgrade that is just a new feature compared to a security patch?20:58
maw_*can20:58
maw_I am looking for a way to only apply security patches20:58
vensignLamo you can use sudo -i20:59
Lamovensign: 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:00
keesmaw_: if you disable the -updates repository, you'll only get security updates.21:03
keesmaw_: and traditionally, "new features" don't go into -updates, just major bug fixes21:03
maw_ah thanks, that is simple enough21:04
jmedinaLamo, set a password for the root user21:07
LamoHaving problems with ebox, is there no better alternative?21:09
JuLamo you can set sudo password less , so you type your passwd only once21:09
jmedinaLamo why dont you better report your problems and try to fix them21:09
dana_good"sudo su -" will log you in as root if you want to21:11
dana_goodor you can set sudo to remember your password for a longer timeout21:11
Lamook 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:11
Lamook when reinstalling ebox I get http://pastebin.com/d55b37bb121:15
jmedinaLamo there is a ebox log file21:15
jmedinaLamo the best place to askt about ebox is in the ebox mailing list21:16
jmedinathe ebox developers can answer you questions21:16
jmedinathey always recommend to install the PPA version, not the one in the ubuntu repositories21:16
Lamook then I just thought you were maybe offering to help.21:16
Lamooh right I should do that too21:17
jmedinaLamo I can help you, but I dont have a ebox here21:17
jmedinaLamo did you install ebox under a ubuntu server, or with the ebox iso?21:18
Lamounder a server21:18
LamoI'm gonna add the ppa repos21:18
jmedinahttps://lists.warp.es/mailman/listinfo/ebox-user21:18
jmedinamaybe you can find a similar problem in the mailing list archives21:19
Lamojmedina: thanks ill take a look21:19
LamoPPA repos much better :)21:24
jmedinaLamo no problems so far?21:26
Lamonot yet but I still need to install ebox-network21:27
dana_goodso 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 responds21:37
jmedinadana_good: could you showus that message?21:40
jmedinafor example the output from $ telnet localhost 2521:40
dana_goodSSH-2.0-OpenSSH_4.7p1 Debian-8ubuntu1.221:41
dana_goodProtocol mismatch.21:41
dana_goodthat's from windows, jeOS doesn't have telnet built in21:42
Deepsnetstat -anp | grep 2221:43
Deepsurr, ignore that21:43
Deepsnetstat -anp | grep 2521:43
Deepseven21:43
Deepsfind whatever's listening on 0.0.0.0:25 or :::2521:44
dana_goodhttp://pastebin.ca/126174221:45
Deepscat /proc/17231/cmdline21:46
dana_goodsame pastebin21:48
dana_goodhttp://pastebin.ca/126174721:48
dana_goodnevermind, incremented pastebin21:48
dana_goodhaha21:48
Deeps/usr/sbin/exim4-bd-q30m21:48
Deepsi dunno if that's normal for exim21:49
dana_goodi have no idea what that even means21:49
Deepsoh, no, it probably is, hmm21:49
Deepsbizarre21:49
Deepsvi /etc/ssh/sshd_config21:50
Deepsensure that there's nothing in there21:50
Deepsif you've got local access to the machine, killall -9 sshd21:50
dana_goodhttp://pastebin.ca/126175221:51
dana_goodi haven't killed ssh21:51
dana_goodi have local access, but not atm21:51
Deepsurr, dunno why you're tailing ssh21:52
Deepslast 10 lines of a file bigger than 10 lines doesn't really say much, heh21:52
Deepsit's a config file, not a log file21:52
dana_goodokay hold pls21:52
dana_goodhttp://pastebin.ca/126175621:55
Deepsps ax|grep exim21:56
Deepsand netstat -anp|grep exim21:56
dana_good17231 ?        Ss     0:00 /usr/sbin/exim4 -bd -q30m21:58
dana_good29888 pts/1    R+     0:00 grep exim21:58
jmedinadana_good: could you please pastebin the output from telnet localhost 25, please?21:58
dana_goodthere's one thing that i'm thinking may be wrong21:59
Deepsi'm thinking firewall rules22:00
Deepspotentially22:00
Deepsone thing makes no sense22:00
Deeps< dana_good> so my exim4 mail server can send mail, it just cant recieve mail.22:01
Deepshow does it send mail?22:01
Deepswhere are you sending mail from?22:01
Deepsjmedina: scroll up, 21mins ago22:02
Deepsalthough, actually22:02
Deepsdana_good: on the machine, nc localhost 2522:02
dana_gooddeeps, jmedina: it was a NAT issue, thanks for your help22:05
dana_goodjeOS doesn't have telnet built in so i couldn't fix that22:05
dana_goodtypos on routers ftw22:05
Deeps:p22:06
=== espacious_ is now known as espacious
Deepsgood to know i got it right then22:06
Deepsdana_good: and yeah, forget telnet, use netcat (nc)22:07
Deepsjdstrand: you too, forget telnet, use netcat.22:08
dana_goodi'll have to try that on one of the shell machines22:08
dana_goodwoah netcat is cool22:08
=== joerlend is now known as XiXaQ
XiXaQI'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:15
uvirtbotNew bug: #300108 in postfix (main) "during postfix installation i am getting "debconf: DbDriver "config": /var/cache/debconf/config.dat is locked by another process"" [Undecided,New] https://launchpad.net/bugs/30010823:27
espaciousi want to install bugzilla i found the apache.conf for debian bugzilla but how do i enable it/this?23:30

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