[00:11] got pygrub trouble- trying to boot karmic 9.10 VM (pv) & get "no bootloader data" error. Can I add a psuedo grub1 setup - menu.lst - and get pygrub to work? [00:13] the dom0 is suse11.2 and my /boot is ext3. I want pygrub to use the /boot in domU [00:14] it seems silly to uninstall grub2, install grub1 when all pygrub needs is the menu.lst [00:19] if an nfs mount is 755 owned by www-data:www-data, what permission would allow any user to touch any file owned by www-data:www-data? [00:25] so i have a "special" version of xml-rpc-c installed (the advanced tree) - how can i uninstall it? 'make uninstall' did not work, and i've never really uninstalled anything i've compiled... === erichammond1 is now known as erichammond === erichammond2 is now known as erichammond === rberger_ is now known as rberger === FFForever is now known as FFForever-Away [02:06] nam-myoho-renge-kyo [02:45] Hi Ubuntees, I need help resolving dependency issue, I'm trying to install testdrive but apt-get complains : testdrive: Depends: cpu-checker but it is not installable. Running Ubuntu 9.10 64bit [02:47] livingroom: And why i it not installable? [02:47] KB1JWQ, exactly [02:48] Package cpu-checker is not available, but is referred to by another package. [02:48] This may mean that the package is missing, has been obsoleted, or [02:48] is only available from another source [02:48] E: Package cpu-checker has no installation candidate [02:48] Use a pastebin. [02:48] And what sources are you using? [02:49] ppa.launchpad.net/testdrive/ppa [02:50] for testdrive package [02:50] do you want me to pastebin sources.list? [02:51] and thank you for you interest [02:51] The only references I see to cpu-checker are in Lucid build repos. [02:52] So "WTF are you doing running pre-release packages on a server and expecting it to work halfway decently?" :-) [02:53] that is not what I am trying to do [02:55] as I've heard on ubuntu podcast and read on https://launchpad.net/testdrive testdrive will allow me to test development releases in virt enviroment [02:55] in an easy manner [02:56] thus allowing me to give back my 5 cents to development team and community [02:56] may i ask same question lvs/tun here? [02:57] so was I mistaken my understanding? [03:56] New bug: #537099 in postfix (main) "package postfix 2.6.5-3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/537099 [04:44] I have a Squid question. [04:45] We have some systems connecting to Amazon.com affiliate APIs via Curl in PHP. And it's hammering our server, we determined. [04:45] However, the data it brings back really only needs to be done like once a day. [04:46] Is this something we can use Squid for? [04:46] For instance, I could put amazon.com in /etc/hosts, pointing to the Squid server. And then I'm thinking we could do some kind of Squid configuration to cache those connections to Amazon.com by the day. [04:49] vinq1: why wouldn't you, you know, fix your PHP scripts? [04:50] Just run curl in a cron job, writing to e.g. /var/lib/local-copy.txt, and then have your PHP scripts access that. Or similar. [04:50] Ah, it's spaghetti code, unfortunately [04:51] I'm needing a quick-hit solution where we don't need to change the code for now. [04:51] If you were to use squid to do it transparently, you'd have to care about caching heuristics and whether the amazon API claimed the data was cachable (it probably doesn't) and all that. [04:51] Because I'm tied up coding another project. [04:51] Well, it doesn't hurt to try in an off-hours timeframe so that I could see if it would work. [04:52] Of course, burning the PHP to the ground and using something like Python or Erlang would also be a Good Move. [04:52] Well, we can have that religious conversation another time. So, I'm trying to find a simple (as can be) tutorial on Squid for this type of config. [04:55] I'm afraid I can't really help with that. [04:55] What's a guide on the web for just caching one domain with Squid? [04:56] And do I need to set this up as a Transparent Proxy (not certain yet what that means)? [04:56] If PHP is running curl(1) instead of libcurl, you could just set the proxy in ~www-data/.curlrc, make squid bind only to the loopback interface, and then force squid to cache harder as necessary. [04:56] Interesting! :) [04:57] The whole technique is a bodge, IMO. [04:57] The PHP is using the curl() API inside PHP, not shelling out to command-line curl. Would that matter? [04:59] twb: we're just looking for a temp solution to bandaid this just until I can leave the current project I'm on to put this fire out -- the right way -- by rewriting the code entirely. [05:07] grub2 is no obstacle for ub 9.10 PV guest... got around it by adding menu.lst and testing with pygrub [05:48] Is there a way to not have the lamp start when my computer is booted up? I want to start it manually sudo service apache2 start [05:49] any docs on how to do this? [05:51] edit /etc/default/apache2 or run update-rc.d as appropriate. [05:52] Note that these are potentially temporary solutions : at some point the answer will change to "edit /etc/init/apache2", but that doesn't appear to have happened yet. [05:52] Obviously, you may or may not want to do the same thing for your database, etc. [06:05] how much of a system load does it use if I leave it alone? [06:07] Kutakizukari: Hrm? A system doing nothing has no load. Some things that you install will start services, some of which may have recurring tasks. Some of what you install may install cronjobs that may cause actions at specific times. [06:09] persia, thank you for the help. [06:11] Just got the LAMP installed with Netbeans IDE and a copy of O'Reilly Learning php, mysql, & javascript. [06:12] guys, is there any snmpagent i can install on my ubuntu-server which tracks all network info so that I can use it in mrtg? [06:14] swift: `apt-cache search snmp` shows a bundle of stuff (I haven't tried any of it) [06:18] persia, the issue is that one of my routers doesn't have SNMP features.. and i want to monitor it from my ubuntu-server via mrtg [06:19] so you want something to ping it every once in a while, and to get that info into mrtg? [06:20] I suspect you'll find some example that's close to what you seek in the mrtg-contrib package. [06:20] persia, it's a router cum modem.... so, details including transfers, etc [06:22] So, if it doesn't due SNMP, how do you expect to extract that data? [06:50] persia, so i won't be able to get data from that router? [06:51] swift: I didn't say that. I only suggest that if you want data from the router, you need to be able to collect it from the router *somehow*. Getting that into MRTG is a secondary problem. [06:52] ok, persia, any insight on how i can get the data? [06:53] Check the documentation for the device from which you want data. [06:53] Many devices can enable SNMP is coaxed. Many that can't have some other admin interface that allows data extraction. [06:53] s/is/if/ [06:54] ?? [06:54] that was confusing.. please elaborate [06:56] So, read the docs on the device, and look for other sources of info on the device. [06:56] Some devices don't do SNMP by default, but can be made to do SNMP if certain actions are taken. [06:56] Other devices can collect data in some other admnistrative interface, and it's potentially possible to script extraction of this data. [06:57] I can't usefully elaborate more unless you happen to have a device with which I'm familiar (and none currently exist, as it's been that long since I played with SNMP) [07:58] thanks a lot persia!.. il look into the device docs.. [08:00] swift: Good luck. [08:10] ttx, around ? [08:10] smoser: yo [08:10] bad news on https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/531494 [08:10] Launchpad bug 531494 in upstart "cloud-init job not running in eucalyptus without ramdisk" [Critical,Confirmed] [08:11] it is almost definitely race, and seems like just about anything can kick it (although nothing i've found yet is reproducibly does so) [08:12] smoser: want me to reproduce it on my own set ? [08:13] i'd be interested to see if you can. [08:13] ok [08:13] i'm guessing your hardware is more like dustins [08:13] yes, quite identical [08:13] What hardware are you using out of interest? [08:14] ttx and kirkland have "cloud in a bag" hardware [08:14] Omahn: a set of laptops [08:15] wow. the link from eu-west-1 to ubuntu data center is quick [08:16] 53.9M/s over 160M [08:16] and prior to that 46M or something [08:18] anyone know how to use iptables to filter traffic to my bridge's KVM based VMs? [08:18] smoser: The disk is probably the bottle neck rather than the network link looking at those numbers. [08:18] it seems like no matter how I configure iptables, I can get to any of the VM's ports. [08:22] <_ruben> you might need to use ebtables instead for filtering on bridges [08:24] _ruben, what I want to do is only have iptables running on the host, not on the VMs. And be able to forward port 80 of a VM to port 8080 on a VM [08:25] I'm running Jetty as a regular user in a VM, and I want that service to be available as a regular HTTP server to the world. [08:26] _ruben, I don't think ebtables will help with that, would it? [08:28] <_ruben> tauren: now you got me confused? do you want to restrict the allowed traffic to the vms or grant outside access to it (and thus liberating the allowed traffic to the vms) [08:28] <_ruben> ? [08:29] _ruben, sorry. for my VM that is running Jetty, I want to only allow ssh, http, and 8080 traffic. But I want to forward 80 to 8080. [08:29] does that make sense? [08:29] for my VM that is running mysql, I want to only allow ssh and 3306. [08:30] if anyone wants to play http://paste.ubuntu.com/393120/ [08:30] that has ebs root daily builds for lucid from today [08:31] smoser: should I use the latest uec iamge, or something else ? [08:31] _ruben, I want to block it at the host, because these VMs will be under control of customers, and I want to limit what they can do. [08:31] the latest will fail. [08:31] i was just using 20100310 for consistency in an inconsistent world [08:31] 20100311? [08:31] sure [08:32] why would it fail ? [08:32] it will fail because of upstart and timing and your hardware being like kirklands [08:32] it will run fine on data center hardware [08:32] smoser: that's what I'm trying to confirm, right [08:33] right [08:33] let's go for 20100310 for consistency [08:33] yeah [08:36] <_ruben> tauren: ah ok, so you actually want both things i mentioned ;-) ... then again, i have near-zero experience with (filtering on) bridges.. [08:37] _ruben: ok, too bad, i appreciate your input! [08:37] ttx, i have to sleep. any thoughts you can provide or help any where on that would be great. i don't have high hopes for it for freeze today. [08:37] smoser: it's a beta1 nominated bug anyway, so we can still work on it [08:38] smoser: good "night" [08:38] yeah. thanks. [09:00] any ubuntu documentation available for mysql db replication ? [09:06] New bug: #537191 in apache2 (main) "package apache2 2.2.12-1ubuntu2.1 failed to install/upgrade: η υποδιεργασία dpkg-deb --control επέστρεψε κατάσταση λάθους 2" [Undecided,Incomplete] https://launchpad.net/bugs/537191 [09:18] smoser: it's working alright here. [09:18] and I'm in the worst case scenario / running CLC+Walrus+CC+SC on the same machine [09:24] hm, or not. [09:24] smoser: I can reproduce it by starting multiple instances at the same time. Some of them will fail. [09:25] ttx: thats not worst case.. you don't have nc there :) [09:25] NC on a separate machine :) [09:25] is the release date of ubuntu 10.04 already announced? [09:25] Dr_Jekyll: yes, we also know the release date of 10.10 [09:26] 10.04 should be released on April 29th. [09:26] alright, thanks! [09:51] what's the recommended kernel to load under vmware in ubuntu server 9.10? [09:51] as a guest os [09:51] 2.6.31 [09:55] anyone including vmtools === uvirtbot` is now known as uvirtbot [09:57] I am already running 2.6.31-19-generic-pae [09:57] I don't know how to install vmtools though [09:57] I tried to get the host to mount the image to the guest [09:58] not working for some reason [09:58] [x] connected ? [09:58] ^^ [09:58] th0mz: Error: "^" is not a valid command. [09:59] checking [10:00] vmtools do something with the network card right? [10:00] you can use vmnet3 [10:00] I'm running server, not desktop edition [10:00] I just need more performance from the network [10:00] but it increase performance [10:00] (try a dd before and after) [10:00] great. that's what I need. [10:00] server shout not run without [10:01] and if it is in a cluster it is really needed, (ballooning etc..) [10:01] ouch. yes… believe me I feel it ;-) [10:01] great pain. [10:01] I need to find a simple way to mount the image with the tools [10:01] right click, install vmware tool shoud do the trick. [10:02] when I do that, the vm gets stuck for 70+ seconds [10:02] [ 1113.022505] BUG: soft lockup - CPU#0 stuck for 77s! [swapper:0] [10:02] [ 1113.022505] Pid: 0, comm: swapper Not tainted (2.6.31-19-generic-pae #56-Ubuntu) VMware Virtual Platform [10:02] and a bunch of kernel-panic looking stuff [10:03] so that method is scary and not working :-) [10:06] any suggestions how to obtain the vmtools without using the standard method? [10:06] download, install [10:06] :] [10:10] how about open-vm-tools is that as good as? [10:11] I ran an apt-chache search vmware and found this [10:11] open-vm-tools - tools and components for VMware guest systems (CLI tools) [10:11] whoah, it wants to install a gazillion things [10:11] haha [10:42] New bug: #341979 in kvm (main) "Windows guest can't reboot when using smp." [Medium,Fix released] https://launchpad.net/bugs/341979 [10:52] cjwatson, I noticed you've been uploading to the libvirt package a bit lately. I was just wondering if you could have a look at my bug at LP #528934 and consider applying it? I've attached a debdiff, which I believe makes it easier for you. [10:52] Launchpad bug 528934 in libvirt "IPv6 shouldn’t be disabled by default in libvirt" [Wishlist,Triaged] https://launchpad.net/bugs/528934 [10:53] or soren. Whoever is interested. :) [11:33] jayvee: the only reason I've been uploading libvirt is for the libparted ABI transition - I'm not going to be a good reviewer for changes to it in general [11:33] sorry [11:33] np [11:36] Launchpad nicks usually == irc nicks, but I wish Launchpad would generate nicks from the e-mails of people in the changelogs to make people easier to track down. :) [11:40] jayvee: I, on the other hand, know libvirt reasonably well, but I know next to nothing about ipv6. :( [11:41] heh [11:41] soren: but you can see that libvirt disabling IPv6 on an interface is plain inconsiderate, right? [11:42] sure, there are arguments for and against the behaviour red hat put in it [11:42] It sounds inconsiderate, yes. [11:42] but I believe that the only scenario where you would disable IPv6 is if you're scared of it — it's an irrational fear [11:42] Yup. That's what I have. [11:42] :) [11:43] ..so I'mm kjkknik,jjjjjjjjjjjjjjnmmmmmmmmmmmmmmmmmmmmm mm [11:43] Sorry, had to get a thing out from under my m-key :) [11:44] ..so I'm kind of hesitant to change anything that as anything to do with ipv6. I have no idea of the sideeffects. [11:45] the funny thing is, is that *now* it's doing something to do with IPv6. my patch actually makes it have less to do with IPv6 by leaving it more alone. [11:45] put it this way: [11:45] That I understand. [11:45] all ubuntu installs since 4.10 have had IPv6 enabled on every network interface by default [11:45] at least, I think so :) [11:45] as far back as my memory goes anyway [11:46] it's the linux default [11:46] My hesitance kicks in because someone made a decision to make this change. If I go and revert it, /I [11:46] am changing something to do with ipv6. [11:46] * soren notes that typing is hard [11:47] hmm [11:47] what can I do to help, in this case? [11:49] soren: I suppose it would be easier to convince you to upload this patch if upstream had applied it too [11:49] but I've had little response from them [11:49] jayvee: Oh, yeah, sure. Then I'd do it in a heartbeat. [11:49] soren: upstream were nuts [11:49] jayvee: They are on IRC as well. [11:49] soren: if its the bug I think it was, I read the bug in detail. [11:50] https://bugzilla.redhat.com/show_bug.cgi?id=501934 [11:50] yeah [11:50] bugzilla.redhat.com bug 501934 in libvirt "libvirt bridge should have IPv6 disabled" [High,Closed: rawhide] [11:50] soren: it boiled down to 'zomg something wrong turn it all off' [11:50] note that Peter Bieringer "100% agrees" with my comment, and he wrote the IPv6 tutorial for Linux on TLDP [11:50] so there's some credibility there :) [11:50] jayvee: Now, that is useful info :) [11:50] anyone know how to display the ipnumbers used by kvm guests on the host? doing "virsh list --all" shows the hosts, but how can I find their IP numbers? [11:51] tauren: You can't. [11:51] soren, no? [11:51] I do fear I used too harsh language in my comments on the RH bugtracker though. [11:51] tauren: Just like you can't tell what the IP's are of your physical machines by looking at the box. [11:51] as you can see, IPv6 is something I'm passionate about. :) [11:51] hmm, so I have to log into each host and do an ifconfig to see them? [11:51] tauren: Are they using dhcp? [11:51] nope [11:51] tauren: How did you configure their network? [11:52] soren, bridge eth0 with static ips in the guests [11:52] tauren: Yes, but how? [11:52] tauren: Where did you enter the static ips? [11:52] Inside the virtual machine, right? [11:53] soren, in /etc/network/interfaces on each guest [11:53] yes [11:53] Right. [11:53] So that's where you go to find them. [11:53] well, i used vmbuilder to create them and specified the IPs in the command line. [11:53] I assume it put them into the interfaces file [11:53] It did. [11:54] tauren: may be offtopic, but from what I recall, OpenVZ makes it easy to find the guest IP addresses like what you describe [11:54] jayvee: openvz does not provide virtual machines. [11:54] not having used OpenVZ, take that with a grain of salt [11:54] * soren is on the phone [11:54] jayvee, funny you say that, i was using openvz before, which is why i wanted the same feature with kvm [11:56] I supposed I could set up DHCP and dole out static IPs based on mac addresses or something [11:56] then i could just look at the dhcp server to see the list of ips. [11:57] yeah [11:57] there is also ping -b, but unfortunately linux doesn't respond to broadcast pings by default [11:57] dang, was really hoping i was just missing a virsh command that would list ips. this is a bummer. [11:57] or use UEC :P [11:58] if I were to retrofit a system to figure out IPs on top of what you already have, I'd enable broadcast pings, and get each machine to register itself in reverse DNS [11:58] that way, ping -b would show all the hostnames with the IPs [11:58] but I think that's over the top for something small ;) [11:58] jayvee: dhcp3-server will do rdns rego for you [11:59] that's what I had in mind [11:59] interesting. ok, those are some ideas then. [11:59] and forward [11:59] but you have to tweak the config file [11:59] yah [11:59] off by default for compat with 3 [11:59] s/3/2 [11:59] and it's really confusing at first [11:59] Is UEC the eucalyptus stuff? [11:59] yeppers [11:59] anyone here looked into openqrm? === linux_guru_mania is now known as linuxgurumaniac [11:59] lifeless: I tried UEC on my desktop...I couldn't get it going. I think it's way too complex for me. [11:59] hello [11:59] hello [12:00] or it's just not in my use case [12:00] i tried doing a plain UEC install from CD a while back and it didn't work. didn't put any more effort into it. [12:01] * jayvee just installed MySQL in CentOS, and it looks like it can install i386 and x86_64 libs on the same system cleanly [12:01] * jayvee can't wait for debian multi arch [12:02] it's a shame, because UEC seems to be really cluster oriented, which I was really excited about [12:02] I tried to get some cluster dns script going with nsupdate, but I gave up because it was too difficult to get it working with upstart. [12:02] upstart is designed for daemons, not scripts. [12:03] in a cluster scenario, is it best to get machines to use dhcp addresses? [12:05] jayvee, soren, lifeless: the reason I want to know the IP numbers on the host is so that I configure iptables on the host to protect the guests. ie block everything except 22, 80, and 8080. Plus port forward from 80 to 8080 on the guests. [12:05] jayvee: single machine is a little tricky due to bugs [12:05] jayvee: did you follow my docs on the same (and do you ave a separate machine doing DNS/DHCP ? [12:06] lifeless: what is the recommended config for doing UEC? is 2 machines enough? [12:06] i was trying to set it up on a single machine too, maybe that's why it didn't work. [12:07] tauren: recommended config is three machines: 1) network infrastructure. 2) cluster controller 3) 1 or more node controllers [12:08] I have successfully brought that down to do two , by combining 2 and 3, though I ran into some bugs [12:08] * persia wonders if the IPv6 discussion got lost [12:08] indeed it did [12:08] lifeless, can cluster controller run in a VM? [12:08] tauren: I'm working on bringing it down to one, but that needs some more care. [12:08] tauren: I think it could yes. But not a UEC one :P [12:08] lifeless, and what exactly is network infrastructure? [12:08] tauren: DHCP, DNS [12:08] ahh [12:09] can UEC guests do PXE boots? [12:09] no, they boot 'machine images' [12:09] I'm really skeptical that UEC is at all production-ready if it's not even been tried and tested under a single server condition [12:09] its EC2 for home. [12:09] jayvee: its not a use case the devs aim at. [12:10] jayvee: they are aiming at 10s or hundreds of machine deployments [12:10] I've heard it works cleanly with 3 machines, and is tested at 2. One is a special case. [12:10] When I compared UEC with OpenQRM, it seemed OpenQRM was the better solution. [12:11] it too recommends 3 servers: storage server, openqrm management server, node server [12:11] but they have a way to run it all on a single system. [12:11] anyway, in case you want to check it out. [12:12] it's discussions like these that make me want to power up the DL320 in the garage [12:12] but we worked out the power cost us about $45 a month so it's been off since 2007 [12:14] jayvee: yeah, I had some of those but had to give them away due excessive noise and power consumption :( [12:14] yeah, that's how I got all mine :) [12:15] jayvee, how much power does it consume? [12:15] don't remember [12:15] though it'd be around a kilowatt, I'd imagine [12:16] i just installed a supermicro twin 1U system. It contains two servers in 1U, each has dual quad CPUs, 32GB ram. I'm sure it sucks up the power. [12:22] just checked my notes. supermicro says they tested that server in some configuration and it used 2783 BTU/hour. I think that works out to about 6.8A. (1W = 3.413 BTU/hr, 815W/120V =~ 6.8A). Sorry, getting OT now. [12:27] is there a easy power management package for Ubuntu servers to shutdown and start automatically? i have tried APCI and WOL === manic is now known as manicman [12:37] Hi - I'm trying to vnc into my headless ubuntu-server hardy box [12:37] I was following the directions from here: http://stevenharman.net/blog/archive/2008/12/13/vnc-to-a-headless-ubuntu-box.aspx [12:37] But all I get is a brown screen [12:37] Does anybody have any idea what might be wrong? [12:37] I'm thinking I'm probably looking at a blank desktop and need to install some packages for a minimal gui [12:37] but I'm loathe to install the ubuntu-desktop packages [12:38] since that would be such overkill for what I need [12:40] gzur: i have no ideas for your specific problem. but why don't you just ssh in to the box? [12:52] morning === jan247_ is now known as jan247 [13:00] zul: hey [13:01] Samba bugzapping: created https://code.launchpad.net/~bug-zappers/ubuntu/lucid/samba/bugzapping [13:03] ttx: sweet [13:04] ttx: still trying to wake up ;) [13:12] so yeah, soren, what do you think? :) [13:12] jayvee: It makes sense to me. [13:12] that's a good start. :) [13:12] ttx: Have you followed the ipv6/libvirt discussion at all? [13:12] ttx: A few hours ago. [13:12] or less, perhaps. [13:13] My sense of time is poor right now. [13:13] 90 minutes or so, by my logs [13:13] nearly 1.5 hours ago [13:13] tauren: I mostly use SSH - but I've got a spatial database (postgis) running on there that I sometimes need to interact with visually using a desktop GIS (quantum gis)- which is hard to to in vim :) [13:13] soren: no [13:14] soren: looking [13:14] ttx: Ok. [13:14] ttx: Basically, jayvee has a tested patch to make libvirt work with IPv6, but the upstream bug got messy, and there's a debdiff awaiting upload. [13:14] persia: Would you say it requires an FFe? [13:14] * persia isn't a release person [13:14] persia: I know. [13:14] persia: Regardless. [13:14] persia: I can't really tell if it's as much a new feature as a bug fix. [13:14] But I'd probably upload it without bothering the release team, because I consider not working with IPv6 a bug. [13:15] It's borderline. Depends on whether you believe IPv6 should work by default. [13:15] persia: I'm inclined to agree. I just wanted someone else to say so as well. [13:15] If you say it should, it's a bugfix. If you consider IPv6 a feature, it's a feature. [13:15] * persia knows that there exist IPv6-only production deployments of Ubuntu server [13:15] Wow. [13:16] Check the ipv6 bugtag : seems lots of folks don't even have IPv4 [13:16] That's crazy. That's like not having... [13:16] err... [13:16] something else that almost everyone has. [13:17] for my own personal use, I go without IPv4 all the time [13:17] it's like eating my own dogfood, I spose [13:17] jayvee: /whois reveals you're doing IRC over ipv4 at least :) [13:17] There's a limit to IPv4 address space. In some places, addresses are expensive. [13:17] soren, yes, I bricked my router yesterday [13:18] jayvee: Coulnd't handle the ipv6 address space? I know the feeling. [13:18] That thing is huge! [13:18] jayvee: Do you have the bug number handy [13:18] ? [13:18] soren: I am scared of both ipv6 and libvirt, if that helps :) [13:18] LP #528934 [13:18] Launchpad bug 528934 in libvirt "IPv6 shouldn’t be disabled by default in libvirt" [Wishlist,Triaged] https://launchpad.net/bugs/528934 [13:19] ttx: No, that's surprisingly unhelpful :) [13:19] jayvee: Ta [13:19] heh, actually I tftp'ed a 3.3 MB image when it was only supposed to be 3 MB. had to hotwire my parallel port to the router motherboard to fix it. I'll be telling this story for the next few weeks, I'm sure. [13:20] and because the router now has the 2.6 kernel, the bridging quirk that I used to deliver a second pppoe session to my ipv6-enabled ubuntu server no longer works. [13:20] that's my guess, anyway. been more focused on getting this apache solr installation working since I got it going again. [13:21] which doesn't support ipv6 out-of-the-box, btw. [13:21] ipv6++ [13:21] jayvee: I'm fixing these things before I upload, but just so you know: [13:21] The patch will not be applied if not listed in debian/patches/series. [13:21] ...so I've added it there. [13:22] I've also renumbered it to 9017 rather than 0011. [13:22] ooh [13:22] Debian tends to number them from 0000, and for patches that are local to Ubuntu, we tend to use 9000+. [13:22] I see [13:22] I didn't know that. [13:22] ..that way, if we merge with Debian, and they've added patches, our are still applied "on top", so to speak. [13:23] in my testing, the patch worked locally though. Maybe debuild and pbuilder behave differnetly? [13:23] The patch numbering bit tends to be team- or even package- specific. [13:23] * soren verifies that the package uses quilt.. [13:24] jayvee: No. [13:24] Well, yes, but not usually about patches :) [13:24] jayvee: Neither of those deal directly with the patches. [13:25] jayvee: How did you construct the patch? [13:25] (that may explain why you've seen it work) [13:25] well I first constructed it with a git checkout of libvirt, and tested from there [13:26] and then downloaded the libvirt source [13:26] ran cdbs-edit-patch or whatever it's called [13:26] made my change [13:26] and added the changelog entry [13:26] and tested the resulting .debs [13:26] Heh :) [13:26] cdbs-edit-patch would do it. [13:26] which definitely worked [13:26] Funny that. [13:27] I know it worked, because my ipv6 broke again when I installed the karmic version of libvirt again this morning [13:27] oh...when I rerolled the debdiff, I simply copied over the patch into debian/patches [13:27] and updated the changelog [13:27] so that was done manually [13:28] and that's why it didn't end up in series [13:28] aha [13:28] hmm, it doesn't appear in series in my original debdiff though [13:28] maybe I constructed that one by hand too [13:28] can't remember [13:30] Thing is.. [13:30] If you've patched the source outside of quilt, quilt will not clean up after you either.. [13:31] ..so your package would get built with the patch applied. [13:31] I see [13:31] so it lurks in .diff.gz, rather than debian/patches, or something [13:33] Right, which is less than ideal (having patches live in two different places) [13:33] yeah [13:34] * soren test builds [13:35] soren, what you're looking for is a "fe80::" address appearing on the virbr0 interface if the patch is working [13:35] For reference: I set up a connection to a headless ubuntu-server (hardy) using instructions from this page: [13:35] along side this on: http://stevenharman.net/blog/archive/2008/12/13/vnc-to-a-headless-ubuntu-box.aspx [13:36] without the patch, there are only "inet" addresses. with the patch, there are "inet6" addresses too [13:36] oops later one is suppsed to be http://ubuntuforums.org/showthread.php?t=1155961 [13:36] which deals with installing a minimal gnome desktop [13:36] works like a charm [13:37] Wow. That was awesome. I got out of my chair to go and check my mailbox for an item from $NEWJOB. Half way to the door, the door bell rings. Outside is a UPS delivery man with said item. Magic. [13:38] nice [13:43] such efficent service [13:43] soren: $NEWJOB? are you quitting canonical? [13:44] ttx: the fix for # 507374 doesnt go far enough [13:45] zul: *=\+ ? [13:46] the rest seems cosmetic to me [13:46] ttx: it needs an extra space at the wins line [13:46] bah, need to rewrite lots of our cfengine setup when upgrading to lucid [13:46] i fixed it anyways [13:46] ok [13:46] our cfengine setup is not upstart aware and we are using /etc/init.d/ restart everywhere :( [13:48] ttx: also the fix for # 435061 should really be done in dhcp [13:49] zul: ok, update the bug then [13:49] hi [13:50] can someone here give me example to use foreach ant task to deploy same war to multiple running Tomcat Server? [13:52] New bug: #363791 in samba "libnss_wins.so.2 crashes after suspend to RAM" [Unknown,Confirmed] https://launchpad.net/bugs/363791 [13:53] henkjan: I did. Weeks ago :) [13:55] jayvee: I also had to fix up the patch header a little bit. It didn't cope well with that paths being without the "libvirt-0.7.5/" prefix (it assumes -p1). [13:55] ttx: bzr branch pushed [13:55] soren, ah [13:56] * soren is still test building [13:56] Well.. s/still(.*)/\1 again/ [14:00] jayvee: Uploaded. [14:00] soren: cool bananas :) [14:00] thanks very much for your time. [14:00] jayvee: https://edge.launchpad.net/ubuntu/+source/libvirt/0.7.5-5ubuntu13 <---- You're famous! [14:01] :-D [14:01] ooh, that makes me tingle inside [14:02] jayvee: OK. That's one in. 9 to go :) (based on https://edge.launchpad.net/~jeremy-visser/+related-software ) [14:02] heh [14:03] yeah, come to think of it [14:03] still need to do tahoe-lafs [14:03] had two positive feedback reports from the mailing list the other day [14:03] need to update the bug [14:07] hi, when installing ubuntu server 8.04 32bit, in software install i get error unpacking libntfs-3g23. E: Sub-process /usr/bin/dpkg received a segmentation fault [14:07] do you know why it may happens? [14:08] pjanecze: What do you mean by "in software install"? [14:09] Anyways, dpkg segfaulting sounds like a memory malfunction more than anything else. [14:09] i mean stage in installing ubuntu server [14:09] this stage is after system install [14:10] Oh, that early? Yes, I would definitely say some kind of hardware malfunction. [14:10] you think that memory could be problem, not disk? [14:11] I'd suspect memory before disk. Disk errors tend to show themselves earlier and differently. [14:11] Memory errors just make stuff go strange. [14:11] good to know, thanks i will try to change memories [14:12] Just test your memory first. [14:12] pjanecze: When you boot the install CD, there's an option to test memory. [14:12] Use that. [14:15] well, way past bedtime for me [14:15] thanks again soren [14:15] persia, and others [14:15] :) [14:15] <\sh> anyone here with hands on a HP dl385G6 + P410 SmartArray? [14:19] !anyone | \sh> [14:19] \sh>: A large amount of the first questions asked in this channel start with "Does anyone/anybody..." Why not ask your next question (the real one) and find out? [14:28] ttx, tickle [14:28] soren: oh, i forget about this, thx;) [14:30] ogra: yo [14:30] great [14:30] ttx, so NCommander is back today, lets talk a bit about likewise [14:30] beh [14:30] ttx, i guess you have seen bug 517300 [14:30] Launchpad bug 517300 in likewise-open "[armel] likewise-open needs porting to ARM" [High,Triaged] https://launchpad.net/bugs/517300 [14:31] ogra: for the record, this is now considered a desktop package [14:31] ttx, we have a patch and NCommander initiated a conversation with likewise, given that the server team is the owner of the package we'd like to give that into the server teams hands [14:31] ugh [14:31] https://blueprints.launchpad.net/ubuntu/+spec/desktop-lucid-likewise-open-migration [14:32] ttx, do you know who is responsible for it on the desktop side ? [14:32] ogra: we used to take care of it, but this was moved to desktop by decision of upper management [14:32] ah, pitti [14:32] right, i'll talk to him then [14:32] under the assumption that upstream would do most of the heavy lifting [14:33] I mean, I can help personally with my experience of it, but not the server team [14:33] well, i want to have the conversation in the right hands [14:33] seems there are things like copyright assignment involved etc [14:33] so it should go through a central instance on our side [14:34] ttx, thanks for the info ... [14:34] ogra: sorry about that :) [14:34] well not your fault :) [14:41] I'm trying to run Window Server 2003 on KVM but the performance is very bad. Is there anything special I needed to do? I used the --os flags during the install. [14:44] diago: What was the exact command line? [14:55] soren: http://paste.ubuntu.com/393308/ [15:02] I understand rewind and non-rewind devicenames for tape... but what are these st0l st0a st0m for? man st is unenlightening [15:08] hey everyone I am trying to setup apache on my friends Ubuntu machine, everything is fine however I believe it should be configured however when using his external IP we get returned his router config =/ [15:09] It happened to a machine I had also but forgot what I did to configure it from here, I know it was essentially configured at this point just one more step [15:11] tuxxy: it sounds like his router is answering the request on port 80. Most routers can be configured to listen on a different port like 8080 [15:12] yes but mine is configured on port 80 and works fine, we have smaeIP and same router [15:18] tuxxy: does your setup listens to all requests? if it does - it's that you're trying from the inside, or the router isn't configured propperly for port forwarding. [15:25] Hello, I've installed (& configured) libpam-ccreds as mentioned in https://help.ubuntu.com/community/PamCcredsHowto [15:26] yet, after an LDAP user logins on a client machine, if I run: sudo cc_dump, after that, it gives nothing === mcasadevall is now known as NCommander [15:27] btw, "sudo getent passwd" does list LDAP users even when the machine is disconnected [15:34] :/ Guys I'm having problem getting GRUB installed on my disk, but only when I'm running RAID. Not that I am trying to install off of the CD and I have my RAID setup as 10. Any ideas? [15:41] ttx: liblog-log4j-perl has been seeded [15:42] zul: \o/ [15:44] Sorell, using softraid or fakeraid? [15:45] I'm using the motherboard RAID controler [15:45] !fakeraid | Sorell [15:45] Sorell: Tips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/Installation/SoftwareRAID and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto [15:45] go to the fakeraid howto and follow directions [15:45] will solve all problems [15:46] thanks [15:46] however [15:46] i suggest using software raid [15:48] why would software raid be better? [15:48] Sorell, FakeRAID is not supported by Ubuntu. Trying to install Ubuntu on such a partition could easily result in the loss of all your data. [15:49] oh [15:49] Well, that, and that you can more easily work around bugs or get them fixed. firmware bugs on mainboards are fussy. [15:49] well I will look into softraid then. [15:49] (note that real hardware raid is better than software raid, but expensive) [15:49] 5 years later when a harddrive fails and you cant buy a drive compatible with your motherboard raid will be a big issue [15:50] I am trying to install a server with SATA RAID disks [15:50] LinuxAdmin, good choice [15:50] Well, depends on implementation. [15:50] I'm trying to run Window Server 2003 on KVM but the performance is very bad. Is there anything special I needed to do? I used the --os flags during the install. [15:50] during installation it asks me to connect to iSCSI volumes [15:51] What would be a good RAID controler? [15:51] I can't connect, what could be the problem [15:51] <\sh> LinuxAdmin: you don't have iscsi? [15:52] Sorell: I'll strongly recommend external hardware controllers if you want good ones. Many of the internal controllers have awkward interfaces for online administration. [15:52] during the installation the system tells me that iSCSI was found, so I suppose that iSCSI is supported [15:52] diago, http://ubuntuforums.org/showthread.php?t=1026006 [15:52] <\sh> Sorell: depending on your server...HP delivers a good smartarray solution...3ware could also be a good choice .. many many solutions out there...depending on your money and depending on what you wanna do...private stuff => software raid is enough... [15:52] Sorell, what kind of server you got [15:53] LinuxAdmin, you dont need to connect to an iscsi volume [15:53] it's a custom built job [15:53] adaptec makes a good raid controller for custom built jobs [15:53] cool [15:53] <\sh> LinuxAdmin: if you don't have an iscsi box somewhere, you can forget about connecting an iscsi volume... [15:53] ala http://www.cdw.com/shop/products/default.aspx?EDC=1418096 [15:53] sorry, I don't have scsi I've got SATA drives [15:54] <\sh> LinuxAdmin: so...forget about iscsi ;) [15:54] but the installation detect iscsi [15:54] bogeyd6: Does that allow online administration? [15:54] should I look for something with expandable memory? [15:55] persia, http://www.adaptec.com/en-US/products/Controllers/Hardware/sas/performance/SAS-5805/ [15:55] the problem is that I have RAID1 configured in the controller firmware, but the ubuntu installer detects both disks [15:55] Sorell, spend as much money as you can with the best specs you can. ultimately everything comes down to storage speed [15:55] LinuxAdmin, which raid controller? [15:55] with scsi controllers it is transparent to the OS [15:55] bogeyd6: *nix virts perform fine, it's just this blasted wins 2K3 server I need ATM [15:56] !vmware | diago [15:56] diago: VMWare is not available in the Ubuntu repositories. Consider using !QEmu or !VirtualBox as alternatives. Instructions for installing VMWare manually are at https://help.ubuntu.com/community/VMware [15:56] bogeyd6: Doesn't answer my question, but maybe doesn't matter. Depends on uptime requirements vs. disk-loss rates. [15:56] it's an Intel SR1630HGP server [15:56] persia, it was just an *EXAMPLE* [15:56] bogeyd6: yeah, I'm install VirtualBox now on a different PC thanks though [15:56] No worries :) [15:57] ttx: have you seen this before? http://freshmeat.net/projects/samba-vscan/ [15:57] my supplier says that I have to install the SATA controller drivers [15:57] persia, personally i prefer hp smart array inside of hp servers :) [15:57] LinuxAdmin, probably a smart idea :) [15:57] I've got drivers inside server CDs but is for Red Hat or Suse [15:58] derp [15:58] LinuxAdmin, do you know the name of the raid card or is it in the motherboard? [15:58] LinuxAdmin, maybe a RS2BL040 ?? [15:59] I think it is in the motherboard, the board is an Intel S3420GP [15:59] !fakeraid | LinuxAdmin [15:59] LinuxAdmin: Tips and tricks for RAID and LVM can be found on https://help.ubuntu.com/community/Installation/SoftwareRAID and http://www.tldp.org/HOWTO/LVM-HOWTO - For software RAID, see https://help.ubuntu.com/community/FakeRaidHowto [15:59] LinuxAdmin, that there is a fakeraid chip and you are going to want to use https://help.ubuntu.com/community/FakeRaidHowto to configure your server [16:00] zul: no [16:00] essentially delete any raid you setup and let the raid chip default each disk to its own raid0 and then follow softraid instructions [16:01] cai I configure everything after ubuntu installation? I mean, first I install ubuntu on the first disk and when the system is running I configure RAID [16:01] bogeyd6: I was thinking of http://h10010.www1.hp.com/wwpc/us/en/sm/WF04a/12169-304616-241493-241493-241493.html as a class from HP. Doesn't matter anyway. [16:01] you could, but why? [16:01] persia, omg, we use the same and on our older servers we use the p400 [16:02] <\sh> bogeyd6: you need some p800 for them...mostly...because of the external connector... [16:03] <\sh> or just use HP MSA2012i as iscsi solution instead [16:03] \sh, they make some octopus cables :) [16:04] ill remember the iscsi on our next server roll out [16:04] <\sh> bogeyd6: don't tell me...I have some machines with p800 and some msa60 attached...and newly we tried the msa2012i which is a nice box, if you don't do any firmware upgrades on it, especially not, when you have 2 raid controllers as redundancy [16:04] should be in 4 years or so [16:05] \sh, very nice [16:05] <\sh> i cost me 8 hours to tell the HP supporter, that the second raid controller board is borked totally and that he should send me a replacement instead of discussing several possibilities how to debug that [16:05] <\sh> s/i/it/ [16:06] hp business support has gotten worse and worse hasnt it? [16:07] someone types into a kb, finds an article that matched the keyword RAID and wants to go through several of them before they escalate to level 2 [16:07] <\sh> bogeyd6: since it's somewhere in an eastern country...yes...the german support is really crap...they don't understand me, I don't understand them, and trying to speak in english with them == fail [16:07] <\sh> I raised this issue many times now with our HP sales guy...but IBM or Dell is not much better [16:09] <\sh> last time I had to replace two quad core cpus...they said: ok, we send you the replacement...next morning, approaching nuremberg, and what was the delivery? one dual core cpu...I was really happy [16:09] !!! [16:09] beers and sausages all around for that celebration [16:11] <\sh> phoned them, told them: guys, I have quad cores, and I need two of them..."ah yes, we are sorry, but we can't ship you the replacement today, because we don't have any dual core amd cpus in .de we need to deliver them from amsterdam, nl..." I said: "ok, he needs to be fast then, when you want to deliver it in 4 hours"...happy times, I had to book a room in a hotel...stayed overnight, and got my [16:11] <\sh> package the next day...so far for "you got 24x7x4" [16:13] So I've got this datastore (~500GB) and I know that ~40GB is duplicated between two trees. Is there an easy way to use fdupes to turn the duplicates into hardlinks? [16:16] New bug: #537451 in ntp (main) "ntpdate-debian not syncing time" [Undecided,New] https://launchpad.net/bugs/537451 [16:17] <\sh> uh oh a nice one [16:17] bogeyd6: do I need to get a battery for the 5805 ? [16:27] hi i have created a virtual interface on eth0 called eth0:0, eth0 already assigns ips using dhcp, is it possible to have eth0:0 also assign ips of the other subnet using dhcp? [16:28] http://www.accusys.com.tw/ProductItem.aspx?Lan=en&CMID=8&Product=35&PID=ACS-61100&PName=PCIe-SATA2x12/16/24 [16:29] has anyone ever used one of these? [16:33] <\sh> malifal: I would say "no" but I can be mistaken [16:37] Sorell, battery is always recommended [16:40] I have an ibm x3550 m2 which I am trying to install hardy 8.04.4 on. The install media is a cd and while trying to go through the install process after the keyboard screen an error message comes up saying that it cannot detect the cdrom. Because it is unable to detect the cdrom, I am unable to load the mptsas module which is needed for the disk controller [16:44] My server keeps hanging up looks like the last thing that ran was some cron.hourly thing in syslog. Is there somewhere else I should look to see whats going on? [16:44] shtylman, external (usb) cdrom? [16:44] bogeyd6: internal [16:45] im out of ideas [16:45] heh [16:45] histo, what does "hang" mean? [16:46] it could be related to bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/210200 [16:46] Launchpad bug 210200 in linux "cdrom-detect fails for HP DL145 in hardy beta" [Undecided,Won't fix] [16:46] shtylman: I've encountered that sort of issue before: you may need to load some more modules into the kernel. Open a shell and make sure you can find the CDROM. If you can, file a bug, If you can't make it so you can, and then continue with the installer. [16:46] New bug: #537470 in mysql-dfsg-5.1 (main) "upgrade from hardy to lucid failed" [Undecided,New] https://launchpad.net/bugs/537470 [16:46] bogeyd6: It stops network access I had someone hook up a monitor and it won't power the display. [16:46] persia: how would I see if I can find the cdrom? [16:47] and if so... any pointers on what modules might be needing loading? [16:47] histo, that sounds more like a hardware issue than a software issue. Can you pastebin.ubuntu.com whats in your cron.hourly? [16:47] im tempted to try just netboot [16:47] shtylman: You'd get a /dev/ node for it, and no idea, sorry. [16:47] shtylman, thats what i would have done out the gate [16:47] and then see if I can get past the mptsas loading [16:47] bogeyd6: theres nothing there thats the weird thing. [16:47] what does a shared network mean in the context of dhcpd configuration? [16:47] histo, what does /var/log/messages say? [16:48] bogeyd6: /etc/cron.hourly/ is empty [16:48] bogeyd6: let me check [16:48] !pastebin | histo [16:48] histo: For posting multi-line texts into the channel, please use 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 topic. [16:48] just in case :P [16:48] I know about pastebin [16:48] bogeyd6: looks like it just wwent down again and it hasn't been an hour. I'm begning to think hardware as well [16:49] !dhcpd [16:49] !dhcp [16:49] dhcp is Dynamic Host Configuration Protocol, a protocol for automatic IP assignment from a router. Ubuntu uses dhclient as a DHCP client but other ones (and DHCP servers too) can be obtained from the !repos. More info at http://en.wikipedia.org/wiki/DHCP [16:50] bogeyd6: i'm having them restart it again then i'll get messages and syslog and see [16:50] histo, random freezes usually tied into a power source [16:50] bogeyd6: its plugged into a batter backup with other server [16:51] that was helpful ubottu :p [16:52] histo, lets wait for the /var/log/messages paste [16:52] bogeyd6: Mar 11 11:37:26 webserver kernel: [ 9.816257] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready [16:52] bogeyd6: thats the last line in messages before it went down last time. [16:53] bogeyd6: so its not posting anything else there after boot [16:53] ok so we got it narrowed down to power supply or the network card [16:54] bogeyd6: [16:54] bogeyd6: Mar 11 11:39:01 webserver CRON[1035]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/us$ [16:55] power supply symptoms are described as Spontaneous rebooting or intermittent lockups during normal operation. [16:55] bogeyd6: thats part of the last line in syslog before it went down. [16:55] Mar 11 11:39:01 webserver CRON[1035]: (root) CMD ( [ -x /usr/lib/php5/maxlifetime ] && [ -d /var/lib/php5 ] && find /var/lib/php5/ -type f -cmin +$(/us$ [16:55] r/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm) [16:56] Theres the rest of the line minux the $ from nano in the first part [16:56] unfortunately i dont think that locks up servers [16:56] After that cron job it locked up yesterday it ran that and then cron.hourly command [16:56] disable the cron job [16:58] Mar 10 20:17:01 webserver CRON[876]: (root) CMD ( cd / && run-parts --report /etc/cron.hourly) [16:58] Was the last thing in syslog yesterday right above that was the one from today [16:58] That ran 6 minutes prior [16:58] So maybe it is hardware based. [16:58] <\sh> bogeyd6: which is totally useless...the last line of cron entry just says, that it tries to clean up the php session files....I would say it's something todo with hardware, disks or what [16:58] histo, http://linux.derkeiler.com/Newsgroups/alt.linux/2007-01/msg00137.html [16:58] \sh, agreed [16:59] histo seems convinced it is the cron job so i figure what is the harm in disabling it [17:00] Yeah i've got another box I think i'm going to load and see if it hangs as well. I've never had a linux box just hang like this. I'm thinking bad mem or something [17:00] this is why i love vmware :) [17:01] bad box? just turn it off [17:01] <\sh> bogeyd6: well, I bet that the cron entry isn't the cause...eventually it does something on the disk and somehow the box freezed...php or cron don't kill a machine ;) [17:02] yup [17:02] in the meantime you can take those disks and load them into a dummy machine, livecd, run iozone for about 30 minutes and see whats up with those disks if everything else seems ok. prob should image them first [17:04] Yeah it just hung again while I was ssh'd in to it watching htop [17:05] Not really a big deal reloading It just hosts a webpage and ssh so I can get in. [17:05] guess shared network is just the default settings for a group of subnets [17:06] I really need to start playing with virtualizaton though and just have images for the server running. that way if there is ever a problem just restore the image [17:06] Plus its sandboxed then as well [17:08] <\sh> malifal: dhcp gives out ip addresses to NICs which are identified by mac-addresses...eth0 and eth0:0 will have the very same mac-address...so dhcp thinks "oh wow.it comes back and wants an ip for the second time...ok I'll give it the same ip address as before, because lease time is not timedout and it's the same mac" [17:09] <\sh> malifal: bingo..you have eventually two interfaces, one real interface and one virtual with the same nic...or you can tweak the dhcpd call to send out some dhcp options which will then be parsed by dhcp and you can give out ip addresses depending on the dhcp options [17:09] <\sh> s/nic/ip/ [17:13] histo, lots of good reasons for virtualizaiton :) [17:13] \sh: yeah but i'm setting my other subnet with just a bunch of predefined hosts, so their macs are already defined [17:14] actually i don't *really* need dhcp for them, i was just trying it out [17:14] <\sh> malifal: so you define host foobar { hardware ethernet ; ...} in dhcpd.conf and there is another subnet which ip addresses will be given out randomly to clients... [17:15] <\sh> malifal: as said, eth0 and eth0:0 will have the very same mac address [17:17] how can I have a user automatically be a samba user when created? [17:18] chocamo, i think it works the other way around [17:19] well before whenever I created a user, I could use that account to login to a samba share, I recently did a reinstall and now that isnt the case [17:19] I have security = user set in smb.conf [17:19] \sh: yes u're right, i couldn't even run dhcp when i tried defining the other subnet and hosts, i created eth0:0 mainly for bridging with my virtual machines, but eth0 has real computers connected to it. === GhostFreeman_ is now known as GhostFreeman [17:21] chocamo, https://help.ubuntu.com/community/Samba [17:21] <\sh> malifal: add another nic to the machine ;) [17:21] \sh: i already have 2 lol [17:21] <\sh> malifal: add more ;) [17:22] afternoon smoser :) [17:25] jiboumans, hey. [17:30] smoser: hi! [17:31] smoser: are you using the UEC test rig? [17:31] mathiaz you can have at it if you'd like. [17:31] smoser: great - thansk === luis__lopez is now known as luis_lopez === astechgeek is now known as Guest56662 [17:43] \sh: Do you have some experience with HP MSA60 storage arrays? I have a query. === Guest56662 is now known as techgeek [17:44] Would you mind having a glance at an old HP forum post I made about it - no replies from anyone with input. Just a question about LED status, and disk status : [17:44] http://forums13.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1268329225079+28353475&threadId=1361361 [17:45] Not important - it is running well (so far) - just wondering. [17:46] <\sh> sherr: fire away [17:47] What is the command to check if a server service is running? I need to check if slapd is running [17:47] Thanks - Well - if you look at the post above, an LED remains off (top-left) but all seems OK. Is this normal? [17:48] techgeek: `status ${service}` works for some stuff [17:48] Okay, let me try that [17:48] <\sh> sherr: well..I have two msa60 in production, no led is off...all disk are green...wonder if the LSI MegaRaid is compatible with the HP SA p800 [17:48] Also, one disk (slot 12) reports slightly different from MegaCli - "Enclosure Device ID: N/A" [17:48] The forum post describes it better. [17:48] * \sh is gone for a couple of minutes [17:49] This is HP MSA60, LSI MegaRAID SAS 8888ELP RAID , Dell PE1800 [17:54] persia: would the command be sudo status slapd? [17:55] techgeek: You shouldn't have to run sudo. [17:55] techgeek: Check in /etc/init/ to see if there is a slapd.conf : if not, that won't work [17:56] You *may* be able to get data with `/etc/init.d/slapd status` (or similar), but that may not work (depending on how the script is implemented, etc.), and may even break things (look before running the command) [17:58] Hi guys, I need your help one more time [17:58] there is a slapd in INIT [17:58] I've configured RAID5 during ubuntu server installation and everything went ok [17:59] now I'm concerned with the eventuality of a disk failure [18:00] what if a disk is damaged? since this is software raid, is there some tools to reconstruct the raid array? [18:01] with scsi controllers this is done by the controller. what if a disk fails with software raid? [18:02] is it automatic? I mean, if I change the damaged disk, do I have to make something or it will be done automatically? [18:02] LinuxAdmin, are you using MDADM [18:02] what? [18:03] I'm installing the ubuntu server and the installer is very intuitive, I created raid5 very easily [18:03] my concerns now is if anything goes wrong with a disk, I mean, if a disk fails [18:05] as I said, with scsi raid controllers I don't have to worry about, but now I'm using software raid, so, I don't have the controller automation to solve a eventual failure [18:05] what can I do in suck a situation? [18:05] how can I reconstruct the array? [18:06] can someone help? [18:07] I created my RAID1 arrays in a virtual machine using the MDAMD package [18:08] this is not a virtual machine, it will host virtual machines [18:09] im not sure what the default package is for the installer to use as a software for RAID but i would think it would be MDADM [18:11] the installation stopped wright now and I'm getting a problem [18:11] the system do not boot [18:12] I get this error: Grub loading [18:12] error:no such disk [18:12] Grub rescue> [18:12] what ca I do? [18:13] what could get wrong? [18:14] why can't I start? the installations was successfull but the system don't boot [18:15] I think if it were me I would reinstall and wait till I got it up and then do the RAID [18:16] New bug: #537521 in bacula (main) "Missing scripts in binary package" [Undecided,New] https://launchpad.net/bugs/537521 [18:19] <\sh> sherr: what raid level did you configure? [18:19] I'll search for grub reinstall info [18:19] thanks anyway [18:20] \sh: RAID5 [18:20] <\sh> sherr: could be that your disk 12 was a spare? [18:21] Yes, that's what I think (hope) - just odd that it doesn't say "hot spare" or "spare" anywhere ... [18:21] MegaCLI is hard to use, not much good ... [18:22] New bug: #385244 in autofs (main) "autofs auto.smb doesn't escape $" [Wishlist,Fix released] https://launchpad.net/bugs/385244 [18:22] Anyway - it's working. The reason I asked was because a company over the road had the same kit and the same odd LED behaviour. [18:23] Thanks for the consideration. [18:24] <\sh> sherr: what you could do...create a raid 10 and check if there is again such a strange behaviour or even a raid0 striping array [18:24] * jpds hugs hpacucli. [18:25] \sh: Hmmm. Bit too much data on it now I think ... plus I am not physically present. The time for that was late last year ... [18:25] <\sh> sherr: well, I'm running two msa60 in raid0 mode and mirrored over drbd ;) it's very strange thing I did 2 years ago ;) [18:26] I almost wish I hadn't mentioned it - makes me a) think about MegaCLI again and b) worry about it failing [18:26] :-) [18:26] <\sh> sherr: switch to HP completly ;) [18:27] we sell HP Z800's turnkey - for video/film/graphics work - but also Dell T7500's [18:27] And use the Dell SAS storage - very fast. [18:28] Never enough time for too much testing, configuring or playing! [18:29] Karmic did run on the Z800 last year when I tried - NVIDIA FX4600 as well. Very fast system. [18:40] hi, which config and which setting is used for ssh timeouts ? [18:47] zul: howdy howdy! [18:47] zul: do you know what's up with: [18:47] The following packages have unmet dependencies: [18:47] php5-imagick: Depends: phpapi-20060613+lfs but it is not installable [18:47] E: Broken packages [18:47] kirkland: it needs a rebuild [18:47] lemme go look [18:47] New bug: #279745 in puppet (main) "superfluous spacing in puppetmaster init.d script" [Undecided,New] https://launchpad.net/bugs/279745 [18:47] zul: cool, thanks; let me know if you need a hand [18:48] k [18:49] jpds: working with raid controllers today? [18:50] pmatulis: No. [18:51] New bug: #330289 in puppet (main) "Link to LDAP docs in manpage is wrong" [Wishlist,Fix released] https://launchpad.net/bugs/330289 [19:00] kirkland: hi! [19:00] kirkland: I see that qemu-common is in universe [19:01] mathiaz: howdy! [19:01] kirkland: but it got installed when I ran apt-get install eucalyptus-nc [19:01] mathiaz: erm, is it? [19:01] mathiaz: it needs to be in main [19:01] * kirkland goes find slangasek [19:01] kirkland: it's in the component-mismatch list [19:02] kirkland: if you can get it promoted to main, I'd suggest to have a look at the vlan-modules and vlan-udeb pacakge as well :) [19:02] New bug: #333234 in puppet (main) "file with name containing regexp reserved characters is listed incorrectly during recurse copy" [Low,Fix released] https://launchpad.net/bugs/333234 [19:02] mathiaz: i just poked slangasek about qemu-common in #ubuntu-release [19:04] kirkland: http://paste.ubuntu.com/393485/ [19:04] kirkland: ^^ I'm trying to register a nc with a cc [19:04] kirkland: what does this error mean? [19:04] mathiaz: erm [19:04] kirkland: this is on a multi-network installation [19:05] mathiaz: i've not seen that error message === FFForever-Away is now known as FFForever [19:08] mathiaz: http://paste.ubuntu.com/393490/ [19:14] kirkland: isn't cluser1 the default name now a days? [19:14] mathiaz: "cluster1" [19:14] mathiaz: you're missing a "t" in your quote right there (maybe just a typo) [19:14] kirkland: right - it was a typo [19:15] mathiaz: yes, that's the default [19:16] kirkland: IIRC there is an open bug about that [19:18] kirkland: this was a package install [19:18] kirkland: and I wasn't prompted for the name of the cluster to register with [19:18] kirkland: which is something that is done by the installer IIRC [19:18] mathiaz: you should be prompted [19:18] mathiaz: what was your debconf priority? [19:19] kirkland: the default one [19:19] mathiaz: and you didn't preseed cluster name, did you? [19:19] mathiaz: tell me about your install ... [19:19] kirkland: it's a bare bone install - without any preseeding done for eucalyptus [19:19] mathiaz: from today's ISO? [19:19] mathiaz: or the archive? [19:19] kirkland: archive [19:20] kirkland: you can see the preseed sent to the installer on tamarind: it's the marula host [19:21] kirkland: yeah - there isn't any prompt for the cluster name in eucalyptus-nc.config [19:22] mathiaz: [19:22] db_get eucalyptus/cluster-name || true [19:22] if [ -z "$RET" ]; then [19:22] db_set eucalyptus/cluster-name "cluster1" [19:22] fi [19:22] kirkland: right - that's doesn't prompt anything [19:22] mathiaz: that's in the eucalyptus-nc.config [19:22] i have a ubuntu 9.10 amd64 server running, and have added 5 drives wanting to run RAID5, all i should need is mdadm right? [19:22] mathiaz: you think that should do a db_input [19:22] anyone had experience with KSplice Uptrack? [19:22] Hello, I am looking for some help with setting up a Domain Name on a Dynamic IP [19:22] mathiaz: that's probably okay [19:22] kirkland: yes - something like that [19:23] mathiaz: what bug number is this? [19:23] kirkland: that being said it may have an impact on the installer [19:23] kirkland: because that logic is already implemented in the installer [19:23] kirkland: I'm still looking for the bug number [19:23] i have a ubuntu 9.10 amd64 server running, and have added 5 drives wanting to run RAID5, all i should need is mdadm right? [19:24] wack479: yes, that's right [19:24] k, thats what i thought [19:24] mathiaz: i think it's okay as long as we're inside of the if [ -z "$RET" ]; then ... [19:24] mathiaz: because in the default installs, the node should get its cluster name from the preseed file [19:25] sherr: but for some reason, every time i try to create the array it tells me... [19:25] hmm [19:25] sherr: mdadm: Cannot open /dev/sda: Device or resource busy [19:25] sherr: and then fails, any ideas? [19:26] Make sure /dev/sda is not in use i.e. not mounted etc. [19:26] sherr: it is not [19:27] what command are you using to create the raid? [19:27] kirkland: can you open up a bug about it? [19:27] zul: sure thing, against php5? [19:27] well i have tried doing it thru webmin and thru command line [19:27] php-imagick [19:28] i dont remember the exact syntax, let me see if i can find it [19:28] Hello, I am looking for some help with setting up a Domain Name on a Dynamic IP [19:28] wack479: I'd throw webmin away and forget it. What command? [19:29] !webmin | wack479 [19:29] wack479: webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. See !ebox instead. [19:29] zul: Bug #537570 [19:29] Launchpad bug 537570 in php-imagick "phpapi-20060613+lfs package is missing" [High,Confirmed] https://launchpad.net/bugs/537570 [19:30] wack479: if you have 5 disks each with partition 1 i.e. /dev/sd[a-e]1 then to make /dev/md0 as RAID5 : [19:30] wack479: mdadm --create /dev/md0 --level 5 --raid-devices=5 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1 [19:31] sherr: command is sudo mdadm --create --verbose /dev/md0 --level=5 --raid-devices=5 /dev/sda /dev/sdb /dev/sdc /dev/sdd /dev/sde [19:31] (have each partition of type "fd" via fdisk/partitioner) [19:31] yes i did do that, well at one time, i will double check [19:31] kirkland: thanks [19:31] and thanks ubotu [19:31] maybe try partitions? i.e. /dev/sda1 etc. [19:36] New bug: #537570 in php-imagick (universe) "phpapi-20060613+lfs package is missing" [High,Confirmed] https://launchpad.net/bugs/537570 [19:37] anyone had experience with KSplice Uptrack? [19:38] sherr: do the partitions need to be formatted at all or just created? [19:40] wack479: just created - type "fd" (linux raid autodetect) [19:41] hello. i have 5.1.37-1ubuntu5.1 installed. problem is there is a bug in that version that has been fixed in a recent version. anyone know how often the MySQL package gets updated in the Ubuntu repository or when I could expect the next one? [19:41] wack479: once md0 is up and running, you format that - or make LV's and format them. [19:42] sherr: do i just go look and see if md0 is up and running? [19:42] fakhir: Ubuntu 10.04 Lucid is out end April - wait - or try a VM? [19:42] wack479: cat /proc/mdstat [19:42] The mdadm command should tell you really (no errors) [19:43] sherr, we wont see a new version of MySQL until the next version of Ubuntu? [19:44] fakhir: check package versions at http://packages.ubuntu.com. [19:44] fakhir: I don't know what your bug is. Bug number? [19:45] sherr: the cat /proc/mdstat come back with md_do : inactive sda[0] xxxxxxxxx blocks unused devices: [19:45] sherr, http://bugs.mysql.com/bug.php?id=46650 [19:46] New bug: #537582 in net-snmp (main) "package snmpd 5.4.1~dfsg-12ubuntu7 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/537582 [19:49] kirkland: hm - I can't get the CC to register to the cloud [19:49] fakhir: You will have to check yourself - check the Mysql bug comments and see if the "push to 5.4.1" versions they mention is in the latest Ubuntu Lucid Mysql server package : [19:49] kirkland: 2010-03-11 14:29:08-05:00 | 2509 -> euca_conf --register-cluster returned 1 [19:50] kirkland: it seems there is a problem with rsync|ssh [19:50] fakhir: http://packages.ubuntu.com/lucid/mysql-server - 5.1.41-3ubuntu7 [19:50] kirkland: the eucalyptus user public key is on the CC [19:50] Check changelog? [19:51] kirkland: hm - actually it's not [19:51] wack479: I guess you need to check your partitioning? fdisk -l /dev/sda [19:51] kirkland: the CLC pub key is not the CC [19:51] kirkland: the CLC pub key is not *on* the CC [19:51] sherr, i have the latest version from the ubuntu repository and the bug is still there. my question is when will there be a new version of the package in the ubuntu repository. [19:53] fakhir: OK - not my area, sorry. Marc Deslauriers seems to be in charge (of last changelog) - he might pick up your question. [19:53] ok thank you [19:54] However - I doubt it will make Lucid r1 (freeze) - but who knows? [19:56] fakhir: the bug you mentioned is supposed to be fixed in 5.1.41, and lucid contains 5.1.41 [19:56] fakhir: so, lucid should fix it for you [19:57] ok [19:58] is there any way i can grab that package for my current ubuntu install? unfortunately i am not all that experienced with package management. [19:58] mdeslaur: thanks. I thought fakhir said it was still present in latest ... [19:58] sherr: partitioning is /dev/sda1 -extended /dev/sda5 - Linux raid autodetect just like all the other drives [19:58] fakhir: why not try a VM virtual machine to test? [19:59] wack479: I'd need to see (pastebin) output of : fdisk -l , mdadm command and output, /proc/mdstat (and maybe last 20 lines of syslog after creation attempt) [20:00] kirkland: testdrive saves the day again! [20:01] kirkland: it'll be up on planet in a few minutes [20:01] sherr: k === FFForever is now known as FFForever[A] [20:10] Is it possible to setup a mail server with a dynamicDNS server? I'm trying to decide if I need a static IP or not. === FFForever[A] is now known as FFForever-Away [20:14] <\sh> eekeek: yes...you can...but normally all dial in networks are blacklisted by spamRBLs [20:16] <\sh> eekeek: which means, incoming mail can work, but don't have to...and outgoing mail will go out and declined by reciepient [20:16] \sh: hmm that's not good. [20:19] eekeek: probably good for the health of the internet though :-) [20:22] kirkland: btw on the karmic ppa testdrive is depends on cpu-checker, which doesn't exist afaict [20:23] sherr: yeah I agree. [20:25] DynamicDNS question - right now I'm using my routers dynamicDNS settings and zoneedit, but my domain registration company, namecheap, offers dynamicDNS service, but requires software to be installed. Is one way better than the other? [20:28] eekeek: is the s/w free and opensource? Is it trust-worthy or are they? [20:29] sherr: yes I believe the software is opensource - don't know much about it though. Namecheap seems trusty worthy. [20:33] I have used dyndns and their client ddclient before - but that's it. I use everydns for dns service. [20:36] sherr: sry doing the pastebin stuff now, had a coworker that had some pc probs [20:36] Namecheap gives the option of either DDClient 3.0 or IPCheck. I just don't know if is worth the effort since setting up my router with zoneedit was so easy. [20:44] sherr: syslog = http://pastebin.com/hZKF0sjp fdisk = http://pastebin.com/4i5P62ZA mdadm command = http://pastebin.com/neaKzxrh and mdstat = http://pastebin.com/61X9PnKw [20:45] jcastro: oh, good call [20:46] jcastro: i'll add it to the ppa [20:46] kirkland: poke me when you do, ryan @ ars would like to do a quick writeup on testdrive [20:46] but he's on karmic so he needs it in the ppa [20:46] jcastro: saweet [20:46] jcastro: sorry about that oversight [20:46] kirkland: no worries, it's why we test! [20:49] wack479: OK, let me take a look [20:51] New bug: #537636 in clamav (main) "FFE for Clamav 0.96" [Undecided,New] https://launchpad.net/bugs/537636 [20:52] wack479: well these errors seem relevant - on creating via mdadm : [20:52] mdadm: Cannot open /dev/sda5: No such file or directory [20:54] Disks a-e are sda1 extended and sda5 as the single data partition [20:54] fdisk -l seems to list the disks/parts OK. [20:55] but sda5 exists? [20:55] What about - delete partitions on sda-sde and create single primary partition on each? i.e. sda1,sdb1 etc.? Try creating md0 from them? [20:55] I know - but mdadm complains. Not sure why. [20:55] oh ok [20:56] yeah i can try that [20:56] ill try anything at this point [20:56] lol [20:56] still need to change type to fd with the primary partition correct? [20:57] Yes. You might also want to do a : mdadm -stop /dev/md0 [20:57] --stop [20:57] And maybe : /dev/md_d0 (not md0 - as per mdstat) [20:58] mdadm --stop /dev/md_d0 (never seen that syntax before) [20:58] when i tried that it said "mdadm: -s does not set the mode, and so cannot be the first option." [20:58] Maybe delete (or move away) any /etc/mdadm.conf [20:58] ok [20:58] thanks [20:58] or that might be /etc/mdadm/mdadm.conf [20:59] --stop not -s [20:59] i did stop but it came back with -s [20:59] for stome reason [21:03] where is the ssh log located ? [21:04] oru_work: /var/log/secure usually [21:04] Sorry : /var/log/auth.log ... (RHEL hat on ...) [21:05] Bene doing too much RHEL log tailing .... [21:05] oru_work: Ubuntu is : /var/log/auth.log [21:06] so nobody knows why when I create a user it is not automatically a samba user? thats how it was before I reinstalled. The only settings I ever changed was security = user in smb.conf, but now I have to manually add a samba user and password [21:08] Do I need sendmail installed and configured to send emails from my contact website form? [21:11] sherr: same thing [21:12] do i have to mount those devices and then do the raid? [21:12] chocamo: could be related to libpam-smbpass not being installed - but that's a guess. Use with caution. [21:12] sherr: it is installed :/ [21:12] wack479: no [21:12] sherr: didnt think so [21:12] but its still telling me "no such file or dir" [21:12] grr [21:12] Hmmm. it will be something stupid ... [21:13] yeah exactly [21:13] and i have spent half of yesterday, and 3 hours on it today [21:13] It says : raid45: RAID device lookup failure [21:13] lol [21:13] what does? [21:13] raid45? [21:13] syslog [21:14] thats weird [21:14] handnt noticed that [21:15] and "error adding target to table" ... let me have a look [21:17] This https://help.ubuntu.com/community/Installation/SoftwareRAID#Installing is wrong and unneccesary on the partition creation steps [21:20] raid45 is just the RAID4 and RAID5 dm kernel module ... so that's OK [21:21] wack479: what controller are these 5 disks on? Anything unusual with the h/w? [21:23] no, ist just ahci controller on the MB [21:23] wack479: I'd also check you can a) mkfs and mount a normal fs on /dev/sda1 (say) and [21:24] b) make a RAID1 mirror of /dev/sda1 and /dev/sdb1 as a test say? [21:24] sure ill try both [21:26] mkfs came back with : [21:26] http://pastebin.com/7qZf7YW2 [21:27] ie. Could not stat /dev/sda1 --- No such file or directory [21:27] No LVM involved here anywhere? [21:27] nope [21:28] Can you re-paste output of : fdisk -l [21:29] http://pastebin.com/jLD33twf [21:29] do i need to change type? [21:29] from the fd? [21:30] No. I don't see anything wrong. Maybe zero superblocks i.e. mdadm --zero-superblock /dev/sda (sdb,sdc,sdd,sde) [21:31] mdadm: couldn't open /dev/sda for write - not zeroing [21:32] *bleep bleep bleep bleep! [21:32] lol [21:32] Maybe worth seeing /var/log/syslog for boot up messages and disk enumeration [21:32] What version of Ubuntu and what kernel? [21:32] the whole thing? [21:33] 9.10 server amd64 kernel 2.6.31-20 i believe [21:44] syslog http://pastebin.com/A1hp5zrX [21:52] wack479: No tsure what the problem is but something very odd is happening - see all the reports around 13:05:22 [21:53] It looks like udev/upstart is in the mix as well - maybe very relevant i.e. [21:53] upstart-udev-bridge[29054]: Disconnected from Upstart === Daniel is now known as Dancdoit [21:53] init: upstart-udev-bridge main process (29054) terminated with status 1 [21:53] init: upstart-udev-bridge main process ended, respawning [21:54] All around the time we also get RAID failures ... [21:54] Hi can anybody help me, When i access my server through sftp i can only access my home directory. What am i doing wrong? [21:54] device-mapper: table: 252:0: raid45: RAID device lookup failure [21:55] wack479: These "upstart-udev-bridge" reports seem related - definitely suspicious [21:55] yeah thats weird [21:56] Might be worth "tail -f /var/log/syslog" (hitting enter to clear space beteen tests) and testing by - fdisk /dev/sda (check log outout), write partition (any logging?), quit (logging?), make a filesystem (any errors?) [21:57] i.e. keep an eye on log output in other shell while you poke around (disk,mkfs,mdadm) - see where things go haywire ... [21:57] Maybe a BIOS funny? I don't know :-( [21:58] Or kernel? New h/w? [21:59] has anyone else run into a problem trying to install Ubuntu 10.04 Alpha 3 using Wubi? [22:00] ok yeah i will try that [22:00] i can check and see if there are any bios updates i guess, no, no new hw [22:00] i'm looking for help debugging a broken raid setup. here's some details of my current config: http://pastebin.com/MUJwNvgy [22:02] wack479: trim the syslog and keep around. It might be useful to show people. I would be interested in all the RAID and udev stuff from the SATA disks on. Particularly the stuff I mention above. Someone who knows more than me. [22:02] i have a working raid1 setup going, i also have an old raid0 setup for swap space that i'd like to decommission and just run them as normal swap partitions, not raided. however, i'm confused about the output i'm seeing under mdadm. can anyone help me think throught this? [22:02] I don't know if I can handle any more RAID! [22:03] hahaha that would be my fault funkiwan [22:04] i'm guessing my problem is pretty simple. is there a better place for me to try and get help? [22:04] funkiwan: what's in : cat /proc/mdstat [22:05] lol dejavu [22:05] http://pastebin.com/NzuUnnvb [22:06] funkiwan: I think that's OK - but it is re-building. [22:06] RAID1 /dev/md0 on /dev/sda1 and /dev/sdb1 [22:06] Rebuilding - 40 mins left [22:06] sherr: correct [22:06] i ran the rebuild command myself [22:07] i'm more concerned about the other partitions [22:07] i'm currently running without swap === rberger_ is now known as rberger [22:07] funkiwan: that's OK [22:07] i was running swap on a separate drive [22:07] but it failed [22:07] so i'm trying to set up swap on these two disks [22:07] Should be straightforward [22:08] on the unused partions, sda2 and sdb2 [22:08] i agree [22:08] mkswap /dev/sda2 && mkswap /dev/sdb2 [22:08] but if you look at the examine output of sdb2, it doesn't make sense to me [22:09] Doesn't matter really. You are wiping them anyway.Change them to type "swap" in fdisk and do the mkswap (and then swapon) [22:09] it shows sdb2 as part of an active raid (raid0) with two devices, but it only shows one device [22:10] sherr: okay, it's that simple, i'll do it. [22:10] I think it's just old info i.e. [22:10] i wasn't sure if there was some way i was supposed to remove them via mdadm first [22:11] You could zero the superblock maybe - see the man page. [22:11] mdadm --zero-superblock /dev/sdb2 [22:12] what does that buy me? [22:14] It removes md superblocks and so clears md (old) history on the device [22:15] See the man page and/or google. This is your data! :-P [22:17] sherr:i almost feel cheated on with ur RAID talk with funkiwan [22:17] lol [22:19] kees: dude I love that "ufw allow samba" and "ufw allow nfs" just works [22:20] I don't even have to remember ports anymore [22:20] wack479: well, let's hope Murphy doesn't strike! ... RAID .. dead simple :-) [22:20] sherr: am i correct in that i need to delete the partion via fdisk and then readd it? [22:20] jcastro: any chance of a "ufw allow raid"? :-) [22:21] funkiwan: to make it a swap part.? No. Just use fdisk to "toggle" (t) the partition number to "linux swap". [22:21] funkiwan: I'd wait until the sync is complete. [22:21] sherr: if you buy hardware raid it it's like zero config! [22:22] jcastro: I'd end up waking up I think .... [22:25] my 9.10 installation uses GRUB2 and has suddenly started refusing to autoboot from GRUB menu. any suggestions on debugging this? Is it related to the continuing nmdb PID problem? [22:26] sherr: thanks for the tip about waiting for the sync. it completed. i'm going in.... [22:29] crud. it appears the rebuild may have failed. state is listed as clean, degraded [22:30] funkiwan: before looking at that, toggle the part. id's for swap. [22:30] enquora: what's "nmdb PID" problems? [22:30] sherr: you think having swap available may help the raid1 rebuild? [22:31] funkiwan: don't think it is necessary. Just quick and easy to sort out. [22:31] For the rebuild - what's /var/log/syslog say? (last 10 lines or so). Error? [22:33] do i need to be concerned about the error message listed at the end of my fdisk session? http://pastebin.com/P43e6RbU [22:36] funkiwan: no - but it wants a reboot really. Do both swap partitions - then reboot. [22:36] Also - I see you do not "p" to print the partition layout - I always use "p" a lot - especially before changing partitions (and having to enter numbers). Just in case. [22:38] sherr: well of course you do. that's why you're the one giving advice and i'm the dumb fool who needs it. thanks for the tip. [22:38] sherr: in the interest of not double-horking my machine, do you think it makes sense to do only one partition for now? seeiing as i have a failing raid1 on these disks? [22:39] sherr: that was an unfortunate time to install an update and reboot - sorry. There's some funky problem with the Samba upstart job that tries to boot the server before the network interfaces are up, and results in an error booting nmdb [22:41] funkiwan: yes, reasonable. Any error in syslog about the raid rebuild failing? [22:41] enquora: in Karmic? [22:41] yes [22:41] lot's of old discussion on it, no resolution [22:42] that can't be the problem with GRUB2 not autobooting, though [22:42] Ah ... *nmbd* OK ... lucky I'm not running Samba servers on Karmic ... [22:43] jcastro: awesome. jdstrand rocks. :) [22:43] so, anyone on debugging GRUB2-level problems? [22:44] this is the last think i'm seeing w/r/t mdadm in syslog: http://pastebin.com/iyqrUCyW [22:45] sherr: there is continuing output of the RAID1 conf printout: lines. about every five seconds [22:45] and /dev/mdstat [22:45] ? [22:45] /proc/mdstat [22:47] sherr: current output of mdstat and mdadm --detail: http://pastebin.com/u7tgsN1S === enquora_ is now known as enquora === malifal_ is now known as malifal [22:52] funkiwan: gone to "spare" now? Hmmm. [22:53] Anything in /etc/mdadm/mdadm.conf ? Sometimes spares get (incorrectly) configured [22:54] kees: thanks man :) [22:56] sherr: this all started b/c i noticed some weird sounds coming from my disks, like they were starting and stopping. so i checked out mdadm and noticed that it was degraded. so i ran "sudo mdadm /dev/md0 -r /dev/sda1 -a /dev/sda1" and that started the rebuild going. [22:57] funkiwan: I'm off in a minute - but sounds bad. Could be a real failing disk. Backup is the main thing right now I'd say) [22:57] sherr: it's now listed as active, degraded [22:57] I would a) back stuff up (in case) then check out "smartctl" (smartmontools) and see if it thinks any disks are failing. [22:58] sherr: thanks for the advice and the help. [22:58] You could then try a "remove" and an "add" again perhaps ... [22:58] No problem. Good luck and good night :-) === robbiew is now known as robbiew_ [23:08] Hi. Can anyone tell me how I can start X windows and start an X app automatically at boot? [23:08] I have installed xfce4 and xdm, but it doesn't seem to work out of the box... [23:09] I get a login screen, but after login I get back at the command line login prompt [23:54] Hey, who was asking about "ssh -X" not working the other day? [23:55] hey yall do you know what are the changes for 10.4? [23:55] New bug: #537757 in apache2 (main) "PHP modules removed when upgrading apache2 to 2.2.11-2ubuntu2.6" [Undecided,New] https://launchpad.net/bugs/537757 [23:58] jaypur: http://lists.ubuntu.com/mailman/listinfo/Lucid-changes has them all : I don't think the release notes willbe useful until Beta2. [23:59] persia, thanks