/srv/irclogs.ubuntu.com/2009/10/16/#ubuntu-server.txt

afeijoI installed a ubuntu server into vmware. Everytime I power if up, I have to run sudo dhclient to make it get ip to work with my net. How to automatize it?00:04
wizardslovakafeijo what vmware you used?00:11
afeijosorry, it is virtualbox 300:13
afeijoI use vmware at office, I'm used to say vmware lol00:13
wizardslovaklol i never couldnt make ubuntu-server work in vbox00:14
afeijopretty simple, no problem there. I installed ubuntu 9.04 x6400:14
afeijoso, can I add dhclient to init.d or something?00:15
=== freeflyi1g is now known as freeflying
uvirtbot`New bug: #452655 in thunderbird (main) "Mozilla Thunderbird Presents Gap in Subject - Thunderbird does not compact /t into a space" [Undecided,New] https://launchpad.net/bugs/45265501:06
uvirtbot`New bug: #452665 in eucalyptus (main) "eucalyptus-cloud runs without any option set" [High,Triaged] https://launchpad.net/bugs/45266501:30
uvirtbot`New bug: #452669 in php5 (main) "cacti" [Undecided,New] https://launchpad.net/bugs/45266901:46
tiger2wanderHalo, has anyone known a way to avoid conflict between configuration interfaces file & network-manager?03:09
tiger2wanderAnyone here?03:11
twbBy purging network manager03:12
qman__you won't get much help with GUI tools here, try #ubuntu03:12
twbqman__: NM is a daemon, not a GUI03:12
twbIME NM is the single biggest cause of outages on Ubuntu systems, so I always make damn sure it is purged.03:13
qman__I only ever use it on desktops, because it's convenient for wireless03:13
qman__otherwise, it's gone03:13
twbI would only ever CONSIDER using it on a roaming host (i.e. laptop) with wifi.03:13
twbFor my own machine, I use wpa-cli.  For end users, I might consider wifi-radar as an alternative -- I haven't had a chance to investigate wifi-radar properly, but I hear good things about it (better than NM, anyway).03:14
twbIncidentally, NM isn't installed by default if you use the ubuntu-server install media, which is what you should be using for servers.03:16
tiger2wanderBefore, I have NW working properly. After I figure out interfaces configuration file then NW is not work but network still available :(03:16
tiger2wanderI see on Ubuntu's community document have notice conflict between them03:17
geniitiger2wander: When you configure network by manually editing interfaces file, networkmanager sees it is previously configured and does not do anything with it.03:20
geniiThis is the normal and proper behaviour03:21
uvirtbot`New bug: #452718 in bacula (universe) "Bacula cdrashed on install" [Undecided,New] https://launchpad.net/bugs/45271803:21
tiger2wandergenii, Can I avoid this check from NW?03:22
geniitiger2wander: As twb said, networkmanager is not the default for ubuntu-server installs and so not supported here.03:24
tiger2wandergenii, ah, ok thanks!03:26
twbgenii: well, stuff like postfix isn't installed by default either, so that metric isn't too accurate :-)03:27
tiger2wanderDifference between of Ubuntu Server & UEC are: UEC plus eucalyptus? any difference remain?03:32
twbNeither reload nor force-reload causes udev to update /dev/by-uuid; RESTARTING udev does.04:06
twbIs there a less brute-force way to update by-uuid?04:06
wizardslovakpeople04:08
wizardslovakhow can i connect to mysql from WAN?04:09
qman__wizardslovak, you have to tell mysql to listen on an IP04:09
qman__by default it listens on a local unix socket04:09
wizardslovakoo04:09
wizardslovakcan you point me how to do it?04:10
qman__it's in the main config, commented out04:13
qman__/etc/mysql/my.cnf, bind-address04:14
wizardslovakok it shows local adress04:15
wizardslovak127.0.0.104:15
wizardslovakshould i delete it and put my wan ip ?04:17
qman__put the IP to listen on, the one the local machine is using04:19
wizardslovakwait you lost me04:20
wizardslovakLAn ip or WAN ip04:20
qman__you can only listen on IP addresses assigned to the local machine04:21
qman__I don't know what your setup is like, you have to determine what that is04:22
wizardslovakok so server is on router04:22
qman__you set it to where you want to accept connections from, from the perspective of the machine running the service04:22
qman__also, if you're accepting connections over the internet, make sure you use strong passwords on all accounts04:24
qman__and keep in mind that mysql doesn't have encryption04:24
wizardslovakso i can connect to it from other pc across the town04:24
uvirtbot`New bug: #452754 in eucalyptus (main) "eucalyptus link local address should be labeled" [Undecided,New] https://launchpad.net/bugs/45275404:36
Bajangim trying to write a sh file that will start apache2, is this correct sudo /etc/init.d/apache2 start04:39
Bajangit keeps saying this when i try to run it sudo: ./start.sh: command not found04:40
tonyyarussobaffle: 'sudo invoke-rc.d apache2 start' is more correct.04:48
tonyyarussobah, he left, nvm04:48
tonyyarussochmod +x being his real problem of course...04:49
VK7HSEMan am I getting sick of denial ... this is a valid bug... #45140505:10
wizardslovakdamn05:30
wizardslovaki am sick and tired05:30
wizardslovaki cant config email server05:30
tonyyarussowizardslovak: "The Book of Postfix" is rather good btw.05:33
wizardslovaki got postfix:the definitive guide05:34
wizardslovakby o'reilly05:34
tonyyarussoWhat is it you're trying to do anyway?05:35
wizardslovakwell i did setup email server05:37
wizardslovakwhen i am sending email from outside i get it05:37
wizardslovakbut when i am trying to send it from here to outside i cant05:37
wizardslovakwhats the best book for dovecot?05:38
twbI create an LVM snapshot and then fsck it before mounting, to avoid noise in dmesg.05:45
twbIs fsck -a or fsck -y more appropriate?05:45
twbThe former seems to be "safer" as far as e2fsck is concerned, but fsck(8) makes me worry if I ever have this script deal with XFS or whatever...05:46
twbHow do I force a fsck of the root filesystem after a reboot?06:53
twbBefore upstart (graah!) there was an option to reboot(8)06:53
twbIIRC it just touches a file in the root directory06:54
tonyyarussotwb: The reboot option doesn't work anymore?06:55
tonyyarussotwb: the file was /forcefsck06:55
twbIt doesn't exist anymore AFAICT06:56
twbThanks.06:56
tonyyarussohuh06:56
twbI mentioned this to #upstart a while back, so maybe it is back post-LTS06:56
twbI'm still on 8.0406:56
twbtonyyarusso: /forcefsck worked06:58
uvirtbot`New bug: #307167 in nis (main) "NIS with LTSP" [Low,Incomplete] https://launchpad.net/bugs/30716707:06
Deaglebearhello i am in need of help setting up an ftp through ssh07:11
Deaglebear!ftp07:11
ubottuFTP clients: Nautilus (Places -> Connect to server), gFTP, FileZilla (for !GNOME); Konqueror, Kasablanca, KFTPGrabber (for !KDE); FireFTP (for Firefox); ftp, lftp (for !cli) - See also !FTPd07:11
nijabaGood morning07:14
nijabaDeaglebear: sftp maybe?  Do you need a client or how to configure it as a server?07:15
Deaglebearwell ok heres what im trying to do07:15
Deaglebeari have a counterstrike server and 3 webservers on one machine07:15
Deaglebearor will have07:15
Deaglebearand i wanna do an ftp for each of those07:15
Deaglebearso different people can log into each one but have different passwords and such07:16
Deaglebearim halfway familiar with ubuntu but i get really confused when having to do everything through command line07:16
nijabaDeaglebear: 'sudo apt-get install openssh-server' will install the ssh server, that comes with sftp capabilities.  Then create accounts for different users...07:19
Deaglebearok07:19
Deaglebearhow do i specify07:19
Deaglebeari mean i have that07:20
Deaglebearlike if i want user default to access only 1 folder07:20
Deaglebearor can u point me in a direction of where to learn about how to do that07:21
fallous_google07:23
Deaglebearwell ya duh ive tried doing that but i cant find any specific directions half of them require me to click on things and such07:23
fallous_http://ubuntuforums.org/showthread.php?t=100294807:24
fallous_first hit on my search07:25
Deaglebearwell what did u search for07:25
fallous_ubuntu sftp setting user directories07:25
Deaglebearheh07:27
Deaglebeari dont follow?07:27
fallous_search for setting up sftp on ubuntu, then use those instructions for restricting users to a single dir07:28
Deaglebearthats what i tried to do07:28
Deaglebearerr07:28
Deaglebearnm07:28
Deaglebeari thought i just went through this but its all good07:29
Deaglebearill just wait until someone that knows what they r doing from my friends list can do it07:29
Deaglebearty anyway07:29
Deaglebearhow do i search for a folders location07:41
Weasel[DK]Deaglebear, find -type c <foldername>      (please look at man find)07:43
Weasel[DK]sorry itts -d07:43
Deaglebearty07:44
Deaglebeari get a permission denied on accessing a folder how can i get around that08:17
Weasel[DK]sudo08:18
Deaglebearhow can i sudo through an ftp thing08:19
Deaglebearis there a way to lower permissions08:19
fallous_chmod08:19
fallous_and chown08:19
Deaglebearwell i think chmod messed up things08:21
Deaglebearcause not it says no directery found08:21
Deaglebearcan i delete a folder?08:21
simplexioDeaglebear: rmdir emtydirectory, rm directorywithstuff -rf, if its not found its not there08:25
Deaglebearty08:25
simplexioDeaglebear: chmod a+rwx dir, gives allusers all right, use u for users, g for group08:27
nijabathat's a nice paper on 9.10: http://searchenterpriselinux.techtarget.com/news/article/0,289142,sid39_gci1371418,00.html08:53
=== StrangeCharm_ is now known as StrangeCharm
StrangeCharmto what extent will a system with an ext3 driver be able to read and write to an ext4 volume?09:11
gamla_kossanStrangeCharm: not at all, afaik09:20
gamla_kossanif you lack the ext4 driver, you won't be able to mount the fs09:20
StrangeCharmgamla_kossan, there's no backwards compatibility at all, like ext3/2?09:21
gamla_kossanwell - I really don't know to be honest.09:22
andolStrangeCharm: You can, kind of. At least if we're to belive wikipedia :) http://en.wikipedia.org/wiki/Ext4#Features09:24
StrangeCharmandol, that makes it sound like turning on extents for the file-system will kill any backwards compatability. is that what you read too?09:26
kworkhey does anyone know smt like Cancerbero  http://cancerbero.sourceforge.net/ <-- but whats still on active development09:26
uvirtbot`New bug: #383084 in autofs (main) "autofs doesn't start on boottime and "ghost" option is being ingnored on HP machines" [Low,Confirmed] https://launchpad.net/bugs/38308409:26
gamla_kossanugh09:27
gamla_kossanrot in hell, autofs09:27
andolStrangeCharm: That's the way I read that article to.09:27
* andol actually rather like autofs :)09:27
gamla_kossanwell - this is odd. ubuntu machine. dovecot contains this: "protocols = imaps", but lsof -i -P shows pop3-logi and imap-logi services listening on 110, 143, 993 and 995. how odd.09:32
* RoyK installs windows vista on gamla_kossan's box09:32
gamla_kossananyone knows what might be goingoon?09:32
gamla_kossanRoyK: hehehe09:32
gamla_kossanandol: I'm sure autofs is great and all, it's just.. well.. the times I've had to deal with it it's been behaving in a way I don't understand.09:33
RoyKfscking eavesdropping swedes09:33
RoyK:)09:33
gamla_kossanso I guess it's more of a classic "I don't understand it therefore I don't like it" ignorance thing :/09:33
RoyKvel, du er svensk... :D09:33
* gamla_kossan makes a note to study up on autofs09:33
gamla_kossanRoyK: thanks ;)09:34
gamla_kossananyway - the dovecot thing. isn't that really really odd?09:34
RoyKerm - what dovecot thing?09:34
RoyKdovecot is quite odd, yes09:34
gamla_kossanwait, it's gotta be the wrong conf file09:34
RoyKperhaps PEBKAC?09:34
gamla_kossantahnks09:35
RoyK:D09:35
gamla_kossanmore like, I'm a rhel/centos kind of guy f09:35
gamla_kossan-f09:35
RoyKouch09:35
gamla_kossanyeah, wrong conf file.09:35
gamla_kossan(of course, multiple conf files, why not. great idea I'm sure ;)09:35
gamla_kossanhehe.09:36
kworkwhat do you guys use to scan your network for port open/close changes09:47
gamla_kossannmap09:48
kworkgamla_kossan,  changes, as of diff of scan from last time09:49
kworkso that i could monitor some network blocks, if some port open up there i could get alarm09:49
gamla_kossanI think I've read about some scripts that can do that09:50
kworkso far i have found cancerbero09:50
kworkbut last realease is from 200809:50
gamla_kossancheck out the nmap site, I think I might've read about it tehre09:50
kworkokey09:51
RoyKkwork: nmap -sT 192.168.0.*09:51
RoyKetc09:51
RoyKman nmap09:51
gamla_kossanRoyK: still, that doesn't do what he wants - log changes09:52
kworki dont want to reinvent the wheel with loads of bash scripts ontop of nmap09:52
kworksurely someone else has wanted something similar09:53
gamla_kossankwork: yes - like I said, check out the nmap site =)09:53
kworkyepyep will do it09:53
kworktnx for tip09:53
gamla_kossan=) np09:54
jpdskwork: -oN nmap-scan-$(date -I).log09:54
kworkjpds,  that would mean to diff with by hand09:54
kworkdiff it09:54
jpdsYep.09:54
RoyKhand-diffing shouldn't be a problem09:55
kworki would rather like something like cancerbero where i have web interface for overview09:55
RoyKI have even written nagios plugins diffing09:55
mrchrisadamswhat's the easiest way to check what environment variables are set on bash' commandline?09:55
RoyKenv09:55
kworkmralphabet, export09:55
bootsandallkwork, I found this yesterday but not looked yet... http://www.unspecific.com/nmap/diff/09:55
kworkbootsandall,  tnx ill look into it09:56
uvirtbot`New bug: #452901 in asm2 (main) "Copyright doesn't mention INRIA + France Telecom" [Undecided,New] https://launchpad.net/bugs/45290110:31
uvirtbot`New bug: #452919 in c3p0 (main) "Please enable testsuite during build" [Undecided,New] https://launchpad.net/bugs/45291910:56
=== diehaai is now known as thefish
uvirtbot`New bug: #452949 in groovy (main) "Please run testsuite during build" [Undecided,New] https://launchpad.net/bugs/45294911:21
SmokeyD1hey people. How can I change the default screen used by Ubuntu server edition for output? I have a laptop with a broken screen, so I want to modify the ubuntu server installation cd to use the external screen for output, instead of the laptop screen11:37
SmokeyD1I don't want to use a desktop cd for the installation because I want the ubuntu server edition installed on the laptop11:37
zoopsterSmokeyD1: simply plugging it in doesn't do the trick?12:05
SmokeyD1zoopster: allmost. Just figured it out. It is a powerbook with powerpc processor. It is not as straightforward there. You have to attach a usb keyboard and mouse to the machine, plugin an external monitor, powerup the powerbook and directly close the lid12:06
SmokeyD1if you close the lid quickly enough, the normal screen isn't used but the external one. From that point on you can use the external mouse and keyboard to start the powerbook the way I want (server install cd for instance)12:07
zoopsterSmokeyD1: rock on.12:08
CppIsWeirdwhat would be the best/easiest virtualization software to install on a ubuntu-server and manage in command line?12:13
RoyKCppIsWeird: virtualbox works for me12:14
RoyKCppIsWeird: I don't think there's a 'best' solution, just like there are noe 'best' distros, editors, operating system, women, men etc12:14
CppIsWeirdwell, that much is a given12:14
CppIsWeird:P12:14
RoyKbut wbox works well12:15
CppIsWeirdi was mostly looking for testimonials12:15
RoyKor xen12:15
RoyKor kvm12:15
RoyKor anything, really12:15
CppIsWeirdi have used virtual box on windows, you can use virtualbox fine through command line?12:15
RoyKyes12:15
RoyKeven on windows12:15
RoyKVBoxManage --help12:15
RoyK:)12:15
CppIsWeirdok, cool. that will be where i will start out then. Thanks. :)12:16
ivokswhat's nice with vbox is that you can share clipboard12:16
CppIsWeirdheh, theres already a new ubuntu release out.12:19
CppIsWeirdthey are fast12:19
RoyKwhee12:20
RoyKhm. no...12:20
RoyK13 days to go12:20
CppIsWeirdtill?12:21
CppIsWeirdoh, you mean 7.10 isnt out yet?12:21
CppIsWeird*9.1012:21
CppIsWeirdi just saw that they had a download for it on virtual box12:22
CppIsWeirdhow come when i ssh into my server i get the "you need updates" stuff, I've done apt-get update, and apt-get upgrade.12:24
CppIsWeirdis there something else?12:24
zoopsterCppIsWeird: what is telling you "you need updates"13:19
ivokszul: i see only corosync_1.0.0-5build1 in archives13:40
ivokszul: https://edge.launchpad.net/ubuntu/+source/corosync13:41
zulyeah what the hell am i on13:42
ivokscrack :)13:42
zulhttp://archive.ubuntu.com/ubuntu/pool/main/c/corosync/13:43
ivoksso....? :)13:44
ivokszul: take a coffe :)13:44
zulmeh13:45
zulnever mind13:47
ivoksbbl13:48
xperiahello to all. i have a strange url calling problem with apache on the ubuntu server. for some reason it change and crop the calling url and i dont know why this happen at the moment. in the access log i have such lines here. "[16/Oct/2009:01:12:08 +0200]" "GET / HTTP/1.1" 200 2975 "http://linuxperia.ch.vu/index.php?page=about"  as you can see the full url was croped to "GET /"14:30
xperiait should be however "GET /index.php?page=about"14:31
xperiawhy does this happen ?14:31
=== erichammond1 is now known as erichammond
=== mrchrisadams_ is now known as mrchrisadams
smoserkirkland, ping15:58
smoseryesterday you pointed me at a log of install UEC, you still have that?15:58
smosererr. i misplaced it. can you send again15:58
smoserfound them, never mind16:01
kirklandSmokeyD1: yo16:05
kirklandsmoser:16:05
kirklandsmoser: hello16:05
smoserhi. i got what i needed.16:05
smoserfor anyone interested, last night represented completely untouched "automated publish to ec2" of nightly uec builds. from here on out, that should "just happen".16:05
smosersee http://uec-images.ubuntu.com/karmic/20091016/16:06
smoserthe published-ec2.txt file shows what got published.16:06
iranactivistHi room16:07
iranactivistDoes /var have to be fscked first or after / /home . I'm trying to make sense of the fstab format16:07
smoserone question for you kirkland16:07
smoserwhen the cluster controller asked for a group of IPs16:07
smoserwhat does it do with those ?16:07
smoserdoes it run its own dhcp server ?16:08
aubresmoser: are there major changes in the 1016 uec images over thr 1014 ones?16:09
smoserno.16:09
smoseractually nothing.16:09
aubresmoser: tyvm16:09
smoserthere is only 2 outstanding issues with them that i'm aware of.16:09
smosera.) mattiaz opened bug 45188116:10
uvirtbot`Launchpad bug 451881 in ec2-init "ssh public key fingerprint not available on console in UEC environement" [High,Triaged] https://launchpad.net/bugs/45188116:11
smoserb.) bug 428692 (ec2 only)16:11
uvirtbot`Launchpad bug 428692 in linux-ec2 "ec2 kernel needs CONFIG_BLK_DEV_LOOP=y and other config changes" [Medium,Triaged] https://launchpad.net/bugs/42869216:11
kirklandsmoser: yes, exactly16:11
smoserso will its dhcp server interfeer with mine ?16:11
kirklandsmoser: it runs its own dhcp server, and serves those IPs out to the guests, as their "public" ip's16:11
kirklandsmoser: this is on of the rough edges, IMHO16:11
kirklandsmoser: you're not supposed to have another dhcp server on your network serving dynamic addresses16:12
kirklandsmoser: which is kind of a pain in my setup16:12
kirklandsmoser: and most home-setups16:12
kirklandsmoser: probably okay for real enterprise, though16:12
smoseri dont know that it is16:12
smoserkirkland, in almost all places you've got an existing dhcp server16:13
smoserinstalling a cloud controller does not indicate that you wish to install a new dhcp server16:13
kirklandsmoser: well, i agree with you, actually16:13
kirklandsmoser: euca says that you can have a dhcp server, but it can only serve up static addresses16:14
kirklandsmoser: but that's a PITA on my network16:14
smoserwhat does that mean?16:14
smosermy dhcp server can (and does) serve static IP addrs for known MACs16:14
kirklandsmoser: you can configure a dhcp server to always give out 192.168.1.21 to MAC address AA:BB:CC:DD:EE:FF16:14
smoserbut i'm guessing that each new instance gets a dynamically generated MAC16:14
aubresmoser: in my setup, the subnet I am on does not have a dhcp server by design, so I had the dns admin reserve some public ip addresses, and I run a dhcpd3 server only on the private network16:15
smoserso if my dhcp server sees an un-known mac, it will hand it a new dynamic address.16:15
aubrekirkland: I've used MAC associated dhcp assignment in the past16:15
smosermy network is too flat. i'd need another router or something to do that.16:16
aubrekirkland: and I assumed I'd need to do it when I got a nice production setup past my small 1 front-end and 2 node system.16:16
kirklandsmoser: i really like the linksys 310n16:17
aubresmoser: I have the luxury of access to a university machine room and extra isolated switches laying around16:17
kirklandsmoser: however, only v1 (not v2) is compatible with ddwrt16:17
kirklandsmoser: you can get it from bestbuy, office depot, etc.16:17
kirklandsmoser: it's gigabit16:18
aubrehmm - I wonder if I used a router with a built-in dhcp server that might alleviate my need to run a dhcp server on my front end ...16:18
smosergar..16:18
smoserso i think i need to throw a little router in there and put my CC and node on a private network16:19
smoseris that what you all would suggest ?16:19
aubresmoser: I have 6 network interfaces in my CC, only using 2. One goes to the outside world, one to my private network with my nodes.16:20
smoserright. so the CC is providing the routing for stuff behind it.16:21
aubresmoser: correct16:21
aubresmoser: my CC is set up to be a router16:21
smoseryeah.16:21
aubresmoser: in my eucalyptus.conf I have 5 private IPs listed16:21
zulheylo16:22
aubresmoser: when I start an instance, the CC allocates one of them to the instance as well as a private IP16:22
smoser"one of them" . you mean a public ip16:22
aubresmoser: yes16:23
smoseryou have 5 public ips listed in eucalyptus.conf16:23
aubresmoser: yes16:23
smoserok. (above you said private)16:23
aubresmoser: I'm sorry . I did.16:23
aubresmoser: brain flatulence16:23
smoseryeah16:23
smoserthats fine.16:23
smoseri'll allow it as long as you allow it for me sometimess16:23
aubresmoser: deal :)16:23
smoseris there a range of dynamic macs ?16:26
smosermaybe that i could tell the dhcp server to ignore16:26
=== vxnick is now known as vxnick-AFK
MTecknologywhere do I get the zlib php extention?16:34
aubresorry, having lovely internet connectivity problems16:38
smoseraubre, do you know if there is a range of MACs that eucalyptus serves out ?16:41
smoserxen actually owns a range that it serves from16:42
smoserbut i dont know if there is such a one for kvm16:42
smoserhttp://open.eucalyptus.com/wiki/EucalyptusNetworking_v1.5 just says "random"16:42
uvirtbot`New bug: #453129 in eucalyptus (main) "copyright file is incorrect, Eucalyptus is now licensed GPLv3" [Wishlist,Fix committed] https://launchpad.net/bugs/45312916:44
=== bc_ is now known as bc
smoserwell, if i'm reading vnetwork.c:instId2mac i think that MAC addr will start with "d0:0d"16:51
smoserkirkland, or aubre or anyone, can you confirm that your instance id mac's have that ?16:52
kirklandsmoser: that's funny16:52
kirklandsmoser: "dude"16:52
kirklandsmoser: d0:0d:43:20:07:c516:56
smoserkirkland, so, then if i'm also reading dnsmasq doc correctly16:57
smoserdhcp-host=d0:0d*,ignore16:57
nijabasmoser: Good morning. Is the naming convention change for uec images final.  Up to beta we had ubuntu-uec-karmic-$ARCH, daily image are karmic-uec-$ARCH.  I need to know what to specify for documentation purposes16:57
smosershould allow you to have dnsmasq running and ignoring eucalyptus16:57
smosernijaba, well, yes and no16:58
smoser:)16:58
nijaba:P16:58
smoseryes its final, but it will change for released images.16:59
incentifitI've created a developer group and added several developer users to that group.  My user account's home has a "tools" folder that contains a couple of command line applications that I want other developers to be able to use.  Where should I move these applications so that current and new users can use them?  I'm guessing there is a proper location for such things.16:59
nijabaok, so dailies are karmic-* and releases are ubuntu-* ?16:59
smoseri think that as released images (cds) are usually named ubuntu-X.MN-16:59
smoserright16:59
nijabacool, thanks16:59
jsalisburysmoser:  mine also starts with that: d0:0d:38:8A:06:6617:00
smosergood. then i can read.17:01
aubresmoser: sorry was afk, I do not know how eucalyptus assigns MACs, I assume they pick some similar to the way VMware does with NAT17:11
smoserits in that .c file i listed above17:12
smoserit prefixed with d0:0d , then based on the instance id17:12
aubresmoser: lol at d00d, but then there is walrus/bukkits, from I can has cheezburger17:13
aubredoesn't some organization assign the MAC address prefixes to various hardware manufacturers?17:14
smoseryeah. and they almost certainly dont'; have that17:15
smoserxen source has a range that are to be officially used for xen guests17:15
smoseri dont know if for some reason those are not allocated, but if the are not otherwise protected, a collision could occur (the d0:0d)17:15
aubreone thing that is slightly annoying is that when you reuse these IPs ssh gets all snotty about the keys not matching17:16
mathiazsmoser: are you tracking down bug 451881?17:16
uvirtbot`Launchpad bug 451881 in ec2-init "ssh public key fingerprint not available on console in UEC environement" [High,Triaged] https://launchpad.net/bugs/45188117:16
aubreso I have to edit my .ssh/known_hosts file , or turn off strict checking17:16
smosermathiaz, well somewhat.17:17
smoserinstalling my cloud so that i can get there.17:17
mathiazsmoser: ok - do you have enough hardware?17:17
mathiazsmoser: ie two machines?17:17
aubreinteresting to see that because this morning when I rebooted after patching when I tried to ssh into my instances I got connection refused - however I could ping the ip17:17
smoseryeah.17:17
nijabahmmm, euca-authorize crashes when I try to authorize port 22. "Warning: failed to parse error message from AWS: <unknown>:2:42: not well-formed (invalid token)"17:21
nijabais this known?17:22
nijabayet it is since yesterday17:23
nijababug 45255617:23
uvirtbot`Launchpad bug 452556 in eucalyptus "euca-authorize default failing" [Low,Confirmed] https://launchpad.net/bugs/45255617:23
smoserkirkland, anyone know... "euca-describe-availability-zones verbose" is hanging17:27
smoserfollowing http://testcases.qa.ubuntu.com/Install/ServerEConfig17:27
smoserah. died with no route to host.17:27
smosercause my server chnaged ips since install.17:28
nekro_smoser: yeah, euca2ools are based on boto. if boto can't connect it will retry 5 times by default. Takes a while to time out.17:28
smoserso if i changed my IP of the server, any idea what i need to redo ?17:29
smoseri can hand edit eucarc, but figure thats likely stored elsewhere17:29
mathiaznijaba: yes - try again17:29
mathiaznijaba: it should work after *some* time17:30
nijabamathiaz: hmmm17:30
nijabamathiaz: that's what I have read in the bug, but is sucks17:30
nijabamathiaz: would a network trace help here?17:30
mathiaznijaba: are you running the euca-* commands on the CC or from another host?17:31
jsalisburysmoser:/etc/eucalyptus/eucalyptus.conf ?  I know the nodes IP addresses are in there.17:31
nijabamathiaz: from another host17:32
mathiazsmoser: you could just edit eucarc to deal with the euca-* commands17:32
nijabamathiaz: and right now, no more error, just hanging17:32
mathiazsmoser: if you've changed the IP address of the server, you may have to reinstall all of eucalyptus17:32
mathiaznijaba: right - just wait a bit17:32
mathiaznijaba: like 2minutes17:32
mathiaznijaba: you may get an output17:32
mathiaznijaba: if not - CTRL-C and retry17:33
nijabasorry, error is back.17:33
aubrethe first thing I do when after getting my credentials and putting them where i want them is edit eucarc17:33
smosermathiaz, i changed the server, yes, i can verify that changing eucarc fixes things, but i'm afraid the IP may exist elsewhere17:33
aubreand change ec2 aliases to euca17:33
mathiazsmoser: yes - probably in the databas and the NC won't use the correct one17:33
mathiazsmoser: have you already registered nodes?17:33
smosery17:33
smoserwell, i just did 'discover nodes' (after the change)17:34
mathiazsmoser: and did you register nodes *before* changing the IP?17:34
aubrewhew. after rebooting, for some reason , now I can get into my instances via ssh17:35
smoseri installed a node (from cd) but nothing more17:35
aubreHWaddr d0:0d17:35
mathiazsmoser: did you 'discover nodes' before changing the IP?17:36
smoserno, only after.17:37
mathiazsmoser: ok - may be it will work17:38
mathiazsmoser: try to start an instance17:38
mathiazsmoser: and watch /var/log/eucalyptus/nc.log on the NC17:38
mathiazsmoser: you'll see which IP it uses17:38
kirklandsmoser: i'm seeing that from time to time17:42
smoserhttp://pastebin.com/f1798a05d17:42
kirklandsmoser: we need to figure out how to trouble shoot that17:42
smosermaybe that is "you need reinstall"17:42
mathiazsmoser: nope17:42
mathiazsmoser: that means - try again17:42
mathiazsmoser: it may work after *some* time17:43
mathiazsmoser: and several retries17:43
* smoser has warm fuzzies17:43
subI wish I had warm anything... it's getting cold here17:43
smoser$ euca-run-instances -k mykey $EMI -t c1.medium17:45
smoserFinishedVerify: Not enough resources: vm instances.17:45
mathiazsmoser: euca-describe-availability-zones verbose?17:45
smoserlooks good17:46
mathiazsmoser: does your NC have enough ressource to run a c1.medium?17:46
smosermathiaz, http://paste.ubuntu.com/294831/ is the output17:46
mathiazsmoser: free/max is set to 000/00017:47
aubresmozer: you need numbers in the free/max17:47
smoserthat node has 4G memory17:47
mathiazsmoser: means that the NC is not connected to the CC17:47
aubresmozer: as you connect more nc those numbers will go uo17:47
smosershoot.17:47
aubresmoser up17:47
smoserIP is wrong in that output17:47
MTecknologywhere do I get the zlib php extention?17:47
smoser(its the old IP)17:48
smosershould i just cut loses and reisntall ?17:48
mathiazsmoser: http://paste.ubuntu.com/294832/17:48
mathiazsmoser: yes probably17:48
mathiazsmoser: reinstall both the cluster and the node17:48
mathiazsmoser: are you using an iso install?17:48
smoseryeah.17:48
mathiazsmoser: also is there a dhcp server on the local network that hands out dynamc ips?17:49
smoseron a usb key17:49
mathiazsmoser: dynamic ips to unknown hosts?17:49
smoserthere is. but hopefully it will ignore those starting with d0:0d17:49
mathiazsmoser: *hopefully* ? did you change a setting on the router?17:50
spydmobileHi folks is this a good place to talk about Karmic UEC?17:50
smosera great place, spydmobile17:50
smosermathiaz, i changed a setting in dnsmasq.conf on the router, adding 'dhcp-host=d0:0d:*,ignore'17:51
smoserbut haven't tested that.17:51
mathiazsmoser: oh nice :)17:51
smoseri'm not certain that the dnsmasq on my dd-wrt (an older build) has that option or not.17:52
smoserit seems to just ignore things if it doesn't17:52
VousDeuxI don't seem to be having the best of luck configuring my server using the Server Guide. The Server Guide seems to be lacking in presenting the information in a logical order and providing links to relevant documentation for each task.17:52
spydmobileSuper. I have setup UEC 3 times now from scratch and each and every time when I get to the step of connecting to my instance, It fails with no route to host. I followed this : http://fnords.wordpress.com/2009/10/04/run-your-own-uec-part-1/ and I tried this: http://testcases.qa.ubuntu.com/Install/ServerEConfig but to no avail. Can anyone advise?17:52
nijabamathiaz: I have added some info to bug #452556 coming from a traffic capture.  Server is returning error 400.17:52
uvirtbot`Launchpad bug 452556 in eucalyptus "euca-authorize default failing" [Low,Confirmed] https://launchpad.net/bugs/45255617:52
smoseranyway, now to go reinstall.17:52
mathiaznijaba: hm... I don't know what the problem is then17:53
mathiaznijaba: 400 - means a bad request from the client17:53
aubreI don't know if it matters, but the router I use for my private network is dumb as a box of rocks and not manageable at all17:53
aubreand it has worked for me so far17:54
mathiazspydmobile: has your instance booted correclty?17:54
nijabamathiaz: the content of the answer is more interesting Error locating information for17:54
nijaba<com.eucalyptus.entities.NetworkRulesGroup@e5d14fd3 uniqueName=admindefault description=null networkRules=[] userName=admin displayName=default id=null version=0 lastUpdate=null>17:54
mathiazspydmobile: what does euca-get-console-output say?17:54
mathiaznijaba: yeah - I don't know - it's an issue with eucalyptus17:55
aubrespydmobile: can you do a route -n ?17:55
mathiaznijaba: try again17:55
nijabamathiaz: well, look at the bug, it's more readable.17:55
nijabamathiaz: yep, euca for sure.17:55
aubrespydmobile: and are you running a dhcpd server?17:55
nijabamathiaz: been trying for the past hour, no kidding17:55
VousDeuxAdditionally, it seems like much of the information as documented in the Server Guide does not work as described. Since each package has been tailored to fit the distribution, it's hard to know what supporting documentation should be used to understand how it has been configured out of the box.17:55
nijabamathiaz: this does not look like a low prio bug to me...17:56
spydmobile?pastbin17:56
spydmobile?pastebin17:56
mathiaz!pastebin17:56
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at  http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from  command line | Make sure you give us the URL for your paste - see also the channel topic17:56
kirklandmathiaz: curious ... have you ever tried to run an instance as a user besides admin?17:56
kirklandmathiaz: this is broken right now; tryign to figure out if this is a regression or not17:56
spydmobilemathiaz: ty17:56
mathiazkirkland: me ? no - who would do that anyway ?17:56
kirklandmathiaz: figures...17:56
kirkland:-/17:56
kirklandfark17:57
aubremathiaz: users when you go into production17:57
kirklandmathiaz: this is release critical :-/17:57
aubrekirkland: I am about to go to lunch, I can try when I get back17:57
* kirkland knew he should have taken today off17:57
kirklandaubre: oh, it's broken17:57
spydmobilemathiaz: re console: http://paste.ubuntu.com/294837/17:57
spydmobileaubre: on the node or the cluster?17:58
aubrekirkland: well let me know if you need me to test it17:58
aubrespydmobile: do a route -n on the cluster17:58
spydmobileaubre: I am running whatever is in UEC server and Node and on my main network the dedicated public IPS are doled ourt by dhcp yes.17:58
kirklandaubre: thanks17:58
spydmobileaubre: route -n: http://paste.ubuntu.com/294839/17:59
aubrespydmobile: how do private IPs get assigned to your nodes?17:59
spydmobileaubre: I am assuming internally by the the EUC cluster host?18:00
aubrespydmobile: I was under the impression that if your private network did not have a dhpcd server you'd need to set up one to give IPs to your nodes, and that's what I did18:01
aubrespydmobile: for example, my private IPs are in the subnet 192.168.44.018:01
aubrespydmobile: that's how I ssh into them to update my ubuntu software18:02
spydmobileaubre: well my instances are getting private IPS and Public ones. I followed this to the letter. it does not mention setting up a DHCP server: http://testcases.qa.ubuntu.com/Install/ServerEConfig18:02
apwsmoser, hey ... you about?18:04
spydmobileaubre: I was attempting to use the tools provided with teh server install disk only, and avoid the full on build from scrath approach which would probably work. I was hoping to provide feedback to the Server maintainers about bugs in the UEC Setup. But it seems that Karmic does not even come with ubuntu-bug installed....18:05
smoserhere, apw18:05
aubrespydmobile: ignore what I said, I checked the most up to date docs and it appears the need for a separate dhcpd server is not recommended18:05
apwsmoser, apparently you are thinking about whether we need to change any ec2 params before release18:05
apwwondering when we might no and whether we need to start asking for permission18:05
smoserapparently :)18:05
aubreI gotta go to lunch - I'll ponder things as I go18:05
=== aubre is now known as aubre_afk
spydmobileaubre: one thing I noticed, if I reboot the CC service, I can then ping the address and even SSH in but then it seems to be SSHing into the server itself, weird....18:06
uvirtbot`New bug: #453177 in eucalyptus "ec2-describe-instances not working for non-admin credentials" [Undecided,New] https://launchpad.net/bugs/45317718:06
smoserapw, i would like other peoples input on it to be honest.18:06
smoserright now, the 2 things i know are different are loopback is module (rather than Y), and there is no ext4 support18:06
smoseri consider no ext4 support fairly significant18:06
apwno ext4 at all?18:07
smoserright 'is not set'18:07
apwdoes the ec2 stuff get onto any CD's ?18:07
smoserno18:07
apwso we may upset less people if we do need to ... but we really need to know yesterday18:08
smoseri would like for some more kernel-knowledgeable people to take al ook at the ec2 config anda see what other significnat things there are.18:08
apwand i mean the real yesterday18:08
smoseryeah, i really wish i would have remembered that ext4 support was lacking18:08
=== zul_ is now known as zul
smoserbecause the loop back support is there, just have to load the module18:09
smoserapw, i would guess that neither of those 2 issues is release critical. just somewhat of a wart that ec2 can't do ext418:10
apwso you saying we don't need to fix it before release then18:11
smoseri can be persuaded to say that, yeah18:13
smoserbut only if someone promises me that they'll look at this later.18:13
smoserapw,18:14
apwi am sure someone will be looking at it yes ... as i will be hitting them18:15
smoseri fully accept responsibility for not bringing this up a week ago or more.18:16
smoserand for not testing the kernels that jjohansen put out18:16
apwit may be possible to fix, i would need to ask the release team18:16
apwso i'd need someone here wanting it ... as its no use to me :)18:17
smoseri dont thin kwe need to push on it teribly hard. but i would like to shoot for updated kernel images post-release then with more ubuntu-like configs18:17
apwok ... we can definatly look to do that18:18
smoserthe ext4 is a bigger issue, but its not like anyone is using ext4 on ec2 right now unless they've compiled their own modules for an existing kernel18:19
smoserin which case they can just as well do that here.18:20
nijabamathiaz: problem has now disappeared.... weird!!18:21
nijabahttps://help.ubuntu.com/community/UECInstall should now be all good.  Comments welcome18:26
VousDeuxOne thing I keep running into that doesn't seem to be well documented is OpenSSL. So many different things need to use it, but I'm not sure what the best practices are.18:28
VousDeuxFor example, just about every package that uses it has different instructions for generating and storing keys. Surely I don't need a new ca for each package.18:29
VousDeuxIs there a common location that my keys should be stored and shared with each package?18:30
VousDeuxAre keys generated with easy-rsa equal to keys generated with openssl?18:31
VousDeuxWhere should I look for answers?18:33
spydmobilenijaba: I followed this procedure from scratch multiple times and still end up with no route to host when I try and SSH in to the running VM instance. Any thoughts?18:33
VousDeuxIt seems like way to important of a topic to be taken lightly, but I'm not sure how to learn more about it.18:34
nijabaspydmobile: so the 'public' ip of your host should be one of the ip you specified in step 2.4.2, right?18:35
nijabaspydmobile: s/host/instance/18:35
spydmobilenijaba: yes18:36
nijabaspydmobile: what happens when you ping this ip?18:36
nijabaspydmobile: bad question, ICMP is not allowed :P18:36
nijabaWhat's the ip you have and what is the ip of the machine you are trying to reach it from?18:37
spydmobilenijaba: when I try to SSH in I get: ssh: connect to host 216.108.146.16 port 22: No route to host18:37
nijabaso 216.108.146.16 is a valid ip in your local subnet, right?18:38
nijabaspydmobile: your are not using a private address range?18:38
spydmobilethe IP I gave the system to use is .16 the IP of the cluster host is .87 my terminal on the lan is .6818:38
spydmobilenijaba yes is valid and no not private18:39
nijabaspydmobile: ok, sorry for checking the obvious...18:39
spydmobileno thats ok, I appreciate you bieng thourough....18:39
nijabaspydmobile: what's the output of euca-describe-instances ?18:40
spydmobileone odd behaviour to note, if I restart CC right now, I will then be able to ping .16 and even SSH in but it will actually be the cluster host, NOT the node or my instance.....18:40
spydmobile!pastebin18:41
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at  http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from  command line | Make sure you give us the URL for your paste - see also the channel topic18:41
nijabaspydmobile: yes, that's normal.  Only the cluster host should be visible from the outside, so it will route the info to your vms18:41
spydmobilenijaba: http://paste.ubuntu.com/294854/18:41
spydmobilenijaba: ok....18:42
nijabaspydmobile: what's really weird in your output is that the supposedly private address is also in the public range (the second one).18:42
nijabaspydmobile: did you set it manually or something like that?18:43
spydmobilenijaba: .64 is the public IP of the node host where the instance is running18:43
spydmobilenijaba: it was DHCP assigned to the node at boot time18:43
nijabaspydmobile: hmmm...  I would tend to think that's where your problem is coming from.  This second address should be an internal address in the 172 range, AFAIK18:44
spydmobilenijaba: After 3 days of mucking about with cluster and nodes, I started from scratch and followed this: so simple an idiot could do it, but not me ;-) LOL https://help.ubuntu.com/community/UECInstall18:45
nijabaspydmobile: well, we've been trying to make it as simple as possible18:45
spydmobilenijaba: wrong one sorry....18:45
nijabaspydmobile: and I'd really like to understand where it is failing you18:45
spydmobilehttp://testcases.qa.ubuntu.com/Install/ServerEConfig18:46
nijabaspydmobile: which is where the UECInstall is taken from18:46
nijabaspydmobile: so it should really work as well.18:47
spydmobilenijaba: Well It has to be about the IPs I agree becuase everything else is on the level, perhaps when I get back from lunch I will do a complete description of the hardware,  and the environment, perhaps it is something to do with that......18:47
nijabaspydmobile: I think so, yes.  maybe your network topology is what is confusing euca18:48
smoserfor anyone interested, it seems that ssh console install and uec (cluster server at least) are incompatible18:48
spydmobileok, I will begin work on it and postit to pastebin after my lunch, perhaps this will provide some insight into the issue....18:48
smoserbooted system doesn't have an IP addr or network interfaces.18:48
nijabaspydmobile: possibly.  I may not be around much longer though, as I am in Europe and it's getting a bit late18:49
spydmobilenijaba: Well appreciate any and all help you are providing, Aubre will be coming back i think, and might be able to help some more later. Thanks again!18:51
nijabaspydmobile: good luck.  And as I told you, I'd really like to get to the bottom of it too.18:51
spydmobilenijaba: thanks mate, will do!18:52
nijabaspydmobile: so that we can document it for others18:52
spydmobilenijaba: exactly....18:52
=== jfluhmann_ is now known as jfluhmann
mathiaznijaba: are investigating bug 452556?18:56
uvirtbot`Launchpad bug 452556 in eucalyptus "euca-authorize default failing" [Low,Confirmed] https://launchpad.net/bugs/45255618:56
nijabasmoser: I take it this is on a system you have done a normal install previously, and your network was all fine?18:57
smoseryeah18:57
nijabamathiaz: are?18:57
mathiaznijaba: are *you*18:57
smoserand then just did after as well18:57
nijabasmoser: then I am sure cjwatson would "love" to hear about that...18:57
EtienneGspydmobile, my colleague nijaba tells me you may need help with UEC.  Something network-related, I hear?18:58
nijabamathiaz: well, I have done my best and now the problem is gone...18:58
mathiaznijaba: yop18:58
nijabaEtienneG: spydmobile just went for lunch.18:58
EtienneGnijaba, no prob, he will get the scrollback when he is back18:58
spydmobileEtienneG: Yes, just leaving, I will connect with you in about an hour if thats ok?18:59
VousDeuxIs there a document that will take a new person through a logical progression of steps for setting up a server that includes links to relevant documentation for each step?18:59
EtienneGspydmobile, no prob, I am around for another couple of hours18:59
spydmobilenick spydmobile_lunch18:59
nijabaEtienneG: would you like me to send you the scrollback of our discussion?18:59
spydmobileEtienneG: K thanks.....18:59
EtienneGsure, in /query18:59
=== spydmobile is now known as spydmobile_lunch
mathiazkirkland: you have a fix for bug 453177?19:02
uvirtbot`Launchpad bug 453177 in eucalyptus "ec2-* and euca-* not working for non-admin credentials" [Critical,In progress] https://launchpad.net/bugs/45317719:02
mathiazkirkland: is this the ecj dependency?19:03
kirklandmathiaz: just committed19:03
kirklandmathiaz: see r70319:03
mathiazkirkland: http://paste.ubuntu.com/294871/19:05
mathiazkirkland: why not just change the 'version' props?19:05
uvirtbot`New bug: #453335 in libvirt (main) "libvirt via virt-manager tries to write to a readonly ISO image" [Low,New] https://launchpad.net/bugs/45333519:06
kirklandmathiaz: 1) that's what nurmi gave me19:06
kirklandmathiaz: 2) i think we're goign to revert that one19:07
kirklandmathiaz: 2 --> acked from nurmi19:07
mathiazkirkland: why revert?19:07
kirklandmathiaz: we're dropping this change19:07
kirklandmathiaz: because if it's going to be changed we need to change it in a *bunch* of places19:08
kirklandmathiaz: and that's very risky right now19:08
mathiazkirkland: right19:08
kirklandmathiaz: besides, we don't really have "1.6", we have 1.6-plus_a_bunch_of_fixes19:08
mathiazkirkland: I can see a lot of 1.6-devel in the jar file names as well19:08
nijabaVousDeux: You may want to try "The official Ubuntu Server Book" from Kyle Rankin.  Really well done19:09
kirklandmathiaz: right, that's my argument19:09
Travis-42If I want to let a user sftp into a specific folder of my server, but do nothing else, what is the secure way to do this? use ChrootDirectory?19:09
kirklandmathiaz: what's the proper way to uncommit and push?19:09
kirklandmathiaz: can I do that?19:09
VousDeuxThank you nijaba.19:09
kirklandmathiaz: every time i uncommit and push, i end up with a screwed up tree19:09
nijabaVousDeux: np19:09
mathiazkirkland: why uncommit?19:10
bventuraif I want to set up a public web/mail server, should I be using ubuntu 8.10 or 9.04?  I'm not sure I understand the implications of using one or the other, and why ubuntu.com offers both for download?19:10
kirklandmathiaz: i'd like to just drop that commit19:10
mathiazkirkland: just revert the change and push a new revision?19:10
kirklandokay19:11
mathiazkirkland: you won't be judge on your commit history ;)19:11
nijababventura: 8.04 is an LTS, 9.04 is the latest released version.19:11
bventurabut what does that mean exactly?19:11
nijababventura: www.ubuntu.com/server well tell you all about that19:12
nijababventura: this page in particular: http://www.ubuntu.com/products/whatisubuntu/serveredition/benefits/lifecycle19:13
bventuracool ninja I'll read up thx for the links19:13
nijababventura: however, a lot of nice work has been put in 9.04 to simplify the setup of mail+clamav+spamassin, so if you don't mind upgrading more often, I would pick 9.04 as a start.  This is what I am currently using for my mail server, and am very happy with it.19:14
* nijaba calls it a day... l8ter all19:15
bventuracya19:15
geniiman opie19:28
geniiMeh19:28
* jmedina also preferes 9.04 for production mailservers19:29
jordanwbI want to set up an email server on my development machine but I don't want it to send the email. Is the a package I can install that logs the emails?19:29
jmedina?19:30
EtienneGkirkland, just checking ... is the eucalyptus installer integration on the beta CD the latest, or should I use a daily iso instead?19:30
kirklandEtienneG: *definitely* use a daily19:31
kirklandEtienneG: it still sucked at beta19:31
EtienneGok then!19:32
EtienneGkirkland,19:32
ruben23hi how do i sync time between servers with ntp..?19:34
bogeyd6ruben the automatic way or just one shot?19:35
jmedinaruben23: it is on official documentation: https://help.ubuntu.com/8.04/serverguide/C/NTP.html19:35
jmedinaboth ways, on demand and automatic19:36
ruben23do i just have to set the timezone same for both servers..?19:36
jmedinaof course you have to set the specific time some for each server19:36
bogeyd6the quick and dirty "/usr/sbin/ntpdate -s us.pool.ntp.org"\19:36
ruben23i already installed both ntp on two servers, got same day and date but hte time is diferent19:36
bogeyd6!timezone19:37
ubottuSorry, I don't know anything about timezone19:37
bogeyd6!@%!19:37
bogeyd6dpkg-reconfigure tzdata19:37
jmedinaruben23: are you running some kind of virtual machine?19:38
smoserwhoowhoo. cloud is up and running.19:38
ruben23) jmedina: yes both server are on vmware19:38
jmedinathat is your problem :)19:38
jmedinaask vmware for support :)19:38
bogeyd6ruben23  for automatic put in crontab for 10 * * * * /usr/sbin/ntpdate -s us.pool.ntp.org19:38
ruben23jmedina:..why..?19:39
bogeyd6ruben23 one shot is /usr/sbin/ntpdate -s us.pool.ntp.org19:39
bogeyd6ruben23 change timezone with dpkg-reconfigure tzdata19:39
jmedinaprobably a problem with kernel cock source19:39
bogeyd6jmedina stop giving bad advice19:39
jmedinait happens with other virtualization implementations19:40
ruben23bogeyd6: if i do this /usr/sbin/ntpdate -s us.pool.ntp.org, im not in the US im in asia, is it ok..?19:40
jmedinawith virtualbox, xen19:40
bogeyd6In vmware there is a problem with the hardware clock screwing up the clock in the operating system.19:40
bogeyd6ruben23 just a sec19:40
bogeyd6ruben23 dpkg-reconfigure tzdata19:41
bogeyd6erpo19:41
jmedinabogeyd6: I think keeping time with ntpdate and cron is only a workaround19:41
bogeyd6ruben  asia.pool.ntp.org19:41
ruben23 bogeyd6: this will do the philippine country right..?19:42
bogeyd6ruben it will grab the current time, and convert to the timezone on the machine19:42
ruben23bogeyd6: thanks19:43
bogeyd6jmedina he should be updating his clock every hour anyways with a time server.19:43
jmedinabogeyd6: thats correct, sorry probably I was bad influenced by TIA time agains ntp and utc19:44
jmedinadovecto will die if your os time is 200 secs back19:45
jmedinaso yesterday I was looking for another solution based on TIA time19:45
bogeyd6tia time19:46
bogeyd6i am unfamiliar19:46
jmedinaeven when ntp keep time with drift file, if you have network connections time will go back or something19:46
jmedinahttp://wiki.dovecot.org/TimeMovedBackwards19:46
jmedinaI found that problem with one mail server yesterday19:47
jmedinaI was mean network connection problems19:47
bogeyd6lemme have a look see19:47
jmedinacheck that document: http://cr.yp.to/proto/utctai.html19:48
bogeyd6I dunno if I agree with the ntpdate vs ntpd19:48
jmedinait was TAI (International Atomic Time)19:50
Ledif-NiehtI am running Ubuntu Server 9.04 inside a virtual machine (Hyper-V). I set it up to be an FTP server using VSFTPD. I create users with the "sudo adduser <username>" command. The issue is that if I create a user, they can log in via FTP fine. They can only write / read / create directories in their home folder, but via the CD command, they can traverse and list contents of other directories. How do I set it up so they have no ability to traverse19:50
Ledif-Niehtother directories and list their contents?19:50
jmedinaLedif-Nieht: you need to chroot your ftp users19:51
jmedinathere is a option for vsftpd which I dont remember19:51
Ledif-Niehtjmedina: Thank you, could you provide a little more guidance on how to do that?19:51
jmedinait is on the man page19:51
jmedinait is just a line, look for chroot19:51
VousDeuxThe LDAP documentation, in the Server Guide, seems to be written with the assumption that slapd is configured to use a global config database, but that's not how it installed. How can I convert slapd to use the new global config format?19:51
jmedinaor jail Im not sure19:52
bogeyd6VousDeux http://www.cyberciti.biz/tips/vsftp-chroot-users-limit-to-only-their-home-directory.html19:52
smosershoot.19:52
smosermathiaz,19:52
smoser$ wget "http://169.254.169.254"19:52
smoser--2009-10-16 18:52:09--  http://169.254.169.254/19:52
smoserConnecting to 169.254.169.254:80... connected.19:52
smoserHTTP request sent, awaiting response... 500 Internal Server Error19:52
smoser2009-10-16 18:52:09 ERROR 500: Internal Server Error.19:52
bogeyd6pastebin plz19:52
smoserany idea?19:52
Ledif-Niehtjmedina: Thanks for the tip.19:52
Ledif-Niehtbogeyd6: Thanks for the link.19:52
mathiazsmoser: hmmm19:52
smoseror kirkland . that above is inside a guest uec instance19:52
jmedinachroot_local_user=YES19:52
bogeyd6VousDeux basically you edit vsftpd.conf and add the line chroot_local_user=YES19:52
mathiazsmoser: do you have 169.254.169.254 setup correclty on your CC?19:52
mathiazsmoser: what does ifconfig on the CC show?19:53
bogeyd6!pastebin19:53
ubottupastebin is a service to post multiple-lined texts so you don't flood the channel. Ubuntu pastebin is at  http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from  command line | Make sure you give us the URL for your paste - see also the channel topic19:53
Ledif-Niehtjmedina & bogeyd6: Thank you very much, that answers my question exactly.19:53
ahasenackVousDeux: that's how slapd is configured in recent ubuntu versions right after installation: to use cn=config19:53
mathiazsmoser: hm - wait - Error 50019:53
VousDeuxDoes it have to be compiled with global config support, or can I just import some ldif or something?19:53
smoseri get a response19:53
mathiazsmoser: that means the CC has the correct IP19:53
smoser(and ping responds... there *is* a 169.253.169.254)19:53
VousDeuxcn=config does not appear to exist. Instead it seems to still be usig slapd.conf.19:54
jmedinaVousDeux: which slapd versin?19:54
kirklandsmoser: not sure ... i'll yield to mathiaz at the moment, as i'm tackling something else19:54
jmedinaand what ubuntu version?19:54
VousDeuxjmedina: how can I look at the version?19:54
bogeyd69.04 he said19:55
mathiazsmoser: hm don't really know19:55
mathiazI'd look at the log files on the CC19:55
bogeyd6VousDeux cat /etc/issue19:55
mathiazsmoser: in /var/log/eucalyptus/19:55
VousDeuxAll I know is it is what was installed when I typed aptitude install slapd19:55
mathiazVousDeux: are you using hardy (8.04)?19:56
VousDeuxUbuntu 8.04.3 LTS \n \l19:56
mathiazVousDeux: right - slapd is still using slapd.conf in hardy19:56
VousDeuxI thought you were asking about the version of slapd.19:56
VousDeuxBut the Server Guide for 8.0.4 seems to assume that the global config is being used.19:56
mathiazsmoser: try to hop on #eucalyptus and ask there19:57
=== aubre_afk is now known as aubre
mathiazVousDeux: which url are you using for the server guide?19:57
VousDeuxhttps://help.ubuntu.com/8.04/serverguide/C/index.html19:57
Ledif-Niehtjmedina & bogeyd6: Thanks again, after adding that line and restarting the server it works exactly as I wanted. Cheers!19:57
Ledif-Niehterr19:58
Ledif-Niehtservices, not server. =]19:58
VousDeuxWhen I click on the LDAP document it has me trying to execute commands that do not work because global config is not configured.19:58
VousDeuxOh wait....I somehow ended up looking at a document for 8.10...not sure how that happened.20:00
VousDeuxIs changing to global config something I should be able to do fairly easily, or would it require a complete recompile of openldap?20:01
VousDeuxI'm trying to integrate and migrate from Active Directory. I had 9.04 at first, but someone told me I should be using 8.04 because of LTS. It seems like 9.04 was more Active Directory friendly.20:03
uvirtbot`New bug: #334474 in quota (main) "Disk quotas do not work in ext4" [Undecided,Fix released] https://launchpad.net/bugs/33447420:07
VousDeuxDangit...I just discovered that I had a Samba doc open for 8.10 too...no wonder things didn't add up. I have no idea how I got from the 8.04 index to the 8.10 document.20:07
VousDeux...probably from mingling my effort to learn with Google.20:07
=== spydmobile_lunch is now known as spydmobile
spydmobileEtienneG: You still around?20:09
VousDeuxI think I really need to use the global config format because the 8.04 documentation doesn't even tell how to go about extending the schema, and the OpenLDAP documentation only talks about global config.20:09
aubreWell, in the printed out docs I have from not long ago under Prerequisites it said "The default Eucalyptus configuration assumes that there is a DHCP server in your environment" , and before lunch it said "The default Eucalyptus configuration assumes that there is not a DHCP server in your environment" , and now there is no mention of it, so I am going to statically assign IPs to my node controllers , get rid of dhcpd and se20:09
VousDeuxDo I have to use 9.04 if I want global config?20:09
EtienneGspydmobile, there I am, I think I know what your problem is20:11
EtienneGbsically, the instances private net overlap with your "public" IP range20:11
EtienneGhence it cannot work20:11
spydmobileEtienneG: Lol - Wow, I came to that conclusion when I noticed that the Private IP was from public pool handed out by DHCP. So, what do we do to the setup guide to avoid this?20:12
EtienneGspydmobile, you will have to edit /etc/eucalyptus/eucalyptus, and change VNET_SUBNET to a subnet that is not used on your network (ie, 172.16.0.0/16 or somesuch)20:12
spydmobileEtienneG: ok BRB20:12
EtienneGspydmobile, ok then, that is another problem then ... :)20:12
EtienneGspydmobile, I presume the DHCP on your network answered the instance query faster than the CC, and that the instances got an IP from it instead20:13
mathiazEtienneG: probably20:13
EtienneGspydmobile, we just stumbled upon that recently, it is an architectural problem20:14
spydmobileEtienneG: If you meant eucalyptus.conf then it already is: see here: http://paste.ubuntu.com/294911/20:14
spydmobilethat sounds right!20:14
EtienneGspydmobile, you will not like that answer :)   the solution is to have a private net between the cc and the nc20:14
mathiazEtienneG: this is why in Managed-NOVLAN mode there should not be any dhcp server serving dynamic ips running on the network20:14
spydmobilemy windows DHCP is doing it faster than internal CC!20:14
EtienneGthe nc can still be on your "regular" network, but you would need to use a different one for the cc-nc traffic20:15
spydmobileEtienneG: sorry you lost me. my CC= my NC20:15
EtienneGspydmobile, here in our lab, eth0 on the nc is on the office network, and eth1 is on a separate private net20:15
aubreI don't have a problem with not using dhcp for the ncs themselves, because we have to register them by ip anyway20:15
spydmobileEtienneG: Doesnt it?20:16
VousDeuxI don't know what to do, there don't seem to be any instructions to help me do what I need to do on 8.04, and the instructions ofr 9.04 don't seem to work.20:16
EtienneGspydmobile, you run all three services on a single machine?20:16
EtienneGI mean, the *two* services20:16
spydmobileEtienneG: server runs the Cluster install, and two others run the node installs20:16
EtienneGspydmobile, ok, that sounds good20:16
EtienneGmathiaz, kirkland: if I am not mistaken, the installer create the bridge device on the nc using the default interface.  Right?20:17
mathiazEtienneG: yes20:17
VousDeuxI'm afraid that if I convert 8.04 from slapd.conf to slapd.d it will get broken by the updater or something.20:17
EtienneG(cjwatson will hate me now)20:17
aubremathiaz: That problem I had where the cc.log was telling me I needed to run the interface as a bridge, maybe that was because of my dhcpd confusion? maybe I can change it back and then me able to use sc?20:17
mathiazaubre: you don't need a bridge on the CC20:18
mathiazaubre: you only need a bridge on the NC20:18
EtienneGmathiaz, I think we will have to ask cjwatson to rethink the nc installer bit20:18
EtienneGmathiaz, I know that, yes20:18
spydmobileEtienneG: in my case node install uses br0 and creating an instance makes vnet0 and virbr020:18
mathiazaubre: so that the VMs started on the NC (ie instances) can get the IP assigned by the CC from the dhcp server running on the CC20:18
aubremathiaz: that's what I thought, but I kept getting a message in the cc.log telling me my private interface needed to be a bridge for MANAGED-NOVLAN20:18
mathiazaubre: oh well - may be the cc.log is wrong20:19
aubremathiaz: on my CC20:19
mathiazaubre: does your UEC setup work?20:19
EtienneGspydmobile, vnet0 and virbr0 are kvm/libvirt stuff ... it is all good, and not relevant to us atm20:19
aubremathiaz: yes, all but SC20:19
mathiazEtienneG: why?20:19
mathiazaubre: you mean that EBS is not working?20:19
aubreaubre: yes20:19
aubremathiaz: yes20:19
aubremathiaz: I am setting up my NCs with static IPs20:20
mathiazaubre: ok - file a bug then20:20
aubremathiaz: then I am going to stop running dhcp3-server on my CC20:20
mathiazaubre: that shouldn't really matter20:20
aubremathiaz: ok20:20
spydmobileEtienneG: k Srry. I guess I need to know if what I am attempting is even possible at this point. to have a server running all the time and have unsed machines dual boot into becoming cloud resources on the normal lan....20:20
mathiazaubre: ther dhcp3 server on the CC is responsible for handing out IP to guests (instances)20:21
VousDeuxI can only assume that to extend the schema for slapd.conf I just add the includes to that file. It doesn't seem to be documented anywhere I look.20:21
EtienneGmathiaz, The bridge device is created on the default interface, which (we assume) is on the "production" network.  To get MANAGED-NOVLAN mode to behave, the CC-NC network need to be on a private network (weel, one that does not have a DHCP server, to be more precise).  As such, using the "default" interface in the bridge device is not quite the right thing to do ...20:21
EtienneGspydmobile, sure, should be doable, hold on a min20:21
mathiazEtienneG: right - I had to update the configuration20:21
mathiazEtienneG: in eucalyptus.conf20:21
EtienneGmathiaz, hu oh!20:21
mathiazEtienneG: there are two differents variables PRIVATE and PUBLIC20:22
mathiazEtienneG: (something like that)20:22
mathiazEtienneG: they default to eth020:22
mathiazEtienneG: which is not what you wanna have for your setup20:22
EtienneGmathiaz, I can envision cjwatson's face getting prograssively more red as he read that conversation ... :D20:22
aubremathiaz: I don't have to run dhcpd on my instances, eucalyptus does that for me right?20:22
aubremathiaz: I mean to get IPs to my instances20:22
mathiazaubre: nope - there is a dhcp server running on the CC20:23
VousDeuxI guess I'm not even sure that the slapd.conf is even capable of supporting Samba authentication.20:23
mathiazaubre: it will hand out private IPs to the instances20:23
aubremathiaz: sweet - let me fix things up and see what happens20:23
mathiazaubre: (as they will be connected to the LAN via the bridge on the NC)20:23
mathiazVousDeux: you wanna use samba if you wanna support windows clients20:24
VousDeuxThat's right.20:24
mathiazVousDeux: slapd alone won't be able to authenticate windows clients20:24
EtienneGmathiaz, so, in MANAGED-NOVLAN mode, VNET_PRIVINTERFACE really should be on a, erm, private network.  However, we cannot really assume the machine on which the node is being installed has to interface, one of which is connected to a private network segment20:25
VousDeuxI understand, that's why I need to extend the schema.20:25
EtienneGmathiaz, as such, I presume the installer (both cc and nc) should prompt for which network interface is to be used for intra-cluster communication (and, possibly, not prompt at all if there is a single interface)20:26
EtienneGthat is getting hairy20:26
VousDeuxWhen I was trying to do it on 9.04,  there were clear instructions for doing exactly that, but when I ran into problems someone told me that I should be using 8.04 instead. Now that I have 8.04 I can't seem to find any supporting documentation for what I am trying to accomplish.20:26
mathiazEtienneG: yes - it's hair20:26
mathiazEtienneG: y20:27
mathiazEtienneG: and some Lucid work20:27
EtienneGmathiaz, I like that answer ... :D20:27
mathiazEtienneG: even if you setup the PRIVATE interface correclty, you'll notice that the NC is still using the public IP to download the images20:27
VousDeuxWhen I was trying to use 9.04 I got stuck on the smbldap-populate command.20:27
mathiazEtienneG: so I'm not sure eucalyptus supports multiple interfaces20:28
EtienneGmathiaz, yes it does, that's how I had it configured20:28
VousDeuxDoes anyone know if it is even possible to authenticate Samba to LDAP on 8.04?20:29
mathiazEtienneG: and did you check it was using the correct IPs?20:30
EtienneGmathiaz, on 1.5, yes20:30
mathiazEtienneG: what I saw was that it was using 10.X IP to connect to walrus20:30
mathiazEtienneG: rather than the private IPs20:30
EtienneGmathiaz, which is good ... S3 needs to be globally accessible20:30
EtienneGhence a global IP20:30
mathiazVousDeux: it's possible - I'm not sure it's covered by the server guide though20:30
mathiazEtienneG: S3 yes - walrus as well?20:31
EtienneGWalrus == S320:31
VousDeuxIt doesn't seem to be covered in the Server Guide for 8.04, but it was covered for 9.04 until I bumped into the smbldap-populate command problem.20:31
mathiazEtienneG: well - S3 is amazon, walrus is eucalyptus20:31
mathiazEtienneG: but I guess you wanna access walrus from the outside when you bundle a new image20:32
mathiazEtienneG: so it probably makes sense the use the public ip20:32
VousDeuxAnd the current OpenLDAP documentation seems to be geared toward slapd.d instead of slapd.conf...so I'm not sure where to find the help I need.20:32
EtienneGmathiaz, exactly20:34
EtienneGso, spydmobile!20:34
EtienneGspydmobile, you have a couple options, depending on what you want to achieve20:34
spydmobileEtienneG: Ok...20:34
EtienneGspydmobile, first question: do you need network isolation for the instances?  (ie, does running instances needs to be isolated from one eachh other)20:35
spydmobileEtienneG: I dont have any real requirement except to be able to set this up and make it work and understand what I did,  so no in principle I do not, secondly, most of the VMs will need to work together, so it is the opposite if I get what I want...20:36
uvirtbot`New bug: #301508 in ntp (main) "Wish: add "-u" option to /etc/default/ntpdate" [Undecided,Incomplete] https://launchpad.net/bugs/30150820:36
EtienneGspydmobile, I suggest you use SYSTEM networking mode then20:36
VousDeuxI think I am going to have to go back to using 9.04 because that is what all of the documentation I can find was written for.20:37
spydmobileEtienneG: ok, does tha mean a reinstal or a reconfig.... I can do both20:37
EtienneGspydmobile, comment all the VNET_* directive in eucalyptus.conf, except for VNET_MODE="SYSTEM"20:37
EtienneGspydmobile, on the nc, you will need VNET_BRIDGE="br0", but you already have that anyway20:38
VousDeuxThere has got to be a way I can find an answer to the problem I was having with smbldap-populate.20:38
EtienneGspydmobile, reboot all machines (or start/stop all euclayptus services), and you should be done20:38
EtienneGspydmobile, from there on, the cc will not be filtering network connection of the instances anymore20:38
spydmobileok, done, rebooting BRB20:39
EtienneGspydmobile, the instances will come up, and grab an IP on the network using DHCP20:39
EtienneGthey will get whatever IP the DHCP server on your network serve, and be done with it20:39
spydmobileok, should I reboot each node too?20:39
spydmobileEtienneG: ok, should I reboot each node too?20:40
EtienneGspydmobile, yes20:40
EtienneGspydmobile, restarting the eucalyptus-nc service would have been enough, but you can go ahead and reboot20:40
VousDeuxNow I wish I had just left 9.04 installed and created a new VM for 8.04...oh well...spilled milk now.20:41
aubredoh20:42
aubremathiaz: got rid of the bridge, now I get [Fri Oct 16 14:42:39 2009][001687][EUCAWARN  ] in MANAGED-NOVLAN mode, priv interface 'eth1' must be a bridge, tunneling disabled20:43
EtienneGaubre, mathiaz is out for lunch.  I have not followed your conversation too closely, but i can confirm that the interface on the NC *needs* to be a bridge, whichever mode you are using20:47
aubreEtienneG: this message in in cc.log on the cc20:48
aubreEtienneG: and it isn't a problem, except that according the nurmi_ you can't use vblade over a bridge interface20:48
aubreEtienneG: and also use EBS20:48
EtienneGhuh?20:49
EtienneGbut I did20:49
aubreEtienneG: hmm, you had a bridge on your CC ?20:49
EtienneGaubre, unless I am mistaken, vblade runs on the CC20:49
EtienneGoh, there it is!20:49
aubreEtienneG: and you used EBS?20:49
EtienneGaubre, yes, on the CC, the VNET_PRIVINTERFACE directive should indeed point to a non-bridge device20:50
aubreEtienneG: then why do I get that above message in the cc.log ?20:50
EtienneGaubre, and then you get the above message in cc.log?  I am puzzled, and frankly mystified.  That would mean you cannot use EBS in MANAGED(-NOVLAN), that cannot be20:51
aubreEtienneG: and, nothing works when the private interface is not a bridge20:51
aubreEtienneG: exactly20:51
EtienneGaubre, on the CC, I never use a bridge as the private interface ... are you running a multi-cluster setup?20:51
aubreEtienneG: all my eucalyptus services run on the CC, and I have 2 NCs20:52
aubreEtienneG: I don't know what you mean by multi-cluster20:52
EtienneGaubre, multiple availability zones (more than one CC; but that's not your case)20:53
EtienneGaubre, I am baffled.  best person to clarify is nurmi, but I see he is not around20:55
aubreEtienneG: ok20:55
EtienneGaubre, I would take it to #eucalyptus, other Eucalyptus dood hang out there20:56
aubreok20:56
spydmobileEtienneG: ok, all seems to go as we discussed, and now the instance ahas the same public IP for both internal and external address, but when I try and SSH in I get: ssh: connect to host 216.108.146.50 port 22: Connection refused20:56
EtienneGspydmobile, whichever AMI you are using, it does not have SSH running20:56
EtienneGspydmobile, you can euca-get-console-output to see that it is indeed running, and check why ssh is not running20:57
EtienneGspydmobile, for the record (and I am a little embarassed to say that), the Canonical official AMI have a bug where ssh is not starting reliably :(20:57
EtienneGspydmobile, you could try with the example AMI Eucalyptus provides at http://open.eucalyptus.com/wiki/EucalyptusUserImageCreatorGuide_v1.5.220:58
spydmobileEtienneG: Ok, so I should not use that I gues, thats the one thats running.....20:58
EtienneGspydmobile, the bug might have been fixed, though, would need to check with smoser or zul20:59
spydmobileEtienneG: Ok, I wil DL the ubu image from there and try again.....20:59
EtienneGok, gotta run, another fire to put out20:59
EtienneGspydmobile, good luck, and do not hesitate to ping if we can help20:59
spydmobileEtienneG: Hey thanks so much!!!!20:59
smoserspydmobile, not fixed. if you're talking about hardy.21:00
spydmobileEtienneG: What should I tell nick? combo of bugged image and?21:00
smoserif you're talking about karmic, they should be, and working well.21:00
spydmobilesmoser: Im on karmic21:00
EtienneGspydmobile, architectural problem ... would need to file a bug really, but I am out of time this afternoon21:00
EtienneGI trust mathiaz will follow up with it21:01
spydmobileEtienneG: Ok, thanks again!21:01
smoserthis is ec2 ?21:01
smoseror uec21:01
spydmobilesmoser: Im on karmic UEC and my SSH does not start on the image running on an Instance, it is the same image created in the tester guide.....21:02
spydmobilesmoser: Ouptu of the instance has a bunch of mount errors as per: http://paste.ubuntu.com/294936/21:03
=== spydmobile is now known as spydmobile_brb
cjwatsonEtienneG: I think, unfortunately, I am going to be unable to do anything much about this, and will have to ask that somebody else clear up the installer code in eucalyptus-udeb.finish-install - it should be pretty straightforward to modify for somebody who knows the requirements, but I am absolutely swamped21:12
smoserspydmobile_brb, can you give me more info ?21:12
EtienneGcjwatson, fair enough, it is our mistake anyway21:12
=== spydmobile_brb is now known as spydmobile
spydmobilesmoser: what can I give you that will help? I create the instance, it gets an IP (server is configured for SYSTEM networking) the instance comes up and when I try and connect with SSH it says connection refused.21:13
smosercan you give more console output?21:14
smoserand what type of instance ?21:14
spydmobilesmoser: here is all the output: http://paste.ubuntu.com/294945/ and this is a karmic UEC 32 bit (i386)  as per: http://testcases.qa.ubuntu.com/Install/ServerEConfig it currently does not yet have an IP but the console output will still have all the mont errors21:17
smoserspydmobile, yeah, you're "waiting for metadata service"21:20
smoseri'm not sure why you're getting the /dev/sda2 errors that seems strange (not good) to me. i dont see them here.21:20
smoserbut i think they're unrelated.21:20
smoseri dont think the metadata service is functional for you21:20
spydmobilewell I have seen them on every single instance from every image21:20
smoserin the instance. it will hang htere all day (literaly, i think 1 day) until it finds something.21:21
spydmobilesmoser: ok, can I double check its running?21:21
smoseri dont know how you can tell.21:22
spydmobilesmoser: ok, i found something stupid, launching from elasticfox is part of the problem, so starting over again from command lines only.....21:22
spydmobilesmoser: will validate that the problem occurs without elasticfox....21:23
smoserhow do you think launching from efox effects it?21:23
smoserk21:23
smoseri would think it would21:23
spydmobilesmoser: efox does not ever seem to get an IP command line does?21:23
smoseri really wouldn't expect a difference there.21:23
smoserthey're both jsut using the api. possibly efox is doing something different, though, i guess21:24
spydmobileso now, for trouble shooting sake, I set ARCH=i386 and did this exactly: http://testcases.qa.ubuntu.com/Install/ServerEConfig21:24
spydmobilesmoser: so now, for trouble shooting sake, I set ARCH=i386 and did this exactly: http://testcases.qa.ubuntu.com/Install/ServerEConfig21:29
smoseryeah, i see.21:29
smoserdo you understand the metadata service problem ?21:29
spydmobilesmoser: instance came up and its still waiting for EC2 metadata but now has an IP21:30
smoserbasically, the ec2 cloud provides metadata to the instance at a special url (http://169.254.169.254/latest/meta-data/)21:30
spydmobilesmoser: just that it needs this and does not get it I guess? and that might be why I cannto connect via SSH?21:30
smoserthe ec2 metadata service sometimes takes a while to come up, so ec2-init will block waiting on it.21:30
smoserand will block for 1 day21:31
spydmobilesmoser: should this service be on the server?21:31
smoserand the ec2-init sets up ssh, it gets your public key from the metadata service and puts it in /home/ubuntu/.ssh/authorized_keys21:31
uvirtbot`New bug: #366932 in lm-sensors (main) "pwmconfic: error on test for fan START spinning pwm" [Low,Incomplete] https://launchpad.net/bugs/36693221:31
smoseri'm not sure how eucalyptus implements it21:32
smoserbut your instance isn't able to get it, so its just waiting21:32
smoser2 things you could do to get insto the instance.21:32
smoser1 .) change kernel command line to include ec2init=0 in it.21:32
smoserthat wil disable ec2init21:33
spydmobilesmoser: Tha makes perfect sense, but now to determine what the problem is with the metadata service - should it be on public ip?21:33
smoser2.) mount the image and rm /etc/ec2-init/is-compat-env21:33
ruben23hi waht you can recommedn to clone image the  whole ubuntu server.21:33
smoserthen rebundle21:33
smoserits a magic service. each instance gets its own data on that url21:33
smoserso i probably can't answer, i'd suggest #eucalyptus21:34
spydmobilesmoser: re mounting and editing image Sorry but we just stepped out of my box of understanding, I apologize.21:34
ruben23hi what good clone image application for ubuntu-server21:35
spydmobileruben23: clonezilla live?21:36
uvirtbot`New bug: #453456 in eucalyptus (main) "excessive logs in /var/log/eucalyptus" [Undecided,New] https://launchpad.net/bugs/45345621:36
smoserspydmobile, i can step you through it if youw ant21:36
spydmobilesmoser: ok, sure, TY want to PM?21:36
smosersure21:36
ruben23spydmobile: what it do..? image to disc of HDD..?21:36
spydmobileruben23: both i think, google it, it works well for me...21:37
BilgeUh22:35
BilgeI just ran iptables -F thinking it was the list rules command22:36
BilgeHow screwed am I right now22:36
Bilge(I only have remote access and it just died)22:36
BilgeIf I can access it via rescue mode, how can I restore the rules to normal?22:40
spydmobilebilge: maybe the commands are in history?22:47
BilgeI rebooted and it seemed to fix itself bizarrely22:48
BilgeI'm sure that isn't how you spell bizzarrerirelily22:48
MTecknologyBilge: iptables -F = flush. The rules need to be explicitly saved/restored23:02
MTecknologyI use iptables-restore < /etc/iptables23:02
MTecknology* in /etc/rc.local23:04
BilgeI'm not sure you understand what happened23:25
BilgeI just wanted to run iptables -L to list the rules23:25
BilgeFor some reason, running -F instead caused me to lose SSH and I had to reboot23:25
BilgeI thought I just screwed up my firewall but after a reboot it seemed nothing had changed fortunately23:25
BilgeThe help suggested that F also deleted rules besides flushing23:26
MTecknologyflush means to remove everything23:26
BilgeWhy did they all suddenly come back after a reboot then?23:27
MTecknologyit's nice for testing things, cron task to flush things and if you lock yourself out then you're fine :P23:27
MTecknologywhat you had saved was restored, you didn't save the flushed table23:27
BilgeHow would I have saved it23:27
MTecknologywhat do you use to edit it?23:27
Bilgeufw23:27
BilgeI don't touch iptables directly23:28
Bilge(Under normal circumstances)23:28
MTecknologyI don't know how ufw handles it, but I'm sure it utilizes iptables-restore and iptables-save in one of the runlevels23:28
Bilgeufw interfaces with iptables directly23:29
BilgeIt's just a front-end for it23:29
MTecknologyya23:29
BilgeSo I imagine you'd be correct23:29
BilgeSo my flush wasn't comitted because I didn't (and couldn't) touch iptables-save?23:29
MTecknologyyup23:29
BilgeOK good23:29
ruben23hi how do i uninstall application install form source file..23:42
ServerAdminManHello is anyone here?23:43
ServerAdminManapt-get is giving me unmet dependencies errors23:44
ServerAdminManhello23:44
iflymyhelishighis anyone here23:46
iflymyhelishighhey guys23:58
iflymyhelishighanyone here?23:58

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