/srv/irclogs.ubuntu.com/2010/12/08/#ubuntu-server.txt

=== shennyg__ is now known as shennyg
=== MakX is now known as maknz
=== jjohansen is now known as jj-afk
=== shennyg__ is now known as shennyg
uvirtbotNew bug: #686832 in multipath-tools (main) "multipath-tools-boot, root mount failed - Device or resource busy" [Undecided,New] https://launchpad.net/bugs/68683201:37
uvirtbotNew bug: #686835 in bind9 (main) "package bind9 1:9.7.0.dfsg.P1-1ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/68683501:41
=== asac_ is now known as asac
[DarkSun]hello all, i was wondering (i searched, couldnt find much info) if the  kernel package with 10.04lts server comes with "CONFIG_HIGHMEM64G" set, or am i going to need to build a new kernel?03:14
tonyyarusso[DarkSun]: There's somewhere in /proc that holds that info I'm pretty sure...03:28
[DarkSun]tonyyarusso, i havent installed yet, that starts tomorrow, was just trying to get a check list of things to do03:30
twb[DarkSun]: which arch?03:30
twbThere is no such config option in 10.04 amd64's 2.6.32-26-server03:31
[DarkSun]twb: i38603:31
twb[DarkSun]: you can check in /boot/config-`uname -r`03:31
[DarkSun]twb: thats cuz 64bit dont need it :P03:31
tonyyarusso[DarkSun]: It's disabled on my box here.03:32
tonyyarusso4G=y though03:32
[DarkSun]tonyyarusso, kk, ty!03:32
twbtonyyarusso: -pae or -generic?03:32
tonyyarusso-generic03:32
twbThat's not the server kernel03:33
tonyyarussotrue, hrm03:33
[DarkSun]guess i could try tossing it on a spare box 2night03:34
[DarkSun]eh.. or just findout 2morrow lol03:35
tsboIf I'm going to put my netatalk afpd databases somewhere "central", is /var/db/netatalk/ a good place?03:45
qman__I don't actually have a machine running the 32-bit server kernel03:57
qman__one runs the -386, the rest are 64-bit03:57
qman__because ubuntu "i386" isn't actually i386, it's i68603:58
qman__and as such won't run on my K603:58
ScottKIIRC that's only true for maverick.03:59
qman__it's been true since at least hardy03:59
ScottKLucid should run it.03:59
ScottKNo.03:59
qman__hardy -server would not run on it03:59
ScottKIt was i486 or 586 until recently03:59
qman__and the chip is i58603:59
ScottKOK.  Maybe I'm getting my amd processors mixed up.04:00
qman__but interestingly enough, whichever kernel the install disc uses worked fine04:02
=== shennyg___ is now known as shennyg
=== shennyg__ is now known as shennyg
twbIn https://help.ubuntu.com/10.04/serverguide/C/kerberos-ldap.html07:23
twb...why is it modifying {1}hdb instead of the existing {-1}frontend database?07:24
twbI *think* it's because the doc is stale and the latter was the former in 9.10 or so07:24
uvirtbotNew bug: #344400 in libvirt (main) "libvirtError: internal error unable to start guest" [High,Confirmed] https://launchpad.net/bugs/34440008:12
=== erichammond1 is now known as erichammond
uvirtbotNew bug: #687265 in tomcat6 (main) "Sync tomcat6 6.0.28-8 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/68726510:56
disposablei'm reaching a tipping point(sanitywise). on ubuntu-server-10.04.1 i created md0, md1 and md2 in the installer. i formatted md0 and md1 and left md2 alone for now. after installation i have md0, md1, md2p1, md2p2 and md2p3. if i view md0 or md1 in cfdisk, they appear as free space. md2p1 appears to be what md0 should be, same for md2p2 and md1, etc.. what the hell?11:02
patdk-lapare you sure md0, md1, and md2 wheren't done correctly, but instead, just got mixed up between the install and boot, so like md2 is now called md0, and md0 is md2?11:04
twbpatdk-lap: didn't I already tell you about that in #debian?11:07
twb20:28 <twb> I had that problem on 10.04, and I just gave up and installed 8.04 (both Ubuntu)11:07
patdk-lapheh?11:07
twbSorry, I meant disposable11:08
disposabletwb: you mentioned you had this problem on ubuntu, and i've just tried 10.04.1 and same thing happened11:10
twbdisposable: 10.04 *is* ubuntu11:10
disposabletwb: i know. the previous attempt was with sid and my own kernel.11:11
twbOK11:11
disposabletwb, i simply want to use md2 as physical volume for lvm.11:12
twbI can dig it11:12
disposabletwb: is md2p1 an alias for md0?11:13
twbNo11:13
twbIt's a fuckup11:13
twbmdadm --scan has misdiagnosed your setup as a single array containing multiple partitions11:14
disposabletwb: http://pastebin.com/GC3vH3NC11:14
twb(As opposed to a series of arrays, one per partition.)11:14
twbdisposable: don't use fdisk unless it's GNU fdisk.11:15
disposabletwb: it's from util-linux-ng11:15
twbYes, that's the obsolete version11:15
twbdisposable: anyway, /proc/partitions and /proc/mdstat are more interesting at this juncture.11:15
twbI wonder if changing "DEVICES partitions" to "DEVICES /dev/sda1 /dev/sda2 /dev/sda3 /dev/sdb1 /dev/sdb2 /dev/sdb3" in /etc/mdadm/mdadm.conf, issuing a "sudo update-initramfs -u -k all", and a reboot, will fix the problem11:16
disposabletwb: you will soon find out11:17
twbGood man11:17
twbScratch monkeys FTW11:17
disposabletwb: btw, it seems set up correctly in mdadm.conf http://pastebin.com/DAYudGjm11:19
twbdisposable: that's expected11:19
uvirtbotNew bug: #687275 in apache2 (main) "Fix "graceful" action in init script when mod_chroot is enabled" [Undecided,New] https://launchpad.net/bugs/68727511:21
disposabletwb: mdstat is quite weird. http://pastebin.com/UP1j6Sfa11:25
twbYep, exactly what I thought11:25
twb20:21 <twb> I've had problems where partitioning disks and md RAID1'ing them, will cause the kernel (or mdadm?) to autodetect a single, whole-disk RAID1 array, containing several partitions.11:26
twb20:23 <twb> And it fails to assemble the second and third arrays, because it can only find one node for each (md0p2 instead of /dev/sd[ab]2, etc.)11:26
twb...in your case it has succeded to assemble the degraded array, because apparently that's the Ubuntu default now.11:26
disposableyou're just adding ot my confusion. is it broken or not?11:27
twbIt's doing SOMETHING right, but it isn't doing the something you want11:27
alketHi, I cannot connect Ubuntu Server to internet, usually when there was Ubuntu with GNOME it worked perfetcly withou configurin anything, now it doesn't work ?11:28
alketin Ubuntu Server 10.1011:28
twbalket: maybe it's because you're so impatient.11:31
jpdsGNOME on a server, nice.11:33
patdk-lapjpds, not everyone can read black and white :)11:34
jpdspatdk-lap: I fear for their lives at the next zebra crossing they encounter.11:34
disposabletwb: i wanted to try LTS, because debian testing is still getting too many package upgrades and lenny is too old for my hardware. i'm getting fed up with ubuntu though; it's so far been one hall of a ride. mysql-cluster-server broken, megaraid_sas.ko broken, mdraid/lvm setup in installer broken, who knows what else..11:43
twbDon't look at me, man, I'm sick of it, too11:43
disposabletwb: i'm just having a rant11:43
twbYou want a rant, how about circular dependencies in the flipping init setup11:44
sorentwb: Degraded mode is the default now?!?11:44
twbOr moving where the loopback interface is brought up in a NMU to lucid-updates11:44
sorenI look away for 10 seconds and... ARRRR!11:44
twbsoren: AFAIK he didn't ask for it, and he got it11:44
twbsoren: *I* only did installs using priority=low; dunno what it defaults to11:45
soren    - Change mdadm/boot_degraded default in templates file to match the11:45
soren      apparently-intended behaviour (i.e. false), and stop overriding11:45
soren      debconf preseeding if BOOT_DEGRADED is not already set in the11:45
soren      initramfs configuration file.11:45
sorenSo default should be false.11:45
sorenGood.11:45
sorenPhew.11:45
jpdssoren: Don't you use hardware RAID?11:45
sorenGawd, no.11:46
twbsoren: sorry for the freakout11:46
sorenI spend all this time working on free software, and then I'm supposed to leave the integrity of my data to a bit of firmware that I don't control?11:46
sorenI don't think so.11:47
twbsoren: you don't control the firmware on the HDDs themselves :P11:47
sorenAnd that's bad enough!11:47
twbOr are you still using MFMs?11:47
jpdssoren: I trust the HP devs.11:47
sorenI manually carve my data into rocks.11:47
twbjpds: you're crazy11:47
twbI don't even trust past-twb11:48
sorenThe absolute worst part of trusting such things is if it breaks.11:48
sorenTo have any chance at all of getting your data back, you have to buy /another/ unit.11:49
sorenA unit, whose predecessor broke.11:49
twbYou buy another one when you buy the first one11:49
twbOtherwise when it breaks, they no longer make those11:49
sorenYeah.11:49
sorenYou end up in a loop where you're forced to buy stuff that you /know/ has a history of failing.11:50
sorenWhat could possibly be worse than that?11:50
sorenNo, give me software raid any day. If I'm concerned about performance, get a couple of good controllers and split the load across those.11:51
soren..but leave the RAIDing business to stuff that I control.11:51
sorenOn the other hand, with hardware raid, booting in degraded mode might actually make sense. "might" being the operative word.11:54
Nafallosoren: just keep a cold spare at all times. or if you're talking about home use, get a drobo or readynas or something.11:54
twbIMO if you're concerned about performance, go beat the DBA with a tire iron until he stops writing unnecessarily exponential-order queries11:54
twbΘ(nⁿ)11:55
Nafallo(both of these have data centre business rackmountable options as well, but I believe it when I see it with my own eyes)11:55
sorenNafallo: The only thing I'd use the cold spare for is getting my data off of the disks ASAP.11:56
patdk-lapheh, I have never seen a business drobo solution11:56
Nafallosoren: wait what... the definition of cold spare is to replace your failed part surely :-P11:56
patdk-lapunless your talking a smb11:56
Nafallopatdk-lap: http://www.drobo.com/products/business-solutions.php11:57
patdk-lapcold spare == beer :)11:57
sorenNafallo: Why would I rely more on the second one than the first.11:57
sorenNafallo: My needing the second one is clear evidence that the product has a history of failure. Not something I want to trust my data with.11:58
patdk-lapnafallo, ya, I have seen that, it so doesn't look like a rack mountable solution I would use, normally talking 14 to 24 drive sas11:58
jpdssoren: Everything fails eventually.11:58
disposabletwb: i don't think my installation is fixable. md0 and md1 are empty and md2 has been subpartitioned. i could try copying files from md2p1 to formatted md0 and then rewrite mdadm.conf, update initramfs, fix grub and keep an eye on it every time the kernel gets an upgrade, but i wouldn't sleep well.11:58
sorenjpds: Certainly.11:59
Nafallopatdk-lap: sure.11:59
sorenjpds: The difference is how screwed you are when it happens.11:59
twbdisposable: did you try forcing DEVICES not to scan whole disks?11:59
Nafallosoren: I think you missed my point actually. you should trust it more because it never been used, and it leaves you a window while you get the RMA back on the failed drive.12:00
disposabletwb: it doesn't matter how it scans them, what matters is that filesystems were put where i didn't want them. md2p1 instead of md0, md2p2 instead of md1 and no LVM on md212:00
Nafallosoren: now, if you don't trust anything that has ever failed, good luck finding ANY media to use ;-)12:00
sorenNafallo: Assuming it fails within its RMA period.12:00
Nafallosoren: sure. but these are extendable if you feel like paying for the service.12:00
twbdisposable: wrong12:01
twbSee this: md2 : active raid1 sdb[1] sda[0]12:01
twbThat is because it scanned /dev/sda before /dev/sda112:01
sorenNafallo: I don't.12:01
twbIf you change it from "DEVICSE partitions" (which, counterintuitively, means disks and partitions), that should not happen12:01
sorenNafallo: I have a perfectly good RAID implementation in my kernel.12:01
Nafalloanyway. I need to travel. bbl.12:01
sorenNafallo: Have fun.12:02
Nafallosoren: I'm going to have pizza. that's better than fun! :-)12:02
sorenPizza Express?12:03
twbFat Pizza!12:04
twbhttp://en.wikipedia.org/wiki/Pizza_(TV_series)12:05
disposabletwb: ok, i'm giving this a go - "DEVICE /dev/sda /dev/sdb /dev/sda1 /dev/sda2 /dev/sda3 /dev/sdb1 /dev/sdb2 /dev/sdb3"12:06
Patrickdkwhy would you do that?12:06
twbExcellent.  Fly, my minion!12:06
Patrickdkremove sda and sdb, if you partitioned the drives12:06
twbPatrickdk: remove them how?12:06
Patrickdkhmm, can't edit it?12:07
Patrickdkbeen awhile since I used mdadm12:07
twbIt defaults to "DEVICE partitions"12:07
twbWhich means "everything in /proc/partitions"12:07
twbHe could probably do it instead by adding devices=/dev/sda1,/dev/sdb1 to ARRAY lines, but I forget the syntax12:08
disposabletwb: well, it's certainly much nicer now. http://pastebin.com/J16zZNBy12:13
twbdisposable: ace.  Now just readd the stale nodes into the degraded arrays12:14
twbI'm glad I know that's the solution now12:14
disposabletwb: i'm glad my 16 servers could be used as a testing ground for your hunches. (cssh is great)12:21
disposabletwb: thanks for your help12:28
uvirtbotNew bug: #687299 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/68729912:51
zulmorning13:22
twbGood god, is it13:23
axisysi am stuck here (10.04 server)14:25
axisysfsck from util-linux-ng 2.17.214:25
axisys/dev/mapper/nvidia_eeffhbef1 contains a file system with errors, check forced.14:25
axisysit is doing tons of fsck.. (recovery mode)14:25
axisysnow it stops here14:26
axisys/dev/mapper/nvidia_eeffhbef1: UNEXPECTED INCONSISTENCY; RUN fsck MANUALLY. (i.e., without -a or -p options)14:26
axisysmountall: fsck / [472] terminated with status 414:26
axisysmountall: Filesystem has errors: /14:26
axisysany idea how to move forward ?14:26
lauwhen are the files in /sys/class/net generated ? at boot time ? when installing a new kernel ... ?14:27
Wh1teL0tusI installed a LAMP server but i want to have tomcat apache instead of the apache2.2, the best way to do is is to first remove apache2.2 or ?14:28
axisyshow do I run fsck manually ? I am not getting a prompt14:29
lauI think my question is related to how are the objects added in the driver model tree ?14:31
axisyslau: are you asking me ?14:32
=== zul_ is now known as zul
uvirtbotNew bug: #687347 in bind9 (main) "package bind9 1:9.7.0.dfsg.P1-1ubuntu0.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/68734714:42
axisysanyone knows how to run fsck manually.. i am stuck here http://pastebin.com/w4tEj1Qq and getting no prompt14:53
axisysmay be there is some grub trick that can let me run fsck manually ?14:54
twbaxisys: mountall 4 means you need a live CD14:54
axisystwb: so there is no way to boot using memory and then run fsck on root / ?14:55
twbWhen mountall exit(4)'s, I know of *no* way to get upstart to continue booting.14:55
axisystwb: how about i powercycle and then modify grub ?14:56
twbI don't think grub will help you; IIRC I tried single-user mode, and that's about the only control you have over upstart from grub14:56
twbhttp://paste.debian.net/101871/ <-- written in anger14:56
twbActually...14:58
twbFrom grub you can get into busybox before upstart starts -- so you should be able to pass "break" from grub to get a recovery shell.14:58
twbA crippled one compared to Debian's, but nowhere near as bad as RHEL's ramdisk.15:00
twbaxisys: a live CD would be easier, but ...15:00
twb1. boot with "break"; 2. at busybox shell, mount rootfs read-only on /root; 3. copy enough of it into /target to run e2fsck; 4. umount /root; 5. run e2fsck out of target.15:00
twbYou might be able to skip 3-5 if you can run e2fsck on a read-only mounted filesystem.15:01
axisystwb: that paste was real angry.. hehe15:01
SpamapSmountall definitely seems to have been thrown together and then shunned to a corner15:01
twbSpamapS: AFAICT mountall was written because the upstart guys went "oh, hey, it's release time, and we haven't worked out how to deal with filesystems properly yet"15:02
axisystwb: i dont have a cd drive.. lol... working to make a usb drive15:02
axisysusb image that is15:02
twbaxisys: http://cdimage.debian.org/cdimage/squeeze_live_beta1/amd64/iso-hybrid15:02
twbaxisys: grab "rescue" from there, or so.15:03
twb"isohybrid" means it works as both a CD and a USB key15:03
axisystwb: so I can take one of this iso and place it on usb and it will work ?15:04
twbaxisys: you just dd the iso onto the key15:04
axisystwb: gotcha.. thanks15:04
twbcurl -o/dev/uba http://.../debian-squeeze-live-beta1-amd64-rescue.iso15:04
twbOr dd if=debian-squeeze-live-beta1-amd64-rescue.iso of=/dev/uba15:05
axisystwb: thanks15:05
SpamapStwb: there are upstart "guys" ? ;)15:05
twbWell, I didn't want to blame sjr specifically15:06
twbEr, sjr = keybuk15:06
twbI hear mbiebl is working on systemd instead now15:07
twb(Which has a compelling sales pitch, but I'm... not enthusiastic about letting the pulseaudio guy near pid 1.)15:07
SpamapStwb: there's a huge void right now created mostly by systemd's appearance, but also by keybuk's move from Canonical to Google.15:12
twbDidn't know he'd moved15:13
SpamapShe's announced he's moving15:13
SpamapSThe date isn't entirely set yet.15:13
twbBeing an ass: this is why having a distro run by a single organization is a Bad Thing :P15:13
SpamapSHe won't say whether he's planning to work on Upstart at Google..15:13
SpamapSbut we're all pretty sure he will. ;)15:13
twbSpamapS: he gets a whole 20% "free play" time15:14
SpamapStwb: so there's only one good distro that isn't run by a single organization.. and it has serious problems.15:14
SpamapSoi.. baby is up.. time to go15:15
twbThey all have serious problems15:16
Lars_GGreetings all. I hope to have more luck here :D15:22
Lars_GMy first, simple question, are the -server kernels deprecated? I see the package now pulls in a -generic-pae kernel.15:23
twbThat's by design on i38615:24
Lars_Gok15:24
twbIn general they aren't deprecated, but currently the only difference on that arch is the PAEness15:25
Lars_Gok15:25
Lars_GThe second question is, I've found a LOT of problems upgrading my 8.04 LTS to 10.04 LTS and I wonder if there's a thread or wiki somewhere where people pile up solutions found to troubles... I already have fixed almost everything but one recurring error with postfix and one problem with apache and memory.15:26
Lars_GI've been trying on #postfix but if someone already found the upgrade related errors, it'd help a lot15:26
lamontwhat's the specific error?15:26
twbLars_G: have you read the generic migration documentation?15:27
twb!8.04->10.0415:27
twbGrmph, stupid bot15:27
Lars_Glamont: In this specific case: http://pastebin.com/vwuj0n6V15:28
Lars_Gtwb: I saw them before the upgrade, but didn't see a troubleshooting area or didn't notice it :( sorry15:28
twbI don't remember what's there15:28
twbI'm just triaging15:28
lamontLars_G: interesting.  I have not seen that one before15:28
twbhttps://help.ubuntu.com/community/LucidUpgrades15:29
Lars_Gthanks twb15:30
Lars_GThis has been a traumatic upgrade so far :(15:30
twbI put it like this: Debian has a policy of releasing "when it's ready".  So by elimination, Ubuntu's release policy can only be "when it's NOT ready" :-)15:31
Lars_Ghahahaha15:31
Lars_GWell yeah, time defined release cycles can tend to produce that15:31
cap_00can i use multiple discs for backuppc?? i've already got one backup disc, do i just clone the original /var/lib/backuppc dir over and fill another drive?15:31
=== xfaf is now known as zul
mianosmfull disclosure has a big root escalation issue on it today15:34
cap_00i just don't want to try and screw up the backups on the eixsting drive or throw them out of synch15:34
zulhggdh: ping two things15:42
hggdhzul: yes?15:43
zulhggdh: (1) where are the log files for the uec-testing kept and (2) when do you want to discuss sru stuff (preferably tomorrow)15:43
hggdhzul: I upload them to...15:44
hggdhzul: https://code.edge.launchpad.net/~hggdh2/+junk/uec-qa15:45
hggdhzul: and tomorrow it is :-)15:45
zulthanks15:45
zulill hunt you down15:45
guillaume_hi all15:48
guillaume_i am seeking  for a proxy easy to install with auth by username and password with high level filtering and time sensitive filtering15:48
guillaume_any  suggestion should help allot15:48
guillaume_i have already tried dansguardian + squid but unable to make the auth work so we decide to let that out15:49
guillaume_and seek another solution15:49
guillaume_google did'n't answer me so here i am15:49
Deathvalley122is there a torrent download of lucid 32 and 64bit?15:56
jpdsDeathvalley122: Yes, it's on http://us.releases.ubuntu.com/10.04/16:00
Lars_GOk I'm back from running all around like a headless chicken16:07
Lars_GTwo more questions.16:07
Deathvalley122thanks jpds16:07
Lars_GFirst any reason you know why 8.04->10.04 upgrade would turn apache2+php+mysql into insatiable memory hogs who starve the whole system?16:07
Lars_GAnd second, is only the upgrade process on 8.04.10.04 borked? if I get a new server I'm waiting for, and install 10.04 from scratch, should it behave better?16:08
guillaume_i was never able to make smb apache and any 10.04 server app working on 10.0416:09
guillaume_10.04 seem to got lot of bug16:09
Lars_GOk tell me something.16:09
Lars_Gif I move this 10.04 LTS to 10.10, will it work better?16:09
guillaume_no16:10
* Lars_G hits his head on a wall16:10
Lars_Gis there a way to 10.04->8.04 ?16:10
guillaume_i have done that las week too16:10
guillaume_lol16:10
guillaume_been a month seeking answer for 10.0416:10
guillaume_if there a way to downgrade i don't know how16:10
guillaume_backup your config file then fresh install...16:11
Lars_GOk I give up, while my new server machine arrives I'm setting up another vmware instance on my web server, throwing in 8.04 and migrating all stuff there.16:11
alup- and downgrading to random distribution releases still fits the headless chicken metaphor imho16:12
guillaume_lmao16:13
guillaume_try debian16:13
guillaume_a naked debian16:13
Lars_Gyeah16:13
althe time you're wasting on that up/downgrading trips would be better spent analyzing and solving the actual problem root cause16:15
alim-h-o16:15
aland i reckon if done right it's quicker too16:16
jeremyALars_G:  I've just upgrade from 8.04.01 to 10.04.01 and am experiencing stability issues16:16
Lars_Gal: like guillaume_ who has been at it for a month?16:16
jeremyAit's possible that there is an issue with upgrade, but I rather doubt it.16:16
Lars_GjeremyA: Me too16:16
jeremyAmy apache+php is not using much memory at all16:17
elb0wIf I want to install PHP for my apache2 webserver is the proper package php5-mysql?16:17
alphp5-mysql has nothing to do with apache16:17
elb0wor libapache2-mod-php5 rather16:17
elb0wyeah my bad16:17
jeremyAelb0w:  I have that.16:17
Lars_Gelb0w: the mod-php516:17
jeremyAyep, libapache2-mod-php516:17
elb0wkk16:17
elb0w:)16:17
ali stay away from all mod_<language> modules16:18
aland i recommend everyone to do the same unless they have a very good reason not to16:18
jeremyALars_G:  so, is it just memory issues on your 10.04 box, or are you experiencing random crashes/hangs16:18
Lars_GjeremyA: I'm experiencing hangs, response delays, and many processes shoot up to a high cpu ussage and then go down16:18
jeremyAinteresting16:18
Lars_GI wonder if I can use an older kernel.16:18
jeremyAI've got the first one, but not the other 216:19
jeremyAthere are new kernels available, too16:19
jeremyAsome people report that the 2.6.35 kernels fix issues16:19
jeremyAis your server physical or virtual?16:19
Lars_Gphysical16:19
jeremyAhave you tried booting w/o ACPI?16:19
Lars_Gand i'm running 2.6.3216:19
jeremyAthat is, setting "noacpi" as a kernel option in grub.cfg ?16:19
Lars_GIs .35 a ppa or a backport?16:19
jeremyA(I'm running 2.6.32-26-server myself)16:20
Lars_GNope not yetr16:20
jeremyAppa16:20
jeremyAtry disabling acpi -- some people report that helps16:20
jeremyAit did not help me, but we have different hardware, so...16:20
Pici2.6.35 is the standard kernel in 10.1016:20
jeremyAalso, have you run memtest86+ against your hardware, Lars_G ?16:20
jeremyAPici:  yep.  but at the mainline kernel repos, you can get a testing 2.6.35 for lucid :)16:21
Lars_GStill I have no dmesg errors from the kernel, shouldn't acpi problems cause kernel to error?16:23
jeremyAhard to say16:23
jeremyAnothing logs to dmesg, /var/log/messages, /var/log/syslog or /var/log/kern.log for me16:23
jeremyAI've set up remote syslogging so maybe the next time it goes, it'll send something to my other ubuntu box here16:24
consumerismis there a way to specify an identity file for rsync? i need to run it with sudo but i want to use my own key.16:24
Piciconsumerism: rsync -e "ssh -i '$KEY'"16:25
Lars_GjeremyA: Could you share this ppa with me? I'm willing to try a .35 kernel16:25
consumerismPici: thanks16:25
Lars_GI'd even try a .37 but I'd have to compile, and on an unstable machine.....16:25
Piciconsumerism: np16:25
raubvogelOdd question: apache2 identifies itself as httpd in the log files, right?16:27
jozefHello can i ask a ubuntu server question here?16:28
jeremyAsure, jozef16:28
twb!ask16:28
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)16:28
jeremyALars_G sure, one sec16:29
jeremyAhttp://kernel.ubuntu.com/~kernel-ppa/mainline/16:29
jozefI've manual installed a new kernel. im testing a virtual server it had the 2.6.35-22-virtual kernel and i installed the 2.6.35-22-server kernel16:29
jeremyAsorry, it's 2.6.34-lucid16:29
jeremyAI'm an idiot :/16:29
jozefbut now if i apt-get dist-upgrade i get an upgrade for 2.6.35-23-virtual16:29
jozefbut my uname -r is 2.6.35-22-server16:30
Lars_GjeremyA: .36 is ok too, thanks16:30
jozefi've installed the server kernel like this: apt-get -y install linux-headers-2.6.35-22-server linux-image-2.6.35-22-server16:31
patdk-wkthat will install an old one16:32
patdk-wkvirutal is just a meta package, it gives you the -server kernel16:32
patdk-wkatleast for x64bit systems16:33
patdk-wkfor 32bit, it gives you -generic-pae16:33
patdk-wkand probably for ec2 (I haven't tested) it will give you the ec2 kernel16:33
Lars_GjeremyA: Meh I see, .3416:33
Lars_Gthanks16:33
jozefthe virtual package doesnt have quota16:37
jozefso i dont think its the same16:39
patdk-wkdunno, let me look16:39
patdk-wkoh, it is different, it's just the uname id that is the same16:40
patdk-wkI guess you mean local fs quota support16:41
patdk-wkcause I'm using nfs quota support in -virtual just fine16:41
jozefit might :)16:41
jozefdo does the apt-get dist-upgrade doesnt see any priority differnce?16:42
jozef*so does the apt-get dist-upgrade doesnt see any priority difference?16:43
Lars_GI give up16:44
Lars_GI'm moving my most precious realtime service (based on apache + php +mysql) to another server... by hand16:45
patdk-wkhmm, I have many apache2 + php setup in lucid, no issues16:48
patdk-wkI haven't moved my mysql to lucid yet though16:48
Lars_Gpatdk-wk: My whole system is kinda mad, postfix fails too16:57
Bizzehhi, im currently trying to set up a generic use internal server with ubuntu, is there anything i can use as a dns demon, that is 1. VERY easy to configure. 2. allows me to configure different reponses for different mac addresses (ie. if i request a domain, i get 1 answer, if the sales team request it, they get 0.0.0.0). 3. lookup request logging against mac address/ip address16:59
patdk-wkhaven't had issues with postfix, but I just setup postfix, and haven't stressed it yet16:59
patdk-wkLars_G, what kind of vm are using? I'm using esx and vmware workstation without any issues, and on real hardware17:00
patdk-wk12 real servers, and dozens of esx vm's17:00
jeremyABizzeh:  I know BIND will let you hand back views based on NIC...dunno if it can do based on MAC17:01
jeremyAwhat are you trying to accomplish with the differential DNS results?17:02
jeremyAare you trying to block access to certain machines?  because iptables will work better for that.17:02
BizzehjeremyA: my boss has asked me to look into a filtering software to block access to certain sites for certain machines17:02
jeremyAblock it at the firewall17:03
jeremyAbecause if you just block DNS lookups, they can use a different DNS server17:03
jeremyAare these internal or external sites you're trying to block?17:04
Bizzehthey arnt that bright...17:04
Bizzehyeah... what were doing is, we are using a nat router to connect to the internet, but we want to pipe through this server to filter certain traffic17:05
jeremyAmy nat router is an ubuntu box.17:06
jeremyAI do all my filtering there.17:06
Bizzehour nat router will be a cheapo thing given to us by our ISP17:07
jeremyAah.17:07
jeremyAI'd set up an internal DNS that doesn't know about any zones you don't want sales to know about .17:07
jeremyAthen assign that DNS to them via DHCP and no other nameservers17:07
jeremyAfor people who can go anywhere, use DHCP to give them a nameserver that knows about the world17:07
jeremyAor use squid to have all allowed websites and filter traffic for sales through squid17:08
patdk-wkit would be easy enough to block dns requests, or to redirect them to your dns server17:08
patdk-wkso they can only use your server17:08
Bizzehits not that side im bothered about, its the.. configuring of the dns software its self17:09
patdk-wkI use pdns-recursor, so I just add the hosts I don't want people to use to the hosts fine, and tell it to use that to serve, it sends them to a, this site is denied page17:09
patdk-wkpdns-recursor, dnsmasq can both do it17:09
patdk-wkI haven't used bind for so long, dunno17:10
Bizzehthanks17:10
=== jj-afk is now known as jjohansen
Bizzehill have a look at all 3 and take a look at squid17:10
patdk-wksquid is a more insane way of doing it17:11
patdk-wkand if they use https, it won't be blocked17:11
jeremyAif you're only going to let them look at 4-5 sites, go squid :)17:11
jeremyAyou could block all outgoing traffic from sales, tho17:11
patdk-wkya, the block all except, would be more squid usage :)17:11
jeremyAso if it doesn't go through squid, it doesn't go at all17:11
Bizzehi want them to be able to view everything, apart from a few sites. ie. facebook, myspace, tesco, asda, jobsites17:11
Bizzehgeneral crap.. my boss gave me a list of about 15 or so of sites like that17:12
patdk-wkheh, jobsites17:13
patdk-wklooking for new jobs while working?17:13
jeremyAthey'll find an anonymizer.17:14
jeremyAor they'll find a friend with an ssh tunnel :)17:14
jeremyAI'd just tell them they'll be fired if they use those sites, then log traffic17:14
jeremyAfire a few of them17:14
jeremyAthey'll get the point17:14
Bizzehnone of them are that bright, all it is, ive been asked to do this, i just need to make it look like its done17:15
Bizzehas long as, by default, they cant view these sites, hes happy17:15
Bizzehand im happy, because he leaves me alone to continue doing nothing17:16
jeremyAthing with sales guys is:  pay 'em on commission.17:17
Bizzehwe do17:17
jeremyAif they're making big money and lots of sales, who CARES what they do?17:17
jeremyAand never, ever put a cap on commissions17:17
cap_00i'm getting the following error after i try and create a new partition after i run mkfs.ext3 to format17:18
cap_00Calling ioctl() to re-read partition table.17:18
cap_00WARNING: Re-reading the partition table failed with error 22: Invalid argument.17:18
cap_00The kernel still uses the old table. The new table will be used at17:18
cap_00the next reboot or after you run partprobe(8) or kpartx(8)17:18
cap_00Syncing disks.17:18
Bizzehthey do, but, my boss, always wanting more... doesnt get that they do sales because every so often, they have a little break to calm down17:18
jeremyAcap_00: did you run partprobe after changing partition table?17:18
* jeremyA nods17:18
jeremyAsounds like a fun guy to work for17:18
Bizzehhe thinks, they are wasting time, and can get more sales in, in those odd 5 minutes they use facebook for17:18
cap_00didn't want to before i knew what i was doing17:18
jeremyApartprobe should be safe, cap_0017:19
Bizzehso, i block it, sales drop... i unblock it, sales come back.. he shuts up and goes away17:19
jeremyAhahahaha17:19
cap_00i still get ID 7 HPFS/NTFS on the disk in fdisk -l17:19
jeremyAoh, you're repurposing an old ntfs partition as ext3 ?17:22
cap_00is it possible that i screwed this up? fdisk -l /dev/sdg1 shows ID 7 HPFS/NTFS, but then fdisk /dev/sdg1 p says ID 83 Linux17:23
cap_00yes, i got a backup drive that i'm trying to wipe and use for linux server backup17:23
jeremyAI don't think you've screwed anything up :)17:23
jeremyAtry running partprobe /dev/sdg17:23
cap_00ok17:24
jeremyAthen do your fdisk -l /dev/sdg17:24
cap_00still ntfs17:25
jeremyAcan you /msg me all the output from fdsik -l /dev/sdg17:26
patdk-wkit's suppost to do that :)17:26
jeremyAand then /msg me a copy-n-paste of what you see when you do a p "fdisk /dev/sdg "17:26
patdk-wkntfs makes a partition table basically so you fooled fdisk by pointing it at the wrong place :)17:26
jeremyApatdk-wk:  am I missing something?17:26
cap_00if i fdisk /dev/sdg if get /dev/sdg1  ID 7 HPFS/NTFS but if i fdisk /dev/sdg1 i get /dev/sdg1p1 IT83 linux17:26
jeremyAdon't fdisk /dev/sdg117:27
jeremyAfdisk /dev/sdg17:27
patdk-wkna, he did sdg1 :)17:27
jeremyAI'd delete the old partition, make a new one, and then run partprobe, then format it.17:27
cap_00ok, start over17:27
KaosMcRageI just upgraded from 8.04 to 10.10 and now I am unable to send mail from the shell prompt using the mail or mailx commands. It shows up as bounced in the mail log on the sending system, but it worked before and the exact same sending procedure works on my other systems on the same network. The only thing I see of interest in the undeliverable message is "Action: failed  Status: 5.0.0  Diagnostic-Code: X-Postfix; mydomain.com" but nothing after t17:27
patdk-wkbut the way ntfs makes it's fs layout, fdisk didn't realise what you did is invalid17:27
patdk-wkcap, never use sdg1 to fdisk, ONLY sdg17:27
cap_00ok17:27
patdk-wkfdisk /dev/sdg, fdisk -l /dev/sdg17:27
cap_00woops.... i did mkfs.ext2 /dev/sdg1 lol...... no wonder it's all wonky17:28
patdk-wkthat is right17:29
cap_00should i just do mkfs.ext3 /dev/sdg?17:29
patdk-wkyou make fs's on sdg117:29
patdk-wkyou make partitions on sdg17:29
cap_00ahhhh17:29
cap_00still confused17:29
patdk-wkheh17:29
patdk-wksdg is just the partition table, where you put crap on your drive17:29
patdk-wksdg1 is the first place to put crap at (ntfs/ext3/...)17:30
jeremyAthe drive is your kitchen, the partition is a table in your kitchen, the filesystem is a tablecloth17:30
cap_00ya, i'm just getting all confused trying to do this on the command line that's all17:30
jeremyA/dev/sdg == the drive, /dev/sdg1 == a partition on the drive, mkfs.ext3 /dev/sdg1 puts a filesystem on that partition17:30
patdk-wknow if we can add the layers of drbd, raid, lvs, ... :)17:31
cap_00i did that for the initial setup, server is on raid 1, fileserver is mounted from raid 10.... lol i just can't remember how to format one little disk17:32
tarvidIs there any reason to prefer openssl_0.9.8o-3ubuntu1 over openssl_0.9.8k-7ubuntu8.517:32
tarvidI admit to goping a bit batty reading the changelogs and chasing references17:33
cap_00so how do i fix this?17:34
cap_00i want to be able to mount sdg1 to a mount point like i do with my other backup disc, not sdg1p117:35
patdk-wkheh?17:40
patdk-wkthere is no sdg1p117:40
patdk-wkit will be sdg117:40
patdk-wkthe only time it would sdg1p1 is if you did something else, like added lvm or raid on sdg117:41
patdk-wkbut then, you can name it anything you want also, so who cares :)17:41
eagles0513875hey guys17:48
eagles0513875whats the default compiler for lucid?17:49
eagles0513875thta comes wiht a clean install17:49
patdk-wkgcc 4.417:51
patdk-wkgcc 4.4.3 :)17:51
fluvvelleagles0513875, gcc base, I don't think is the full item17:52
KaosMcRageAnyone here a mail expert? :P17:52
KaosMcRageI'm stumped.17:52
eagles0513875what im finding odd a clean install of server installs a generic kernel17:52
eagles0513875this is a clean install on virtualbox17:52
eagles0513875latest version17:52
eagles0513875and gcc isnt even installed17:52
patdk-wkgcc shouldn't be installed by default17:52
fluvvelleagles0513875, I'd normally install build-essential17:52
eagles0513875patdk-wk: ok but the server kernel should17:53
eagles0513875which its not17:53
patdk-wkno17:53
patdk-wkapt-get build-dep kernel-source, would :)17:53
patdk-wkbut the source is just the source17:53
eagles0513875patdk-wk: on my server not on vbox i have the kernel version of the kernel installed17:54
eagles0513875why is this installing a generic version of the kernel on lucid though17:54
patdk-wkkernel version of the kernel?17:55
cap_00sorry phone call..... ya i have a sdg1p1.... i don't know what i've done17:55
eagles0513875the version that got installed in vbox is the generic kernel patdk-wk17:55
patdk-wk-generic is default kernel for 32bit17:55
eagles0513875O_o even for ubuntu server17:55
Deathvalley122by default for vbox it installs the generic kernel patdk-wk17:55
patdk-wkyep17:55
eagles0513875Deathvalley122: seems like that is the norm17:55
patdk-wkwell, dunno about vbox specific, I don't use vbox :)17:55
eagles0513875ok17:55
eagles0513875is it the norm when using 32bit to use the generic kernel17:56
Deathvalley122patdk-wk: is it possible to recompile the kernel it shows the server kernel17:56
patdk-wkya, when I install server, -generic-pae for 32bit, and -server for 64bit17:56
eagles0513875interesting17:56
eagles0513875im so used to using 64biti never noticed that17:56
eagles0513875thanks patdk-wk17:57
patdk-wkDeathvalley122, probably, dunno, I really haven't looked or cared17:57
eagles0513875Deathvalley122: only other solution is to ask about 64bit ubuntu server in vbox channel17:57
patdk-wkyou can have 64bit -generic also :)17:57
patdk-wkthat is what I'm running here on my workstation17:57
Deathvalley122some reason it won't run the 64bit ubuntu on vbox it says something like it's not supported and yet I am running a 64bit os17:57
patdk-wkoh, vbox thing17:58
patdk-wkDeathvalley122, I though that was only supported from the download site, not from the ubuntu packaged version of vbox17:58
patdk-wkto get 64bit guest support17:58
Deathvalley122I really don't know eagles0513875 got it working on his before O.o why shouldn't mine work?17:59
eagles0513875patdk-wk: his desktop is windows18:00
eagles0513875Deathvalley122: lets take it to vbox channel18:00
patdk-wkdunno :)18:00
=== WinstonSmith_ is now known as WinstonSmith
aileronitehi, I'm having trouble getting maverick server installed via usb card. I tried copying vmlinuz and initrd from a working source, and also mounting the usb as a loop device. but it doesn't work18:12
RoyKaileronite: installing from or to usb?18:13
aileronitefrom usb. I also want my destination to be a usb key, but that's irrelevant18:13
RoyKperhaps the installer places grub on your installer usb?18:15
RoyKwhat is the device name of the new root?18:15
aileroniteI used unetbootin to install the iso, so I doubt there's a grub on there18:16
RoyKtry swapping the usb devices18:16
RoyKthen try to install again18:17
cap_00ok i'm still lost on this partition table thing with fdisk18:17
aileronitehow about this: can I install ubuntu server on a usb device on a different computer and expect it to work as well on the intended computer?18:18
RoyKcap_00: whatup?18:18
RoyKaileronite: that should work18:18
aileroniteok I'm going to do that instead18:19
cap_00how do i get a disk ready to mount it without getting sdg1p1?18:22
cap_00just sdg118:22
RoyKp1?18:22
RoyKthat's solaris naming18:22
RoyKsdg is the device, sdg1 is the first partition18:22
cap_00i keep messing something up18:23
RoyKc0t0d0[sp]0 is solaris naming18:24
RoyKcap_00: cat /proc/partitions, and you'll see what devices/partitions linux sees18:24
cap_00just showing sdg now18:25
RoyKdoes fdisk see any partitions on that device?18:26
=== RudyValencia- is now known as RudyValencia
cap_00ok18:29
cap_00my existing sdh1 is a ID 83 linux partition18:31
cap_00how do i setup the same thing on the sdg?18:31
RoyKcap_00: fdisk /dev/sdg18:31
cap_00yup18:31
cap_00ignore he deprecated dos msg?18:31
RoyKpastebin that, please18:31
cap_00k18:34
RoyK!pastebin18:34
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:34
cap_00how do i use that?18:35
RoyK!pastebinit18:35
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com18:35
cap_00!pastebin  sudo fdisk /dev/sdg18:36
ubottuError: I am only a bot, please don't think I'm intelligent :)18:36
cap_00WARNING: DOS-compatible mode is deprecated. It's strongly recommended to18:36
cap_00         switch off the mode (command 'c') and change display units to18:36
RoyKor just copy/paste whatever text you have onto a pastebin, submit, give us the url18:36
cap_00         sectors (command 'u').18:36
cap_00nope :(18:36
RoyKtype c18:36
cap_00!pastebin  c18:37
RoyKomg18:37
cap_00lol i didn't sleep much yesterday18:37
cap_00i mean last night18:37
RoyKcap_00: the menu tells you to switch it off18:37
RoyKthe fdisk menu18:37
RoyKfollow the recommendation there18:37
RoyKthat is, unless you have valuable data on that drive18:37
RoyKif so, well, that's another problem18:38
cap_00lol oh18:38
cap_00k18:38
cap_00there's an extended partition there now18:39
RoyKdo you have any data on this drive?18:40
RoyKif not, just reset the partition table the hard way and start over18:40
cap_00nope18:40
RoyKdd if=/dev/zero of=/dev/nameofdevice bs=1M count=1018:40
RoyKthat zeros the start of that device18:40
RoyKuse with caution18:41
RoyKit won't ask you if you know what you're doing in case you type in the wrong device name18:41
cap_00permission denied18:42
RoyKsudo18:42
cap_00omg.... sorry i'm dead tired18:42
cap_00k18:42
RoyKrunning fdisk on that one should work better18:43
cap_00c again?18:43
RoyKfdisk /dev/sdg18:43
cap_00i get the same msg18:44
RoyKperhaps linux cached it - try to reboot first18:44
RoyKthat is, linux should only have cached it if there was a mounted fs on the drive18:44
cap_00bah.... can't take the server down right now...18:44
RoyKyou sure you didn't have data on that drive?18:44
cap_00sure hope not18:45
cap_00there was probably some default partitions on the drive when i got it, it's a new external drive18:45
RoyKif so, it may be available until a reboot :þ18:45
RoyKif it's an external drive, unplug it and re-plug it18:45
cap_00ok18:46
cap_00so sdi now...18:48
RoyKI once tried to make a boot floppy for old redhat 7 on a laptop after 36 hours of straight work - dd if=boot.img of=/dev/hda <cr> ... that hurt!18:48
RoyKwhat does fdisk have to say about it?18:48
cap_00do i have to sign up for pastebin?18:48
RoyKno18:49
cap_00http://pastebin.com/tMAAzJ2K18:49
cap_00firing on 0.1 cylinders....18:49
RoyKlooking good18:49
RoyKyou zeroed out the drive, so it doesn't have a partition table18:50
cap_00:)18:50
cap_00no c or u?18:50
RoyKboth18:51
RoyKthen just create a new partition 'n'18:51
RoyKas large as you like18:51
cap_00extended?18:51
cap_00or primary?18:51
RoyKthere can be four primary partitions18:52
RoyKso if you don't need any more than that, just create primaries18:52
cap_00p18:52
RoyKreturn -EWRONGWINDOW18:52
cap_00lol18:52
cap_00ok..... ah.. got it this time18:53
cap_00w?18:53
cap_00i have no idea how i screwed that up over and over18:54
cap_00i have to specify a filesystem type before i can mount?18:56
RoyKyou have to make a filesystem on the partition18:57
RoyKmkfs18:57
MTecknologyI just realized something.... If you encrypt the home directory of a use.. you can no longer ssh into the system as that user with a shared key18:58
RoyKmkfs.ext4 would be the one to use for most18:58
RoyKMTecknology: not the first time, noe18:58
RoyKs/.$//18:58
cap_00mkfs.ext4 /dev/sdi1?18:58
RoyKyes18:59
MTecknologyRoyK: or second if you close the connection first18:59
RoyKmhm18:59
RoyKmakes sense, though18:59
RoyKyou don't want $HOME/.ssh to be readable if the homedir is encrypted19:00
MTecknologyya- it does make sense- I just never thought about it until I couldn't figure out why I couldn't log in with the shared key even though ssh-copy-id worked fine19:01
RoyKit's fucking -18˚C here19:03
cap_00away the numbers go.... thank for your help19:03
IdleOne!language | RoyK19:03
ubottuRoyK: Please watch your language and topic to help keep this channel family-friendly, polite, and professional..19:03
cap_002 here19:03
RoyKThis is possibly the only non-religious IRC channel on the planet that bitches people for using common language19:04
cap_00:S19:04
RoyKcap_00: in .ca?19:05
cap_00yup19:05
cap_00east coast19:05
* RoyK is going to Reykjavík tomorrow to thaw up a bit, shop for the holiday, and have a beer or two19:06
qman__26F here, which is... -3C19:06
RoyKwe've been having down to -22˚C this week19:07
RoyKI just don't hope it'll be like last winter - tropospheric winds blocked and most of Europe freezing19:08
cap_00there we go...... backup running...19:09
=== PascalFR is now known as NemoFR
=== NemoFR is now known as PascalFR
cap_00thanks alot, i need to get some sleep now before i fdisk /dev/sda d w19:11
l3dxI'm reinstalling ubuntu to my home server, but I'm unsure if I should use server or desktop edition...any reason to use ubuntu-server when I'm planning to use Gnome anyway?19:16
l3dxRoyK: skipping OI for now :P19:17
jeremyAl3dx:  not really.19:20
jeremyAwhy use gnome on your server?19:20
l3dxspotify + boxee19:22
l3dxit's connected to my tv19:22
RoyKl3dx: really?19:22
RoyKl3dx: no reason to use ubuntu server if you need X19:23
l3dxdisappointed? :)19:23
RoyKnot really, it's your data :)19:25
l3dxit's kind of a temporary solution19:26
l3dxwill play around a bit with OI and perhaps change my mind later on19:26
* RoyK is making coasters with old disk platters :D19:26
l3dxnice!19:27
qman__the generic kernel is actually better for responsiveness of GUI applications19:28
qman__so if that's your plan, just go desktop19:29
stgraberkirkland, smoser: Thought you guys might be interested by: http://www.stgraber.org/2010/12/08/want-your-own-edubuntu-weblive/19:29
RoyKqman__: you can always switch to the server kernel if that is a problem19:30
billybigriggerhow can i keep an ssh session alive?19:30
RoyKbillybigrigger: add to .ssh_config:19:31
RoyKServerAliveCountMax 10019:31
RoyKServerAliveInterval 1019:31
billybigriggeri have btlaunchmanycurses running in an ssh session...and i just add my .torrents to my /torrent directory...but i can't keep the session alive...eventually it dies and stops my downloads/seeds19:31
RoyKor /etc/ssh/ssh_config19:31
billybigriggerRoyK, anyway to just keep btlaunchmanycurses alive? instead of keeping ALL my ssh sessions alive?19:31
qman__billybigrigger, use screen19:32
qman__if you start all your processes in screen sessions, it won't matter if you get disconnected19:32
billybigriggerand screen is able to reconnect to a disconnected session?19:33
qman__yes, it wouldn't be very useful otherwise19:33
=== Maletor_ is now known as Maletor
=== lau is now known as Guest47058
qman__though, for torrents, you should really look into other setups like torrentflux or the web frontend on transmission19:37
qman__much easier to manage19:37
i0nichow do i list installed packages via aptitude?19:43
patdk-wkdunno19:43
patdk-wkdpkg --get-selections :)19:44
i0nicthanks =)19:44
qman__dpkg -l | grep ^ii19:44
patdk-wkevil19:44
axisys_i am getting mountall status 4 .. so i am trying to boot the server using ubuntu server amd64 iso and i get to pick the usb drive at bios .. but then it goes to blank screen on both console tty0 and ttyS0 .. any idea why?19:52
axisys_i tried different usb drive .. and tried alternate iso.. same issue19:53
axisys_i gave up on usb..20:01
axisys_how do I boot the box using netboot image ?20:02
zulSpamapS: where is the git tree for edison as well?20:04
zulSpamapS: hold on brb20:04
intickh all i'm looking for an ftp server under ubuntu20:45
intickplease20:45
elb0wvsftp20:45
elb0wd20:45
consumerismi can't connect to ssh-agent to use ssh-add20:46
consumerismi have ssh'ed in to an ubuntu server20:46
inticktested but not easy to set up, tried also GADMIN (poftp)  errors does not let me start the server20:46
consumerismps aux | grep ssh shows me that ssh-agent is running20:46
consumerismbut ssh-add says it can't connect20:46
consumerismwhat could i try?20:47
inticki'm suprised that it's not that simple to set up an ftp server under ubuntu20:47
SpamapSintick: why are you bothering with ftp?20:48
intickelb0w: how can i create users and their main folder on vsftpd ?20:48
intickSpamapS: want a local FTP server to allow some friend uploading/downloading files20:48
elb0woh look at that20:49
elb0whttp://www.shanghaiwebhosting.com/ssh-hosting/installing-ftp-vsftpd-service-on-ubuntu-server20:49
elb0wone google20:49
SpamapSintick: you can give people scp only access with scponly.. might want to check it out. ;)20:49
intickSpamapS: very interesting, it works whatever the OS your runing ?20:51
SpamapSintick: indeed, it works well with WinSCP20:52
SpamapSintick: all it does is limit the commands a user can run to scp20:52
SpamapSintick: it also can chroot the user into their home dir so they can't see other users' files.20:52
intickelb0w: does not answer to my question, how are the users created and their folders ?20:52
intickSpamapS: ok i'm still need a client under windows ?20:53
elb0whttp://linux-hacks.blogspot.com/2008/09/adding-new-users-to-vsftpd.html20:53
elb0wtwo googles20:53
intickok thx i'll try this, but aint there any GTX interface ?20:54
intick*GTK20:54
SpamapSintick: for scp? nautilus supports SSH as a file transport.20:54
intickfrom windows system i mean20:55
SpamapSNot sure what you're asking at all.20:55
intickCan i make people downloading/uploading files from my scponly server ?20:56
intickeven if they use microsoft OS ?20:57
patdk-wkI don't think scp is secure enough for that, sftp is20:57
resnointick: you *can* do whatever you want. your question seems have asked though20:57
resnopatdk-wk: i thought scp was plenty secure20:58
patdk-wkI thought scp was just a straight command line interface20:58
patdk-wkif user account security is ok, then yes, it should be20:58
resnoscp is encrypted20:58
patdk-wkno, I mean to still keep users from executing things on the server, still20:59
patdk-wkso like, no ssh, but only scp file transfers20:59
patdk-wkI don't think yo ucan with scp, but you can with sftp20:59
resnoscp and sftp are both secure file transfer methods.20:59
resnoyou cant issue commands to the server with either of them20:59
patdk-wkyes, but we are talking about two totally different *securities*20:59
inticki'll try them20:59
Pici!info scponly20:59
ubottuscponly (source: scponly): Restricts the commands available to scp- and sftp-users. In component universe, is optional. Version 4.8-4.1 (maverick), package size 35 kB, installed size 176 kB20:59
intickthx for your help guys !21:00
* resno looks at Pici 21:00
* Pici stares at resno 21:01
* resno plays the staring game with Pici 21:01
* resno gets creeped out and walks away21:01
axisys_i were able to get the dhcp working.. but i am getting this message from client21:03
axisys_PXE-T02: Only absolute filenames allowed21:03
axisys_what is that mean?21:03
axisys_i have this in the correct stanza in the dhcpd.conf file21:03
axisys_filename "pxelinux.0";21:03
axisys_which is under /var/lib/tftpboot21:03
axisys_path was wrong in default..21:10
inticknot that cool if i need to create a system user with vsftp21:11
intickto use ftp service :/21:11
intickrealy sad the FileZIlla does not exist under linux ....21:12
intickSSH solution seems good but wont help me in my case, i realy dont ant to make clients installing any FTP client21:13
axisys_i am getting this after i get the IP throught dhcp21:13
axisys_http://pastebin.com/N1T4TGA021:13
intickaxisys_: cant help much but seems to be a rights problem21:15
intickcheck rights of the folder that contain your image21:16
intickaxisys_: are you using DRBL ?21:16
axisys_intick: i did .. all dirs and 755 and all files are atleast 64421:18
axisys_intick: no i have not used it..21:19
milliganDoes anyone here use geany? Is it possible to load an API documentation so that I can get suggestions for classes etc ?21:19
intickaxisys_: sry then no idea :/21:19
intickmilligan: i have tried geany it has autocompletion21:20
uvirtbotNew bug: #687535 in openssh (main) "upstart loses track of ssh daemon after reload ssh" [Undecided,New] https://launchpad.net/bugs/68753521:21
milliganintick, yeah .. but do you know how I can feed it an API, so it autocompletes to the language Im writing, and not build in languages? :)21:22
tarvidany wisdom on upgrading lucid openssl to maverick 0.9.8o-1ubuntu4.321:23
intickmilligan: didnt use it enaugh ^^ i dnt realy know. i prefere old method Npp++, Scite ect ..21:25
intickmilligan: take a look at the manual  http://www.geany.org/manual/current/index.html#editor-completions-preferences21:25
axisys_ok filename "pxelinux.0" is changed with absolute pathname .. that worked21:26
axisys_how do I avoid install.. i just want to boot from network and run fsck21:26
hallyn_SpamapS: i'd say bug 687535 is up your alley21:29
uvirtbotLaunchpad bug 687535 in openssh "upstart loses track of ssh daemon after reload ssh" [Low,Confirmed] https://launchpad.net/bugs/68753521:29
tarvidwhat considerations should one make when attempting a upgrade of selected packages in lucid to maverick?21:34
guntberttarvid: in my humble opinion just one: don't do it :-)21:34
tarvidopenssl has a number of unpatched CVE vulnerabilities21:35
guntberttarvid: in that case: backports? or a ppa?21:36
tarvidbackports and proposed are enabled and you still get a version with known vulnerabilities which have been patched in later Ubuntu versions21:37
sbeattietarvid: um, what? which particular CVEs?21:37
tarvidCVE-2009-1377 CVE-2009-1378 CVE-2009-1379 CVE-2009-3245 CVE-2009-3555 CVE-2010-0433 CVE-2010-0740 CVE-2010-074221:37
uvirtbottarvid: The dtls1_buffer_record function in ssl/d1_pkt.c in OpenSSL 0.9.8k and earlier 0.9.8 versions allows remote attackers to cause a denial of service (memory consumption) via a large series of "future epoch" DTLS records that are buffered in a queue, aka "DTLS record buffer limitation bug." (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1377)21:38
uvirtbottarvid: Multiple memory leaks in the dtls1_process_out_of_seq_message function in ssl/d1_both.c in OpenSSL 0.9.8k and earlier 0.9.8 versions allow remote attackers to cause a denial of service (memory consumption) via DTLS records that (1) are duplicates or (2) have sequence numbers much greater than current sequence numbers, aka "DTLS fragment handling memory leak." (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1378)21:38
uvirtbottarvid: Use-after-free vulnerability in the dtls1_retrieve_buffered_fragment function in ssl/d1_both.c in OpenSSL 1.0.0 Beta 2 allows remote attackers to cause a denial of service (openssl s_client crash) and possibly have unspecified other impact via a DTLS packet, as demonstrated by a packet from a server that uses a crafted server certificate. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-1379)21:38
uvirtbottarvid: OpenSSL before 0.9.8m does not check for a NULL return value from bn_wexpand function calls in (1) crypto/bn/bn_div.c, (2) crypto/bn/bn_gf2m.c, (3) crypto/ec/ec2_smpl.c, and (4) engines/e_ubsec.c, which has unspecified impact and context-dependent attack vectors. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-3245)21:38
uvirtbottarvid: The TLS protocol, and the SSL protocol 3.0 and possibly earlier, as used in Microsoft Internet Information Services (IIS) 7.0, mod_ssl in the Apache HTTP Server 2.2.14 and earlier, OpenSSL before 0.9.8l, GnuTLS 2.8.5 and earlier, Mozilla Network Security Services (NSS) 3.12.4 and earlier, multiple Cisco products, and other products, does not properly associate renegotiation handshakes with an existing connection, which allows man-in-the-m21:38
uvirtbottarvid: The kssl_keytab_is_available function in ssl/kssl.c in OpenSSL before 0.9.8n, when Kerberos is enabled but Kerberos configuration files cannot be opened, does not check a certain return value, which allows remote attackers to cause a denial of service (NULL pointer dereference and daemon crash) via SSL cipher negotiation, as demonstrated by a chroot installation of Dovecot or stunnel without Kerberos configuration files inside the chroot.21:38
uvirtbottarvid: The ssl3_get_record function in ssl/s3_pkt.c in OpenSSL 0.9.8f through 0.9.8m allows remote attackers to cause a denial of service (crash) via a malformed record in a TLS connection that triggers a NULL pointer dereference, related to the minor version number.  NOTE: some of these details are obtained from third party information. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0740)21:38
uvirtbottarvid: The Cryptographic Message Syntax (CMS) implementation in crypto/cms/cms_asn1.c in OpenSSL before 0.9.8o and 1.x before 1.0.0a does not properly handle structures that contain OriginatorInfo, which allows context-dependent attackers to modify invalid memory locations or conduct double-free attacks, and possibly execute arbitrary code, via unspecified vectors. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-0742)21:38
* RoyK kicks uvirtbot 21:39
tarvidApache too21:39
tarvidCVE-2010-0425 CVE-2010-1452 CVE-2010-206821:39
uvirtbottarvid: modules/arch/win32/mod_isapi.c in mod_isapi in the Apache HTTP Server 2.0.37 through 2.0.63, 2.2.0 through 2.2.14, and 2.3.x before 2.3.7, when running on Windows, does not ensure that request processing is complete before calling isapi_unload for an ISAPI .dll module, which allows remote attackers to execute arbitrary code via unspecified vectors related to a crafted request, a reset packet, and "orphaned callback pointers." (http://cve.21:39
uvirtbottarvid: The (1) mod_cache and (2) mod_dav modules in the Apache HTTP Server 2.2.x before 2.2.16 allow remote attackers to cause a denial of service (process crash) via a request that lacks a path. (http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2010-1452)21:39
uvirtbottarvid: mod_proxy_http.c in mod_proxy_http in the Apache HTTP Server 2.2.9 through 2.2.15, 2.3.4-alpha, and 2.3.5-alpha on Windows, NetWare, and OS/2, in certain configurations involving proxy worker pools, does not properly detect timeouts, which allows remote attackers to obtain a potentially sensitive response intended for a different client in opportunistic circumstances via a normal HTTP request. (http://cve.mitre.org/cgi-bin/cvename.cgi?nam21:39
RoyKsomeone should rewrite that bot21:40
tarvidof course CVE-2010-0425 is irrelevant21:40
uvirtbottarvid: modules/arch/win32/mod_isapi.c in mod_isapi in the Apache HTTP Server 2.0.37 through 2.0.63, 2.2.0 through 2.2.14, and 2.3.x before 2.3.7, when running on Windows, does not ensure that request processing is complete before calling isapi_unload for an ISAPI .dll module, which allows remote attackers to execute arbitrary code via unspecified vectors related to a crafted request, a reset packet, and "orphaned callback pointers." (http://cve.21:40
tarvidI didn't know it existed21:40
sbeattietarvid: 2009-1377, 2009-1378, 2009-1379 were fixed in the karmic cycle (pre-lucid); 2009-3245 was fixed in 0.9.8k-7ubuntu8 for lucid, 2009-3555: 0.9.8k-7ubuntu8.1, 2010-0433 doesn't apply as we don't build with kerberos support.21:48
sbeattie2010-0740 and 2010-0742 are marked as not for us, but I'm not sure why.21:48
tarvidsbeattie, thanks. securitymetrics is nagging me about openssl and apache221:51
sbeattietarvid: for apache2, 2010-1452 was fixed in 2.2.14-5ubuntu8.4; 2010-2068 and 2010-0425 affect non-linux only.21:52
hallyn_zul: hey, do you know the root cause of bacula '_description' install problems, like in bug 637889 ?21:53
uvirtbotLaunchpad bug 637889 in bacula "bacula-director-mysql : debconf: Unknown template field '_description'" [Low,New] https://launchpad.net/bugs/63788921:53
sbeattietarvid: FYI, this is a web interface to the tracker that the ubuntu security team uses to track cves: http://people.canonical.com/~ubuntu-security/cve/21:55
tarvidsbeattie, I'll go through the change logs and email securitymetrics21:55
tarvidhttp://changelogs.ubuntu.com/changelogs/pool/main/o/openssl/openssl_0.9.8k-7ubuntu8.5/changelog21:55
tarvidexcellent, that will save time21:56
tarvidsbeattie, then 0.9.8k-1 is to be interpreted as newer than 0.9.8k?22:01
l3dxdo I need a swap partition with 4gb ram?22:02
sbeattietarvid: kind of, yes, it's the first version of 0.9.8k packaged in debian.22:02
sbeattietarvid: ah, the reason we're not affected by 2010-0740 and 2010-0742 is explained in the detailed page for them: for 2010-0742, we don't enable the affected code, and for 2010-0740, it only affected openssl 0.9.8m if shorts are 16bits, which they are on all ubuntu supported platforms.22:07
* sbeattie just released usn 1029-1 for openssl yesterday, so is, uh, somewhat sensitive to reports of unfixed cves in openssl.22:07
=== shennyg_ is now known as shennyg
incognitocan anyone tell me if mysqli is enabled by default in php5 and mysql installation on ubuntu 8.04 server?22:36
air^your phpinfo can tell you. :)22:37
tarvidsbeattie, thanks for the help. I have reviewed every CVE cited by securitymetrics.com and I am satisfied they have all been addressed. I'll wager both of us would like to be rid of the false positives.22:53
SpiritusNorth VS South. Same people from the beginning and still genetically brothers and sisters. Why argue, boggles my mind.23:31
SpiritusDoes the US have low cash now and thats why some of its companies are not nice and the politichians even worse ?23:34
Spiritusyou know all the lawsuits etc23:34
SpiritusRecently Sweden and US competed in what we assumed was fair trade on selling and buying fighter jets. Norway seems to have gone behind our backs and so did USA. So instead of or neighbour country Norway (That was once Swedish) bought fighter jets from the US after the US had denied the Swedes to buy more of the radar-systems for said airplanes. This looks really bad ideed.23:38
SpiritusSo billions of dollars where shipped to Norway instead of Sweden. Norway has all the oil you know.23:42
=== ahs3 is now known as dannf2
YompaSpiritus, typing in the right window? ;-)23:47
=== dannf2 is now known as ansh3
=== ansh3 is now known as ahs3
SpiritusSo thats why the south? has been angry againt certain members of certain countries all this time (since 2003) i think thats when the new president got elected. So by that i read that amongst the southern people many people have passed away and theres a sorrow time23:48
SpiritusYompa: Trying to sort this thing out... very odd because i like both sides as they are the same peoples.23:48
SpiritusYompa: So the O's and the T's are at it right ?23:49
SpiritusOtherwise we may have to fix it.23:50
SpiritusYompa: You remeber the US company gateway that Hakan Lanz lost against and then won a bit, but got nothing for his inventions.23:52
SpiritusI think gateway is gone now and theres a new company that has taken its place and stance23:53
SpiritusSo Swedes invent things and get nothing for it basically.23:54
sbeattieSpiritus: we're still wondering what any of this has to do with #ubuntu-server.23:54
SpiritusWe made windows, but didnt get to invent it further, overtaken because infrastructurally important and or critical. from Sandvik AB.23:55
Spiritussbeattie: Do you feel its information you know and or dont want to hear about instead of noone chatting at all ?23:56
Spiritusy/n/ssh ?23:57
Spiritus:)23:57

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