[00:59] i'm getting "/usr/lib/lxc/templates/lxc-ubuntu-cloud: line 240: type: ubuntu-cloudimg-query: not found" when using "lxc-create -t ubuntu-cloud -n box2" [00:59] any ideas? === bazhang_ is now known as bazhang [01:06] im considering splitting my server into mysql db and web server... which machine needs to be beefer? [01:06] or would it be better to just get a better server and be done with it? [01:07] resno: it's usually database that needs a good hw but depends on your case. do you actually have perfromance issues? [01:10] Deathvalley122, your issue is that you have wildcard domain for that [01:10] i think. [01:10] aljosa: nah... just setting it up so, im curious if im just being silly or or not [01:10] basically, cloud-init tried looking up 'ubuntu-mirror' in the domain was found in metadata server's local-hostname. [01:10] aljosa: im moving from a shared host to vps... so im unsure what my needs really are, but these are low inboxes [01:11] and got a hit. [01:16] smoser: was that a tab error? === Stefan_ is now known as juicy === Stefan_ is now known as juicy === Jason__ is now known as juicy [02:35] hi all. having consistent network issues with an upgraded 11.04 > 11.10 VM. [02:35] hoping for some help as to how to debug/diagnose the issue, lots of googling but not really sure where to go from here. [02:36] some system info + things i've tried: http://pastie.org/3876605 [02:36] Define "issues" [02:36] basically all networking seems to work fine until any significant traffic occurs, most notably apt-get update/upgrade. this seems [02:36] to crash the network adapter (if i'm SSHed my connection gets dropped) and can't do anything till networking is restarted [02:36] twb++ :) [02:36] I was intending to upgrade to 12.04LTS but wasn't aware of the required -d flag on do-release-upgrade, so now am stuck (do-release-upgrade fails as network crashes randomly while trying to get packages) [02:37] mariooo, release upgrades must be done incrementally; you'd have to go 11.04 -> 11.10 -> 12.04 regardless [02:37] the exception is that LTS can upgrade directly to LTS [02:37] qman__: damn. was fearing that might be the case. [02:37] 8.04 -> 10.04 -> 12.04 [02:38] sure. well in that case guess I really can't avoid this issue, all our VMs are on 11.04 =( [02:38] mariooo: is the VM running a GUI? [02:38] twb: no, headless server VMs [02:38] mariooo: is network manager (the backend daemon) installed? [02:39] twb: I'm unsure. how would I check? [02:39] mariooo: dpkg -l | grep network, I guess. I forget if there's a hyphen in the package name [02:39] there is [02:39] network-manager, network-manager-gnome, etc [02:40] qman__: package is network-manager, process is NetworkManager, right? [02:40] yes [02:40] couldn't tell you why, makes about as much sense as the rest of it [02:41] mariooo: pastebin output of "cat /etc/network/interfaces; ip a; ip r" [02:41] mariooo: and tell us if NM is installed [02:41] and now 12.04 has mandatory resolvconf, even more headaches [02:41] qman__: apparently if you rm the symlink it goes back to traditional mode [02:41] Not on servers. [02:41] ScottK: ubuntu-standard isn't installed on servers? [02:42] it is on all the servers I installed [02:42] It is. [02:42] pastie updated. network manager doesn't appear to be there [02:42] * twb digs out a precise box to check the exact deps [02:42] when I first experienced the issue I used chattr +i to stop it, but the next update broke it [02:42] Nevermind. I was wrong. [02:42] had an idle connection crash on me for the first time, so I guess I retract what I said before about high traffic. high traffic just seems to make it happen sooner. [02:42] qman__: dpkg-divert --rename [02:42] granted that was a weak hack with no real research put into it [02:43] Anyway wtf how could chattr +i be subverted [02:43] I don't know! [02:43] mariooo: that issue only happens in your VM ?? [02:43] not in other VM .. or somewhere else ? [02:43] mariooo: I cannot see anything wrong there. When it crashes, what still works? e.g. does ping still work? What VM technology (KVM, ESX, ...) are you using? [02:44] virusuy: not sure what you mean... I've only got 1 VM that i've upgraded atm. I had a previous VM that had the exact same issues, but I trashed it in hopes of upgrading straight to 12.04, but have ended up on 11.10 again with exact same issues [02:44] and you're using ..... KVM? XEN? ESXI ? [02:45] twb: I'm unsure what our underlying system is, I know what our hardware is but the guys at the colo are managing the VM pltform [02:45] eek [02:45] so.. let me see if i understand the issue... [02:45] I could probably ask & find out, but it might take a while. Any way I can do it from the system? [02:45] "Unassigned class [ff80]: XenSource, Inc. Xen Platform Device (rev 01)" sounds like xen [02:45] oh yeah deffo Xen [02:45] eek [02:45] sorry, it wasn't in the list so thought you were talking abotu something lower level [02:46] xen doesn't do full virtualization, it does some magic hacks in the kernel [02:46] So you probably aren't running a stock 11.10 kernel [02:46] right, so it's an issue the colo guys will need to help resolve? [02:46] Oh wait, I take it back -- current kernels can be domU without any extra changes [02:46] hrm. [02:46] mariooo: it is definitely worth talking to them about it, since they have access to the dom0 and can check things we can't [02:47] But it's a stock ubuntu kernel, going by the uname -a [02:47] yeah well I've mentioned it before but they've not been very helpful about it, so I have a feeling they have no idea [02:47] if you suffered this issue before in other VM ... looks like a issue with that eth [02:48] you might try booting the old kernel after the upgrade [02:48] mariooo: get a better colo provider ;-P [02:48] twb: :) [02:49] or a newer one [02:52] twb: haha, they have been pretty awesome for everything aside from this. we're in australia so our choices seem pretty limited =( [02:53] qman__: sorry to noob-out on this, but any pointers for how I'd go about this? something to do with grub? =D [02:53] yep [02:53] mariooo: I'm in .au too [02:53] mariooo: most people I know don't bother hosting within .au because it's so fucking stupidly expensive [02:54] twb: financial clients. legal implications. yada yada. [02:54] connect to the 'local' console, use shift during boot, select old kernel [02:54] mariooo: sorry to hear that :-( [02:54] qman__: can he do that without dom0 access? [02:54] twb: thing ping is glorious though, our colo is like 2 streets away from work. nobody works locally [02:54] if you can't do that, you can modify grub config, but I don't know how to do that specifically in grub2 [02:54] mariooo: you in sydney? [02:54] twb: indeedy [02:54] Who is the provider? [02:55] qman__: hrm ok, I'll go poking around [02:55] twb: spectrum networks [03:06] twb / qman__: thanks for the pointers btw, really appreciate it! [03:07] How can I add a second image to my Ubuntu PXE server? I have the first one working, but am unclear on how to add the second and how to pick the image. I setup PXE per https://help.ubuntu.com/community/PXEInstallServer [03:11] I had a question if someone wouldn't mind answering... [03:11] !ask [03:11] Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [03:11] !ask TenLetters [03:11] thanks [03:12] I was just trying to get somebodys attention [03:12] I found an old computer in my parents storage unit, Celeron 2.7 Ghz, 512 mb, 40 gb hd. I was wondering if you would think I would have significant problems running a server on it. I don't plan on anything major, I just wanted to learn to connect to and operate a server, and learn linux. [03:14] TenLetters: I have successfully run Ubuntu 9.04 on a Pentium MMX. You will be fine, provided you don't overburden it. I'd consider picking up >= 512MB more RAM, but overall you should be fine as a starter. Some server applications/platforms will considerably slow performance, though. [03:15] TenLetters: A base install of ubuntu server with OpenSSH server will run "fine" though. [03:16] Tohuw: Thank you so much! Will have to see what I can find in the way of ram, could probably bump it to 1 GB.. [03:17] TenLetters: not a must, but it will certainly help if you start tooling around with Apache, SQL, etc. [03:17] TenLetters: a Celeron is kind of old... you might not be able to get 1GB of RAM in something that old [03:18] you'd have to check the specs for that board [03:18] for that system (and that may be hard to find) [03:18] Resistance: Good point, will have to look and see. It's a DDR400 board [03:18] oh god, DDR? [03:18] yeah >.> [03:18] i highly doubt you'll be able to even *FIND* RAM for that [03:18] I know a few places [03:18] at least not within a normally-affordable range [03:19] I used to work at a computer store, I know they had a lot laying around. [03:19] i'd still go search the specs up for that board, it sohuld have information about the maximum amount of RAM those systems can have [03:19] if i remember when i worked on boards with Celeron in those days [03:19] ah [03:19] they had 2 or 4 slots for memory, and could handle 128MB per slot [03:19] which normally maxes out at 512 [03:20] Well [03:20] what's the make/model of the system [03:20] I have 2 slots with 256 in them [03:20] i *might* be able to find it [03:20] I have to open it up [03:20] I replaced the mobo [03:20] give me a sec [03:20] Desktop / Server? or Laptop? [03:20] * Resistance assumes Desktop / Server for something that old [03:20] Desktop [03:20] I could find a better use for a laptop [03:21] Resistance: in my experience, motherboards supporting 2+ GHz Celerons rarely failed to support at least 1 GB maximum. [03:21] ah, if you replaced the mobo, give me those specs [03:21] Tohuw: depends on the board, some could, others couldnt [03:21] TenLetters, it depends entirely on what you want to run -- but as another example, my shell server is a K6 200MHz with 256MB EDO and a 10GB hard drive [03:21] i.e. mobo manufacturer and model (in case, i'll check what the max memory is in that, if possible) [03:21] well damn qman__ [03:21] if it ain't broke [03:22] Resistance: Prescott 800 model P4i65G [03:22] Manufacturer: Asrock [03:22] my old POS when I was a little kid... [03:22] running it makes it feel like opening a time capsule. [03:23] this one? http://www.asrock.com/mb/overview.asp?model=p4i65g [03:23] qman__: K6's are indestructible processors. It's scientifically proven. I still have a working K6/128 MB RAM box sitting around, running some antiquated Slackware. I think it will outlast all my other systems... combined. [03:24] TenLetters: see my last message [03:24] that's why I use it [03:24] it's never going to stop [03:24] at least not before everything else I have [03:24] Resistance: That's it [03:25] TenLetters: mem specs of relevance: 2 x DDR DIMM slots, dual channel tech. Supports DDR400/333/266 non-ECC, un-buffered memory. Max. capacity of system memory: 2GB [03:25] Tohuw, qman__: I wish things were like the old days, all of these old products seem to last much longer than the newer ones. SNES are still going while XBox's and PS3 are dropping out of the sky [03:26] Resistance: Thanks, Supports 2 GB, which will cost an arm and a leg for DDR :/ [03:26] plus the fact that it can literally only handle about 20 SSH login attempts a minute turns out to be a feature [03:26] TenLetters: indeed. [03:26] wow... [03:26] qman__: you can simply tell sshd to do that [03:26] TenLetters: you *might* find some on ebay, or that shop you mentioned, but for all intents and purposes, i dont think you'll affordably find any [03:27] here's some on newegg [03:27] qman__: MaxStartups 8:16:32 [03:27] $25 :/ [03:27] twb: oh sorry, when you were asking if network-manager was installed, was it a good or bad thing for it to not be? [03:27] I use iptables to cull it further and stop the disk activity I was getting during brute force attempts before [03:27] which isn't terrible, but I don't think it's worth buying for an experiment Resistance. [03:28] mariooo: NM causes problems, it should not be installed [03:28] mariooo: at least not on a server [03:28] right. ok [03:28] it's convenient on a laptop with wifi [03:28] plus the fact that it can literally only handle about 20 SSH login attempts a minute turns out to be a feature <-- okay, that made me actually laugh out loud [03:28] that's about the only time it should be used, ever [03:30] TenLetters: its not *bad*, but its not experiment-like costs :P [03:30] qman__: any system with mobile broadband is also easier with nm, and any system that has to readily support multiple wired settings (for whatever reason) is also easier. [03:31] for multiple wired networks I usually just configure them all simultaneously as subinterfaces [03:31] I can see how that would be useful though [03:38] I was wondering if anyone had a recommendation for setting up openstack up and running with only having 4 machines (1 machine as MAAS/juju). https://help.ubuntu.com/community/UbuntuCloudInfrastructure <- says 10 machines, though i don't have that many on hand at the moment. [03:40] Destreyf, I don't know why exactly that is, but it does use 'minimum' twice in once sentence, so I assume that's important [03:42] then again, it appears to contradict itself, implying you need different machines for the juju and MAAS, then saying you can install juju on the MAAS a couple lines later [03:45] well i know you can use lxc to create virtual containers and deploy them, but i have near zero experiance getting there, i was trying to enter ubuntu-cloud channel, but it requires an invite apparently lol [03:46] I really don't know much about it, never used it [03:46] dang. [03:47] I run all my stuff bare metal, mostly on old junk, just don't have those kinds of requirements [03:47] lol my work has a bunch of powerful servers, that sit around 90% of the time idle, and we're trying to migrate into a cloud infastructure/virtualization so we can use those environments so we can utilizes only what's needed on the smaller machines. [03:49] good in theory, though I'd be interested to see at what point it actually pays off [03:49] in my case I'd have to buy a bunch of new hardware to do it, so a few extra kilowatt hours are cheaper for me [03:50] I'm baffled at why the example deployment they provide requires a "minimum of 10 machines" -- OpenStack itself doesn't really care. Juju might somewhere in there, though I don't know why... [03:50] a few grand can power the old K6 for a looong time [03:52] qman__: I usually argue virtualization/private cloud infrastructures not based on power savings, but balanced resource consumption. Being able to spike key services across more underlying hardware is nice. [03:53] Tohuw: the main benefit of VMs is not having to deal with stupid hardware issues anymoer [03:53] e.g. if a HDD dies, that is someone else's problem, not yours (the VM maintainer's) [03:54] Your OS suddenly only has to care about a little old ne2000 and an ISA bus ;-) [03:54] twb: to an extent, yes. But I'm usually proposing virtualization to the parties for whom the dead HDD is a problem. [03:55] don't get me wrong, it's great tech, just wondering at what point it's worth doing, just how many servers you have to have to see the value [03:55] qman__: IMO it's not worth the extra infrastructure hassle for less than, oh, five, ten or twenty boxes [03:56] If you are at the end of a hw/os cycle ANYWAY, it might make sense for the next build to consolidate several boxes onto a single beefy one using VM tech to partition that hw [03:56] I've only got six, and a few of them wouldn't virtualize well anyway [03:56] qman__: That answer has been downshifting as the solutions get cheaper. I have clients of < 25 employees/~5 servers who see significant returns on their virtualized infrastructure, and that's with VMWare, so licensing is in the mix. [03:56] one's the router, one's the file server, and one's a game server (needs the performance) [03:57] Tohuw: but you probably aren't including the cost of upskilling someone (i.e. you) to know how to deal with VMs, because you already know [03:57] I theorize qman__ is the last professional Quake 2 Deathmatch host in the world. [03:57] That extra training can be a non-negligible cost [03:57] qman__: yeah I wouldn't bother [03:58] counter strike was always more my thing [03:58] qman__: esp. since the first two can run on your old laptop [03:58] twb: Certainly a fair point: the clients in question use my employer for outsourced IT resources, so we're there in some capacity to help. [03:59] but this one actually runs minecraft [03:59] I don't "get" minecraft [03:59] twb: Though, to play devil's advocate, VMWare offers support as part of the licensure (yes, the support will make your eyes bleed sometimes, but it is there) [03:59] You and me both, twb [03:59] That's about as useful as normal upstream support [03:59] it's fun for a while, I actually haven't played it in quite some time, I've got a bunch of friends who do [04:00] Is it a C4 game or what [04:00] I'm the only one with the experience and infrastructure to actually run a 24/7 server for it, though, so I do [04:01] twb: "C4"? [04:01] And why does a c4 game include a 16-bit CPU building block [04:01] TenLetters: like civilization [04:01] twb: Ah, no. Think interactive legos [04:01] not really [04:01] it's more of a sandbox [04:01] qman__: so like GTA? [04:01] twb: every played with legos? [04:01] :o [04:01] yes, except with less gangsters and more garry's mod [04:01] in cubes [04:02] Never heard of garry's mode [04:02] Pretty much do whatever you feel like twb. Build crap, blow it up... [04:02] TenLetters: yes, but never with any that had electronics [04:02] twb: You poor poor person... [04:03] it's part generic survival and part collaborative construction tool [04:03] in an infinitely large world of cubes [04:03] qman__: actually, there are problems if you go too far out [04:03] and that last part is why it needs a decent server [04:04] combined with the fact that it's written in java [04:04] poorly written java [04:04] has hella memory leaks from what i've seen. [04:05] all java is poorly written java [04:06] good point... [04:06] The only time I've seen anything on the JVM that wasn't poorly done, was because it was compiled down from something else [04:26] lol i'm off reading, and you guys had a massive conversation [04:27] We have the hardware infastruture to do a cloud, i just dont have all of it available now. [04:28] using LXC to substitute the other "5-6" boxes i need. [04:28] until i can move stuff onto the virtualized enviroments. [04:33] So anyone in here have any experiance with Juju? === dduffey_afk is now known as dduffey === bicranial_ is now known as bicranial === Madkiss_ is now known as Madkiss === bicranial is now known as 16WAAJA84 [05:37] pdtpatrick: fixed it turns out that the install for ubuntu installed resolvconf package [05:37] its resolving fine now === Lcawte|Away is now known as Lcawte [06:42] hey guys i think there is an issue with the 12.04 server documentation when it comes to dovecot :( the configuration file is different compared to whats mentioned on the 12.04 server guide for it === jtv1 is now known as jtv [07:19] eagles0513875_: https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+filebug [07:20] ty SpamapS === jtv1 is now known as jtv [07:41] is there a command to list all installed packages? [07:42] dpkg --get-selections [07:44] thanks === almaisan-away is now known as al-maisan === RoyK^ is now known as RoyK === cedr is now known as tcl === tcl is now known as cedr === al-maisan is now known as almaisan-away === Neal|ZNC is now known as Neal_ [12:17] anybody here able to help with juju? [12:48] good day peeps. Looking for some assistance on troubleshooting wakeonlan issues. Anyone? [12:50] wake from pm-hibernate seems to have disabled my eth0 [12:53] ethtool -s eth0 wol g [12:53] does that help? [12:55] if done heaps of stuff...including that...and it aint working.... [12:55] well...WOL works.... [12:56] the server wakes fine...but eth0 is disabled. [12:56] running sudo ethtool eth0 gives me a link down status [12:57] im on 12.04 lts btw [13:01] this only happens after a reboot followed by a pm-hibernate [13:01] the next pm-hibernate ran in the same session wakes the server perfectly [13:19] Hi guys! Need help with the new ubuntu 12, i need to configure dns on my ubuntu server. resolv.conf file change everytime i reboot and i don't know how to configure the resolvconf package. Someone can help me? [13:20] Barbo91: have a look at http://www.stgraber.org/2012/02/24/dns-in-ubuntu-12-04/ [13:24] tsimpson, thank you, i'm going to read it and i will come back if i cant fix it :) [13:25] you basically do the same edits, but in one of the files in /etc/resolvconf/resolv.conf.d/ [13:29] yep just fixed it :) Thanks for help! Nice work with 12.04 i'm loving it! :D === Ng_ is now known as Ng === matsubara-afk is now known as matsubara === soren_ is now known as soren [14:22] what is the best way to change the default i/o schedular back to deadline persistently in 12.04? [14:22] s/schedular/scheduler [14:32] nevermind found it - looks like adding to /etc/default/grub is probably best [14:51] is there a way to set the ldap rootpw from an already encrypted value? [14:56] mgw: ldapmodify with replace: and use the old encrypted value [14:57] mgw: what type of encryption? [14:57] mgw: err should I say setup with whatever for a password then after replace with the correct value. That is if I'm understanding your question properly [15:05] can anyone please help me debug an annoying issue? I have a single lucid box that I can't get ssh public key authentication to work, and it refuses silently, asking for a password instead. I configured .ssh/authorized_keys correctly, and synced all ~/.ssh/* from another lucid box that accepts pubkey auth with the same user config files, and the same configs in /etc/ssh/sshd_config. Where else should I look? Here is the debug information from a [15:05] connection attempt: http://paste.ubuntu.com/975923/ [15:09] did you check permissions? [15:09] and file ownership [15:09] patdk-wk, yep, they are all the same. I synced with rsync [15:09] all the same sounds like *broken* [15:16] http://paste.ubuntu.com/975949/ [15:16] it's the same files, and permissions. both for files and the ~/.ssh dir itself [15:17] I use these same keys in several machines, but this is the only one that ignores them. And doesn't even give me an informative error [15:19] oh, wait. I see now the error in sshd log. bad permissions on home dir. :/ [15:19] thanks anyway === railsraider_ is now known as railsraider [15:32] hey guys i have nfs setup and exporting just fine on my local machine. My problem now is actually allowing the user to have write access to /mnt/iso to put some iso images in that directory. can someone help me and point me to what i am missing [15:37] eagles0513875, nfs 3 or 4? [15:39] patdk-lap_: this is the way i have the export setup /mnt/iso *(rw,sync,no_root_squash) [15:39] i dunno if thats nfs2 3 or 4 [15:39] patdk-lap_: i followed what was in the 12.04 server guide online [15:42] trying to start up samba after upgrading to 12.04 and getting a failure on nmbd - not finding much in the logs [15:42] root@xx:~# service nmbd start [15:43] start: Job failed to start [15:43] init: nmbd pre-start process (19425) terminated with status 1 [15:49] I'm trying to configure DNS Client on my server. [15:50] But resolv.conf keep overwriting my config. [15:50] What do i do? [15:50] I have a reprepro-backed repository and I'm trying to add a 3rd party (signed by them) package and reprepro complains it can't find the key for said package [15:53] jsmith-argotec: [15:53] eagles0513875: yes [15:53] oops sry bout that [15:54] track pad on my netbook is very sensitive with no way to turn it off [15:54] :-) you got me excited that you might have had an answer [15:54] hehe [15:56] How add nameservers? [15:56] I am using static ip configuration. [15:57] But i can't set static nameservers in resolv.conf :( [15:58] sigh [15:58] hello everyone [15:58] halvors1, if you cant set static nameservers, you can't use static [15:59] eagles0513875, dunno, either you mounted via nfs4, and didn't setup kerberos [15:59] or you just have user mismatchs or something [15:59] patdk-lap_: well friends server wasnt saving the name servers on reboot [15:59] patdk-lap_: its probably users but is there an nfs user and group that the folder should be set to? [15:59] nfs is shared out on a per user basis [15:59] you set the permissions/user list when you export the file system from sharing [15:59] it's not a "defualt user" [16:00] by default, nfs works on uid and groupid [16:00] nfs4 adds all kinds of other stuff also [16:00] it's the same as local permissions [16:00] patdk-wk: The problem is that when i set the nameservers in resolv.conf, they are being overwritten when system reboot. [16:00] ikonia: would you like me to show you what i have in my /etc/exports? [16:00] halvors1: are you aware of the new annoying dyndns config that is being used [16:01] eagles0513875: not really [16:01] halvors1, then you failed to read the 12.04, how to handle resolv.conf in the resolvconf world [16:01] halvors1: i can confirm that and this is on a dedicated server im having the same issue [16:01] seems like though adding dns-nameservers to /etc/network/interfaces solved the issue on my friends dedicated though [16:01] i'v got a lil problem writing my thesis (Master) with peformance: nginx, apache, iis, can i rely on already existing articles covering this topic? [16:01] do people never read the upgrade notes? [16:01] patdk-wk: no [16:02] Naglik: how is that anything to do with #ubuntu-server ? [16:02] hmm, good question [16:03] bad search algorithm [16:03] you can install nginx/apache (and iis via kvm) on ubuntu-server? :) [16:03] yep :) [16:03] nvm then, though here are ppl who can help me :) [16:03] bb [16:03] * patdk-wk would ask your teacher [16:10] i'm running 11.04, can I still upgrade to 11.10? [16:10] eagles0513875: go on then, pastebin your exports file [16:10] nvm, looks like the standard do-release-upgrade will handle it [16:11] terinjokes, only if you go to 11.10 -> 12.04 [16:11] oh, yes :) [16:11] for another 6months or so [16:14] anyone know how I could troubleshoot an upstart job - it's pre-start process is terminating with status 1 [16:14] eagles0513875: Should i use "dns-nameservers" on inet6 (ipv6) interfaces too? [16:14] halvors1: sadly i dunno as we are using ipv4 only [16:14] jsmith-argotec, pastebin ur pre-start script === Lcawte is now known as Lcawte|Away [16:16] ikonia: the exports file i only added this line the rest is commented out /mnt/iso *(rw,sync,no_root_squash) [16:17] pdtpatrick: http://pastebin.ubuntu.com/976054/ [16:17] stgraber: hey [16:17] eagles0513875: ok, so start setting some users/groups [16:17] hallyn: hey [16:17] hallyn / stgraber: you wanted a session re-scheduled? [16:17] ikonia: set them to do what though? and how to do that [16:17] eagles0513875: set them to the permissions you want [16:18] Daviey: we'd like to ensure the user namepsace session scheduled for tomorrow won't move [16:18] if i want my user i use on this netbook to have access i would need to add that user account to the system in order for it to work? [16:18] stgraber: i can do that. [16:18] eagles0513875: you need to the users you want to assign permissions to to exist on the machine doing the auth [16:18] Daviey: cool. I think the other LXC sessions are already locked so if you can lock that one too, we'll be all good [16:18] ikonia: ok thanks will do that now :) [16:19] pdtpatrick: seems to work ok until I start smbd with pacemaker then nmbd wont start [16:19] jsmith-argotec, so what happens when u run those commands manually? btw I think upstart runs shell with -e so if there's an error it exits [16:19] pdtpatrick: they work fine [16:20] jsmith-argotec, so pacemaker blows it up ? [16:20] jsmith-argotec, are there anything in /var/log/syslog ? [16:21] pdtpatrick: with smbd running under pacemaker control: -f exits 0, install exits 0, loading NMBD variable exits 1 and loads No into it, NMBD test exits 1 [16:22] pdtpatrick: seems that pacemaker does blow it up... however it worked fine under 10.04 [16:23] pdtpatrick: I have one server upgraded and one not.. still works on lucid but not yet on precise [16:23] pdtpatrick: this is what I get in syslog: kernel: [ 4900.048887] init: nmbd pre-start process (25312) terminated with status 1 [16:24] pdtpatrick: this is what I get when trying service nmbd start: start: Job failed to start [16:24] jsmith-argotec, interesting. So it is testing whether it is disabled. If it is then the script exits and the service never starts? why do u need to check whether it is disabled if ur exiting 0 right after it anyway ? [16:25] jsmith-argotec, seems like ur prescript exits before it gets to exec nmbd -D [16:25] patdk-wk: i'm going 11.04 to 11.10 to install a working libc PPA to then do 11.10 to 12.04 [16:25] pdtpatrick: this upstart job is default that comes when you install samba - I haven't modified it. [16:26] pdtpatrick: I believe it checks if netbios is disable and if it (exit 0 on test) then there's the stop before exiting [16:26] pdtpatrick: otherwise the prestart exits 0 === matsubara is now known as matsubara-lunch [16:27] pdtpatrick: I agree it never gets to exec... don't get where it's getting the exit 1 from though [16:27] jsmith-argotec, add -x to ur script [16:27] and that should allow debug mode [16:28] pdtpatrick: in the prestart part? [16:28] yup [16:28] jsmith-argotec, so u would add "set -x " [16:28] atop [16:29] jsmith-argotec, http://pastie.org/private/bez20phme9bmn14yevypka [16:29] something like that [16:29] so change -e to -x [16:30] pdtpatrick: no change. no more output in syslog or terminal [16:30] jsmith-argotec, does pacemaker log anything ? [16:31] pdtpatrick: I've been trying to start nmbd manually to rule out the pacemaker side of it [16:31] pdtpatrick: but the first time I tried with pacemaker controlling the start of nmbd it did... === Lcawte|Away is now known as Lcawte [16:33] jsmith-argotec, just curious - make sure there's no process already running and pacemaker is not trying to control it or is controlling it. "crm_mon --one-shot" [16:33] pdtpatrick: http://pastebin.ubuntu.com/976093/ - output when pacemaker tried to start nmbd [16:33] jsmith-argotec, also you can add set +e to turn off set -e which is by default with scripts. And then add set -x under the set +e to see if it does any better. [16:34] jsmith-argotec: is that with the upstart ra? [16:34] roaksoax: yep [16:34] ivoks: ^^ [16:35] ivoks: http://pastebin.ubuntu.com/976093/ [16:35] roaksoax: samba has been upstart since 10.04 [16:35] or earlier [16:35] jsmith-argotec: ivoks is the man for that ;) [16:35] roaksoax but it was fine under 10.04 [16:36] jsmith-argotec: so I'm guessing that if you start nmdb with upstart directly it doesn't fail but it does with pacemaker? [16:36] roaksoax: no it fails either way when I have smbd under pacemaker control [16:37] roaksoax: but when I migrate everything *samba* away then nmbd starts fine [16:37] pdtpatrick: crm output: http://pastebin.ubuntu.com/976098/ [16:37] roaksoax: ^^^ [16:38] jsmith-argotec: isn't there any logs in /var/log/upstart/etcetc.log [16:38] s/etcetc/by the job [16:38] roaksoax: shouldn't matter that pacemaker won't start nmbd due to failcount when I'm trying to manually start nmbd should it? [16:39] jsmith-argotec: for what I can read in the fail log before (The last reference on a connection was dropped without closing the connection), it seems that there's an open connection for the daemon on dbus [16:39] and trying to open a new one, fails [16:39] roaksoax: there is a nmbd.log in /var/log/upstart but I don't understand it [16:40] jsmith-argotec, so maybe "crm resource stop && crm resource cleanup " [16:40] roaksoax: http://pastebin.ubuntu.com/976115/ [16:40] jsmith-argotec: http://upstart.ubuntu.com/cookbook/#debugging [16:41] * roaksoax will brb [16:42] jsmith-argotec: so, once smbd is started, nmbd won't start? [16:42] pdtpatrick: I have a meeting in a couple minutes I just realized... thanks for the help! I'll be back in a bit to try again [16:42] roaksoax: I have a meeting in a couple minutes I just realized... thanks for the help! I'll be back in a bit to try again [16:42] ivoks: once smbd is started under pacemaker yes [16:43] run nmbd -d 10 -D [16:43] ivoks: I've only tried to start nmbd with smbd stopped when pacemaker wasn't controlling smbd [16:44] ivoks: that worked [16:45] while smbd was managed by pacemaker? [16:45] ivoks: yes [16:45] ivoks: the upstart nmbd.conf has changed slightly in 12.04 vs 10.04 [16:46] ivoks: I thought maybe the -f smb.conf test failed due to my using a pacemaker symlink for it but i tested that line in terminal and it worked fine [16:47] ivoks: because the -f smb.conf test in the nmbd.conf definition is new [16:47] ivoks: you going to be around in about 45 minutes? [16:48] pdtpatrick: btw I tried the stop/cleanup and then manually start nmbd with no change [16:48] jsmith-argotec, looks like ivoks fixed :) Learned something myself. [16:50] pdtpatrick: well yes and no... that made it start but didn't fix pacemaker/manual starting of nmbd [16:50] oh [16:50] ivoks: when you asked "while smbd was managed by pmkr" you where referring to when I ran nmbd -d 10 -D right? 'cause that's what I answered [16:51] jsmith-argotec: yes; it works for me [16:51] jsmith-argotec: my guess is that starting nmbd is racing with your linking [16:52] ivoks: links are up before smbd or nmbd... [16:52] then it's something else [16:52] starting smbd and nmbd works for me [16:52] primitive nmbd upstart:nmbd [16:52] primitive smbd upstart:smbd [16:52] clone cloneS smbd [16:52] clone cloneN nmbd [16:52] both start [16:52] hmm [16:53] Daviey: thanks, we should be all set (I asked Michelle for help yesterday) [16:53] thanks for testing.... I have to go to a meeting but when I get out I'll pick up where I left off [16:54] Daviey: http://summit.ubuntu.com/uds-q/meeting/20363/servercloud-q-lxc/ is rescheduled and should be (i hope) locked to the 9am friday spot [16:58] jsmith-argotec: works as a group too [16:59] ivoks: tested starting smbd and nmbd manually on that node without any pcmkr and worked fine... grrrr :-) [16:59] ivoks: I gotta run - be back in 30 or so === Arc__ is now known as a5m0 [17:03] Daviey: ping? [17:15] Hi, trying to install 10.04 64bit as a guest on a Xen (XCP 1.1) host, but during install the guest doesn't receive DHCP. The vif seems to be assigned to xenbr0 correctly (and xenbr0 is associated with eth0, which is the only network device). Any ideas what I might try? === matsubara-lunch is now known as matsubara [18:03] * jkyle is at the cloud summit [18:04] some cool talks === Ursinha` is now known as Ursinha === Ursinha is now known as Guest66718 === Guest66718 is now known as Ursula === Ursula is now known as Ursinha [18:27] hello.. [18:27] this place help me with my ubuntu server? [18:28] Yes. [18:28] hello everyone..hi Pici.. [18:28] I am new to this ubuntu server.. [18:28] I need to learn from very begginning.. [18:28] help me at much as you can... [18:29] CowBoyVV, http://doc.ubuntu.com/ubuntu/serverguide/C/ [18:29] I need to set up my website...where I can access all the features of ubuntu server...how to set up ... [18:29] like chatroom [18:29] like security network [18:30] thanx bluefrog..I check it out [18:30] yes.. [18:33] I do all of that already..but I need more how to set up from my own website [18:36] I'm having a very odd error. After reboot one of my virtual machine hosts no longer responds to ping (IP or hostname) and SSH connections. The virtual machines it is running are accessible, the router sees it's entry in the ARP table (even the router can't ping it though). I've turned off ufw and flushed iptables rules, but it's still not accessible, any ideas? [18:39] I've also checked netstat and it is listening for SSH connections [18:40] Hello there I am making a package for ubuntu server and the upsource code was real bad re-righting apache ect I have now re-wrote the files and what too see if there is a better way to write this into the package. the bug is located here https://bugs.launchpad.net/zpanelcp/+bug/996282 Code is located here http://bazaar.launchpad.net/~josephjamesmills/zpanelcp/zpanelcp/files/head:/etc/zpanel/configs/apache/ I will be trying too [18:40] push to /var/www/ and make avilble during build but I do not know the steps too link sites-enabled How too link ? any tutorial would be great thanks for your time [18:40] Launchpad bug 996282 in zpanelcp "Turning on zpanel should not re-write /etc/apache2/apache2.conf" [High,Triaged] [18:52] Need some help I upgrade my 10.04 server to 12.04 running postfix + dovecot w/managesieve now none of the filter work watching the logs it looks like it getting passed to lda which dumps it right in the Inbox [18:56] I am making a package for ubuntu server and the upsource code was real bad re-righting apache ect I have now re-wrote the files and what too see if there is a better way to write this into the package. the bug is located here https://bugs.launchpad.net/zpanelcp/+bug/996282 Code is located here http://bazaar.launchpad.net/~josephjamesmills/zpanelcp/zpanelcp/files/head:/etc/zpanel/configs/apache/ I will be trying too [18:56] push to /var/www/ and make avilble during build but I do not know the steps too link sites-enabled How too link ? any tutorial would be great thanks for your time [18:56] Launchpad bug 996282 in zpanelcp "Turning on zpanel should not re-write /etc/apache2/apache2.conf" [High,Triaged] [18:56] sorry wrong channel [19:00] nm I found the problem Thanks anyway [19:00] anyone have suggestions for how to upgrade to 12.04 on an OpenVZ host correctly? [19:00] I read this: http://askubuntu.com/questions/125742/upgrade-to-ubuntu-server-12-04-brings-error-glibc-not-found [19:01] I haven't started the upgrade, but I also don't want to screw everything completely up [19:01] do I upgrade, fail, then add the PPA? [19:02] i added the ppa here on 11.10, but it gets disabled during the upgrade [19:02] terinjokes, unless there is a real good reason I would not. [19:03] terinjokes, most of managed by pearl and you will run into all cans of problem when the perl lib upgrade [19:04] terinjokes, if you are hell bent on 12.04 start a new vm with 12.04 and move your data [19:05] Captain_Proton: well I can't, the provider won't upgrade the kernel [19:05] terinjokes, will they create a vm with 12.04 [19:07] Captain_Proton: maybe. would have to install it somewhere else, switch out the libc then package it up [19:08] terinjokes, if they will not help you move vps providers are cheap and everywhere. Are you running just web apps ie.. Lamp or a custom app [19:09] running some lamp stuff, but also some custom stuff === railsraider_ is now known as railsraider [19:12] I would ask them I do not see why that would not. I have down my whole VPS trying to upgrade it, will not do that again lol [20:30] I am trying to know when someone is connected to my ftp server,sftp,or ssh but cant figure it out. [20:30] lastlog will output ssh. auth.log might show me who tried to login. anyways i dont know where to go from here. [21:07] pdtpatrick: figured out that nmbd startup issue (with lots of help from ivoks) - my smb.conf had warnings when running testparm which resulted in exit 1 on the line checking for NMBD disabled [21:08] pdtpatrick: default smb.conf tested fine so it would work fine when it wasn't trying with pacemaker [21:08] pdtpatrick: thought you might like to know the final outcome === dendro-afk is now known as dendrobates [22:11] Hello all. I am interested in setting up a test Apache Cassandra box on Ubuntu 12.04 but am having difficulty figuring out how to get Java installed (sun-java6-bin doesn't appear anywhere in the repositories). Can anyone assist with this? [22:12] juju would be a good way to get cassandra up and runing [22:12] it can run against lxc on your local machine [22:14] I am not familiar with LXC [22:14] I thought JuJu could only run against MaaS and AWS compatible services? [22:14] http://askubuntu.com/questions/65359/how-do-i-configure-juju-for-local-usage [22:14] RichardRaseley, Sun has forced Canonical to remove sun-java6* from the repos [22:14] thats includes info for oneiric, precise should be similar [22:15] RichardRaseley: juju has an LXC backend for local development [22:15] Firebolt: Can you suggest the best way to get it at this time? [22:15] There's a ppa for it [22:16] lifeless: I appreciate your suggestion, but I would like to just run through the standard setup on this particular box (learning experience). [22:16] RichardRaseley: juju *is* the recommended standard setup, FWIW. [22:17] lifeless: Recommended by Canonical or the Apache Cassandra project? [22:17] Ubuntu [22:17] RichardRaseley, if you have your heart set on using sun-java6, sudo add-apt-repository ppa:ferramroberto/java && sudo apt-get update && sudo apt-get install sun-java6-bin [22:17] cassandra is extremely hard to package === dendrobates is now known as dendro-afk [22:17] because of intricacies around java local library versions and so forth [22:17] Firebolt: You say that like I should be using something else? [22:18] I don't know if you *should* be using something else [22:18] lifeless: When you say package, you mean like a .deb? I was going to just download the source from their site. [22:18] I said it in such a manner because lifeless has proposed that [22:19] dddddddddddddAh [22:19] Ah* [22:20] lifeless: The LXC method will not work the best for me as I'd like to deploy it across several physical nodes as a test. [22:20] RichardRaseley: you could use the lxc approach on each node and then hand configure them [22:21] or you could bring the nodes up via maas, or openstack, and let juju do it all [22:21] Hmm... [22:21] If I use MaaS though I have to mess around with the DHCP infrastructure in my environment, correct? [22:21] That would be a mess (different team) [22:22] Or can I manually enroll to a MaaS server? [22:23] you can manually enroll using avahi, though I don't know how much heavy-duty work that that has had [22:24] I am not familiar with avahi... [22:25] (Reading Now) [22:33] Is apt-add-repository not part of 12.04 server? [22:38] RichardRaseley, its like in some python utils package [22:39] which is really weird lol [22:39] Yeah, I see that now. [22:39] Hmph [22:43] how can I setup the default kernel logging level? [22:47] hey guys... so I ran usermod -a -G group2 user. When I run groups user, it shows groups: user group2. When I try to modify files in a folder owned by the user and group (group2:group2), where permissions are set 770, I get permission denied. What gives? === bobweaver is now known as josephmills === josephmills is now known as bobweaver [23:13] Psi-Jack, hey dude. So I've got a server now running with kvm [23:13] eth0 = 192.168.1.49 [23:13] virbr0 = 192.168.122.1 [23:14] but theres effectively nothing in my /etc/network/interfaces [23:14] any thoughts on "transforming" virbr0 to bridging instead of NAT? [23:15] rockets: You don't. [23:15] rockets: You replace eth0 and put that into a bridge, like vmbr0 [23:15] Psi-Jack, so how does one get a bridged network so that I can place VMs on my local lan [23:15] virbr0 is a virtual bridge, not actually attached to a real NIC. [23:15] ok [23:32] Psi-Jack, I have a dual-nic system. Would it be possible to configure my second NIC as the bridged-nic [23:32] Of course. [23:32] As long as it'll be the NIC that has the connection you need. [23:33] Psi-Jack, does the ethernet card im bridging to need to have a real IP of its own? [23:33] id rather it didn't [23:33] No [23:33] but it has to be connected to something. [23:34] Psi-Jack, of course [23:34] thanks! === Lcawte is now known as Lcawte|Away [23:37] Psi-Jack, the official Ubuntu 12.04 server guide actually has some nice docs on this [23:38] They actually have 12.04-specific server guides? [23:39] Psi-Jack, https://help.ubuntu.com/12.04/serverguide/serverguide.pdf [23:39] yessir. [23:39] Maybe they only do them for LTS releases? [23:40] No, they don't.. [23:44] Psi-Jack, the above link is a 12.04 specific guide sir,. [23:47] I need to configure a network interface (eth1) neither in dhcp neither in static mode. [23:47] I just want it to be always UP but with no IP address configured. How can I do that using /etc/network/interfaces? [23:47] Psi-Jack, would something like this be appropriate? http://pastie.org/3881688 [23:48] jvargas, I don't know the answer, but why, out of curiosity? [23:49] rockets: I have a virtualbox machine that is reserved to use a unique IP in that address because is it a 255.255.255.252 netmask. [23:49] jvargas, so? [23:50] so you DO want it to have an address [23:50] rockets: so, the host must not be configured with an IP, but have the interface UP so that it could be bridged to vbox machine. [23:50] No, I do not want it to have an address, just to keep UP. I can do it, but manually using ifconfig eth0 up. I wondered how to do it automatically at startup [23:51] jvargas, ifconfig eth0 auto [23:51] wont do dhcp [23:51] or rather [23:51] auto eth1 [23:51] but no iface blah blah [23:51] just auth eth1 in /etc/network/interfaces should do it [23:51] it will bring it up but set no address [23:51] it is in auto mode, but it remains OFF. [23:51] that's odd. [23:52] jvargas, why not just assign it a dummy private IP [23:52] 172.31.0.1 or somethign [23:52] no gateway [23:54] rockets: Will try. [23:56] jvargas, I just tried auto eth1 on my server [23:56] with no IP [23:56] it works [23:57] http://pastie.org/3881723