/srv/irclogs.ubuntu.com/2010/04/19/#ubuntu-server.txt

caneHello00:01
caneI need help converting the default LVM install to RAID000:02
caneno one here today?00:04
funkyHatHello people!00:07
canefunkyHat, hey00:08
funkyHatHas anyone set up 2 exim servers with one configured as a "satellite"?00:08
persiaI think most folks recommend postfix for new setup.00:09
funkyHatI already have a complex exim setup on the "server" side (i.e. not the satellite)00:10
funkyHatAnd gmail is managing to authenticate with that using the same transport and auth as I've set up for my satellite00:10
funkyHatBut for some reason the satellite fails to auth correctly00:10
persiaAh, then the "most folks" situation doesn't apply to you :)00:10
caneAnyone know how to migrate from LVM to RAID000:11
Sp3c1alK_If anyone has a static ip setup could you copy and paste your /etc/network/interfaces file onto pastebin for an  example?00:18
lil_cainhttp://pastebin.org/15795100:20
lil_cainyou don't need the post-up bit00:20
caneAnyone know how to migrate from LVM to RAID000:21
Sp3c1alK_ah, I see you have "network" listed but not "gateway"00:21
lil_cainSp3c1alK_: You probably want to add a gateway00:23
lil_cainthat network doesn't have a default gateway00:23
Sp3c1alKwhat's the differnce between network and gateway?00:24
lil_cainGateway gives you a default route.00:24
Sp3c1alKright, but what abou8t network00:24
lil_cainSpecifies the start address of the network, I'd imagine. I think it's more useful for people reading that anything else.00:25
lil_cainah, network is required, apparetly if you're using a 2.0 kernel00:25
lil_cainIt's probably legacy cruft in our case.00:26
caneAnyone know how to migrate from LVM to RAID000:51
=== RootChaos is now known as RootChaos[h]
swifthi guys, I have a router with no snmp agent on it... ive installed mrtg on my ubuntu server...also installed snmpd.. how can i monitor this router internet traffic?03:48
swiftthis line doesn'03:49
swiftthie line doesn't have a static IP.. that's the problem03:49
swifti have a virtual ppp1 interface representing this line... can i use the interface name in 'cfgmaker' to monitor it?03:50
=== oubiwann` is now known as oubiwann
=== Sam-I-Am_ is now known as Sam-I-Am
arrrghhhhey all, does anyone use rtorrent with xmlrpc-c support?  i'm having trouble compiling it, on the surface it seemed like everything compiled correctly but when i try to run the "rtorrent" command I get an error that makes it look like libtorrent didn't compile correctly... but i can't see why.04:23
arrrghhhnvm, sudo ldconfig fixed my issue.  i'd like to know why... but i'm glad it's fixed04:25
swiftguys, if a router doesn't have an snmp agent, can i use snmpd to create snmp traffic from that interface?.. that way mrtg can monitor it04:46
swiftalso, this internet line doesnt have a static IP04:47
swiftplease advise04:47
darkk^swift, is it ubuntu-based router or some "hardware router" ?04:51
swiftthe router is a separate hardware...04:52
swiftbut it is represented by a virtual interface on ubuntu...04:52
swiftforgive my terms.. but it's just a modem... all routing is done via the ubuntu server04:52
swiftrouting and authentication.... basically there are 2 internet lines coming from two modems... and ubuntu is the router... so, all traffice passes via ubuntu outside04:53
darkk^I assume, it's possible to use interface name in snmpd. I don't know how (I've not deployed snmp myself yet), but I see nothing wrong with that.04:55
flybackok04:55
flybackubuntu server box04:55
flyback8.x lts whatever it is04:55
flybackconsole only04:55
flybackupsmon, perl, mabye some bare bones compiling tools04:55
flybackwhat roughly should I be looking at disk space wise04:55
flybackbasically it monitors a ups and then ssh logs into 30 hosts and executes a vmware esx/esxi or server shutdown script04:56
flybackI think I am around 700 meg or so so I could almost get away with 1gb flash04:56
flybackbut need some for swap04:57
flybackso I dunno04:57
=== Jeeves__ is now known as Jeeves_
uvirtbotNew bug: #566475 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/56647509:11
uvirtbotNew bug: #566497 in clamav (main) "logging waaaaaaaay to much (7gb too much)" [Undecided,New] https://launchpad.net/bugs/56649710:16
KristianDKI'm sorry if its a silly question, but if i have an UEC and one of the nodes crashes entirely, what will happen to the VM's on the server?11:08
binBASHKristianDK: Btw. I managed to get it fully working at hetzner ;)11:21
KristianDKbinBASH, How!? :D11:22
binBASHKristianDK: Just configure Eucalyptus Network setup to SYSTEM11:22
KristianDKi even spoke to them today, and asked different stuff and they just said it wasnt possible11:22
binBASHand then I installed a dhcpd on each node11:22
binBASHwhich provides the 3 additional ips11:22
KristianDKoh, then it can distribute everything?11:23
binBASHyup11:23
binBASHI also have vnc running for the vms11:23
KristianDKbut still, if that server crashes - all of the VMs with IP from it will die, right?11:23
KristianDKnice :D11:23
binBASHyup11:23
binBASHall vms will get los11:23
binBASHt11:23
KristianDKreally? Isn't there any backup?11:24
binBASHno11:24
binBASHit's not persistent image11:24
KristianDKbut why not store the data on walrus? that's distributed, right?11:24
binBASHyou can do that11:24
binBASHthat data will be persistent11:24
binBASHThough it's slow with hetzner ;)11:25
binBASHonly 100 Mbit11:25
KristianDKyeah, but you can actually get a 1gbit router :)11:25
binBASHyup11:26
binBASHyou just need to pay a lot more ;)11:26
KristianDKthey didnt provide me with the price, however :P11:26
binBASHI have it11:26
KristianDKhow much is it?11:26
binBASHYou need flexipack for each server which is additionally 15 Eur / Month11:26
binBASHand a 2nd nic11:26
binBASHthen you have to let them move all nodes in hetzner datacenter so they are located at each other11:27
binBASHcosts 69 Eur / Machine11:27
KristianDKlol11:27
KristianDKand then how much for the router itself?11:27
binBASHsec, I'm searching this11:29
KristianDKok :P11:29
binBASHfor 8 Port Gbit it's 59 Eur once11:29
binBASHand for 24 Port it's 199 Eur once11:29
KristianDKwell, its not that bad11:30
binBASHjust the relocation is bad ;)11:30
KristianDKbtw, as you are mentioning the flexipack for the router - you don't use the raid controller?11:30
KristianDKyeah, but if you order the new ones together, you can request them in the same datacenter, they said :)11:30
binBASHyup11:31
KristianDKand the rest of my servers are in RZ10 anyway11:31
KristianDKyou don't use raid?11:31
binBASHI don't have flexipack at all11:31
binBASHI have all systems software raid 011:31
binBASHeach node has a secondary one for backup ;)11:32
binBASHat least for the storage partitions ;)11:32
KristianDKhehe, ok :D11:32
binBASHglusterfs does this11:32
binBASHKristianDK: http://78.46.23.157/11:33
KristianDKwell, i guess software raid can do the trick too11:33
binBASHSee cherokee webserver runs on a vm ;)11:33
KristianDKnice :D11:33
binBASHIf you want details about network config per node just tell me11:34
KristianDKI'd love to have that, because I'm certainly gonna try it out :D11:34
binBASHok sec, I'll pastie it11:35
KristianDKawesome :)11:36
binBASHKristianDK: http://www.pastie.org/92684911:36
binBASHyou have to set net.ipv4.ip_forward=1 in /etc/sysctl.conf as well11:37
KristianDKok :) btw, what is the different IPs in terms of hetzner? The .129 gateway, is this your own machine?11:40
KristianDKi gues .151 is the normal ip of the server?11:41
binBASHyup11:41
binBASH160-162 are the 3 additional ones11:41
binBASHit's possible to use those in the vms without special nat setup11:42
KristianDKok, so you have only 4 ips in total, right?11:42
binBASH4 ips / Nodes11:42
binBASHthe main ip is not usable within the vm11:42
KristianDKthe .151, correct?11:43
binBASHyup11:45
binBASHI will use it though11:46
binBASHit's better to run varnish not in the vm for speed :)11:46
KristianDKi can understand that you are using the cloud for web projects too :D11:47
KristianDKbtw - this line - what does the .129 and .129 mean? up route add -net 78.46.22.128 netmask 255.255.255.192 gw 78.46.22.129 eth011:48
binBASHit's the default route which goes through the hetzner router11:48
KristianDKhow would i translate this into my own setup?11:48
binBASHbut you have this line already in the config11:48
KristianDKit will be there from the beginning?11:49
binBASHyou just need to add routes for the additional ips11:49
binBASHyup11:49
KristianDKahh, cool :D11:49
binBASHthe br0 routes you need to add11:49
KristianDKyeah11:49
KristianDKin the br0, why is the netmask .255 in the end?11:51
KristianDKand not 19211:51
binBASHWell I took that myself from another tutorial KristianDK :)11:52
KristianDKhehe, ok :D just seemed weird to me :P11:52
binBASHjust can tell you it works for me like this ;)11:53
KristianDKhehe :P11:53
KristianDKwhat kind of web apps are you going to host btw?11:53
binBASHgettyimages.com11:53
binBASHand some subsites11:53
binBASHthings like gettyimageslatam.com11:54
binBASHour company provides software for image agencies and press content providers.11:54
KristianDKahh, cool :)11:55
KristianDKwhy does it say .aspx in the end of some of the files? :P11:55
binBASHKristianDK: Well currently we host only gettyimageslatam.com from Getty Images11:55
binBASHothers will follow11:55
KristianDKahh, ok - but the varnish is for php then?11:56
binBASHvarnish is a caching proxy11:56
binBASHit can cache all kind of files11:56
binBASHthe goal is to setup a geoip based system which distributes content from serverclusters which are spread world wide11:57
KristianDKyeah, i know - but sometimes you can interact with it from the scripts - at some point i saw some tutorials with it11:57
KristianDKthats cool :-D11:57
binBASHyeah, you can purge the objects from scripts for example11:58
binBASHso it will reload the cached objects from the source11:58
binBASHMust have for image changes ;)11:58
KristianDKhehe, yeah, i guess they would normally cache for quite some time11:59
binBASHDon't want to serve old thumbnails when user uploaded new pic for example ;11:59
KristianDKtrue :P11:59
KristianDKanyway, my macbook pro is running out of battery - i'll see you around later ;)12:00
binBASHsee ya ;)12:00
binBASHI have free day now.12:00
e-DIO-tyo!12:29
uvirtbotNew bug: #566560 in samba (main) "samba server requires smbpasswd -a user constantly" [Undecided,New] https://launchpad.net/bugs/56656012:41
e-DIO-t!landscape12:42
ubottuLandscape makes the management and monitoring of Ubuntu systems simple and effective by combining world-class support with easy to use online management tools. https://landscape.canonical.com/12:42
Italian_Plumberhow much of a threat, really, are viruses contained in Powerpoint presentations, i.e. ones passed around in email forwards?13:25
RoyKfor the mail server?13:26
Italian_Plumberfor the pc13:26
* RoyK points to channel name13:26
Italian_Plumberoh sorry wrong channel13:28
lauhello, I am running 8.04 and have an issue with apparmor13:43
lau $ sudo /etc/init.d/apparmor restart13:43
lauReloading AppArmor profiles Error: Could not allocate temporary file. Profile /etc/apparmor.d/usr.sbin.mysqld failed to load13:43
lau: Failed.13:43
lauhttp://paste.ubuntu.com/418567/ any idea ?13:44
zuljdstrand: ^^^13:44
ivoksbrb13:47
ScottKzul: Would you have a chance to upload ivok's dovecot-postfix changes today?13:49
ScottKIf not, I'll do it tonight.13:49
zulScottK: not yet13:49
zulScottK: but I was going to look at it today13:50
ScottKzul: That'd be great.  Thanks.13:50
* ScottK is busy with $WORK, car repair, and fixing clamav today.13:50
ijhhonuibjhnhas anyone had issues with Ubuntu Server running on hyper-v won't show more than ~139GB for hard drive size?13:52
ijhhonuibjhnI have a 500GB VHD attached but Ubuntu sees is as around 139GB and can't find anyone else seeing a similar situation13:53
zulsmoser: ping can yo have a look at #564355?14:16
smoserbug 56433514:18
uvirtbotLaunchpad bug 564335 in launchpad-foundations "changing ones password renders both old and new passwords invalid" [Undecided,New] https://launchpad.net/bugs/56433514:18
zulsmoser: crappers https://bugs.edge.launchpad.net/ubuntu/+source/eucalyptus/+bug/56435514:18
uvirtbotLaunchpad bug 564355 in eucalyptus "Second euca-run-instance request in same security group causes eucalyptus to remove network assoicated with security group" [Undecided,New]14:18
=== kirkland` is now known as kirkland
=== cjohnston is now known as cjohnston|uds
=== cjohnston|uds is now known as cjohnston
ivokszul: could you push this one?14:44
ivokszul: https://bugs.edge.launchpad.net/ubuntu/+source/drbd8/+bug/56283214:44
uvirtbotLaunchpad bug 562832 in drbd8 "module drbd8 update kernel from 2.6.32-16 to 2.6.32-20" [Medium,In progress]14:44
zulivoks: i have it open in my web browser already,,,once I get through the daily traige Ill get to it14:45
ivokszul: awesome, thanks14:45
flybackflyback> ubuntu server box14:55
flyback<flyback> 8.x lts whatever it is14:55
flyback<flyback> console only14:55
flyback<flyback> upsmon, perl, mabye some bare bones compiling tools14:55
flyback<flyback> what roughly should I be looking at disk space wise14:55
flyback<flyback> basically it monitors a ups and then ssh logs into 30 hosts and executes a vmware esx/esxi or server shutdown script14:55
flyback<flyback> I think I am around 700 meg or so so I could almost get away with 1gb flash14:55
smoserkirkland,14:55
smoserhttps://bugs.edge.launchpad.net/ubuntu/+source/eucalyptus/+bug/56435514:55
uvirtbotLaunchpad bug 564355 in eucalyptus "Second euca-run-instance request in same security group causes eucalyptus to remove network assoicated with security group" [High,New]14:55
da65anyone using liferay?14:57
lauI found a work around in order to set up a mysql multi instance on my hardy server15:03
lauBut I had to disable apparmor mysql :(15:03
lil_cainYou should just have to modify the policy.15:04
lauI tried https://wiki.ubuntu.com/DebuggingApparmor but was not able to set the policy properly15:04
lauany idea, suggestion appreciated :) http://paste.ubuntu.com/418567/15:04
jdstrandlau: we need the denied messages from dmesg/kern.log15:05
_rubenflyback: 1gb flash is pushing it with a default -server install, 2gb should be fine .. when using 1gb you might wanna strip it down after install, or use alternate install cd to do minimal install (not sure how much smaller that'd become)15:05
flybackno X btw15:06
laujdstrand: ok, something like ? kernel: [1146644.138980] type=1503 audit(1271684949.075:317): operation="mknod" pid=7594 parent=7568 profile="/usr/sbin/mysqld" requested_mask="w::" denied_mask="w::" fsuid=113 ouid=113 name="/var/lib/mysql2/mysql/db.frm"15:06
flybackyeah I was thinking 2 gig might be the safe point15:06
_rubendefault install is around ~700 megs indeed, but you want enough spare space to be able to run upgrade and stuff like that15:06
_rubenflyback: my fileserver at home runs from 2gb flash15:07
flybacknice15:07
flybackthis is just a little mini-itx box to monitor a ups15:07
flybackand send shutdown scripts to some vmware esx/esxi hosts15:07
flybackand some others15:07
lauthe problem always occured when sudo mysql_install_db --user=mysql --datadir=/var/lib/mysql2/15:07
flybackthx guys15:08
flybackoh here's a tip15:08
flybackthey are cheap on ebay also15:08
flybackhttp://webdevsys.com/lightsOut.htm15:08
flybackI already found use for 2 at home and 2-3 at work15:09
laumy assumption was to add a line like /var/lib/mysql2/ in /etc/apparmor.d/usr.sbin.mysqld15:09
flybackand if you read carefully they work with non-hp's (minus a few features)15:09
jdstrandlau: just add the following:15:10
jdstrand  /var/lib/mysql/ r,15:10
jdstranderr15:10
jdstrand  /var/lib/mysql2/ r,15:10
jdstrand  /var/lib/mysql2/** rwk,15:10
lil_cainwhat does the 'k' mean?15:10
jdstrandlau: then do: 'sudo apparmor-parser -r /etc/apparmor.d/usr.sbin.mysql15:10
jdstrandlil_cain: allows locking15:10
laujdstrand: do you mean http://paste.ubuntu.com/418622/ ?15:14
laujdstrand: sudo apparmor_parser -r /etc/apparmor.d/usr.sbin.mysqld returns nothing (echo $? is 0)15:15
jdstrandlau: that is correct and that is what apparmor_parser should return15:16
laujdstrand: with you apparmor mysql config and after restarting apparmor service,15:17
launow sudo mysql_install_db --user=mysql --datadir=/var/lib/mysql2/ is ok :)15:18
laujdstrand: is it good to add lines like /var/run/mysqld/mysqld2.pid w, /etc/mysql/my.cnf r,15:19
lauerr, jdstrand: is it good to add lines like /var/run/mysqld/mysqld2.pid w, /etc/mysql2/my2.cnf r,15:19
jdstrandlau: if mysqld needs to use those files-- absolutely15:19
jdstrandlau: you can also check to make sure it is confined with 'sudo aa-status'15:20
laujdstrand: ok, I tried aa_status previously, reading https://wiki.ubuntu.com/DebuggingApparmor15:20
jdstrandlau: cool, good luck! :)15:21
laujdstrand: what is the relevant info in the kernel log above ?15:21
lauI was not ale to analyze it and extract any substance to solve the issue15:21
fallbackhello, trying to set up a bridge performing NAT for several KVM guests as well as allowing several KVM guests to have external IP's; can anybody help?15:22
lauexcept not allowed to create db table15:22
jdstrandlau: profile="/usr/sbin/mysqld" requested_mask="w::" denied_mask="w::"... name="/var/lib/mysql2/mysql/db.frm"15:22
lausince it is comming from audit does this meqn it is an apparmor output ?15:22
laumean15:23
jdstrandlau: that tells you what denied it (the profile), what access was needed (requested_mask), what was not provided by the profile (denied_mask) and the file in question (name)15:23
jdstrandlau: apparmor uses 'audit', yes15:23
jdstrandlau: in Ubuntu 10.04 LTS, there is a handy apparmor_notify command that can be used to summarize the logs in a more human readable form15:25
jdstrandlau: in earlier releases, you have to just look at the dmesg/kern.log or if using auditd, /var/log/audit/audit.log15:26
lauok, jdstrand, can you point me to a kernel audit reading ? I have no clue how it works and why ? what ?15:26
lauok audit is a connex service to dmesg ?15:26
jdstrandlau: the 'audit' message is generated by the kernel15:27
lauok, apparmor uses the 'audit' level message in order to log into /var/log/messages15:31
lauother services may also use that kernel log level message15:31
lauthat is why if I suspect apparmor to create pbs, I should probably grep audit /var/log/messages15:31
lauis this good a approach jdstrand ?15:32
jdstrandlau: kern.log generally-- if you log them to /var/log/messages, that would work too15:33
jdstrandlau: 'grep audit /var/log/kern.log' should help you a lot15:34
fallbackhello, can i ask about ubuntu-server, running KVM?15:43
lil_cainDon't ask to ask, just ak.15:44
lil_cain*ask15:44
fallbackThanks; i'd like to double-check certain issues i'm having. I'm trying to set up a bridge that allows several guests to have external IP addresses, while also providing NAT for several guests on the internal network range15:46
fallbackthe bridge comes up fine, but i can't get internet access to the private guests; should i send the firewall script or something?15:47
ivoksno you can't, this is fedora channel15:50
ivoksoh, sorry, wrong channel :)15:50
Picis/fedora/ubuntu/15:50
ivoksfallback: ok, so KVM should be bridged, while others should be nated?15:50
fallbackseveral guests are in a private range in a load-balancing configuration; access should be granted from the outside using port forward to the virtual IP. Another guest running FreeBSD and DirectAdmin should be accessible directly15:53
fallback(because DirectAdmin demands a public IP)15:53
zulivoks: can you update the changelog in your dovecot bzr branch15:56
ivokschangelog?15:56
ivokszul: isn't that extracted from bzr? :)15:57
zulivoks: bug number etc15:57
ivoksbug number... there isn't one15:57
ivoksthe bug that was reported was on similar issue15:57
ivokswell, you might say this upload fixes it15:57
ivoksok, let me update it15:58
zulthanks15:58
ivokszul: like this? (commit 70)16:05
Jeeves_ARGH!16:45
=== jldugger is now known as pwnguin
jpdsJeeves_: My sentiments exactly.16:54
uvirtbotNew bug: #566721 in squid (main) "package squid 2.7.STABLE7-1ubuntu12 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/56672116:56
e-DIO-twell! TTL reached: it's time to leave!16:59
e-DIO-tbye!16:59
gzmaskwhy am I keep getting "FinishedVerify: Not enough resources (VmTypeAvailability{type=VmType{name='c1.medium', cpu=1, disk=5, mem=256}, max=0, available=0} < 1: vm instances." after "euca-run-instances -k mykey -t c1.medium emi-DE8D1064" ??17:15
masu3701i was able to create a samba share and access it from my other pc on the network...but how can the client pc drag and drop files to the share?17:23
mirko_c' è nessuno italiano ?17:28
gzmaskMy node controller is not talking to the CLC, what would I do? I checked the /etc/eucalyptus/eucalyptus-ipaddr.conf and manually set the ip addresses but still doesn't work.17:41
=== jeffesquivel is now known as desocupadolector
gzmaskI even ran the "euca_conf --no-rsync --discover-nodes" and still nothing17:43
=== desocupadolector is now known as deslector
gzmaskAnd my registration.log shows:17:48
gzmask2010-04-19 10:39:08-06:00 | 3242 -> Calling walrus Walrus 142.3.31.15817:48
gzmask2010-04-19 10:39:08-06:00 | 3243 -> Calling storage cluster1 storage 142.3.31.15817:48
gzmask2010-04-19 10:39:08-06:00 | 3245 -> Calling node cluster1 node 142.3.31.15817:48
gzmask2010-04-19 10:39:08-06:00 | 3239 -> Calling storage cluster1 storage 142.3.31.15817:48
gzmask2010-04-19 10:39:08-06:00 | 3244 -> Calling cluster cluster1 142.3.31.15817:48
gzmask2010-04-19 10:39:08-06:00 | 3238 -> Calling walrus Walrus 142.3.31.15817:48
gzmask2010-04-19 10:39:08-06:00 | 3241 -> Node 192.168.122.1 is already registered.17:48
gzmask2010-04-19 10:39:08-06:00 | 3245 -> Node 142.3.31.158 is already registered.17:48
gzmask2010-04-19 10:39:09-06:00 | 3240 -> Cluster cluster1 is already registered.17:48
gzmask2010-04-19 10:39:09-06:00 | 3238 -> Walrus 142.3.31.158 is already registered.17:48
gzmask2010-04-19 10:39:09-06:00 | 3244 -> Cluster cluster1 is already registered.17:48
gzmask2010-04-19 10:39:09-06:00 | 3239 -> SC for cluster1 is already registered.17:48
gzmask2010-04-19 10:39:09-06:00 | 3243 -> SC for cluster1 is already registered.17:48
pmatulisgzmask: use pastebin please18:09
zulgzmask: please use pastebin18:10
uvirtbotNew bug: #566803 in augeas (main) "/usr/share/augeas/lenses/dist/iptables.aug should use a different path" [Undecided,New] https://launchpad.net/bugs/56680318:21
zulnxvl: ^^^18:37
=== RootChaos[h] is now known as RootChaos
zuljib: mysql 5.0 totally gone from lucid18:38
ScottK\o/18:41
Davieyzul: The concern I have is that people who explicitly installed mysql-server-5.0 won't have an upgrade path.18:41
ScottKThanks for seeing it totally out of the archive and not just out of Main.18:41
nxvlzul: working on it18:42
nxvlzul: wait augeas is in main18:42
zulnxvl: yeah it is ;)18:42
nxvlzul: ok, will work on it later today18:42
zulScottK: dovecot is uploaded as well18:42
ScottKzul: Great.18:43
ScottKJust waiting for a Debian upload of clamav to merge and I think server stuff I'm worried about for Luicid is done.18:43
gzmaskzul: sorry I was unaware of the long log file. anyways, I got the problem fixed with the help from nerko_ and he smells a potential bug. Here's how I got it fixed: http://ubuntuforums.org/showthread.php?p=9144875#post914487518:56
smoserhggdh, is it possible for me to modify an image and try to recreate https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/566792 ?18:57
uvirtbotLaunchpad bug 566792 in cloud-init "UEC guests sometimes fail on consuming user data" [Undecided,New]18:57
jiboumanszul++19:07
libertiyhi everyone i was reffered to here from ubuntu19:27
libertiyi wondered if it would be possible to have qmail on ubuntu with qmail toaster19:27
RoAkSoAxkirkland: what does '<number>!' with red backgroun in byobu means?19:30
hggdhsmoser: yes19:33
hggdhgo ahead, the environment is set up19:33
smoserhggdh, cempedak?19:33
hggdhcempedak is the CLC, yes19:33
smoserk19:33
DavieyRoAkSoAx: Pending updates19:33
RoAkSoAxDaviey: thanks! :)19:34
Davieynp19:34
hggdhsmoser: topo2, cempedak=CLC, mabolo=walrus, marula=CC, santol=SC, (sapodilla|soncoya)=NC19:34
smoserhggdh, how often does this happen ?19:35
libertiyanyone knows of an easy way to install + manage postfix mailboxes?19:35
RoyKlibertiy: well, it's linux after all, so you can run what you like, but see https://help.ubuntu.com/8.04/serverguide/C/dovecot-server.html for a good imap server19:36
smoserhggdh, other question, where did you get "20100419.1/UEC"19:36
smoser20100419.1 is not available anywhere19:36
hggdhsmoser: last 200 runs, at least 5 times19:36
libertiyi found out sudo apt-get install postfix it looks good  i found devocot indeed :P19:36
hggdhsmoser do you want me to save the current logs before you start?19:37
smosersure19:37
RoyKlibertiy: postfix works well19:37
smoserhggdh, i'll need instruction on how to run also19:37
smosergive me 10 minutes to get an image registered19:37
libertiyi come from centos with qmail so this is something different19:37
libertiyi hope a small challange :)19:37
RoyKit shouldn't be very hard19:37
libertiywhen installing postfix with sudo apt-get install postfix i dont get imap with it i guess right? i need to seperatly install devocot19:38
RoyKno, postfix is an mta, not a poa19:38
RoyKso yes, install dovecot for mailbox access19:39
binBASHHi RoyK19:39
RoyKhi, bashy :)19:40
libertiyguys sudo apt-get install dovecot-postfix gives package not found19:41
libertiydo i need to set  a remote repository for packes in the ubuntu "rpm" manager?19:41
binBASHRoyK: Damn, I have to migrate from qmail, to postfix at some day this week :)19:42
libertiyim sorry if in not into the correct terms here, just wonder , i guess basic principes are the same19:42
libertiyhehe i never had problems with qmail though binBASH19:42
binBASHlibertiy: Here it crashes on mails comming from 1/4 of all mailservers19:42
binBASHreally drives me nuts, but maybe it's caused by a plugin / patch.......19:43
hggdhsmoser: I used the base install from 20100419.1, and the UEC from 2010041919:43
libertiyhmm thats a shame to hear, but sometimes it can be nice to try other solutions and why not keeps you sharp ;p19:43
binBASHlibertiy: I'm using qmail since 200019:43
binBASHso it's a shame for me to move :p19:43
hggdhsmoser: running the single user test is set up. I would still have to create the accounts for the multi19:43
smoserah. iso 2010041919:44
hggdhsmoser: but the single test is where I got the last failure19:44
smoserthat makes since19:44
hggdhwhy?19:44
libertiyi havent really looked into the differences on qmail and postfix, but i guess thats a discussion for another channel19:45
smoserhggdh, ok. i've registered emi-2710162919:47
smoseri'm sniff testing it to see that the debug output that i wanted gets printed19:47
lamontlibertiy: qmail has a license that relegates it to multiverse19:47
smoserand then if so, run it in a test like yo uhave19:48
binBASHlibertiy: Like I said, maybe it's caused by a qmail plugin. I'm using qmail-spp19:49
binBASHIt has a plugin which looks up sender ips against dns blacklist19:49
libertiyhmm i havent used that i used it very basic to host mailboxes for projects and customers19:49
binBASHso spammers will be rejected and not accepted by the server19:49
hggdhsmoser: OK. Tell me when you are ready19:49
smoserready19:50
hggdh:-)19:50
hggdhsmoser: let's do it as 200 runs, when the error happens we can stop it19:50
binBASHlibertiy: Well I do not want to use it any longer. What I want is. Have Mails accepted by the server and put them into a SPAM folder19:50
smoserk19:50
binBASHjust like gmail does for exmaple19:50
binBASHhowever I dunno how to configure spamassassin yet19:51
hggdhall you need to do: cd ~/uec-testing-scripts; ./uec_test.py -c config_single.yaml19:52
hggdhyou may want to put it in the background19:52
smosermodify config_single for my ami19:52
smoserright?19:52
hggdhdammit19:52
hggdhyes, of course19:52
hggdhdoing it19:52
smoserdone19:52
binBASHsmoser: What happens btw. if vms in uec are rebooted?19:52
binBASHWill they be deleted?19:53
smoserno.19:53
smoserreboot should come back up19:53
binBASHok19:53
smoserbinBASH, terminate is "go away"19:53
hggdhsmoser: then just run it as I pointed above. Results are written to ./resutls/single*19:53
smoserand good bye data19:53
smoserhggdh, was there user data provided to the instance ?19:55
smoserhggdh, how do i know when i see it fail ?19:56
smoser(you can attached to screen session there: screen -x -r smoser)19:57
hggdhsmoser: no consumer data19:57
hggdhattached. No real errors so far (apart from instances that seem to have failed to start)19:58
binBASHsmoser: What is the best way to use local storage of the node inside the vm?19:58
binBASH... if network speed is only 100 Mbit19:58
binBASHmaybe local iscsi provider on the node?19:58
smoserbinBASH, hm.. i dont know. its not really covered.19:59
binBASHI think EBS is too slow on 100 Mbit ;)19:59
hggdhsmoser: all reschedules are instances to which we could not SSH. The script tries 4 times, I think, then considers the test a failure19:59
hggdhsmoser: a string of failures, right now20:00
smoseryeah.20:00
hggdhif you want you can grep the log for the instance id, and this will return all lines written for it20:01
smoserhggdh, so. you see that screen, right?20:01
smoser(and you have a terminal larger than mine)20:02
ARTSIOMHI!20:04
ARTSIOMtring to install sun-java6-jdk package on 10.04 and getting no installation candiadte found error (multiverse is enebled in sources list, had also tried apt-get update). Any ideas?20:05
smoserhggdh, i can just ctrl-c ?20:06
hggdhsmoser: yes, this should be trapped by the script, and it will terminate gracefully20:07
smoserk20:08
smoseri'll modify image for more debug and try again20:08
smoseri updated bug20:08
hggdhsmoser: cool, thank you.20:08
hggdhsmoser: I do see the screen and I have a very large terminal20:09
smoser:)20:09
hggdh:-)20:09
kirklandRoAkSoAx: man byobu20:15
RoAkSoAxkirkland: got it already :) thanks though20:16
RoAkSoAxkirkland: btw... you are perl programmer to right? Do you know anything about network programming in perl?20:17
smoserhggdh, this is easy to debug20:19
smoserhappens reproducibly enough20:19
kirklandRoAkSoAx: a fair bit; did some socket programming in Perl long, long ago20:20
hggdhyes, fortunately. What worries me is why neither Thierry, Mathias, or Dustin don't get it20:20
kirklandhggdh: what don't i get?  the oops?20:21
smoserhggdh, speed.20:22
smoserthe node comes up before the metadata service is all the way up20:22
zulhggdh: you are a freaking lightning rod20:23
smoserhggdh, i suspect that the node controllers in this system have much better IO20:23
smoserthan kirkland ttx or my crappy laptops20:24
smoserso the create instance happens much faster, starts, and the metadata service isn't up yet20:24
hggdhzul it seems I am :-(20:26
hggdhsmoser: so it is a timing issue...20:27
smoseri think so yeah.20:27
hggdhand yes, these machines are fast20:27
smoserwell, here i think its that IO is faster than cpu for this case20:27
smoseri'm guessing still20:27
RoAkSoAxkirkland: by any change.. do you know if it would be possible to capture a current SSH connection with a perl app and send data through that current connection, without having to create a connection through the scritp?20:27
smoserRoAkSoAx,20:28
smoser  ControlMaster auto20:28
smoser  ControlPath /tmp/.ssh-%r@%h:%p20:28
smoser?20:28
kirklandRoAkSoAx: ^20:29
RoAkSoAxsmoser: awesome, I'll look into it :)20:29
smoserRoAkSoAx, man ssh_config will tell you more about those20:29
smoseri have tha tin  my default .ssh/config20:29
RoAkSoAxsommer: ok cool. I'll look into it :) thanks.20:31
RoAkSoAxs/sommer/smoser20:32
erimar77ls20:35
erimar77whoops, lol.. sorry20:35
kirklandjdstrand: ping21:03
jdstrandkirkland: hi21:03
kirklandjdstrand: can you check my last comment to https://bugs.edge.launchpad.net/ubuntu/+source/mdadm/+bug/55742921:03
uvirtbotLaunchpad bug 557429 in mdadm "array with conflicting changes is assembled with data corruption/silent loss" [High,Triaged]21:03
* jdstrand reads21:03
kirklandjdstrand: i expect user "ceg" to come down hard on me. he always does.21:05
jdstrandkirkland: I haven't been following what it would take to fix it, but your comment seems reasonable21:05
kirklandjdstrand: there's one part that i left unwritten ....21:06
kirklandjdstrand: while it's easy to force this situation in a VM, i question the practicality with real hardware21:06
kirklandjdstrand: if a real disk "dies" and "disappears", they don't often just "come back", do they?21:06
jdstrandkirkland: I tried to convey something along those lines in the release meeting last week. I don't think it is something that most people would do, but if someone removes the disk to say test the array, or remove/move around some hardware or something, if the bug hits it is devastating21:08
jdstrandkirkland: so while an unlikely event, if it happens, ouchy21:08
kirklandjdstrand: fair enough21:08
kirklandjdstrand: i agree that it would be fixed in an ideal world21:09
kirklandjdstrand: but i don't think we can hack that into the mdadm's failure hooks easily21:09
jdstrandkirkland: not to mention, it is the test case in http://testcases.qa.ubuntu.com/Install/ServerRAID1. if someone does that on real hardware... again, ouchy21:09
kirklandjdstrand: how/why would someone do this on real hardware?  (i'm trying to clearly understand the test case, not being pedantic)21:10
jdstrandkirkland: I'm not suggesting that we try to rush something for lucid, but it seems it should be fixed in maverick21:10
kirklandjdstrand: excellent; if you care to +1 that analysis in the bug, that would be pretty cool!21:10
sbeattiewell, no one should be doing iso testing on live machines that they have data that they care about; I do for some tests, but I recognize that I'm risking an installer bug by having it toast a wrong partition.21:11
jdstrandkirkland: boot with both disks. shutdown, remove one. boot. shutdown, put in the other one, boot. put in the first first. boom21:11
kirklandjdstrand: right, but why would someone realistically do that?21:11
jdstrandkirkland: it isn't that far fetched that someone would do this to verify their array-- there is a reason it ended up in the test case21:11
kirklandjdstrand: i could drop my laptop in the bathtub too, boom!21:12
jdstrandkirkland: I agree that it wouldn't happen often. I'm just saying if it did happen, it is devastating total data loss21:12
sbeattiewelll, it can happen if you've got a squirrely controller.21:12
jdstrandkirkland: I think a user would expect the system to be hosed if it was dropped in a bathtub. I don't think total data loss is expected by adding back a drive21:13
kirklandjdstrand: sbeattie: alright, thanks21:13
kirklandjdstrand: should be fixed, Maverick issue/timeframe21:13
kirklandjdstrand: if the fix is "contained", an SRU is perhaps meritted21:14
jdstrandthat is fine be me. afaict, the issue was in karmic too21:14
jdstrandit would be nice to not have it in an LTS, so hopefully it is SRU worthy21:14
kirklandjdstrand: yup21:14
kirklandjdstrand: okay, thanks a bunch21:14
jdstrandkirkland: sure! :)21:14
kirklandsmoser: hggdh: okay ... ran 1000 instances on today's UEC, and uec-images:21:17
kirklandfailed: 4421:17
kirklandsuccess: 94921:17
kirklandsuccess_rate: 0.9499999999999999621:17
kirklandi'll tar up the results21:17
smoserplease.21:17
jdstrandsbeattie: I agree about the iso testing part on a live machine. I can imagine someone trying the non-install part of the test case, to be thorough and ensure raid is working properly. on real data without backups? pretty dumb, but it shouldn't be doing this...21:18
kirklandhggdh: where's that uec testing branch you had with some fixes?21:19
kirklandhggdh: did you give me that in irc or in email?21:19
kirklandhggdh: i forgot to merge that when i ran these tests21:19
jdstrandkirkland: added my +1 cent to the bug21:21
hggdhkirkland: it was in the email, hold on a sec21:22
hggdhkirkland: lp:~hggdh2/%2Bjunk/uec-testing-logged21:23
sbeattiekirkland|jdstrand: I have in fact suffered from a raid failure (under windows, alas) that was quite similar, due to a controller/electrical issues: disk 1 goes clicky, clicky, no spinnee; I replace disk 1 and try to sync it to disk 2; very shortly after sync starts, machine reboots; next reboot, system attempts to resync disks and decides the new disk 1 with nearly all zeros is the one to sync from.21:23
jdstrandouchy21:24
=== RoAkSoAx is now known as RoAk
=== RoAkSoAx_ is now known as RoAkSoAx
smoserhggdh, can i tell it collect all console logs ?21:42
smosereven on success ?21:42
hggdhsmoser not as written, but this is a small change. Give me 521:48
gzmaskApple SUCK: kvm-ok21:48
gzmaskINFO: Your CPU supports KVM extensions21:48
gzmaskINFO: KVM is disabled by your BIOS21:48
gzmaskHINT: Enter your BIOS setup and enable Virtualization Technology (VT),21:48
gzmask      and then hard poweroff/poweron your system21:48
gzmaskKVM acceleration can NOT be used21:48
gzmaskhow the hell do I go into the bios on a MAC?21:48
hggdhsmoser: I will change it to collect *all* consoles for all instance runs. This will be a local hack right now21:49
hggdhwhich is to say, do not rm uec_test.py from cempedak ;-)21:50
smoseryeah21:50
smoserhggdh, ok. i'm ready to run21:52
smoserhggdh, i have to run.22:00
smoseri would much appreciate seeing log output of this config_single run with emi-2817163722:00
smosermaybe run 200 times and just collect it all.22:00
smoserplease ?22:00
smoseri'll check in later22:00
libertiyi need a simple pop imap mailserver with terminal administration to add accounts and domains and virtual hosts, its for webhosting22:04
libertiyanyone can advise me on something?22:04
libertiyseems to be harder then i thought and i have no php so i skipp the webinterface, a terminal session to add some accounts would be okay also22:04
clrglibertiy: postfix? Very good mail server, but not specially adapted for webhosting.22:08
libertiyhow about exim?22:08
hggdhsmoser: will do22:08
libertiyive just red that seems a good choice22:08
libertiyelse i would choose qmail but that i a bit harder on ubuntu server22:08
libertiyjust need it for some clients like 1522:08
libertiyall info@theres.com and need some way to easily manage adding clients and passwords without messing with 1000s of config files22:09
clrglibertiy: I never used exim, can't advise you on that.22:09
libertiywhat would you use then on ubuntu clrg?22:09
clrglibertiy: postfix22:10
libertiyfor webhosting?22:10
libertiyelse i hve to go back to centos to server but thats not handy i have to setup that all from scratch22:10
libertiythis ubuntu imafge im on now is very clean and memory safe and secure22:11
clrglibertiy: As e-mail-server. I work in the hosting business as well, but we only have very large customers, for which we make individual solutions. We use postfix for alarming per mail.22:11
libertiyjust have to add the mail server to it somehow and im done22:11
libertiyokay then postfix will be it,do you know of a way to easily manage accounts from the terminal?22:11
libertiysince im all ruby on rails now i cannot run the postfix admin which is php22:11
libertiyand i dont feel like installing php to my server just for postfix admin22:12
lamontlibertiy: mostly, I use vim22:12
libertiyjust some config file editment thus ;p is that cost a lot of time?22:12
libertiyor is it just 1 config file with the client details22:12
clrgliberty: It doesn't matter. Do the procedure once, then write a script which does the work for you.22:13
clrgliberty: Is this what you are looking for? http://postfix.wiki.xs4all.nl/index.php?title=Virtual_Users_and_Domains_with_Courier-IMAP_and_MySQL22:14
libertiysomething like that indeed but than more tailered for ubuntu with imap support ireally need that also22:15
uvirtbotNew bug: #566869 in samba (main) "package samba-common 2:3.4.7~dfsg-1ubuntu3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,Invalid] https://launchpad.net/bugs/56686922:15
libertiywhich makes it a unpleasent task for someone tired and its late here ;p perhaps better check into it tomorrow22:15
libertiythats what i need sortoff clrg thx altough i dont want to use postfix webadmin since i dont host php anymore22:17
libertiybut it could be something to look into22:17
libertiyor zimbra but thats heavey on the memory22:18
lamontzimbra is also heavy on the violation of APIs in postfix.22:18
=== RoAkSoAx_ is now known as RoAk
=== RoAk is now known as RoAkSoAx
mok0Anyone here familar with mailman w. postfix?22:34
mok0I can't understand the howto here: https://help.ubuntu.com/community/Mailman22:34
uvirtbotNew bug: #566736 in mysql-dfsg-5.1 (main) "mysqld does not start reliably..." [Undecided,New] https://launchpad.net/bugs/56673622:44
=== libertiy is now known as libertiy|away
* clrg wishes everyone a pleasant evening22:59
=== erichammond1 is now known as erichammond
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates

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