/srv/irclogs.ubuntu.com/2010/02/25/#ubuntu-server.txt

=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
=== dendrobates is now known as dendro-afk
bobsomebodyim trying to figure out what would cause mysql "Can't connect to local MySQL server through socket" error to be produced01:33
bobsomebodyim benchmarking a script that needs to be scalable and I initiaded 300 mysql_connects in php, i get about 30 of the above errors01:34
twbThe mysql client has this stupid thing where connecting to "localhost" is a special case that makes it use sockets.01:38
twbThat's the only time I've seen that error.01:38
kirklandsmoser: around?01:43
kirklandsmoser: does this look familiar?   * Excellent, working condition, nothing wrong with it01:43
kirklandsmoser: sorry ... wrong paste01:43
kirklandsmoser: http://pastebin.ubuntu.com/383371/01:43
bobsomebodytwb, what would you recommend as a 'fix'?01:43
twbbobsomebody: you connect to 127.0.1.1 or something that's not hard-coded to be a stupid special case01:43
twbOr better: use postgres or sqlite, depending on your use case.01:44
bobsomebodytwb, i cannot believe "that" cost me 6hrs of my life01:51
bobsomebodyty none the less01:52
twbbobsomebody: that was all it was?01:52
twbChrist.  F*cking mysql.01:53
bobsomebodyyes01:53
bobsomebodymy sentiments exactly...01:54
twbSo yeah, I reiterate my recommendation of postgres/sqlite01:57
kirklandsmoser: looks like https://bugs.edge.launchpad.net/ubuntu/+source/cloud-init/+bug/525675 again :-/02:00
uvirtbotLaunchpad bug 525675 in python-boto "20100222 images fail to boot in UEC (HTTP error 500 retrieving ephemeral0 metadata)" [Wishlist,Confirmed]02:00
bobsomebodytwb, ive considered it many times02:04
bobsomebodytwb, this one requires mysql by the client02:06
twbI try to educate my clients :-)02:07
bobsomebodyme 2, im just a little uneducated in this area02:08
bobsomebodyok back to work it seems, thank you again twb, i will make it a point to read up on postgres02:16
Roxyhart0hi i am creating folder to new user and it is creating with owner dnslog02:23
Roxyhart0somebody know when it happen?02:24
axisysuname -a does not tell me if i am running a server or desktop .. lsb_release -a does not disclose it either .. how do i find it ?02:49
zulhappy happy joy joy02:51
jasonmchristoshi i already have installed ubuntu cloud, 1 controller and 1 node, my goal is to install elg on a virtual server running on top of the cloud how do i now install a virtual server to the cloud?02:55
jasonmchristosim guessing somehow i need to create an image by installing elgg on a regular lamp server then duplicating the image and installing it to the cloud, am i correct??02:56
Roxyhart0 somebdy know why when i create a new account on ldap it doesn work..if i add permisions to some folder it take dnslog and not the user02:57
twbAre the xtables kernel modules part of the -generic kernel packaging?02:59
twbI can see xtables-addons-source, but no pre-rolled packages for the official kernels02:59
axisysone of my ubuntu is not telling me in motd, when pkg is available .. rest tells me when new upgrade is available.. where do i look to fix it?03:05
kirklandaxisys: sudo apt-get install update-notifier-common03:06
axisyskirkland: thanks a lot03:07
axisyskirkland: any idea why other servers dont have that pkg but still motd is dynamic with new upgrade03:09
kirklandaxisys: what version of ubuntu server are you running?03:09
twbWTF03:09
axisyskirkland: never mind .. i am wrong about it03:09
twbxtables-addons-common: /lib/xtables/libxt_CHAOS.so03:09
axisyskirkland: i do have the -common03:09
kirklandaxisys: ls -alF /etc/update-motd.d/03:09
kirklandaxisys: that should show you the scripts that generate your motd03:10
axisyskirkland: yes i have that dir now.. thanks03:10
cefdoesn't the "packages to update" stuff belong to landscape-common?03:11
cefhang on.. could be thinking about a different thing03:12
twb"The actual locale definitions are not part of this package, these are shipped in the language packs and are installed and removed automatically."03:12
twbGrumble -- that'd explain why my live image takes so flipping long to build en_US.UTF-8 during boot03:13
twbIt's probably doing an apt-get update and apt-get install in the background03:13
axisyskirkland: according to uname -a this one server is not a server , but a desktop .. is there a easy way to convert a desktop to a server.. if it too much i dont care.. essentially they are same without the WM .. correct ?03:15
kirklandaxisys: more or less03:15
kirklandaxisys: you'd need to remove a ton of desktop packages, and install the linux-server kernel03:15
cefaxisys: about the only difference that comes to my mind is the kernel03:16
twbkirkland: depends if you pick "desktop" in tasksel during the install03:16
twbIIRC the server CD's default preseed also disables installation of localization packages.03:17
GraflanIs there anyone here thats familiar with streaming VLC?03:19
jasonmchristosGraflan: ive done it b403:28
jasonmchristosusing the gui03:28
GraflanI can get it to stream without a problem but when I want to stop it I can't seem to figure it out03:28
GraflanI'm doing it with the command line03:29
jasonmchristosrun an http controller03:34
jasonmchristosand log in and it will look just like the gui and hit stop03:34
maxagazhi03:37
maxagazcan I use cp with a list of files returned by a pipe ?03:38
maxagaz... | cp -r > my.directory/03:38
persiaNo.03:38
persiaBut you can cp -r $(...) my.directory/03:38
persia(subshell vs. pipe)03:39
persiaNote that there exist (large) limits to the number of entries in a single command line.03:40
maxagazpersia, what if the files are given one by line, and not separated with spaces ?03:40
persiamaxagaz: Doesn't matter.  $() converts all classes of whitespace into spaces.03:41
persiaNote that this does break down in cases where you are dealing with filenames containing whitespace.03:41
maxagazpersia, great... thanks  a lot!03:41
GraflanI figured out one thing I was doing wrong, I hit ctrl+z instead of ctrl+c ....z just suspends it03:45
jasonmchristosdoes the karmic uec image have lamp like the standard iso?03:57
jasonmchristosin otherwords is the karmic uec identical?03:57
jasonmchristosuec image i mean03:57
axisyshmm so i should tasksel to pick ubuntu-server .. will that work.?04:08
axisyskirkland, cef ^04:08
axisystwb: i jumpstarted and probably picked generic image04:09
twbaxisys: that would depend on what yo uwant04:09
axisystwb: well.. it gets annoyed when motd says i need to upgrade openoffice .. stuff i would not get if i had installed server version.. so want to avoid any desktop app to take up server resource.. i am runnign it on x4120 .. so i have a power machine.. so i guess i could just leave it alone04:11
axisysand dont mess with removing desktop image and put server image04:11
twbaxisys: that's because the default behaviour pulls in localization, which (stupidly) includes oo.org dictionaries.04:12
axisystwb: gotcha04:12
twbaxisys: unless you seriously screwed up, you shouldn't have OO itself installed04:12
twbaxisys: just browse to the "localization" section in aptitude and purge the relevant -write packages.04:12
axisyscorrection: it is a sun x410004:13
axisystwb: ok04:13
Sakarajust performed a dist-upgrade on a server I have and now the system has become unbootable04:14
axisyssudo aptitude search localization shows `p localization-config .. '04:14
SakaraGrub Error 15 is the error message I recieve04:14
axisysSakara: i can grub-install could fix that w/ a live cd04:15
SakaraI tried to dpkg-reconfigure grub from a chroot with a live cd with no success04:15
axisyss/i can/i think/04:15
Sakaraaxisys: grub-install is a program?04:15
axisysSakara: yes part of grub pkg04:16
Sakarafdisk -l shows under the system heading that the partition is Linux LV04:17
Sakarawill that be a major problem/headache for grub?04:17
axisysSakara: grub04:22
axisysSakara: grub> find /boot/grub/stage104:23
twbGRUB Legacy doesn't understand LVM.04:23
axisyswait .. if you are using grub2 there is no stage1 i dont think in that folder04:24
Sakaraok will try chroot and apt-get install grub204:24
axisysSakara: i found the steps to fix it04:28
axisysSakara: let me know if you need it04:28
Sakaraaxisys: I would like that alot04:31
Sakarajust fired up a live cd session and chrooting atm04:32
axisysSakara: https://wiki.ubuntu.com/Grub2 go to section "Recover Grub 2 via LiveCD"04:32
axisysthen you may want to visit the "Error 15 - File not found" section under "Errors"04:33
Sakarayup I did have a read of that04:36
Sakarahave done it a couple of time before on other broken systems04:36
axisysSakara: heh04:36
Sakararebooting now with grub2 install04:36
Sakaralooking good04:37
Sakaraits firing up now04:37
Sakarayup fixed04:37
Sakarachroot into the system and apt-get install grub2 fixed the error 15 problem04:38
axisyssweet!04:40
jasonmchristoson a lamp server where is the default www directory?05:58
pwnguin/var/www05:58
pwnguinyou can also check the apache conf files for clues05:58
jasonmchristosthanks05:59
jasonmchristosexperimenting trying to setup my own facebook type site06:01
jasonmchristosman im rusty trying to use the cp command to copy the contents of a directory do i use cp folder/ -T /destfolder/ ? if i want to copy everything in one folder to another?06:09
jasonmchristosim getting cp: extra operand `/home/zero/elgg1.6.1/index.php'06:10
pwnguinwhat is -T for?06:10
jasonmchristosspecify destination?06:10
pwnguini dont have dosbox installed, but im pretty sure thats not even true for dos06:11
pwnguincp src dst06:11
pwnguinbut since it's a directory06:11
pwnguincp -R src dst06:11
jasonmchristossudo cp -R /home/zero/elgg1.6.1/ /var/www/06:12
jasonmchristos?06:12
jasonmchristosit worked except i didnt want the actual directory copied06:13
jasonmchristossudo cp -R /home/zero/elgg1.6.1/*.* /var/www/   <-- will that work?06:14
pwnguinno06:14
pwnguinbut its close06:14
pwnguinUNIX doesn't require files to have a . extension06:14
jasonmchristossudo cp -R /home/zero/elgg1.6.1/* /var/www/*   <-- will that work?06:14
pwnguini think so06:14
jasonmchristosthanks looks like this worked sudo cp -R /home/zero/elgg1.6.1/* /var/www/06:16
pwnguinoh yea, didnt notice the second *06:16
jasonmchristos3. Create a database Using your database administration tool of choice (if you're unsure  about this, ask your system administrator), create a new database for Elgg. Make sure you know the username and password necessary to access this.06:41
jasonmchristoswhich tool do i use for ubuntu server?06:41
twbjasonmchristos: for toys, you want sqlite.06:52
jasonmchristostwb: im using LAMP i think it has mqsql up and running out of box06:53
jasonmchristosbut im nott sure how to create a new database06:53
jasonmchristosmysql> CREATE DATABASE database1;06:56
jasonmchristosthat made a file called CREATE06:56
jasonmchristosi dont think it worked properly06:56
twbjasonmchristos: I don't provide mysql support, sorry.06:57
jasonmchristosok thanks anyway06:57
NobleWhat packages do I need to get php5 to speak with PostgreSQL?07:26
=== sabgenton_ is now known as sabgenton
jmarsdenNoble: php5-pgsql07:53
sorenhggdh: stepmaker is part of the test system. To invoke it, change the test definition from "type = steps" to "type = stepmaker".07:57
sorenhggdh: This is likely a useful reference: http://www.linux-kvm.org/page/KVM-Autotest07:58
jiboumansmorning guys08:04
loolsoren: Mind dropping the preflight_check() locale-gen bits?  I much prefer failing at the end of the vm build, even if that's a time/resource waste, rather than risking my hosts' locales  ;-)08:30
jasonmchristoswhere are the msql databases located on the LAMP karmic server?09:17
=== sabgenton_ is now known as sabgenton
jussi01Just a reminder to ops in this channel, if you renewed your operatorship, you are now expected to idle in #ubuntu-ops :) See you there.09:28
lifelessjussi01: hi09:40
lifelessjussi01: speaking of operatorship; my motu irc ops membership is up for renewal09:40
jussi01ji lifeless09:40
jussi01hi even :)09:40
lifeless:)09:40
jussi01lifeless: did you get the email this morning that allows you self renew?09:41
lifelessah yes,cool, doing so.09:41
lifelessI didn't notice the difference from the day before09:41
jussi01yeah, thats why they came 2x :)09:41
lifelessthanks ;)09:41
jussi01(yes, I screwed it up the first time)09:42
lifelessseparate topic, for the floor.09:42
Steel__Hello to all, i have installed the linux source / headers and recompiled my kernel, then i copied ./arch/x86_64/boot/bzimage /boot/My-Kern, edited Grub and restartet my Machine. I see the Kernel starting but it doesnt load the modules/drivers it just hangs at the beginning. How do i get the information what i did wrong ?09:42
lifelessAny opinions on the likelyhood of success running hardy with a lucid kernel ?09:42
twblifeless: why do you want to do that?09:42
persialifeless: Theoretically newer kernels with older userspace is safer than the opposite way about, but you'd want to test virtually first (because there's sometimes stuff that got deprecated that userspace needs).09:44
lifelesstwb: I have a new backup drive; I want to put ext4 or possibly something more sexy still on it.09:46
twbBackups should not be sexy09:47
lifelesstwb: Its my home mail/web box. So it runs LTS; I will upgrade to lucid, just not this week.09:47
lifelesstwb: You asked why :)09:47
twbI'm just saying that your rationale is bogus09:47
lifelesstwb: thats fine; I want to do something bogus.09:47
twbOffhand I would expect it to explode due to udev, but not much else.09:47
persiaDoes udev fail to ignore unknown events?09:48
twbDunno.09:48
persiaI thought it did, but if not, yeah, that would be a big source of issues.09:48
twbBut I know that upgrading udev and the kernel out-of-step has caused me lots of troubles in the past09:48
ptswhat is the status of the clusterstack in lucid? A few days ago I would install pacemaker-openais, but now that packages is non-existent when I'm trying a full reinstall with daily build from 23. feb. The clusterstack testing wiki says to run apt-get install pacemaker, but the dependency there is openhpi not openais. Anyone know what's going on?09:48
ptsAfter some googling I guess I can rephrase my question :) where did pacemaker-openais go?10:00
twbAccording to rmadison, it's currently only available in karmic/universe10:01
twbIf this were debian, I'd look at the debian-release mailing list for a removal request from its last Debian maintainer.10:01
persiaThe process is precisely the same for Ubuntu (check for removal requests in Debian).10:02
twbpersia: haha10:02
persiaThe exceptions show up in the sync blacklist (http://people.canonical.com/~ubuntu-archive/sync-blacklist.txt )10:03
persiaThe exceptions to that are the few Ubuntu-local packages that exist.  There used to be a removals page for those, but I haven't been able to find it recently.10:03
twbpersia: if I was some peon, how would I have discovered that file?10:03
twbI guess it's linked from some wiki page10:04
persiawiki.ubuntu.com/ArchiveAdministration used to have it.10:04
persiaThe reason it's in my browser history cache is because someone mentioned it to me when blacklisting something in #ubuntu-devel a couple weeks ago.10:04
twbpts: you'll have to google harder than I did; I couldn't spot it on gmane in thirty seconds.10:07
ptstrying to learn how pacemaker/openais works so we can Implement it in our network, but when trying to install pacemaker it depends on heartbeat, and for what I can understand that is more or less obsolete10:11
ptsSo I am a bit confused :D10:11
twbYay for HA computing on a student's minix knockoff10:12
=== sabgenton_ is now known as sabgenton
_rubenheartbeat as a full HA stack is obsoleted, heartbeat as just a messaging layer (together with pacemaker for instance) is very much alive/active10:15
ptsI see, but isnt openais a better choice? As I've understood Heartbeat is maintained by Linbit, and they will only maintain it for stability. But then again I see that corosync is pulled as a dep of pacemaker, but I havent fully understood the relationship between corosync and openais10:21
lifelesswish me luck10:30
kaushalhi10:35
kaushalIs there a tool available to deploy same war to multiple tomcat server ?10:35
lifelessso, lvm doesn't come up; digging :P10:49
sabgentonanyone famillar with grub2?11:25
sabgenton(grub karmic)11:25
sabgentoni set grub to bot i diffren menu entry rebooted and nothing changed I'm guessing grub failed to boot that entry and reverted to the last working entry?11:35
sabgentonis there a log of what happened someware?11:35
sabgentongrub211:36
sabgentonin karmic11:36
kaushalhi12:08
kaushalis there a way to start some specific services during boot up in a sequential order ?12:08
kaushalfor example 1)tomcat 2)mysql 3)dns server12:09
Cromulenthmm I have a strange problem - I can ping www.mydomain.com, mydomain.com and mail.mydomain.com properly but ns.mydomain.com and ns2.mydomain.com don't work - my zone file for BIND is set up the same way for both - is there any reason that some of my DNS stuff works but the nameservers don't?12:20
jiboumansCromulent: your dns servers may simply not respond to ping? (not all machines do)12:26
Cromulentjiboummans: its all the same machine which is what is perplexing :)12:27
CromulentI think I'm going to leave it for a bit and see if it is a DNS propagation issue12:28
jiboumansCromulent: and all the same interface? what does 'host ns.mydomain.com' tell you?12:28
Cromulentit gives me the correct IP address12:29
Cromulentbut ping says unknown host12:29
jiboumansCromulent: that's somewhat strange. i trust that a ping of that ip works just fine12:34
jiboumansCromulent: at which point your 'ping' is acting strange by not resolving teh same way 'host' does, but the system runs fine12:34
Cromulentyep ping to the IP address directly works fine - everything else is fine including as I say pinging other parts of the same nameserver - but the nameserver records themselves seem to be playing up12:38
Jeeves_compliments on the Lucid server installer. To whom it may concern :)12:53
cjwatsonthanks :)12:57
Jeeves_It installed almost without issues.12:57
ograalmost ?12:57
Jeeves_grub(2) didn't want to install12:57
pmatulisthat's pretty serious!13:10
Jeeves_Lilo did, and i'm doing stuff with raid1 and have been fiddling around with lvm13:15
Jeeves_so that might be the issue13:15
leniosanyone knows where i should put 'aide --check' to have it to check on each boot?13:17
leniosgrub2 is supposed to be able to boot on raid113:18
Jeeves_lenios: I know13:21
Jeeves_But i've seen more installers having issues with it13:22
Jeeves_btw, there allready was a bug about lucid server staying in TTY7 and not showing TTY0, right?13:22
acalvoeasiest way to deploy a load-balanced with failover web/mysql server?13:28
ttxkirkland: ping13:35
ttxI already filed a bug about the network/metadata issue with CLC separated from CC13:35
ttxhttps://bugs.launchpad.net/ubuntu/+source/eucalyptus/+bug/52764813:35
uvirtbotLaunchpad bug 527648 in eucalyptus "Running instances can't be contacted in CLC+Walrus / CC+SC / NC topology" [High,Confirmed]13:35
ttxso no need for you to file one13:36
Jeeves_acalvo: Hmm, I would say keepalived and mysql ring-replication13:36
acalvothanks! (I've just googled and found pound and mod_proxy_balancer for apache)13:37
ttxkirkland: I'm currently trying to reproduce using plain ISOs, just to make sure it's not something we introduce in preseeds. It definitely used to work, so I wonder when it regressed :)13:37
Jeeves_acalvo: That would still introduce a single point of failure13:38
acalvowell, I'll take a closer look at your suggestions13:38
leniosyou can read that too https://help.ubuntu.com/community/HighlyAvailableLAMP13:38
kaushalhi13:40
kaushalcan someone guide me about http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html ?13:40
kaushali did downloaded the TCD13:40
kaushalAfter extracting i see only build.xml  docs  images  lib  LICENSE13:41
kaushalNOTICE  RELEASE-NOTES13:41
kaushalgot stuck and not able to proceed13:41
acalvolenios: thanks13:41
lenioskaushal, well it says you have to install it13:45
kirklandttx: okay13:45
kaushallenios: i did not understand13:46
kirklandttx: i saw your second email before i filed one13:46
kirklandttx: agreed, this is a recent regression13:46
ttxkirkland: I suspect that some of the networking setup is no longer applied, or something like that13:46
lenioskaushal, "An installation is however required if you wish to use the Tomcat Client Deployer (TCD)."13:47
kaushallenios: really confused13:47
kaushalI have already TC server running13:48
leniosi guess you have to install it like any other webapp on tomcat13:48
kaushalok13:48
kaushallenios: i reread http://tomcat.apache.org/tomcat-5.5-doc/deployer-howto.html13:53
kaushalstill not clear13:53
ttxkirkland: reproduced issue with plain ISOs, fwiw13:53
kaushalplease guide13:53
kirklandttx: right; i saw it across the board; all 3 methods i tested installation13:53
kirklandttx: i wonder if our ephemeral "fix" regressed this13:54
kirklandttx: that's the only thing that's changed related the metadata in a while13:54
kirklandttx: unless it's a problem at another layer13:54
ttxkirkland: It's not metadata that is failing13:54
ttxit's plain networking13:55
ttxyou can ping karmic instance from CC/SC13:55
ttxbut not from CLC/Walrus13:55
kirklandhmm13:55
ttxso it's just the network between instance and CLC/Walrus that's broken. A side effect being... metadata can't be accessed from the instance13:56
smosercan i get at somewhere that shows this ?13:56
smoseri can hack an image and register it to put some ssh keys inside already13:56
smoserso we don't have to worry about the metadata service not being there, you'll be able to get in and see what is going wrong13:56
kirklandsmoser: the datacenter setup13:58
smosero.13:58
smoserok13:58
ttxlooks like the bridge device is set up correctly...13:59
uvirtbotNew bug: #527648 in eucalyptus (main) "Running instances can't be contacted in CLC+Walrus / CC+SC / NC topology" [High,Confirmed] https://launchpad.net/bugs/52764814:01
ttxkirkland: is VNET_PUBINTERFACE / VNET_PRIVINTERFACE supposed to be set on CCs ?14:03
kirklandttx: http://manpages.ubuntu.com/manpages/lucid/en/man5/eucalyptus.conf.5.html14:05
kirklandttx: according to that, it's in the "       Options affecting CC, NC only:" section14:06
kirklandttx: i wrote that manpage based on an email i got from nurmi14:06
ttxkirkland: ok, thx14:06
kirklandttx: if you haven't seen that manpage yet, it's really good; writing it really demystified eucalyptus.conf for me14:06
ttxkirkland: I'll have to read it14:07
ttxkirkland: VNET_*INTERFACE is set correctly, so it's not coming from there...14:07
ttxkirkland: as far as I can tell, network is set up like it's supposed to...14:07
ttxkirkland: I'm running out of ideas and need to spend time on some other things... i suspect we'll need Dan's help on this one.14:11
ttxsmoser: having an image that can boot and be sshed into without requiring metadata service would probably help in debugging14:12
smoserits being uploaded now14:12
ttxsmoser: cool, thanks14:12
smoseri *think* that emi-B1F6186B should come up, and be reachable by ubuntu@cempedak14:12
smosertesting that assertion now14:12
ttxi'm pretty sure you'll be able to ssh into that one from the CC, but not from the CLC14:12
smoseri'm on cempedak14:13
ttxand that you won't be able to query the metadata service at all.14:13
smosershoot.14:13
smoserit went immediately to shutting_down14:14
ttxsmoser: the karmic images boot alright14:14
ttxyou can ping them from CC / it's just that you can't SSh into them because no authorized_keys is queried from metadata14:15
ttxbut... you can't ping them from CLC14:15
ttxthat kinda proves that there is an issue in networking between the components.14:15
smoserso it didn't boot because i forgot --instance-type c1.medium14:18
smoseri think small fails because root filesystem is 2G and small disk is 2G, leaving no room for space14:19
smosers/space/swap/14:19
ttxkirkland: ping me when you've 5 minutes14:24
smoserttx, ok, where should i be able to reach this instance from ?14:26
ttxCC14:26
kirklandttx: i have all the time you need14:28
ttxkirkland: wanted to quickly discuss which bugs we should escalate to eucalyptus on todays call, trying to prioritize14:29
kirklandttx: okay, you want to call me?14:29
ttxkirkland: no, we can discuss it here, should be quick14:29
ttxI think we should mention bug 525989, bug 527648 and bug 52650614:30
uvirtbotLaunchpad bug 525989 in eucalyptus "Eucalyptus runs images without ramdisk with a default ramdisk" [High,Confirmed] https://launchpad.net/bugs/52598914:30
uvirtbotLaunchpad bug 527648 in eucalyptus "Running instances can't be contacted from CLC in CLC+Walrus / CC+SC / NC topology" [High,Confirmed] https://launchpad.net/bugs/52764814:30
uvirtbotLaunchpad bug 526506 in eucalyptus "[karmic]: attaching volume to /dev/sda results in non operational node" [High,Confirmed] https://launchpad.net/bugs/52650614:30
kirklandttx: definitely14:31
ttxthe last one seems of lesser importance, but I'm scared by users taking out nodes just by running the wrong command14:31
kirklandttx: agreed14:31
ttxso if we can reproduce in lucid...14:31
ttxanything else I missed ?14:31
smoserkirkland, what host is the cc in the datacenter ?14:32
ttxbug 522204 is also an upstream fix, but it's less important, and we can suggest a patch, so i'd leave it out for the moment14:32
uvirtbotLaunchpad bug 522204 in eucalyptus "euca_conf --[de]register-nodes is brittle" [Medium,Confirmed] https://launchpad.net/bugs/52220414:32
kirklandttx: i'm looking14:32
kirklandsmoser: are there any standing euca2ools/boto issues?14:33
kirklandsmoser: seems like we've been staying on top of working around them as they come up14:34
smosernot that i'm aware of.14:34
ttxkirkland: also if you agree with my comment on https://bugs.launchpad.net/ubuntu/+source/eucalyptus/+bug/519870, feel free to move it to cloud-init14:34
uvirtbotttx: Error: This bug is private14:34
kirklandsmoser: santol is the cc14:34
ttxsmoser: you'll have to copy keys over to connect from the CC14:35
kirklandttx: i do agree with your comment; i was wondering how to mark a bug as affecting the image itself14:35
kirklandttx: i suppose cloud-init is about as close as we can get14:35
ttxkirkland: yes, it's basically a ec2-init SRU for karmic and a respin14:35
ttxsmoser: you had a karmic refresh planned in the next weeks, iirc ?14:36
smoserttx, yes14:36
kirklandttx: done14:36
ttxsmoser: you think it's doable to do the hostname trick in the same run ?14:36
smoserhold on14:37
kirklandttx: that looks like the most critical short list14:38
ttxkirkland: Ok, thanks. I prefer us to sync before the call so that we come up with a sane argument :)14:39
kirklandttx: agreed14:39
ttx(the "importance" was correctly reflecting what's important, which is good) :)14:39
smoserttx, ok. so above, the hostname trick yeah, we can do that back into karmic.14:46
kirklandsmoser: okay, cool14:47
smoserttx, kirkland in data center, emi-B1E0185E is runnable.14:50
smoserit is mostly a static instance, and the ubuntu user on santol can go straight in14:51
kirklandsmoser: and ssh-able?14:51
smoseryeah14:51
kirklandsmoser: from santol14:51
kirklandsmoser: what about from cempedak? (the clc)14:51
ttxsmoser; right14:51
smoserright. go to santol, then ssh 172.19.1.314:51
smoseri can't get there from cempedak, as ttx expected, no ping either.14:51
ttxshoudl fail from clc .. and you should fail to query metadata from the instance as well14:51
ttxthat confirms my findings14:51
smoseryeah14:54
smoserfrom inside the guest14:54
smoser$ telnet 169.254.169.254 8014:54
smoserTrying 169.254.169.254...14:54
smosertelnet: Unable to connect to remote host: Connection refused14:54
smoserttx, kirkland i'll try to write a script to "fix" an instance14:54
smosererr, i mean an image14:54
smoserso it really does nothing on boot but has your keys embedded already14:55
gzurHi there, I'm running Ubuntu Server 9.10 and I'm gettins No space left on device errors all of a sudden, running "df- Th" shows me that I have 8.5 Gigs left on my ext4 primary filesystem- there are some other tmpfs with 200-500 MB free, so I don't understand why I'm getting this message14:58
netratgzur, are you using quotas? are you out of inodes?14:59
sorengzur: What does "df -ih" say?14:59
smoseralso, as non-root, there may be 5% reserved for root15:00
OmahnHi all. I just tried upgrading from 8.04 to 10.04 on a cloned VM and it failed immediately with:15:03
OmahnException during pm.DoInstall():  E:Couldn't configure pre-depend mountall for upstart, probably a dependency cycle.15:04
OmahnShould I report a bug on mountall or upstart? :)15:04
zulis there a way to cache ssh keys on the CLI15:05
netratOmahn, Exception during pm.DoInstall():  E:Couldn't configure pre-depend mountall for upstart, probably a dependency cycle15:05
netratOmahn, sorry about that https://bugs.launchpad.net/ubuntu/+source/update-manager/+bug/52760515:05
uvirtbotLaunchpad bug 527605 in update-manager "kubuntu 8.04 -> 10.04 upgrade fails, due to likely dependency cycle" [Undecided,New]15:05
Omahnta.15:05
Omahnnetrat: Does update-manager provide do-release-upgrade?15:05
smoserzul, what does cache ssh keys mean ?15:05
OmahnYes it does. :-)15:06
zulsmoser: nm figured it out15:06
Picissh-agent15:06
netratOmahn, sorry i'm not for sure.. I'm sticking with 8.04 for awhile until all the bugs get sorted out15:08
Omahnnetrat: We're trying to do as many test upgrades as possible to make sure all the bugs are caught as early as possible :-)15:09
netratOmahn, thanks for sorting all the bugs out for me!15:13
Omahnnetrat: You need to understand, I'm not sorting them, I'm just finding them ;-)15:14
gzurnetrat and soren: df -oh says Inodes: 2.3 - IUsed: 2.3 IFree: 1 IUse%: 100%, so yes I', out of inodes :)15:21
gzurthanks15:21
=== JaixBly_ZzZ is now known as JaixBly
gzurWhat does that mean?15:23
gzurcan I increase the number of inodes?15:23
netratgzur, i think the number of inodes is set when the filesystem is created... what are you using the filesystem for if you don't mind me asking?15:24
gzurStoring images used in a tiled web mapping service15:24
gzurIt's an obscene number of files/directories15:25
netratgzur, what type of filesystem? be back in a few15:25
gzurnetrat: ext4 I think15:26
gzurnetrat: ext4 for certain :)15:27
=== Guest26987 is now known as fahadsadah
netratgzur, the number of inodes is set at filesystem creation. i don't think you can increase that number afterwards15:41
netratgzur, normally the number of inodes is set with a bytes-per-inode ratio. check the man page for mkfs.ext4, the i, I, and N flags should be of interest15:43
gzuris it possible that the there might be junk inodes?15:45
gzurnetrat: and thanks for the man page ref - it's exactly what I need it seems.15:48
=== robbiew_ is now known as robbiew
panterhi .. i have problem with my own deb repository ... i have few own packages (mostly with scripts) .. and need to install and update this packages on several servers .... i followed this tutorial ... http://mediakey.dk/~cc/howto-create-your-own-debian-or-ubuntu-package-repository/ ... i can add repository to /etc/apt/sources.list but i can't see packages from my repo ... is there anybody who can help me?16:20
zulwhy not just use ppa?16:40
uvirtbotNew bug: #527875 in libvirt (main) "libvirt0 unable to operate due to missing essential files" [Undecided,New] https://launchpad.net/bugs/52787516:56
=== toabctl_ is now known as toabctl
oru_workin ubuntu with postfix/dovecot, i need to forward everything from one email address to the other, how can I accoplish this ?18:21
uvirtbotNew bug: #526944 in squid (main) "Unknown $NAME variable in squid upstart script" [Undecided,Fix released] https://launchpad.net/bugs/52694418:46
DittoheadI have recently setup a couple of 9.10 x86 servers for some LAMP and zenoss duties. I've added a new source for zenoss, but it kicks back a 407 Proxy Authentication Required for the zenoss source. Strangely, the others work just fine. It doesn't seem to be making an attempt to authenticate on the zenoss source. Any ideas?18:47
shanghi all, I am having some issue with likewise joining the domain. After the system reboot, it will take about 1 minute for the system to get the ticket from the windows server19:00
shangany direction that where I should look will be much appreciated!19:00
exobuzzany smartd experts? drive reported a bad sector (Current_Pending_Sector of 1).. i did a long selftest that failed on LBA 976768629. i tried reading from that block (dd if=/dev/sdv skip=976768629 bs=512) and it was fine! did a raid check/resync and no recoverable error. did another long selftest and the disk reported no errors but the Current_Pending_Sector and Offline_Uncorrectable are still not 019:07
exobuzzwill the pending sector not go until the block is rewritten ? despite the fact it seems to be able to read it now (or it seems it was a intermittent issue?(19:08
ivokskees: i'm here to answer any of your questions regarding heartbeat/openais/corosync/pacemaker19:15
keesivoks: ah-ha, excellent.19:17
keesivoks: so, what's the issue with 2.99 vs 3.0 ?19:17
ivokskees: 2.99 was mutant19:17
ivokskees: it was a development snapshot that worked at one point19:17
ivokskees: but since then heartbeat isn't the same19:18
ivokskees: in 3.0 it contains only portions of 2.99, while portions were split into cluster-glue and cluster-agents19:18
keesivoks: how soon do you think Debian will have the 3.0 stuff?19:18
ivokskees: and some parts were removed19:18
ivokskees: very19:19
ivokskees: actually, i'll be working with debian-ha-maintainers on adopting new stuff19:19
keesivoks: I would feel much better about it in an LTS if it were reasonably in sync with Debian.19:19
keesoverall, I'm find with heartbeat being in main from both an MIR and security perspective.19:19
keess/find/fine19:19
keesbut I would rather the discontinuity with Debian was solved first.19:20
ivokskees: i doubt new version will get in before beta119:20
ivoks(in debian)19:20
keesivoks: I'll comment on the bug and conditionally approve it.19:22
ivoksok19:22
keesivoks: on a totally separate topic, do you have any idea where ACL/xattr support stands with tar?  I know you'd looked into it briefly at one point.19:23
ivokskees: haven't look at it19:23
ivokskees: there were some issues with the patch19:23
keesivoks: yeah, the email thread seems to have died out a bit.19:24
ivokskees: i'm not sure there was any change after that19:24
ivokswell, that's just bad.19:24
keesivoks: what confused me is that RH seems to carry that flawed patch; I'd figure it would cause a lot of pain for them.19:24
ivoksbut it looks it's working19:24
keesyeah, weird.19:26
ivokskees: if you have any other questions about cluster stuff, ping me19:28
keesivoks: sure thing.  thanks!19:28
areayhi all... does anyone know of a good guide to getting ldap/kerberos working? all the guides i've found either don't work, don't make sense, or are outdated...19:40
unit3Ok. It looks like nfs mounts in fstab attempt to happen before the system brings up my main bridge device on boot.19:41
ivoksunit3: karmic?19:41
unit3yep.19:41
unit3is there an easy way to reorder this? get it to activate the bridge device so I have networking before it tries to mount nfs stuff?19:42
ivoksunit3: you have /home on nfs?19:42
unit3yeah19:42
unit3exactly. :)19:42
ivoksunit3: workaround i did was mounting nfs share to /srv/home19:42
ivoksunit3: and then in rc.local19:42
unit3oh, bind it to /home.19:42
unit3gotcha.19:42
ivoksunit3: mount -a followd by mount bind /srv/home to /home19:42
unit3I guess that'd work in the short term. do you know if there's a launchpad bug I can follow about this?19:43
ivoksthis was fixed in lucid19:43
unit3oh, is there a package I can backport to fix it?19:43
ivokshopefully, there'll be a backport at some point19:43
ivoksfix is in 'upstart' package19:43
ivoksand i wouldn't recomend backporting it :)19:44
unit3oh, I guess because there's tons of other changes that'd need to accompany it?19:44
ivokscorrect19:44
ivokslucid will be out soon19:44
unit3I could still use a link to the launchpad bug then, just to try and track down the changes and maybe make my own patch.19:44
unit3Yeah, but I have broken production servers now. :P19:44
ivoksi know19:44
ivokssame problem i had19:44
ivoksbut i'll be using workaround till lucid is released19:45
unit3fair enough. I guess I'll put that in place for the time being.19:45
unit3thanks. :)19:45
ivoksnp19:45
ivokswell, 'night all19:47
=== lenios is now known as amelie
JamesCardWhere should I place my web files? Using IIS I usually have them in separate directories away from the webroot. I don't think I want them all in /var/www. What makes sense for a public webserver built on Ubuntu?19:55
RoAkSoAxJamesCard, you can place them where ever you want. You *don't* have to place them under /var/www19:56
RoAkSoAxJamesCard, however, you will need to edit the root in the webserver's config file19:57
JamesCardRight, I know I can create aliases. Just wondering what is suggested as best practice.19:57
JamesCardThis server will have a single user, but we'd rather not have to deal with sudo every time we want to touch any of our web files.19:58
da65is it easy to set up irc on my new ubuntu server,19:59
JamesCardKeeping them in the admin user's home directory seems most convenient, but are reasons we might not want to do that?19:59
RoAkSoAxJamesCard, well, if you are using apache, and you create a public_html file in $HOME of each user, you can do that19:59
RoAkSoAxor either, give different permissions to whereever your files are19:59
=== amelie is now known as lenios
JamesCardOn Windows servers we usually create a C:\Projects\Web directory to contain everything the webserver should see. Perhaps these files make sense in /opt or /srv -- they are, after all, not user-specific files and don't seem to belong in /home.20:06
RoAkSoAxJamesCard, whatever makes your live easier :). I mean /var/www is just a default as many other things windows has for default directories...20:09
JamesCardRoAkSoAx: thanks.20:11
RoAkSoAxJamesCard, no prob.20:12
JamesCardAccording to <http://www.pathname.com/fhs/pub/fhs-2.3.html#SRVDATAFORSERVICESPROVIDEDBYSYSTEM> it looks like /srv is the "proper" place. Makes sense to me, at least. Thanks.20:16
alvinunit3: The bug you're looking for is bug #47077620:47
uvirtbotLaunchpad bug 470776 in mountall "retry remote devices when parent is ready after SIGUSR1" [Medium,Fix released] https://launchpad.net/bugs/47077620:47
unit3oh, thanks. :)20:51
mdeslaursoren: is this a known issue with the latest vmbuilder? http://paste.ubuntu.com/383941/20:55
mdeslaursoren: also, vmbuilder --help seems to be broken...didn't that work before?20:56
sorenmdeslaur: Not entirely a known problem. Not entirely surprising either, now that I think about it, though.21:09
sorenGah.21:10
soren22:09:53 < soren> mdeslaur: Not entirely a known problem. Not entirely surprising either, now that I think about it, though.21:12
sorenmdeslaur: If you file a bug about it, I'll bet it'll be fixed within the next 12-14 hours.21:12
mdeslaursoren: hehe, will do then :)21:13
* soren ponders21:13
mdeslaursoren: bug #52802721:17
uvirtbotLaunchpad bug 528027 in vm-builder "vmbuilder crashed with AttributeError in set_defaults()" [Undecided,New] https://launchpad.net/bugs/52802721:17
uvirtbotNew bug: #528027 in vm-builder (universe) "vmbuilder crashed with AttributeError in set_defaults()" [Undecided,New] https://launchpad.net/bugs/52802721:26
decembrehello21:47
decembreI have some probleme with usb !21:47
decembremy lsusb does return anything except the Linux root hub !21:47
unit3decembre: what kind of devices do you have plugged in via USB, and what release of Ubuntu are you using?22:23
udhaecho request22:50
* lifeless requests22:50
lifelesskirkland: I've upgraded my home server to lucid; so I will be able to try those UEC bugs22:51
kirklandlifeless: well done!22:51
lifelesskirkland: but also, I'm going to stab at getting all services on one machine: DHCP, DNSd, UEC*22:51
kirklandlifeless <---- ambitious man22:51
lifelesskirkland: well, it was a bit of a disaster: 4 dependency bugs found and reported; up to 3:30ish am.22:51
kirklandlifeless: btw, Karmic UEC -> Lucid UEC upgrade is known broken22:52
lifelesskirkland: it will be an experience22:52
kirklandlifeless: i'm tackling that on Monday22:52
lifelesskirkland: thats ok, this machine was running hardy.22:52
kirklandlifeless: ah22:52
lifelesswhich is why I found all these bugs ;)22:52
udhacan I ask a noob questions without being flammed here? haven't been in this channel before...22:53
udha*question22:53
lifelessudha: yep, we're nice. We might point you at a better  forum, but we can't tell until you ask the question.22:53
Roxyhart0sombody know why when i create a new user (ldap) and i do permision in a folder for this user is just take permision as dnslog and not as the "user"22:54
udhalifeless, thanks, I'm just downloading ubuntu 9.10 server (64bit) for a headless box at home, and noticed for the first time the enterprise cloud features for multiple systems, but was wonding if someone can explain the basics of it?22:55
lifelessUbuntu Enterprise Cloud?22:55
lifelessudha: ^ is that what you're referring to?22:55
udhalifeless, yes that's right22:56
lifelesshttp://www.ubuntu.com/cloud/private has some high level info22:57
lifelesswhat sort of basics are you interested in: capabilities? how it works? what it lets you do?22:57
udhathanks lifeless, haven't seen this page before, reading now...22:57
Pirate_Hunterhi can anyone provide me a linux alternative to what this link from m$ proposes http://networkedblogs.com/p28446238 thanks22:58
udhaSo with the cloud options, could I say, run a LAMP website and have it scale automatically across machines in the cloud as it's usage expands?22:59
udhaOr use it for a high-availability DNS cluster etc?22:59
udhaWhat would happen if a machine failed?23:00
Pirate_Hunteranyone? even knowing udha might be talking about what I am looking for23:01
udhaPirate_Hunger: I'm having a look at that link now...23:01
Pirate_Hunteroh ok I found it quite interesting specially the whole application and cloud working together23:02
udhaHaving MS and Government tied together even closer than they are already makes me very afraid23:02
udhaPirate_Hunter: that video and article are talking about cloud services online right?23:04
udhaI'm still watching the vid, 4 mins..23:04
Pirate_Hunterudha, not exactly it talks about the cloud service as well as having tailored software on the server. However the main benefit is both cloud and the server (software) working together23:05
Pirate_Hunterthere is quite a lot of benefits to that I just want to know if linux has something similar as an alternative even if it hasn't progressed to that level23:06
udha:Pirate_Hunter: I only just came here to ask about Ubuntu's cloud services myself, so I'm no authority on the subject, but I'll need to see more than a paper-cut-out video to form any kind of opinion about the Software+ idea23:07
udhaI've just started reading this if it's of any help: http://www.ubuntu.com/system/files/introduction-to-cloud-computing_server_cloud.pdf23:07
udhaPirate_Hunder: Is that video/article talking about anything beyond SaaS?23:08
Pirate_Hunterfair enough I understand what you mean, I got quite hyped about this piece of news it is on the lines of what I was already thinking. I am currently designing a server so looking at the options available and will read that link might contain something that will help me out23:09
udhaPirate_Hunder: lifeless has answered a few Qs for me already, and would probably be better suited to your question, I'd stick around to see if you get a reply23:09
Pirate_Hunterwill do, however it is late evening/night here so not sure how long I can be here for, you could just pastebin your part of the convo for me to read23:11
udhanot enough to require pastbin:  < lifeless> http://www.ubuntu.com/cloud/private has some high level info23:12
lifelessudha: UEC provides VM images on-demand using a programming API23:12
udhaI haven't followed up with anything else yet23:12
lifelessudha: so yes, you can use it to do a LAMP based website with automatic scaling; there are various folk writing tools to use the programming API to do just that.23:12
udhalifeless: Ok, so it is a Virtual Hyper Visor sortof thing, like VMWare ESX or XEN Server etc?23:12
lifelessit builds on top of those23:13
lifelesson top of kvm specifically23:13
lifelessso you have as 'node controller' machines as you want23:13
udhalifeless: thanks, I'd have expected it to use kvm, thanks for clarifying23:13
lifelessand when you use the API to start a vm it picks a machine that has enough capacity and starts the vm there, gives it an IP address etc23:13
udhalifeless: so I'd need two physical machines to start playing with it right?23:14
lifelessif you have an existing network with DHCP and DNS working, you can add a single machine to that network to play with.23:14
udhalifeless: I know I started with home use, but for the cloud I'm thinking of datacenter use, no DHCP, just static IPv4/6 address assignments23:15
lifelessit works fine in that configuration, though there are bugs that can affect getting started. The Topologies page in the ubuntu help wiki documents the config for a single machine setup23:15
lifelessudha: you want dhcp23:15
lifelessfor this, in the datacentre23:15
udhaDHCP across 100+ switches and routers?23:15
lifelessthats what its designed for23:15
lifelessits not really intended for networks the admin can walk around to see each machine :)23:16
udhathe routers aren't going to forward that traffic without reconfiguration23:16
udhahang on, are we talking about the physical machine or the VM deployments?23:17
lifelessfor the VMs23:17
Roxyhart0hi there somebody know any irc tool for free?23:17
udhaRoxyhart0: irc 'tool'? like a client?23:18
udhaRoxyhart0: and for cli or gui?23:18
lifelessudha: but you can [and I would argue should] be using it for your machines too23:18
lifelessudha: you don't need to use it for your machines; you do for the VM's23:18
lifelessotherwise they can't act as templates23:18
udhalifeless: DHCP for customer equipment isn't really an option, it would actually complicate management and billing enourmously.23:19
lifelessudha: you can statically assign /via/ DHCP23:19
lifelessudha: have a reserved range for unknown machines - they would get firewalled off, can use that for bringing up new hardware23:19
udhalifeless: each assignment is allocated to a specific port and vlan, unless we go for cisco's Unified fabric I don't know an easy way to automate this23:20
lifelessudha: anyhow, point is, you don't need to change your environment to do this; but you will need /a/ DHCP server to serve IP's to the VM instances brought up on node controllers23:20
udhalifeless: how about the primary could server?23:20
udharun DHCP3 or somethign on it?23:20
lifelessquite possibly23:21
udhalifeless: well it won't be hard to accomodate the dhcp requirement at any rate23:21
Roxyhart0hi udha icr as client with gui23:23
Roxyhart0urc*23:23
udhaRoxyhart0: mIRC is a popular one for windows, I've only use cli clients in linux though, I'm using irssi atm23:24
Roxyhart0thanks udha23:25
hggdhthere are xchat, pidgin, empathy/telepathy (graphical); also irssi and weechat (curses/terminal)23:26
Roxyhart0im looking for windows23:26
udhamIRC23:26
Roxyhart0thanks23:26
udhaunless times have changed since 10 years ago ;P23:26
cefthere is also a version of xchat for windows.. which is useful if you use xchat on linux having the same thing in both places'23:27
Pirate_Hunterno they havent it is still popular just annoying now they've done major changes on the design... well to say I can't use it and not frown23:27
Pirate_Hunterudha, thanks for that will continue reading it in 2-3hrs from now need to have some shut eyes before than take care23:28
udhaPirate_Hunter: take it easy23:29
ruben23 hi anyone used automysqlbackup..?23:31
udharuben32: I havn't, no. What does it do? Anything like MySQL replication sort of thing?23:33
udharuben32: or is it like a mysqladmin database dump wiht cron?23:34
ruben23udha: auto dump and have schedules23:35
udhais automysqlbackup an actual program? Or something you want to do?23:35
ruben23its a script, you can run23:36
ruben23on cron23:36
Roxyhart0hi someone know how i can unistall djbdns (tinydns) from a installation followed from http://www.howtoforge.com/perfect-djbdns-setup-on-ubuntu8.04-amd6423:39
sorenmdeslaur: Fix committed.23:42
udhaRoxyhart0: I haven't used that tutorial or djbdns before, but should it be: sudo aptitude remove <packagename>23:42
sorenmdeslaur: Took a bit longer than I'd hoped, but it should be pretty shiny now.23:42
* soren heads bedwards23:42
mdeslaursoren: thanks!23:56

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