/srv/irclogs.ubuntu.com/2010/01/27/#ubuntu-server.txt

erichammondRoyK: I've lived with and loved it since 1985, but every command line program writer comes up with their own sets of options and there are a number of different ways to specify them (single dash, double dash, single letter, word, space between option and arg, "=" between option and arg, some programs even use the DOS "/" to prefix options or no prefix at all, ...)00:02
RoyKwell, true00:02
erichammond, does "-v" mean "verbose" or "version", does it process stdin by default or do I need to specify "-" or "-stdin", etc00:02
RoyKhaven't seen the DOS prefix, though00:02
RoyKgnu seems to standardise most of their stuff pretty well, though00:02
erichammondI'm not even saying it's bad.  The flexibility and chaos have helped let great things thrive.00:03
erichammondI've "heard" (ahem) that the VAX VMS command line was very consistent, but not much fun to use.00:03
twberichammond: that might be because it was written by a company instead of by hundreds of grad students at a bunch of different universities00:04
erichammondIn the "testdisk" package on Ubuntu, there is an effective utility named "photorec" which uses /d as an option specifier.00:04
RoyKerichammond: heh - we still have two VMS boxes at the office :)00:04
RoyKalpha stuff00:04
twbAnd dd and wodim still use IBM-style00:11
uvirtbot`New bug: #506771 in clamav (main) "I can't download anything " [Undecided,New] https://launchpad.net/bugs/50677100:16
erichammondsmoser: Thanks for the symlink on http://uec-images.ubuntu.com/releases/karmic/01:41
erichammondsmoser: Could we also get one on http://uec-images.ubuntu.com/releases/hardy/01:41
smoseryeah. i'll do that. i might get hassled about it though.01:41
smoseri did ask slangasek if it was ok to keep the old releases01:41
smoserand he said what i was doing was reasonable. i think this is reasonable too, but possibly others dont.01:42
smoserit should be possible for us to make the bundle downloadable from s3, right?01:42
erichammondsmoser: what bundle?01:44
erichammondsmoser: but yes, it's possible to make almost anything downloadable from S3 :)01:44
erichammondand anything on S3 is automatically available through torrent.01:44
smoserhardy link should be there.01:44
smoserthe published amis01:44
smoserie, so people can get the from s3 rather than uec-images.u.c01:45
erichammondSure, then it would be faster and free as long as they were inside EC2.01:45
smoserits free right now for the consumer when it comes from uec-images.u.c01:46
smoseruntil june or something01:46
erichammondNo, the EC2 instance is paying for incoming network traffic.01:46
erichammondoh01:46
erichammondyah01:46
smoserand i could definitely see that being almost indefinite. makes sense for "move in special"01:46
erichammondIt's not that big of an issue for me, anyway.01:46
smoseryeah, its pennies anyway you look at it. but faster would be nicer.01:47
smoserand not taking canonical bandwidth too01:47
smoseranyway01:47
smoserhardy link should be there now01:47
erichammondWhen I ran the script to generate the 12 EBS boot AMIs, it only took about 4 minutes each from start to finish.01:47
erichammondOf course there were instances in each region, so I should have parallelized it.01:48
erichammondnext time...01:48
smoserlftp rocks. just in case you werent aware. i saw large increases using 'pget'01:49
maxfileshow do I change to a static ip in this thing02:18
patdk-lapon what thing?02:18
tonyyarussomaxfiles: edit /etc/network/interfaces, change dhcp to static, and fill in the other fields.02:19
tonyyarussomaxfiles: 'man interfaces' for syntax details.02:19
maxfilesI switched to 8.0.4 lts server with desktop installed02:19
=== erichammond1 is now known as erichammond
patdk-lapinteresting issue I had on reboot :(02:32
patdk-lapif I specify dhcp for the network interface, it ignores the mtu setting02:33
MTecknologyI put MAILTO="" in my crontab file; but I'm still getting mail from the output....04:35
MTecknologyany ideas why?04:35
erichammondMTecknology: It's in the manpage: "If MAILTO is defined (and non-empty), mail is sent to the user so named."04:37
MTecknologyerichammond: then how do I have it discarded?04:38
sbeattieMTecknology: redirect the output of whatever it is your running from cron to/dev/null.04:43
sbeattieIt may be useful to just send stdout to /dev/null and have stderr still get sent to you, so that you're aware of errors in your cronjob.04:44
MTecknologysbeattie: I was doing that and it got ugly. I was told that should work.. so crap doesn't get sent through it04:45
MTecknologyIt's mostly all ssh login messages; I had a few megs of just that04:45
sbeattieerr, what cronjobis sending you that?04:45
sbeattieerr, what cronjob is sending you that?04:45
sbeattieis it something that sends mail directly, a la logwatch or logcheck?04:47
MTecknologysome backup scripts I have04:48
MTecknologysome sync scripts04:48
MTecknologyI guess I can tack on ' > /dev/null' to about 50 jobs; I just didn't want to04:50
sbeattiehrm, if it's actual cron output, that seems to be a bug, or lying documentation.04:51
twbMTecknology: your problem is too many ssh attempts in your logs?04:55
MTecknologytwb: no..04:56
MTecknologytwb: the cron events do a lot of ssh work, the text that you see when you log into the server winds up in /var/mail/..04:57
twbMTecknology: consider control master, then04:58
MTecknologytwb: hm?04:58
twb(It's a feature of OpenSSH to run multiple commands over a single shared SSH connection)04:58
twbOr maybe investigate something like puppet, depending on what you're doing.04:58
MTecknologyI'd still get the junk04:59
twbMTecknology: you'd get one connection per <period> instead of one per ssh command05:04
sbeattieis anacron or some other alternate cron involved?05:04
twbWhere <period> might be the extent of the cron job, or the extent of the uptime05:04
jmarsdenMTecknology: Where exactly is the "junk" coming from?  A Banner statement in sshd_config? /etc/issue.net ?  Other?  Can you tackle this by preventing the generation of that banner info when the logon is not interactive?05:04
MTecknologyjmarsden: that's part of the junk, put there's other output from other tasks like that which I don't want to get05:05
jmarsdenMTecknology: Well, if you'd reduce the volume by 50% by killing the login banners, that would be a start :)05:06
MTecknologyI have MAILTO="admin@domain.com" now too... at least it'll show up where I'll actually read it05:07
twbMTecknology: it would be better to alias root to admin in /etc/aliases05:07
MTecknologytwb: so the top of that I do root: mail@domain.com ?05:09
MTecknologyor, the end05:10
twbSure05:10
twbThen run newaliases05:10
MTecknologytwb: interesting - thanks05:12
MTecknologyjmarsden: thanks for that idea; how can I do that?05:13
jmarsdenMTecknology: Well, that depends where the banners are coming from, hence my earlier question... I'm not 100% sure how but once we know what generates the text we can look at ways to stop it being generated for your cron jobs...05:14
MTecknologyjmarsden: /etc/issue.net05:15
jmarsdenOK.  Is there a statement Banner /etc/issue.net in sshd_config, or is something else causing that file to be output?05:17
jmarsdenIf it is a Banner statement I'm wondering about making that conditional on a Match in there... not sure if it will work, but worth a shot...05:19
MTecknologyjmarsden: that's the line05:20
jmarsdenOK, so now you need to find what is different about the ssh connections being made by your cron jobs compared to those being made by interactive users, and then create a Match block with the Banner inside it for the interactive users.05:22
jmarsdenman sshd_config for more on Match blocks...05:22
MTecknologyalrighty, thanks05:22
jmarsdenYou're welcome.05:23
cyphaseIf i have a RAID 1 array on one computer, and i take out a drive and stick it into another computer (non-RAID), will the second computer be able to read it correctly?06:06
twbcyphase: RAID-1 is a mirror.06:06
cyphasetwb: i know, i'm just making sure06:06
twbcyphase: at least traditionally, that meant that both drives are directly mountable06:06
twbYou'll want to mount -oro to avoid getting the array out of sync, though06:07
cyphasetwb: right, that's what i thought.. thanks :)06:07
twbThis is assuming you're talking about md RAID06:07
cyphasetwb: i don't know what kind of RAID it is yet06:07
cyphasedoubtful it's linux though06:07
twbI can't comment on fakeraid or hardware raid06:08
cyphasetwb: okay, thanks for the info06:10
erichammondMTecknology: You could also send the email to "devnull@yourdomain.com" and then add an alias for "devnull: /dev/null"06:19
erichammondthough I didn't quite follow why you couldn't redirect everything to /dev/null in the cron job itself.06:20
toyolhello, i need help, i install linux server 9.04 x64bit and i want to change block size 4096 to 512 . how can i do this ?07:10
mealstromyou need partman I suppose07:10
toyolso all data lose ?07:11
toyolif i change block size to 512 ?07:11
mealstromdon't really know07:11
tsimpsonyou'll have to reformat to change the block size07:12
=== FireCrotch_ is now known as FireCrotch
alkisgIs it possible to use dpkg-divert for a whole directory? I want to divert /usr/share/wine/fonts/ to /usr/share/wine/english-only-fonts/...07:58
jiboumansgood mornign08:26
error404notfoundI have a server with one NIC and a vpn interface. This server hosts about 14 sites, out of which i want 10 to be available only on vpn network and 4 to public. I need a combination of IP and Name based vhosts in apache, any ideas?08:26
psteynHi, running Ubuntu Server 9.10, kacpid is using a LOT of cpu.  How can I stop it safely?  I see no /etc/init.d/acpid08:30
_rubenerror404notfound: NameVirtualHost directive takes an ip address as parameter which can be used to make the distinction between vpn and public .. then servername/serveralias for the actual vhosting08:33
_rubenpsteyn: its a kernel process, the only way to stop it (probably) is to disable acpi at boot time08:33
error404notfound_ruben, yup. got it, thanks to SpiceMan on #httpd08:33
FireCrotchpsteyn: You can disable acpi by appending acpi=off to your GRUB kernel line and rebooting. Be warned however that you'll lose features such as CPU throttling, fan control, etc08:35
psteynMeh.  :( I don't really mind losing that, but I've also read that acpi=off will disable SMP08:36
psteynI do mind that..08:37
maxagazhow to uninstall a program installed with "make ; make install" ?09:19
_rubendepends on the program09:20
_rubensome offer the option of running make uninstall09:20
_rubenotherwise you might have to delete all installed files by hand09:20
maxagaz_ruben, but how do you know the list of files installed ?09:40
maxagaz_ruben, and what if an existing file has been changed by make install ?09:41
_rubenanalyze the Makefile is one way .. there's also (wrapper)scripts that do that for you (and possibly even offer uninstall functionality)09:43
st_ironmartin-: dpkg -l09:43
st_ironsorry09:43
_rubenif files are overwritten (without being backed up), you wont get them back (easily)09:43
st_ironmaxagaz: dpkg -l09:43
st_ironoh, and sorry again, I just read back09:44
st_ironnow I put a lock on my mouth09:45
dayoi'm trying to keep a static IP on my eth1,which is also the interface from which the dhcp3-server gives out IPs,but the static IP keeps getting overwritten by dhcp,thereby messing up my lan: http://dpaste.com/151096/10:16
screen-xdo I need dbus  on an 8.04 apache server?10:16
mealstromdayo: dhclient.conf supersede options10:18
mealstromand what with dhcp server?  dhcpd eth1 and dhclient eth1 ? oO10:19
error404notfoundi have port 113 closed on my ubuntu server, what if i want to put it under stealth/reject all connection on this? would it effect any running services?10:22
dayomealstrom: what do u mean?10:25
uvirtbot`New bug: #513151 in mysql-dfsg-5.0 (universe) "package mysql-server-5.0 (not installed) failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [Undecided,Incomplete] https://launchpad.net/bugs/51315110:26
_rubenerror404notfound: not making much sense (atleast not to me)10:27
error404notfound_ruben, port 113 on my server appears to be closed if i do portscan. Okay? what if i explicitly configure iptables to "reject" any connections on this, that way it won't even appear in portscan. Will rejecting any connection on this effect any running services?10:28
_rubenclosed and reject are or more or less the same thing (one results in the other)10:30
acalvohi10:30
_rubendrop -> filtered ... reject -> closed .. accept -> open10:30
error404notfound_ruben,hmmm10:31
acalvoI've grown the volume of a virtual disk in a virtual machine, and I need to grow also the LVM partition. How can I do that? lvextend? (it's the physical disk, I guess)10:31
_rubenacalvo: increase pv, vg, lv and then fs10:32
acalvo_ruben: ok, I'll try it10:33
acalvoand thanks, you're always here to help :)10:33
_rubenjust dont tell my boss, he thinks im working ;)10:33
error404notfoundhmmm, okay, have filtered that as well, now i am wondering what next should i do with this server. :P10:34
acalvoquite confused: I've this10:35
acalvoDisposit. Inicio    Comienzo      Fin      Bloques  Id  Sistema10:35
acalvo/dev/sda1   *           1         621     4988151   8e  Linux LVM10:35
acalvo/dev/sda2             622         652      249007+   5  Extendida10:35
acalvo/dev/sda5             622         652      248976   83  Linux10:35
acalvoI've increased the vmdk 1G10:35
acalvohow do I apply that?10:35
acalvoI mean... the pvresize applies only to a partition10:35
acalvowhile is the whole disk whichs is bigger10:36
acalvoI just want to make /dev/sda1 1G bigger10:37
error404notfoundacalvo, !pastebin10:38
acalvoerror404notfound: mmm ok10:38
_rubenacalvo: you cant make sda1 bigger (easily)10:44
_rubenhowever, you could use the benefits of lvm10:44
_rubenthe extra 1G can become a new partition, which will be a pv, which you can add to a vg, which allows you to create extra lvs or extend one or more lvs10:45
acalvo_ruben: I know, and it's quite useful10:51
acalvohowever, I'd like to extend the sda110:52
sorenacalvo: Why?11:01
sorenacalvo: You can create a new pv at the end, add it to the same vg as sda1 and the you will be able to allocate the space in there with lvcreate just like you normally would.11:02
acalvosoren: ok, that makes sense, however, I'm not that into LVM to understand everything. If I get it right, I just have to: first, add new size to the vmdisk of my virtual machine; create a new pv, add it to the same vg as the other lv, and then it'll be as if the /dev/sda1 (in my example) were bigger?11:06
sorenUmm..11:06
sorenWell, apart from the bit about /dev/sda1 being bigger..11:07
sorenYou vg will be bigger.11:07
acalvoaha, ok, so I'll be able to create more partition (in a traditional way)11:07
sorenRight.11:07
acalvobut not extend the current partitions (again, traditional way)11:08
sorenRight.11:08
sorenYou add a new partition that takes up the newly allocated space.11:08
sorenpvcreate it11:08
sorenvgextend your vg with the new pv11:08
incdWhich virtual server implementation would be good for Sparc?11:08
incdI've tried vserver etc11:08
soren..and that's it. Your vg will be bigger, and you will not need to worry about it being split across multiple partitions.11:08
sorenacalvo: It's probably easier, though...11:09
sorenacalvo: ..if you just add another virtual disk.11:09
acalvosoren: don't worry, you've clarified lots of things11:09
sorenacalvo: Instead of bothering with extending the existing one.11:09
acalvoright!11:09
sorenacalvo: The effect will be the exact same. That's part of why LVM is so awesome :)11:09
acalvoI understand11:10
sorenGreat.11:10
acalvothanks soren! I'll try that!11:10
sorenJust shout if you stumble.11:10
* soren heads to lunch11:10
acalvosoren: I've managed to do it by extending the vmdisk (however having a new virtual disk seems fine)11:27
acalvoso now my /dev/vg/lvname has more space11:28
acalvoI didn't get it the first time11:28
Weasel[DK]Kerberos with OpenLDAP backend config ? - I know some about both kerberos and LDAP, but how to tell kerberos to user LDAP as backend. ??11:55
* soren curses the launchpad UI for copying packages between PPA's12:21
Italian_PlumberI am trying to run fsck on a remote machine.  The disk I am trying to check is not the boot disk.  It tells me it is busy, but is not mounted:  http://pastebin.com/m43085014 What can I do?13:06
NCommanderIs there a test suite for likewise? I'm working on porting it to ARM, and would love to make sure I can test everything off it13:09
sorenItalian_Plumber: Can you pastebin the output of mount, please?13:09
Italian_Plumberhttp://pastebin.com/m7a46885513:14
pmatulisItalian_Plumber: and what version of e2fsprogs are you running?13:15
pmatulis(dpkg-query -W e2fsprogs)13:15
sorenItalian_Plumber: /dev/sdb1 is mounted13:15
Italian_Plumberbut when I try to unmount it, it says it's already unmounted.13:16
sorenItalian_Plumber: No.13:16
sorenItalian_Plumber: When you try to unmount /dev/sdb, it does.13:16
sorenNot /dev/sdb1.13:16
Italian_Plumberah.13:17
Italian_Plumberdavid@warthog:~$ sudo umount /dev/sdb113:17
Italian_Plumberumount: /media/data: device is busy13:17
Deterministhey guys. I'm using the 9.10 EC2 AMI (32bit =  ami-bb709dd2). I've noticed that sources.list (/etc/apt) does not include multiverse by default. is there a simple way to add multiverse to apt without having to edit the sources.list file manually?13:18
pmatulisItalian_Plumber: sudo lsof /media/data13:18
pmatulisalso make sure you're not in the mount point13:19
pmatuliswhen unmounting13:19
* Determinist blinks13:24
Deterministis there no simple way to add multiverse to the repos aside from editing sources.list directly?13:24
Italian_PlumberOKay, I apparently have successfully unmounted it now, but now I get this: http://pastebin.com/m15218c4013:27
pmatulisItalian_Plumber: pastebin output to 'sudo fdisk -l' i guess13:29
pmatulisItalian_Plumber: or just 'sudo fdisk -l /dev/sdb'13:29
Italian_Plumberhere is the output to several of the commands: http://pastebin.com/m33bc1a4113:31
pmatulisItalian_Plumber: why are you tring to check this filesystem anyway?13:32
pmatulis*trying13:32
sorenDeterminist: You're making it sound like that's super complicated?13:32
Italian_PlumberI get the "superblock" erro when starting the machine, which means the machine won't start up without interaction.13:32
sorenDeterminist: You open the file, add multiverse at the end of the line, done.13:32
pmatulisItalian_Plumber: could be that the superblock is corrupted.  you may need to specify a backup one (with the fsck command)13:33
pmatulisItalian_Plumber: you see an example of doing so in the output to your fsck command13:34
pmatulisItalian_Plumber: but you should research where the backup superblocks are found in my opinion13:34
Italian_Plumberwith the fsck command, Iget this: http://pastebin.com/m5c15f45913:36
uvirtbot`New bug: #512646 in postfix (main) "Could not install postfix - postinst failed to properly create postfix user" [Medium,Incomplete] https://launchpad.net/bugs/51264613:36
Italian_Plumbersorry I thought I included that in one of my pastes, but I guess I didn't.13:36
pmatulisItalian_Plumber: again, you're not using the proper device name13:39
Italian_PlumberI get the same output with "sdb1"13:40
pmatulisItalian_Plumber: pastebin that ouput along with mount output again13:42
Italian_Plumbersure... thanks.. http://pastebin.com/m3ffd48ff13:45
Deterministsoren: yeah, that's fine when you have 1 machine. but when you have a load of them on EC2, things get more complicated. i'm looking for a way to automate this. if there's no simple way, i'll just write a script to do it.13:49
TeTeTsmoser: thanks for the uec-tools for bundling and uploading a complete image tarball, will rock my UEC training today :)13:52
smosergood. i hope to have it packaged in lucid.13:54
pmatulisItalian_Plumber: maybe specify the block size with e2fsck14:03
mathiazkirkland: are you able to complete a fully automated install with today installer?14:13
kirklandmathiaz: will get back with you once i try14:13
mathiazkirkland: context -bug 51263214:14
uvirtbot`Launchpad bug 512632 in debian-installer "Network component not activated on a fully automated installation" [Undecided,New] https://launchpad.net/bugs/51263214:14
mealstrommathiaz: preesid14:14
mealstromthis bug is easily fix with apt mirror 51263214:15
patihey!!14:15
patiI've setup a webserver with ubuntu 8.04 server edition14:16
mealstromdeb-amd64 http://archive.ubuntu.com/ubuntu karmic main/debian-installer restricted/debian-installer universe/debian-installer multiverse/debian-installer14:16
patibut after I leave it idle for a long time it becomes inaccessible by ssh14:16
patiapache is also not accessible...though i am able to ping it14:17
patidoes anyone have a clue what might be the issue14:17
mathiazmealstrom: what do you mean?14:17
patianyone?14:17
unimatrixhello, would anyone know why my ubuntu server often decides to suddenly switch from static to dynamic IP?14:18
mealstrommathiaz: when you are using local mirror (apt-mirror) for network installation -- there files from debian-installer aren't mirrored and you've got errors with *.udeb files14:19
mathiazmealstrom: well - I'm not using a local mirror14:19
mealstromtry to add netcfg/get_hostname=ubuntu14:21
MTecknologyHow do I make sudo update the environment? It seems like sudo -u www-data command from the crontab doesn't update that.14:25
pmatulisMTecknology: i believe the sudoers file contains stuff for that (man sudoers)14:28
MTecknologypmatulis: I looked through that already14:29
MTecknologyit runs the command as the user; it just doesn't update environment14:30
alvinIs there a method to know when an lvm snapshot was created? (I want to search for the oldest snapshots)14:43
smoserjjohansen, where do i get the ec2 kernel source? there are no tags in git://kernel.ubuntu.com/ubuntu/ubuntu-karmic.git for 2.6.31.302.2 (which is the current version of linux-ec2 package in karmic)14:58
jjohansensmoser: the import last time dropped the reference.  I try to put it in the commit log and under debian.ec2/patches.xen14:59
jjohansenthe update I am working on pulled in fresh yesterday15:00
smoserwhere do i get debian.ec2/patches.xen ?15:00
smoseroh. on that branch15:00
jjohansenyeah ec2 branch15:00
smoserjjohansen, where do i get the ec2 branch?15:04
jjohansensmoser grab the git tree15:04
smosergot it15:04
smoserat least i have the one i pointed at above15:04
jjohansenthen do a git checkout --track origin/ec2 -b ec215:05
smoserah. its been a while, too much bzr15:07
smoserforgot about remote branches15:07
kirklandsoren: have you used the new kvm in lucid much yet?15:07
kirklandsoren: the 0.12 one?15:07
sorenkirkland: Some.15:07
sorenkirkland: Not much.15:07
kirklandsoren: any major breakage?15:07
smoserjjohansen, now, where do i see/get -302.2 ?15:08
sorenkirkland: Not that I've seen, no :)15:08
kirklandsoren: minor breakage, then?  :-)15:08
jjohansensmoser: git log, find the commit that mentions bump to -302.215:08
jjohansenthe git checkout the hash for the commit15:08
sorenkirkland: Nothing that I really can attribute to kvm, no. :)15:08
jjohansenthere is no tag15:09
kirklandsoren: nice15:09
smoserthe only 302.2 htat i see is in checksums15:09
jjohansensmoser: give me a sec15:10
jjohansensmoser: where did you get a 302.2 from?15:15
smoser$ dpkg-query --show linux-ec215:16
smoserlinux-ec2       2.6.31.302.215:16
jjohansenright, but is this a local vm, an ami on ec2?15:17
jjohansenI am wondering if it is one of my test kernels15:18
smoseroffiical released15:18
* jjohansen is baffled15:19
jjohansenso we have lost some history15:19
jjohansenthat shouldn't happen but it is possible to do when rebasing15:20
jjohansenthe ec2 kernel, gets rebased against the master kernel branch15:20
jjohansenwe are supposed to keep all commit info but I could see that getting dropped15:21
jjohansenI can tell you that the version of xen patches hasn't changed since earlier than that15:22
jjohansensmoser: what do you want to know about the patches?15:23
jjohansensmoser: it looks like we are using the patches from 2009090215:23
smosermostly i was just interested in config changes. i'm tryiing to buidl a ext4 kernel module.15:24
smoserand also just wanting to walk through this once15:24
jiboumanssmoser: you appear to not be on the team call...15:24
jjohansenah15:24
jiboumans2 penalty laps around the court yard!15:24
MTecknologyI still can't figure out how to ignore the SSH banner for non-interactive logins..15:29
smoserjjohansen, easiest way to build kernel modules ? without building entire thing15:30
jjohansenassuming the directory has a Makefile that can do it,15:31
jjohansencd into the directory15:31
jjohansenmake -C <kernel source> -M=`pwd`15:31
mdeslaurzul, mathiaz: who takes care of mysql among you?15:45
zulmdeslaur: mathiaz and me15:46
zulmdeslaur: whats wrong?15:46
mdeslaurzul, mathiaz: could you two come to #mysql-ndb15:46
mdeslaurapparently the clustering in 5.1 that we ship is old and deprecated15:46
zulyeah we are shipping mysql-cluster 7 in lucid15:47
uvirtbot`New bug: #511180 in samba (main) "File sharing failed" [Undecided,Invalid] https://launchpad.net/bugs/51118015:51
zulmathiaz: can you join #mysql-ndb please?15:51
ivokshere's first papercut: kill php's error display by default, put them in apache's error logs16:06
ivoks:)16:06
incorrecthmm, i wonder what search engine i should use16:10
Omahnivoks: Your pacemaker/apache/vsftpd test cases work perfectly on my test machines. 3 node/ESX.16:15
ivoksOmahn: that's awesome16:15
ivoksOmahn: could you add comments to wiki page?16:15
ivokshttps://wiki.ubuntu.com/ClusterStack/LucidTesting#Test results16:16
OmahnIndeed. I'm just testing the drbd test case. The resync is taking a while :-)16:16
ivokshehe16:16
ivoksthere might be some issues with that test16:18
ivoksdrbd upstream said they'll send me modifications for it16:18
acalvohi16:19
acalvowhen setting up a master-slave relation with bind16:19
acalvodoes the slave has to have its own zone files with the @ set up to it sip address?16:19
acalvoor it has to have the same as the primary?16:19
ivoksit should pull everything from master16:20
acalvo*everything*?16:20
ivoksdomain records16:20
acalvoeven this? @               IN      SOA     mars.esci.es. root.esci.es. (16:21
ivoksof course16:21
acalvook16:21
acalvoand this too? @               IN      NS      mars.esci.es.16:21
ivoksyes, imo16:21
acalvoI've thought it was poiting to the machine runnig the dns server16:21
ivokswait, i'll check16:21
acalvook!16:22
ivoksyep16:24
ivoksit creates zone file16:24
acalvook, it points to the primary master16:24
acalvo(authority)16:24
Omahnivoks: DRBD test case works fine for me too. Was issue was you expecting?16:29
Omahn*What16:29
ivoksi had no issues16:29
kirklandmathiaz: "<cjwatson> kirkland: not enough there to be sure, but there's an outstanding console-setup bug that multiple people are running into and that ev's looking at, so if it's lucid then that's a possibility"16:30
ivoksbut upstream said they have some comments16:30
ivoksi don't know what exactly16:30
OmahnAh I see. Anyway, works fine for me :-)16:30
OmahnI'll update the wiki page.16:30
ivoksgreat16:30
mathiazkirkland: are the preseed install also failing for you?16:30
mathiazkirkland: I've asked cr3 to do a test install and it works well for him16:31
kirklandmathiaz: they're hanging at a screen asking me to select the next step in the process16:31
kirklandmathiaz: if i select "configure the keyboard", nothing happens, i just loop on that step16:31
mathiazkirkland: right16:31
kirklandmathiaz: if i push it to the next step, detect nw hardware, it continues16:31
mathiazkirkland: and then if you select configure network, it works16:31
mathiazkirkland: awesome - that's what I see as well16:31
kirklandmathiaz: sounds like cjwatson and ev are aware of the issue16:31
mathiazkirkland: great - and that wasn't case before you left for LCA?16:32
kirklandmathiaz: bug #51259216:32
uvirtbot`Launchpad bug 512592 in debian-installer "console-setup-udeb succeeded but requested to be left unconfigured" [Undecided,New] https://launchpad.net/bugs/51259216:32
kirklandmathiaz: correct16:32
kirklandmathiaz: this worked liked a champ before I left16:32
ivoksOmahn: you had only two servers in drbd test?16:35
Omahnivoks: Only 2 taking part, I had a 3rd running with corosync up but not involved in drbd.16:35
ivoksright16:35
ivoksthat's the test i wanted to see :)16:35
OmahnI think I tried initially with 2 only, and then realised my earlier quorum setting required at least 2 nodes to be up.16:36
ivoksso, we can say that we have good replacement for rhcs16:36
OmahnSo I did it again with 3.16:36
ivoksyes, it won't work with 216:36
ivoks2 node clusters are pointless16:36
ivoksthey do more harm than good16:37
OmahnI've never tried RHCS but Pacemaker/corosync seems to work really well for us so far in testing. Just a bit tricky to integrate with Puppet but i'm getting there :-)16:37
OmahnActually our new LVS clusters will be 2 node.16:37
ivoksand what happens when they lose interconnection?16:37
ivoks:)16:37
ivoksthey both thing other one is dead16:38
ivoksthink16:38
ivoksand then you have big mess16:38
ivoks3 is minimum16:38
Omahn2 + stonith should be ok presumably? (And as these are routing packets, if they lose connectivity then we have much bigger problems)16:39
ivoks2 + 1 something to keep track which one is really dead16:39
ivoksit could be nokia n900 :D16:40
OmahnOk I'll have a look at running 3 nodes.16:40
ivoksso, we now just have to write MIRs for that stack16:42
ivoksjiboumans: do we have a green light for corosync/pacemaker cluster in main? :)16:43
OmahnFingers crossed :-)16:43
ivoksOmahn: http://clusterlabs.org/wiki/DRBD_HowTo_1.016:44
Omahnivoks: Thanks16:46
ivoksi'll merge latest drbd and pacemaker parts now16:47
Omahnivoks: Good stuff. I'm building an LVS cluster tomorrow on real tin so that would be fantastic.16:47
BeardedChimpWhen an interface is brought up is any device created to check for its existance in a script or is the only way by parsing ifconfig output16:53
BeardedChimpMy grammar was shocking there16:53
BeardedChimpIs any device created that allows me to check for its existance with a script16:53
ivoksBeardedChimp: which ubuntu version?16:55
ttxmathiaz: around ?17:06
mathiazttx: yes17:06
mathiazttx: are you?17:06
mathiazttx: is it your bot I'm talking to?17:06
ttxmathiaz: reading your install-srv readme17:06
ttxmathiaz: you still need tftp for the gPXE chaining, right17:07
ttxso it's not fully without tftp17:07
mathiazttx: yes17:07
ttxok17:07
mathiazttx: well in my setup it is :)17:07
mathiazttx: however you can just ship one static file17:07
ttxmathiaz: I dare you to start an instance with *your* setup17:07
ttx:P17:07
mathiazttx: otherwise you have to add/delete files in the tftpboot directory from the cgi-script17:08
ttxmathiaz: ok :)17:08
mathiazttx: at least there is only one file in the tftp directory17:08
mathiazttx: and that all17:08
mathiazttx: that's all17:08
ttxright, the issue is, will my flimsy router support that17:09
mathiazttx: that == http server?17:09
mathiazttx: or that == dhcp+tftp server?17:09
mathiazttx: if your router runs dnsmasq, then you should be ok17:09
mathiazttx: you can enable dnsmasq tftp server17:10
ttxmathiaz: right. I just need to figure out how to place a static file on there now :)17:10
mathiazttx: well - you could run the tftp server on the same machine as the http server17:10
ttxand make sure it doesn't get wiped on reboot17:10
mathiazttx: and then use the next-boot option17:10
mathiazttx: as you can tell the dhcp client to use a *different* IP for the tftp server17:10
ttxmathiaz: ah, that sounds better17:11
mathiazttx: the tftp server doesn't need to be on the same machine as the dhcp server17:11
mathiazttx: you could even bring a second dhcp server17:11
mathiazttx: on the network17:11
ttxok, I'll look deeper... tomorrow.17:12
mathiazttx: and configure your router dhcp server to *not* answer dhcp request from PXE clients17:12
mathiazttx: and configure the second dhcp server to *only* answer dhcp request from PXE clients17:12
ttxthanks for those precisions17:13
* jiboumans sees unhappy signals from UEC testing :(17:23
mathiazjiboumans: what do you mean?17:35
mathiazkirkland: how about adding a default name to the cluster name in UEC?17:37
jiboumansmathiaz: you being blocked17:37
kirklandmathiaz: static, or generated?17:37
mathiazjiboumans: I'm trying to move forward anyway17:37
mathiazkirkland: well - not sure17:37
kirklandmathiaz: my preseed sets it to "CanyonEdge" :-)17:38
jiboumansmathiaz: i know you are. if there's something i can do to unstuck you, let me know17:38
mathiazkirkland: right - I'd like to avoid preseeding anything that is not necessary17:38
jiboumanskirkland: *cough* MangyMinx!17:38
mathiazkirkland: db_input high eucalyptus/cluster-name17:39
mathiazkirkland: is it worth asking for the cluster name by default in the install?17:39
mathiazkirkland: well - that's a different topic17:40
mathiazkirkland: I'd suggest we add a default value to the cluster-name template17:41
kirklandmathiaz: and lower to medium17:41
kirklandmathiaz: okay ... do you have a name proposal?17:41
mathiazkirkland: UEC_CLUSTER?17:41
* kirkland winces at ALL_CAPS_AND_UNDERSCORE17:41
mathiazkirkland: the main goal is to get rid of a preseed answer17:42
mathiazkirkland: UEC-Cluster17:42
mathiazkirkland: UEC is the official acronym17:42
kirklandmathiaz: i think if we put the word "Cluster" in there, it should be Cluster117:42
mathiazkirkland: fair enough17:42
mathiazkirkland: UEC-Cluster117:43
kirklandmathiaz: but i'm wondering if -Cluster1 is necessary?17:43
mathiazkirkland: UEC1?17:43
kirklandmathiaz: I like the concise-ness17:43
kirklandmathiaz: would like to have ttx's opinion, though17:43
kirklandmathiaz: it can be changed, of course17:44
mathiazkirkland: I'll file a bug then17:44
kirklandmathiaz: other than the noted install bug, my preseed install worked perfectly17:45
kirklandmathiaz: all euca services are running on the controller17:45
kirklandmathiaz: i'm simultaneously installing 4 nodes now17:45
mathiazkirkland: great - I'm preparing preseeds for the UEC Network installation17:46
mathiazkirkland: UEC Network Integration17:46
kirklandmathiaz: uec1 might be easier to read/type17:46
kirklandmathiaz: but I'm not strongly of that opinion17:46
kirklandmathiaz: i do like 4 chars, versus a-lot-more though :-)17:46
ivoksOmahn: new drbd is uploaded to my ppa; should be available tomorrow18:09
ivoksOmahn: rest of the stuff will go to ppa tomorrow18:09
BeardedChimpivoks: Sorry was called away, 9.1018:11
ivoks9.10 has issues with networking :/18:11
ivoksbunch of network services are started before network is up18:11
ivoksit's a known problem and is fixed in lucid18:12
ivoksbackporting fix requires touching upstart, which is core of the system18:12
ivoksit's not that easy :/18:12
Italian_PlumberHello.  I have a drive with a "bad superblock"... is that a temporary problem that can be fixed, or a sign that the drive is getting old or about to die?18:13
BeardedChimpivoks: Oh wait I was thinking of the wrong computer, the one Im dealing with is 9.0418:13
BeardedChimpLucky me18:14
ivoksItalian_Plumber: warranty on most disks mentions number of bad blocks with number of reads/writes or age of the disk18:14
ivoksoh, sorry18:14
ivokssuperblock18:14
ivoksthat's a filesystem issue18:15
Italian_Plumberthis is the converstation from earlier: http://pastebin.com/m56fb42f718:15
Italian_Plumberso if I just blew away that filesystem and created a new one, I'd be fine?18:16
ivoksItalian_Plumber: you are mounting sdb1, right?18:16
ivoksItalian_Plumber: not sdb18:16
Italian_Plumberyes18:17
ivokseh18:17
Italian_PlumberI was somewhat confused on the difference at first.  I guess I kinda still am18:17
ivoksdo you have output of mkfs when you formated filesystem?18:17
ivoksItalian_Plumber: sdb is disk, sdb1 is first partition on that disk18:17
Italian_PlumberI have not formatted it, recently.18:17
ivoksItalian_Plumber: did you format it during install time?18:18
Italian_PlumberI don't recall.  I set up this box ~2 years ago.  Probably not -- this disk was added to the machine later.18:18
ivoksthere are couple of backup superblocks on disk18:19
ivoksmkfs prints all of them18:19
ivoksyou'll have to fsck disk with one of those backup superblocks18:20
ruben23 hi anyone can help setup a simple ticket support system..18:20
ivoksif you don't know which they are, you could use the tool called testdisk18:20
ivoksit should find superblocks18:20
ivoksand then run e2fsck -b <one of those superblocks> /dev/sdb118:21
ivoksgood news is that your data is still there18:22
ivoks:D18:22
zulivoks: hey! got a question for you what do you think of bacula 5 for lts?18:23
ivokszul: it's 2 days old18:23
ivokszul: expect bugs :D18:23
zulheh18:23
ivoksbut it is probably better option than older version18:23
Italian_Plumberyes the data is still there.  In fact I've already moved the important stuff off of the disk -- at this point it could just be formatted/repartitioned.  woudl that be easeir?18:23
zulwait for the .1 release?18:24
ivoksItalian_Plumber: if you don't care about data, then yes, format is easiest way out18:24
ivokszul: wouldn't that be a big change for SRU?18:24
zulivoks: probably18:24
ivoksi wouldn't like to see that change during release (and i do like big changes)18:25
zul*sigh* maybe stick it in backports18:25
Italian_Plumberwell I'd like to try to repair it.  is it "sudo apt-get install testdisk" ?18:25
ivokszul: i'd rather go with 5.0 in 10.04 and then fix it during lucid lifetime18:25
ivoksItalian_Plumber: yes18:25
zulivoks: sounds like a plan to me18:26
ivokszul: notice that 5.0 is released, while firefox wasn't and we didn't care :D18:26
ruben23anyone..?18:26
ivoksruben23: best practice18:26
ivokseh, best practical18:27
ruben23 ivoks: what you mean..18:27
ivoksruben23: http://bestpractical.com/18:28
ivokssoftware is called RT18:28
spowersi used to use RT18:32
spowersat a previous job18:32
spowersit can go anywhere from simple to insanely detailed18:32
ivoksyeah18:32
spowersscales pretty well18:32
ivoksit's very flexibile and powerfull18:32
spowerssome people like OTRS but i've never used it before18:32
spowersif you're doing software bugs, i've used mantis before and liked it18:33
spowersalso, a friend of mine wrote one called loom (loomapp.com)18:33
ivokswell, take care18:34
ivokssee you tomorrow18:34
ruben23ivoks:..?18:38
Italian_Plumbertestdisk says this about the superblocks: http://pastebin.com/m11aae22318:54
patdk-lapanyone know why du -shx / would report 2.8G18:57
patdk-lapbut df -h, reports 3.9G?18:57
jennieis it necessary to learn ubuntu desktop first to learn ubuntu server ???18:57
jennieplease guide me I want to learn LAMPP18:57
Italian_Plumberstill,when I try to run e2fsck, it says it's busy even though it's not mounted: http://pastebin.com/m22f7da7d19:00
Italian_Plumberdu is disk usage, df is disk free.  You have 2.8G in use and 3.9G free.19:09
Italian_Plumberdu only does the directory that your'e in, or specify19:09
patdk-lapItalian_Plumber, please read then first :)19:16
patdk-lapI gave you the du command, it clearly shows I did the root directory19:16
patdk-lapFilesystem            Size  Used Avail Use% Mounted on19:16
patdk-lap/dev/mapper/VolGroup00-LogVol0019:16
patdk-lap                      5.3G  3.9G  1.2G  77% /19:16
* patdk-lap wonders where that 3.9G free is19:17
patdk-lapand I ran du as root19:18
qman__patdk-lap, I suppose it's possible that you have files on your root filesystem that have been mounted over19:19
patdk-laphmm, that I would believe19:22
patdk-lapbut the system mout hasn't changed in 6months, unmount/mount/reboot19:22
patdk-lapbut the disk usage just keeps going up19:22
patdk-lapumounted everything, and mountpoints are all empty19:24
Italian_Plumberthat's nothing... look what I can do... http://pastebin.com/m3ab9ccf819:30
Italian_PlumberI can still access data on an unmounted filesystem. :)19:30
=== luis__lopez is now known as luis_lopez
Italian_Plumberwhat filesystem is it that can't do files over 4GB?19:59
geniiFAT20:00
patdk-lapfat stops at 2gb20:01
patdk-lapntfs goes over20:01
geniiOk, VFAT20:01
patdk-lapvfat stops at 2gb20:01
patdk-lapall FAT32 based :)20:01
patdk-lapI havent seen fat6420:01
patdk-lapntfs goes >4gb20:02
patdk-lapext2+ goes 16tb min20:02
geniiAs I understood 2Gb was limit with 512 byte sectors but with 1024 could be up to 4Gb20:05
patdk-lapwhen did they start making 1024byte sectors?20:06
patdk-lapsome mo drives have 2k sectors20:06
patdk-lapyou are talking cluster size20:07
patdk-lapand that just matters how much harddrive space you can use, not file space20:07
patdk-lapMax file size: 4 GB minus 1 byte (or block size if smaller)20:07
patdk-lapmax drive size is 2tb, (8tb using 32k blocks, 16tb using 64k blocks)20:08
patdk-lapI guess it does get close to 4tb20:08
patdk-lapI always had bad results going >2gb on fat20:09
patdk-lapah, exfat = fat6420:11
kirklandmathiaz: yo, my ubu-dev-week session is over20:12
mathiazkirkland: mine too! (well that was 2 days ago)20:12
kjeleHi kirkland20:16
kjeleI tried kvm but my mouse scrolling does not work. using the testdrive command. Do you know how to enable it?20:17
kjelekirkland: Are you there?20:22
kirklandkjele: mostly here, on the phone atm20:32
uvirtbot`New bug: #513135 in mysql-dfsg-5.1 (main) "MySQL logrotate script returns with error when server isn't running" [Low,Confirmed] https://launchpad.net/bugs/51313521:21
kirklandmathiaz: hrm, i'm not able to get to my CLC on 8443 from today's package21:29
kirklandmathiaz: can you confirm that you are able to?21:29
mathiazkirkland: I haven't got that far yet21:29
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
magic_1hi guys, any one here with experiencing in getting dansgaurdian working21:56
=== erichammond1 is now known as erichammond
uvirtbot`New bug: #513509 in ntp (main) "ntp help manual should mention time slewing" [Undecided,Confirmed] https://launchpad.net/bugs/51350922:56
kirklandzul: howdy23:38
kirklandzul: i can't get the patch in https://bugs.edge.launchpad.net/ubuntu/+source/linux/+bug/496661 to open23:38
uvirtbot`Launchpad bug 496661 in linux "Kaspersky AV does not install under qemu-kvm windows installation" [Undecided,New]23:38
kirklandzul: hrm, looks like it might be a bug in my firefox23:40
uvirtbot`New bug: #512259 in qemu-kvm (main) "lucid qemu: could not open disk image" [Low,Incomplete] https://launchpad.net/bugs/51225923:46

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