[00:11] <ChmEarl> 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] <ChmEarl> the dom0 is suse11.2 and my /boot is ext3. I want pygrub to use the /boot in domU
[00:14] <ChmEarl> it seems silly to uninstall grub2, install grub1 when all pygrub needs is the menu.lst
[00:19] <Hypnoz> 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] <arrrghhh> 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...
[02:06] <ChmEarl> nam-myoho-renge-kyo
[02:45] <livingroom> 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] <KB1JWQ> livingroom: And why i it not installable?
[02:47] <livingroom> KB1JWQ, exactly
[02:48] <livingroom> Package cpu-checker is not available, but is referred to by another package.
[02:48] <livingroom> This may mean that the package is missing, has been obsoleted, or
[02:48] <livingroom> is only available from another source
[02:48] <livingroom> E: Package cpu-checker has no installation candidate
[02:48] <KB1JWQ> Use a pastebin.
[02:48] <KB1JWQ> And what sources are you using?
[02:49] <livingroom> ppa.launchpad.net/testdrive/ppa
[02:50] <livingroom> for testdrive package
[02:50] <livingroom> do you want me to pastebin sources.list?
[02:51] <livingroom> and thank you for you interest
[02:51] <KB1JWQ> The only references I see to cpu-checker are in Lucid build repos.
[02:52] <KB1JWQ> So "WTF are you doing running pre-release packages on a server and expecting it to work halfway decently?" :-)
[02:53] <livingroom> that is not what I am trying to do
[02:55] <livingroom> 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] <livingroom> in an easy manner
[02:56] <livingroom> thus allowing me to give back my 5 cents to development team and community
[02:56] <lazy> may i ask same question lvs/tun here?
[02:57] <livingroom> so was I mistaken my understanding?
[03:56] <uvirtbot`> 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] <vinq1> I have a Squid question.
[04:45] <vinq1> We have some systems connecting to Amazon.com affiliate APIs via Curl in PHP. And it's hammering our server, we determined.
[04:45] <vinq1> However, the data it brings back really only needs to be done like once a day.
[04:46] <vinq1> Is this something we can use Squid for?
[04:46] <vinq1> 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] <twb> vinq1: why wouldn't you, you know, fix your PHP scripts?
[04:50] <twb> 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] <vinq1> Ah, it's spaghetti code, unfortunately
[04:51] <vinq1> I'm needing a quick-hit solution where we don't need to change the code for now.
[04:51] <twb> 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] <vinq1> Because I'm tied up coding another project.
[04:51] <vinq1> Well, it doesn't hurt to try in an off-hours timeframe so that I could see if it would work.
[04:52] <twb> Of course, burning the PHP to the ground and using something like Python or Erlang would also be a Good Move.
[04:52] <vinq1> 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] <twb> I'm afraid I can't really help with that.
[04:55] <vinq1> What's a guide on the web for just caching one domain with Squid?
[04:56] <vinq1> And do I need to set this up as a Transparent Proxy (not certain yet what that means)?
[04:56] <twb> 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] <vinq1> Interesting! :)
[04:57] <twb> The whole technique is a bodge, IMO.
[04:57] <vinq1> The PHP is using the curl() API inside PHP, not shelling out to command-line curl. Would that matter?
[04:59] <vinq1> 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] <ChmEarl> grub2 is no obstacle for ub 9.10 PV guest... got around it by adding menu.lst and testing with pygrub
[05:48] <Kutakizukari> 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] <Kutakizukari> any docs on how to do this?
[05:51] <persia> edit /etc/default/apache2 or run update-rc.d as appropriate.
[05:52] <persia> 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] <persia> Obviously, you may or may not want to do the same thing for your database, etc.
[06:05] <Kutakizukari> how much of a system load does it use if I leave it alone?
[06:07] <persia> 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] <Kutakizukari> persia, thank you for the help.
[06:11] <Kutakizukari> Just got the LAMP installed with Netbeans IDE and a copy of O'Reilly Learning php, mysql, & javascript.
[06:12] <swift> 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] <persia> swift: `apt-cache search snmp` shows a bundle of stuff (I haven't tried any of it)
[06:18] <swift> 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] <persia> so you want something to ping it every once in a while, and to get that info into mrtg?
[06:20] <persia> I suspect you'll find some example that's close to what you seek in the mrtg-contrib package.
[06:20] <swift> persia, it's a router cum modem.... so, details including transfers, etc
[06:22] <persia> So, if it doesn't due SNMP, how do you expect to extract that data?
[06:50] <swift> persia, so i won't be able to get data from that router?
[06:51] <persia> 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] <swift> ok, persia, any insight on how i can get the data?
[06:53] <persia> Check the documentation for the device from which you want data.
[06:53] <persia> Many devices can enable SNMP is coaxed.  Many that can't have some other admin interface that allows data extraction.
[06:53] <persia> s/is/if/
[06:54] <swift> ??
[06:54] <swift> that was confusing.. please elaborate
[06:56] <persia> So, read the docs on the device, and look for other sources of info on the device.
[06:56] <persia> Some devices don't do SNMP by default, but can be made to do SNMP if certain actions are taken.
[06:56] <persia> Other devices can collect data in some other admnistrative interface, and it's potentially possible to script extraction of this data.
[06:57] <persia> 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] <swift> thanks a lot persia!.. il look into the device docs..
[08:00] <persia> swift: Good luck.
[08:10] <smoser> ttx, around ?
[08:10] <ttx> smoser: yo
[08:10] <smoser> bad news on https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/531494
[08:10] <uvirtbot`> Launchpad bug 531494 in upstart "cloud-init job not running in eucalyptus without ramdisk" [Critical,Confirmed]
[08:11] <smoser> 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] <ttx> smoser: want me to reproduce it on my own set ?
[08:13] <smoser> i'd be interested to see if you can.
[08:13] <ttx> ok
[08:13] <smoser> i'm guessing your hardware is more like dustins
[08:13] <ttx> yes, quite identical
[08:13] <Omahn> What hardware are you using out of interest?
[08:14] <smoser> ttx and kirkland have "cloud in a bag" hardware
[08:14] <ttx> Omahn: a set of laptops
[08:15] <smoser> wow. the link from eu-west-1 to ubuntu data center is quick
[08:16] <smoser> 53.9M/s over 160M
[08:16] <smoser> and prior to that 46M or something
[08:18] <tauren> anyone know how to use iptables to filter traffic to my bridge's KVM based VMs?
[08:18] <Omahn> smoser: The disk is probably the bottle neck rather than the network link looking at those numbers.
[08:18] <tauren> 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] <tauren> _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] <tauren> 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] <tauren> _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] <tauren> _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] <tauren> does that make sense?
[08:29] <tauren> for my VM that is running mysql, I want to only allow ssh and 3306.
[08:30] <smoser> if anyone wants to play http://paste.ubuntu.com/393120/
[08:30] <smoser> that has ebs root daily builds for lucid from today
[08:31] <ttx> smoser: should I use the latest uec iamge, or something else ?
[08:31] <tauren> _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] <smoser> the latest will fail.
[08:31] <smoser> i was just using 20100310 for consistency in an inconsistent world
[08:31] <ttx> 20100311?
[08:31] <smoser> sure
[08:32] <ttx> why would it fail ?
[08:32] <smoser> it will fail because of upstart and timing and your hardware being like kirklands
[08:32] <smoser> it will run fine on data center hardware
[08:32] <ttx> smoser: that's what I'm trying to confirm, right
[08:33] <smoser> right
[08:33] <ttx> let's go for 20100310 for consistency
[08:33] <smoser> 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] <tauren> _ruben: ok, too bad, i appreciate your input!
[08:37] <smoser> 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] <ttx> smoser: it's a beta1 nominated bug anyway, so we can still work on it
[08:38] <ttx> smoser: good "night"
[08:38] <smoser> yeah. thanks.
[09:00] <hemanth> any ubuntu documentation available for mysql db replication ?
[09:06] <uvirtbot`> 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] <ttx> smoser: it's working alright here.
[09:18] <ttx> and I'm in the worst case scenario / running CLC+Walrus+CC+SC on the same machine
[09:24] <ttx> hm, or not.
[09:24] <ttx> smoser: I can reproduce it by starting multiple instances at the same time. Some of them will fail.
[09:25] <lifeless> ttx: thats not worst case.. you don't have nc there :)
[09:25] <ttx> NC on a separate machine :)
[09:25] <Dr_Jekyll> is the release date of ubuntu 10.04 already announced?
[09:25] <ttx> Dr_Jekyll: yes, we also know the release date of 10.10
[09:26] <ttx> 10.04 should be released on April 29th.
[09:26] <Dr_Jekyll> alright, thanks!
[09:51] <Skaag> what's the recommended kernel to load under vmware in ubuntu server 9.10?
[09:51] <Skaag> as a guest os
[09:51] <persia> 2.6.31
[09:55] <th0mz> anyone including vmtools
[09:57] <Skaag> I am already running 2.6.31-19-generic-pae
[09:57] <Skaag> I don't know how to install vmtools though
[09:57] <Skaag> I tried to get the host to mount the image to the guest
[09:58] <Skaag> not working for some reason
[09:58] <th0mz> [x] connected ?
[09:58] <th0mz> ^^
[09:59] <Skaag> checking
[10:00] <Skaag> vmtools do something with the network card right?
[10:00] <th0mz> you can use vmnet3
[10:00] <Skaag> I'm running server, not desktop edition
[10:00] <Skaag> I just need more performance from the network
[10:00] <th0mz> but it increase performance
[10:00] <th0mz> (try a dd before and after)
[10:00] <Skaag> great. that's what I need.
[10:00] <th0mz> server shout not run without
[10:01] <th0mz> and if it is in a cluster it is really needed, (ballooning etc..)
[10:01] <Skaag> ouch. yes… believe me I feel it  ;-)
[10:01] <Skaag> great pain.
[10:01] <Skaag> I need to find a simple way to mount the image with the tools
[10:01] <th0mz> right click, install vmware tool shoud do the trick.
[10:02] <Skaag> when I do that, the vm gets stuck for 70+ seconds
[10:02] <Skaag> [ 1113.022505] BUG: soft lockup - CPU#0 stuck for 77s! [swapper:0]
[10:02] <Skaag> [ 1113.022505] Pid: 0, comm: swapper Not tainted (2.6.31-19-generic-pae #56-Ubuntu) VMware Virtual Platform
[10:02] <Skaag> and a bunch of kernel-panic looking stuff
[10:03] <Skaag> so that method is scary and not working :-)
[10:06] <Skaag> any suggestions how to obtain the vmtools without using the standard method?
[10:06] <th0mz> download, install
[10:06] <th0mz> :]
[10:10] <Skaag> how about open-vm-tools is that as good as?
[10:11] <Skaag> I ran an apt-chache search vmware and found this
[10:11] <Skaag> open-vm-tools - tools and components for VMware guest systems (CLI tools)
[10:11] <Skaag> whoah, it wants to install a gazillion things
[10:11] <Skaag> haha
[10:52] <jayvee> 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:53] <jayvee> or soren. Whoever is interested. :)
[11:33] <cjwatson> 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] <cjwatson> sorry
[11:33] <jayvee> np
[11:36] <jayvee> 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] <soren> jayvee: I, on the other hand, know libvirt reasonably well, but I know next to nothing about ipv6. :(
[11:41] <jayvee> heh
[11:41] <jayvee> soren: but you can see that libvirt disabling IPv6 on an interface is plain inconsiderate, right?
[11:42] <jayvee> sure, there are arguments for and against the behaviour red hat put in it
[11:42] <soren> It sounds inconsiderate, yes.
[11:42] <jayvee> 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] <soren> Yup. That's what I have.
[11:42] <jayvee> :)
[11:43] <soren> ..so I'mm kjkknik,jjjjjjjjjjjjjjnmmmmmmmmmmmmmmmmmmmmm mm
[11:43] <soren> Sorry, had to get a thing out from under my m-key :)
[11:44] <soren> ..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] <jayvee> 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] <jayvee> put it this way:
[11:45] <soren> That I understand.
[11:45] <jayvee> all ubuntu installs since 4.10 have had IPv6 enabled on every network interface by default
[11:45] <jayvee> at least, I think so :)
[11:45] <jayvee> as far back as my memory goes anyway
[11:46] <jayvee> it's the linux default
[11:46] <soren> My hesitance kicks in because someone made a decision to make this change. If I go and revert it, /I
[11:46] <soren> am changing something to do with ipv6.
[11:46]  * soren notes that typing is hard
[11:47] <jayvee> hmm
[11:47] <jayvee> what can I do to help, in this case?
[11:49] <jayvee> soren: I suppose it would be easier to convince you to upload this patch if upstream had applied it too
[11:49] <jayvee> but I've had little response from them
[11:49] <soren> jayvee: Oh, yeah, sure. Then I'd do it in a heartbeat.
[11:49] <lifeless> soren: upstream were nuts
[11:49] <soren> jayvee: They are on IRC as well.
[11:49] <lifeless> soren: if its the bug I think it was, I read the bug in detail.
[11:50] <soren> https://bugzilla.redhat.com/show_bug.cgi?id=501934
[11:50] <jayvee> yeah
[11:50] <lifeless> soren: it boiled down to 'zomg something wrong turn it all off'
[11:50] <jayvee> note that Peter Bieringer "100% agrees" with my comment, and he wrote the IPv6 tutorial for Linux on TLDP
[11:50] <jayvee> so there's some credibility there :)
[11:50] <soren> jayvee: Now, that is useful info :)
[11:50] <tauren> 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] <soren> tauren: You can't.
[11:51] <tauren> soren, no?
[11:51] <jayvee> I do fear I used too harsh language in my comments on the RH bugtracker though.
[11:51] <soren> tauren: Just like you can't tell what the IP's are of your physical machines by looking at the box.
[11:51] <jayvee> as you can see, IPv6 is something I'm passionate about. :)
[11:51] <tauren> hmm, so I have to log into each host and do an ifconfig to see them?
[11:51] <soren> tauren: Are they using dhcp?
[11:51] <tauren> nope
[11:51] <soren> tauren: How did you configure their network?
[11:52] <tauren> soren, bridge eth0 with static ips in the guests
[11:52] <soren> tauren: Yes, but how?
[11:52] <soren> tauren: Where did you enter the static ips?
[11:52] <soren> Inside the virtual machine, right?
[11:53] <tauren> soren, in /etc/network/interfaces on each guest
[11:53] <tauren> yes
[11:53] <soren> Right.
[11:53] <soren> So that's where you go to find them.
[11:53] <tauren> well, i used vmbuilder to create them and specified the IPs in the command line.
[11:53] <tauren> I assume it put them into the interfaces file
[11:53] <soren> It did.
[11:54] <jayvee> 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] <soren> jayvee: openvz does not provide virtual machines.
[11:54] <jayvee> not having used OpenVZ, take that with a grain of salt
[11:54]  * soren is on the phone
[11:54] <tauren> jayvee, funny you say that, i was using openvz before, which is why i wanted the same feature with kvm
[11:56] <tauren> I supposed I could set up DHCP and dole out static IPs based on mac addresses or something
[11:56] <tauren> then i could just look at the dhcp server to see the list of ips.
[11:57] <jayvee> yeah
[11:57] <jayvee> there is also ping -b, but unfortunately linux doesn't respond to broadcast pings by default
[11:57] <tauren> dang, was really hoping i was just missing a virsh command that would list ips.  this is a bummer.
[11:57] <lifeless> or use UEC :P
[11:58] <jayvee> 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] <jayvee> that way, ping -b would show all the hostnames with the IPs
[11:58] <jayvee> but I think that's over the top for something small ;)
[11:58] <lifeless> jayvee: dhcp3-server will do rdns rego for you
[11:59] <jayvee> that's what I had in mind
[11:59] <tauren> interesting. ok, those are some ideas then.
[11:59] <lifeless> and forward
[11:59] <jayvee> but you have to tweak the config file
[11:59] <lifeless> yah
[11:59] <lifeless> off by default for compat with 3
[11:59] <lifeless> s/3/2
[11:59] <jayvee> and it's really confusing at first
[11:59] <tauren> Is UEC the eucalyptus stuff?
[11:59] <lifeless> yeppers
[11:59] <tauren> anyone here looked into openqrm?
[11:59] <jayvee> lifeless: I tried UEC on my desktop...I couldn't get it going. I think it's way too complex for me.
[11:59] <linuxgurumaniac> hello
[11:59] <linuxgurumaniac> hello
[12:00] <jayvee> or it's just not in my use case
[12:00] <tauren> 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] <jayvee> it's a shame, because UEC seems to be really cluster oriented, which I was really excited about
[12:02] <jayvee> 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] <jayvee> upstart is designed for daemons, not scripts.
[12:03] <jayvee> in a cluster scenario, is it best to get machines to use dhcp addresses?
[12:05] <tauren> 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] <lifeless> jayvee: single machine is a little tricky due to bugs
[12:05] <lifeless> jayvee: did you follow my docs on the same (and do you ave a separate machine doing DNS/DHCP ?
[12:06] <tauren> lifeless: what is the recommended config for doing UEC? is 2 machines enough?
[12:06] <tauren> i was trying to set it up on a single machine too, maybe that's why it didn't work.
[12:07] <lifeless> tauren: recommended config is three machines: 1) network infrastructure. 2) cluster controller 3) 1 or more node controllers
[12:08] <lifeless> 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] <jayvee> indeed it did
[12:08] <tauren> lifeless, can cluster controller run in a VM?
[12:08] <lifeless> tauren: I'm working on bringing it down to one, but that needs some more care.
[12:08] <lifeless> tauren: I think it could yes. But not a UEC one :P
[12:08] <tauren> lifeless, and what exactly is network infrastructure?
[12:08] <lifeless> tauren: DHCP, DNS
[12:08] <tauren> ahh
[12:09] <tauren> can UEC guests do PXE boots?
[12:09] <lifeless> no, they boot 'machine images'
[12:09] <jayvee> 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] <lifeless> its EC2 for home.
[12:09] <lifeless> jayvee: its not a use case the devs aim at.
[12:10] <lifeless> jayvee: they are aiming at 10s or hundreds of machine deployments
[12:10] <persia> I've heard it works cleanly with 3 machines, and is tested at 2.  One is a special case.
[12:10] <tauren> When I compared UEC with OpenQRM, it seemed OpenQRM was the better solution.
[12:11] <tauren> it too recommends 3 servers:  storage server, openqrm management server, node server
[12:11] <tauren> but they have a way to run it all on a single system.
[12:11] <tauren> anyway, in case you want to check it out.
[12:12] <jayvee> it's discussions like these that make me want to power up the DL320 in the garage
[12:12] <jayvee> but we worked out the power cost us about $45 a month so it's been off since 2007
[12:14] <screen-x> jayvee: yeah, I had some of those but had to give them away due excessive noise and power consumption :(
[12:14] <jayvee> yeah, that's how I got all mine :)
[12:15] <tauren> jayvee, how much power does it consume?
[12:15] <jayvee> don't remember
[12:15] <jayvee> though it'd be around a kilowatt, I'd imagine
[12:16] <tauren> 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] <tauren> 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] <hemanth> is there a easy power management package for Ubuntu servers to shutdown and start automatically? i have tried APCI and WOL
[12:37] <gzur> Hi - I'm trying to vnc into my headless ubuntu-server hardy box
[12:37] <gzur> I was following the directions from here: http://stevenharman.net/blog/archive/2008/12/13/vnc-to-a-headless-ubuntu-box.aspx
[12:37] <gzur> But all I get is a brown screen
[12:37] <gzur> Does anybody have any idea what might be wrong?
[12:37] <gzur> I'm thinking I'm probably looking at a blank desktop and need to install some packages for a minimal gui
[12:37] <gzur> but I'm loathe to install the ubuntu-desktop packages
[12:38] <gzur> since that would be such overkill for what I need
[12:40] <tauren> gzur: i have no ideas for your specific problem. but why don't you just ssh in to the box?
[12:52] <zul> morning
[13:00] <ttx> zul: hey
[13:01] <ttx> Samba bugzapping: created https://code.launchpad.net/~bug-zappers/ubuntu/lucid/samba/bugzapping
[13:03] <zul> ttx: sweet
[13:04] <zul> ttx: still trying to wake up ;)
[13:12] <jayvee> so yeah, soren, what do you think? :)
[13:12] <soren> jayvee: It makes sense to me.
[13:12] <jayvee> that's a good start. :)
[13:12] <soren> ttx: Have you followed the ipv6/libvirt discussion at all?
[13:12] <soren> ttx: A few hours ago.
[13:12] <soren> or less, perhaps.
[13:13] <soren> My sense of time is poor right now.
[13:13] <persia> 90 minutes or so, by my logs
[13:13] <jayvee> nearly 1.5 hours ago
[13:13] <gzur> 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] <ttx> soren: no
[13:14] <ttx> soren: looking
[13:14] <soren> ttx: Ok.
[13:14] <persia> 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] <soren> persia: Would you say it requires an FFe?
[13:14]  * persia isn't a release person
[13:14] <soren> persia: I know.
[13:14] <soren> persia: Regardless.
[13:14] <soren> persia: I can't really tell if it's as much a new feature as a bug fix.
[13:14] <persia> But I'd probably upload it without bothering the release team, because I consider not working with IPv6 a bug.
[13:15] <persia> It's borderline.  Depends on whether you believe IPv6 should work by default.
[13:15] <soren> persia: I'm inclined to agree. I just wanted someone else to say so as well.
[13:15] <persia> 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] <soren> Wow.
[13:16] <persia> Check the ipv6 bugtag : seems lots of folks don't even have IPv4
[13:16] <soren> That's crazy. That's like not having...
[13:16] <soren> err...
[13:16] <soren> something else that almost everyone has.
[13:17] <jayvee> for my own personal use, I go without IPv4 all the time
[13:17] <jayvee> it's like eating my own dogfood, I spose
[13:17] <soren> jayvee: /whois reveals you're doing IRC over ipv4 at least :)
[13:17] <persia> There's a limit to IPv4 address space.  In some places, addresses are expensive.
[13:17] <jayvee> soren, yes, I bricked my router yesterday
[13:18] <soren> jayvee: Coulnd't handle the ipv6 address space? I know the feeling.
[13:18] <soren> That thing is huge!
[13:18] <soren> jayvee: Do you have the bug number handy
[13:18] <soren> ?
[13:18] <ttx> soren: I am scared of both ipv6 and libvirt, if that helps :)
[13:18] <jayvee> LP #528934
[13:19] <soren> ttx: No, that's surprisingly unhelpful :)
[13:19] <soren> jayvee: Ta
[13:19] <jayvee> 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] <jayvee> 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] <jayvee> that's my guess, anyway. been more focused on getting this apache solr installation working since I got it going again.
[13:21] <jayvee> which doesn't support ipv6 out-of-the-box, btw.
[13:21] <henkjan> ipv6++
[13:21] <soren> jayvee: I'm fixing these things before I upload, but just so you know:
[13:21] <soren> The patch will not be applied if not listed in debian/patches/series.
[13:21] <soren> ...so I've added it there.
[13:22] <soren> I've also renumbered it to 9017 rather than 0011.
[13:22] <jayvee> ooh
[13:22] <soren> Debian tends to number them from 0000, and for patches that are local to Ubuntu, we tend to use 9000+.
[13:22] <jayvee> I see
[13:22] <jayvee> I didn't know that.
[13:22] <soren> ..that way, if we merge with Debian, and they've added patches, our are still applied "on top", so to speak.
[13:23] <jayvee> in my testing, the patch worked locally though. Maybe debuild and pbuilder behave differnetly?
[13:23] <persia> The patch numbering bit tends to be team- or even package- specific.
[13:23]  * soren verifies that the package uses quilt..
[13:24] <soren> jayvee: No.
[13:24] <persia> Well, yes, but not usually about patches :)
[13:24] <soren> jayvee: Neither of those deal directly with the patches.
[13:25] <soren> jayvee: How did you construct the patch?
[13:25] <soren> (that may explain why you've seen it work)
[13:25] <jayvee> well I first constructed it with a git checkout of libvirt, and tested from there
[13:26] <jayvee> and then downloaded the libvirt source
[13:26] <jayvee> ran cdbs-edit-patch or whatever it's called
[13:26] <jayvee> made my change
[13:26] <jayvee> and added the changelog entry
[13:26] <jayvee> and tested the resulting .debs
[13:26] <soren> Heh :)
[13:26] <soren> cdbs-edit-patch would do it.
[13:26] <jayvee> which definitely worked
[13:26] <soren> Funny that.
[13:27] <jayvee> I know it worked, because my ipv6 broke again when I installed the karmic version of libvirt again this morning
[13:27] <jayvee> oh...when I rerolled the debdiff, I simply copied over the patch into debian/patches
[13:27] <jayvee> and updated the changelog
[13:27] <jayvee> so that was done manually
[13:28] <persia> and that's why it didn't end up in series
[13:28] <jayvee> aha
[13:28] <jayvee> hmm, it doesn't appear in series in my original debdiff though
[13:28] <jayvee> maybe I constructed that one by hand too
[13:28] <jayvee> can't remember
[13:30] <soren> Thing is..
[13:30] <soren> If you've patched the source outside of quilt, quilt will not clean up after you either..
[13:31] <soren> ..so your package would get built with the patch applied.
[13:31] <jayvee> I see
[13:31] <jayvee> so it lurks in .diff.gz, rather than debian/patches, or something
[13:33] <persia> Right, which is less than ideal (having patches live in two different places)
[13:33] <jayvee> yeah
[13:34]  * soren test builds
[13:35] <jayvee> soren, what you're looking for is a "fe80::" address appearing on the virbr0 interface if the patch is working
[13:35] <gzur> For reference: I set up a connection to a headless ubuntu-server (hardy) using instructions from this page:
[13:35] <gzur> along side this on: http://stevenharman.net/blog/archive/2008/12/13/vnc-to-a-headless-ubuntu-box.aspx
[13:36] <jayvee> without the patch, there are only "inet" addresses. with the patch, there are "inet6" addresses too
[13:36] <gzur> oops later one is suppsed to be http://ubuntuforums.org/showthread.php?t=1155961
[13:36] <gzur> which deals with installing a minimal gnome desktop
[13:36] <gzur> works like a charm
[13:37] <soren> 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] <jayvee> nice
[13:43] <zul> such efficent service
[13:43] <henkjan> soren: $NEWJOB? are you quitting canonical?
[13:44] <zul> ttx: the fix for # 507374 doesnt go far enough
[13:45] <ttx> zul: *=\+ ?
[13:46] <ttx> the rest seems cosmetic to me
[13:46] <zul> ttx: it needs an extra space at the wins line
[13:46] <henkjan> bah, need to rewrite lots of our cfengine setup when upgrading to lucid
[13:46] <zul> i fixed it anyways
[13:46] <ttx> ok
[13:46] <henkjan> our cfengine setup is not upstart aware and we are using /etc/init.d/<service> restart everywhere :(
[13:48] <zul> ttx: also the fix for # 435061 should really be done in dhcp
[13:49] <ttx> zul: ok, update the bug then
[13:49] <kaushal> hi
[13:50] <kaushal> can someone here give me example to use foreach ant task to deploy same war to multiple running Tomcat Server?
[13:53] <soren> henkjan: I did. Weeks ago :)
[13:55] <soren> 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] <zul> ttx: bzr branch pushed
[13:55] <jayvee> soren, ah
[13:56]  * soren is still test building
[13:56] <soren> Well.. s/still(.*)/\1 again/
[14:00] <soren> jayvee: Uploaded.
[14:00] <jayvee> soren: cool bananas :)
[14:00] <jayvee> thanks very much for your time.
[14:00] <soren> jayvee: https://edge.launchpad.net/ubuntu/+source/libvirt/0.7.5-5ubuntu13 <---- You're famous!
[14:01] <jayvee> :-D
[14:01] <jayvee> ooh, that makes me tingle inside
[14:02] <persia> jayvee: OK.  That's one in.  9 to go :) (based on https://edge.launchpad.net/~jeremy-visser/+related-software )
[14:02] <jayvee> heh
[14:03] <jayvee> yeah, come to think of it
[14:03] <jayvee> still need to do tahoe-lafs
[14:03] <jayvee> had two positive feedback reports from the mailing list the other day
[14:03] <jayvee> need to update the bug
[14:07] <pjanecze> 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] <pjanecze> do you know why it may happens?
[14:08] <soren> pjanecze: What do you mean by "in software install"?
[14:09] <soren> Anyways, dpkg segfaulting sounds like a memory malfunction more than anything else.
[14:09] <pjanecze> i mean stage in installing ubuntu server
[14:09] <pjanecze> this stage is after system install
[14:10] <soren> Oh, that early? Yes, I would definitely say some kind of hardware malfunction.
[14:10] <pjanecze> you think that memory could be problem, not disk?
[14:11] <soren> I'd suspect memory before disk. Disk errors tend to show themselves earlier and differently.
[14:11] <soren> Memory errors just make stuff go strange.
[14:11] <pjanecze> good to know, thanks i will try to change memories
[14:12] <soren> Just test your memory first.
[14:12] <soren> pjanecze: When you boot the install CD, there's an option to test memory.
[14:12] <soren> Use that.
[14:15] <jayvee> well, way past bedtime for me
[14:15] <jayvee> thanks again soren
[14:15] <jayvee> persia, and others
[14:15] <jayvee> :)
[14:15] <\sh> anyone here with hands on a HP dl385G6 + P410 SmartArray?
[14:19] <bogeyd6> !anyone | \sh>
[14:28] <ogra> ttx, tickle
[14:28] <pjanecze> soren: oh, i forget about this, thx;)
[14:30] <ttx> ogra: yo
[14:30] <ogra> great
[14:30] <ogra> ttx, so NCommander is back today, lets talk a bit about likewise
[14:30] <ttx> beh
[14:30] <ogra> ttx, i guess you have seen bug 517300
[14:31] <ttx> ogra: for the record, this is now considered a desktop package
[14:31] <ogra> 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] <ogra> ugh
[14:31] <ttx> https://blueprints.launchpad.net/ubuntu/+spec/desktop-lucid-likewise-open-migration
[14:32] <ogra> ttx, do you know who is responsible for it on the desktop side ?
[14:32] <ttx> ogra: we used to take care of it, but this was moved to desktop by decision of upper management
[14:32] <ogra> ah, pitti
[14:32] <ogra> right, i'll talk to him then
[14:32] <ttx> under the assumption that upstream would do most of the heavy lifting
[14:33] <ttx> I mean, I can help personally with my experience of it, but not the server team
[14:33] <ogra> well, i want to have the conversation in the right hands
[14:33] <ogra> seems there are things like copyright assignment involved etc
[14:33] <ogra> so it should go through a central instance on our side
[14:34] <ogra> ttx, thanks for the info ...
[14:34] <ttx> ogra: sorry about that :)
[14:34] <ogra> well not your fault :)
[14:41] <diago> 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] <soren> diago: What was the exact command line?
[14:55] <diago> soren: http://paste.ubuntu.com/393308/
[15:02] <genii> I understand rewind and non-rewind devicenames for tape... but what are these st0l st0a st0m for?  man st is unenlightening
[15:08] <tuxxy> 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] <tuxxy> 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] <diago> 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] <tuxxy> yes but mine is configured on port 80 and works fine, we have smaeIP and same router
[15:18] <ewook> 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] <AnAnt> Hello, I've installed (& configured) libpam-ccreds as mentioned in https://help.ubuntu.com/community/PamCcredsHowto
[15:26] <AnAnt> yet, after  an LDAP user logins on a client machine, if I run: sudo cc_dump, after that, it gives nothing
[15:27] <AnAnt> btw, "sudo getent passwd" does list LDAP users even when the machine is disconnected
[15:34] <Sorell> :/ 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] <zul> ttx: liblog-log4j-perl has been seeded
[15:42] <ttx> zul: \o/
[15:44] <bogeyd6> Sorell, using softraid or fakeraid?
[15:45] <Sorell> I'm using the motherboard RAID controler
[15:45] <bogeyd6> !fakeraid | Sorell
[15:45] <bogeyd6> go to the fakeraid howto and follow directions
[15:45] <bogeyd6> will solve all problems
[15:46] <Sorell> thanks
[15:46] <bogeyd6> however
[15:46] <bogeyd6> i suggest using software raid
[15:48] <Sorell> why would software raid be better?
[15:48] <bogeyd6> 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] <Sorell> oh
[15:49] <persia> Well, that, and that you can more easily work around bugs or get them fixed.  firmware bugs on mainboards are fussy.
[15:49] <Sorell> well I will look into softraid then.
[15:49] <persia> (note that real hardware raid is better than software raid, but expensive)
[15:49] <bogeyd6> 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] <LinuxAdmin> I am trying to install a server with SATA RAID disks
[15:50] <bogeyd6> LinuxAdmin, good choice
[15:50] <persia> Well, depends on implementation.
[15:50] <diago> 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] <LinuxAdmin> during installation it asks me to connect to iSCSI volumes
[15:51] <Sorell> What would be a good RAID controler?
[15:51] <LinuxAdmin> I can't connect, what could be the problem
[15:51] <\sh> LinuxAdmin: you don't have iscsi?
[15:52] <persia> 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] <LinuxAdmin> during the installation the system tells me that iSCSI was found, so I suppose that iSCSI is supported
[15:52] <bogeyd6> 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] <bogeyd6> Sorell, what kind of server you got
[15:53] <bogeyd6> LinuxAdmin, you dont need to connect to an iscsi volume
[15:53] <Sorell> it's a custom built job
[15:53] <bogeyd6> adaptec makes a good raid controller for custom built jobs
[15:53] <Sorell> cool
[15:53] <\sh> LinuxAdmin: if you don't have an iscsi box somewhere, you can forget about connecting an iscsi volume...
[15:53] <bogeyd6> ala http://www.cdw.com/shop/products/default.aspx?EDC=1418096
[15:53] <LinuxAdmin> sorry, I don't have scsi I've got SATA drives
[15:54] <\sh> LinuxAdmin: so...forget about iscsi ;)
[15:54] <LinuxAdmin> but the installation detect iscsi
[15:54] <persia> bogeyd6: Does that allow online administration?
[15:54] <Sorell> should I look for something with expandable memory?
[15:55] <bogeyd6> persia, http://www.adaptec.com/en-US/products/Controllers/Hardware/sas/performance/SAS-5805/
[15:55] <LinuxAdmin> the problem is that I have RAID1 configured in the controller firmware, but the ubuntu installer detects both disks
[15:55] <bogeyd6> Sorell, spend as much money as you can with the best specs you can. ultimately everything comes down to storage speed
[15:55] <bogeyd6> LinuxAdmin, which raid controller?
[15:55] <LinuxAdmin> with scsi controllers it is transparent to the OS
[15:55] <diago> bogeyd6: *nix virts perform fine, it's just this blasted wins 2K3 server I need ATM
[15:56] <bogeyd6> !vmware | diago
[15:56] <persia> bogeyd6: Doesn't answer my question, but maybe doesn't matter.  Depends on uptime requirements vs. disk-loss rates.
[15:56] <LinuxAdmin> it's an Intel SR1630HGP server
[15:56] <bogeyd6> persia, it was just an *EXAMPLE*
[15:56] <diago> bogeyd6: yeah, I'm install VirtualBox now on a different PC thanks though
[15:56] <persia> No worries :)
[15:57] <zul> ttx: have you seen this before? http://freshmeat.net/projects/samba-vscan/
[15:57] <LinuxAdmin> my supplier says that I have to install the SATA controller drivers
[15:57] <bogeyd6> persia, personally i prefer hp smart array inside of hp servers :)
[15:57] <bogeyd6> LinuxAdmin, probably a smart idea :)
[15:57] <LinuxAdmin> I've got drivers inside server CDs but is for Red Hat or Suse
[15:58] <bogeyd6> derp
[15:58] <bogeyd6> LinuxAdmin, do you know the name of the raid card or is it in the motherboard?
[15:58] <bogeyd6> LinuxAdmin, maybe a RS2BL040 ??
[15:59] <LinuxAdmin> I think it is in the motherboard, the board is an Intel S3420GP
[15:59] <bogeyd6> !fakeraid | LinuxAdmin
[15:59] <bogeyd6> 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] <ttx> zul: no
[16:00] <bogeyd6> 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] <LinuxAdmin> 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] <persia> 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] <bogeyd6> you could, but why?
[16:01] <bogeyd6> 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] <bogeyd6> \sh, they make some octopus cables :)
[16:04] <bogeyd6> 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] <bogeyd6> should be in 4 years or so
[16:05] <bogeyd6> \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] <bogeyd6> hp business support has gotten worse and worse hasnt it?
[16:07] <bogeyd6> 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] <bogeyd6> !!!
[16:09] <bogeyd6> 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] <persia> 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:17] <\sh> uh oh a nice one
[16:17] <Sorell> bogeyd6: do I need  to get a battery for the 5805 ?
[16:27] <malifal> 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] <Sorell> http://www.accusys.com.tw/ProductItem.aspx?Lan=en&CMID=8&Product=35&PID=ACS-61100&PName=PCIe-SATA2x12/16/24
[16:29] <Sorell> has anyone ever used one of these?
[16:33] <\sh> malifal: I would say "no" but I can be mistaken
[16:37] <bogeyd6> Sorell, battery is always recommended
[16:40] <shtylman> 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] <histo> 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] <bogeyd6> shtylman, external (usb) cdrom?
[16:44] <shtylman> bogeyd6: internal
[16:45] <bogeyd6> im out of ideas
[16:45] <shtylman> heh
[16:45] <bogeyd6> histo, what does "hang" mean?
[16:46] <shtylman> it could be related to bug: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/210200
[16:46] <persia> 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] <histo> bogeyd6: It stops network access I had someone hook up a monitor and it won't power the display.
[16:46] <shtylman> persia: how would I see if I can find the cdrom?
[16:47] <shtylman> and if so... any pointers on what modules might be needing loading?
[16:47] <bogeyd6> histo, that sounds more like a hardware issue than a software issue. Can you pastebin.ubuntu.com whats in your cron.hourly?
[16:47] <shtylman> im tempted to try just netboot
[16:47] <persia> shtylman: You'd get a /dev/ node for it, and no idea, sorry.
[16:47] <bogeyd6> shtylman, thats what i would have done out the gate
[16:47] <shtylman> and then see if I can get past the mptsas loading
[16:47] <histo> bogeyd6: theres nothing there thats the weird thing.
[16:47] <malifal> what does a shared network mean in the context of dhcpd configuration?
[16:47] <bogeyd6> histo, what does /var/log/messages say?
[16:48] <histo> bogeyd6: /etc/cron.hourly/   is empty
[16:48] <histo> bogeyd6: let me check
[16:48] <bogeyd6> !pastebin | histo
[16:48] <bogeyd6> just in case :P
[16:48] <histo> I know about pastebin
[16:48] <histo> 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] <malifal> !dhcpd
[16:49] <malifal> !dhcp
[16:50] <histo> bogeyd6: i'm having them restart it again then i'll get messages and syslog and see
[16:50] <bogeyd6> histo, random freezes usually tied into a power source
[16:50] <histo> bogeyd6: its plugged into a batter backup with other server
[16:51] <malifal> that was helpful ubottu :p
[16:52] <bogeyd6> histo,  lets wait for the /var/log/messages paste
[16:52] <histo> bogeyd6: Mar 11 11:37:26 webserver kernel: [    9.816257] ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[16:52] <histo> bogeyd6: thats the last line in messages before it went down last time.
[16:53] <histo> bogeyd6: so its not posting anything else there after boot
[16:53] <bogeyd6> ok so we got it narrowed down to power supply or the network card
[16:54] <histo> bogeyd6:
[16:54] <histo> 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] <bogeyd6> power supply symptoms are described as Spontaneous rebooting or intermittent lockups during normal operation.
[16:55] <histo> bogeyd6: thats part of the last line in syslog before it went down.
[16:55] <histo> 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] <histo> r/lib/php5/maxlifetime) -print0 | xargs -n 200 -r -0 rm)
[16:56] <histo> Theres the rest of the line minux the $ from nano in the first part
[16:56] <bogeyd6> unfortunately i dont think that locks up servers
[16:56] <histo> After that cron job it locked up yesterday it ran that and then cron.hourly command
[16:56] <bogeyd6> disable the cron job
[16:58] <histo> Mar 10 20:17:01 webserver CRON[876]: (root) CMD (   cd / && run-parts --report /etc/cron.hourly)
[16:58] <histo> Was the last thing in syslog yesterday right above that was the one from today
[16:58] <histo> That ran 6 minutes prior
[16:58] <histo> 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] <bogeyd6> histo, http://linux.derkeiler.com/Newsgroups/alt.linux/2007-01/msg00137.html
[16:58] <bogeyd6> \sh, agreed
[16:59] <bogeyd6> histo seems convinced it is the cron job so i figure what is the harm in disabling it
[17:00] <histo> 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] <bogeyd6> this is why i love vmware :)
[17:01] <bogeyd6> 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] <bogeyd6> yup
[17:02] <bogeyd6> 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] <histo> Yeah it just hung again while I was ssh'd in to it watching htop
[17:05] <histo> Not really a big deal reloading It just hosts a webpage and ssh so I can get in.
[17:05] <malifal> guess shared network is just the default settings for a group of subnets
[17:06] <histo> 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] <histo> 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] <bogeyd6> histo, lots of good reasons for virtualizaiton :)
[17:13] <malifal> \sh: yeah but i'm setting my other subnet with just a bunch of predefined hosts, so their macs are already defined
[17:14] <malifal> 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 <mac>; ...} 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] <chocamo> how can I have a user automatically be a samba user when created?
[17:18] <bogeyd6> chocamo, i think it works the other way around
[17:19] <chocamo> 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] <chocamo> I have security = user set in smb.conf
[17:19] <malifal> \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.
[17:21] <bogeyd6> chocamo, https://help.ubuntu.com/community/Samba
[17:21] <\sh> malifal: add another nic to the machine ;)
[17:21] <malifal> \sh: i already have 2 lol
[17:21] <\sh> malifal: add more ;)
[17:22] <jiboumans> afternoon smoser :)
[17:25] <smoser> jiboumans, hey.
[17:30] <mathiaz> smoser: hi!
[17:31] <mathiaz> smoser: are you using the UEC test rig?
[17:31] <smoser> mathiaz you can have at it if you'd like.
[17:31] <mathiaz> smoser: great - thansk
[17:43] <sherr> \sh: Do you have some experience with HP MSA60 storage arrays? I have a query.
[17:44] <sherr> 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] <sherr> http://forums13.itrc.hp.com/service/forums/bizsupport/questionanswer.do?admit=109447627+1268329225079+28353475&threadId=1361361
[17:45] <sherr> Not important - it is running well (so far) - just wondering.
[17:46] <\sh> sherr: fire away
[17:47] <techgeek> What is the command to check if a server service is running? I need to check if slapd is running
[17:47] <sherr> Thanks - Well - if you look at the post above, an LED remains off (top-left) but all seems OK. Is this normal?
[17:48] <persia> techgeek: `status ${service}` works for some stuff
[17:48] <techgeek> 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] <sherr> Also, one disk (slot 12) reports slightly different from MegaCli - "Enclosure Device ID: N/A"
[17:48] <sherr> The forum post describes it better.
[17:48]  * \sh is gone for a couple of minutes
[17:49] <sherr> This is HP MSA60, LSI MegaRAID SAS 8888ELP RAID , Dell PE1800
[17:54] <techgeek> persia: would the command be sudo status slapd?
[17:55] <persia> techgeek: You shouldn't have to run sudo.
[17:55] <persia> techgeek: Check in /etc/init/ to see if there is a slapd.conf : if not, that won't work
[17:56] <persia> 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] <LinuxAdmin> Hi guys, I need your help one more time
[17:58] <techgeek> there is a slapd in INIT
[17:58] <LinuxAdmin> I've configured RAID5 during ubuntu server installation and everything went ok
[17:59] <LinuxAdmin> now I'm concerned with the eventuality of a disk failure
[18:00] <LinuxAdmin> what if a disk is damaged? since this is software raid, is there some tools to reconstruct the raid array?
[18:01] <LinuxAdmin> with scsi controllers this is done by the controller. what if a disk fails with software raid?
[18:02] <LinuxAdmin> 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] <techgeek> LinuxAdmin, are you using MDADM
[18:02] <LinuxAdmin> what?
[18:03] <LinuxAdmin> I'm installing the ubuntu server and the installer is very intuitive, I created raid5 very easily
[18:03] <LinuxAdmin> my concerns now is if anything goes wrong with a disk, I mean, if a disk fails
[18:05] <LinuxAdmin> 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] <LinuxAdmin> what can I do in suck a situation?
[18:05] <LinuxAdmin> how can I reconstruct the array?
[18:06] <LinuxAdmin> can someone help?
[18:07] <techgeek> I created my RAID1 arrays in a virtual machine using the MDAMD package
[18:08] <LinuxAdmin> this is not a virtual machine, it will host virtual machines
[18:09] <techgeek> 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] <LinuxAdmin> the installation stopped wright now and I'm getting a problem
[18:11] <LinuxAdmin> the system do not boot
[18:12] <LinuxAdmin> I get this error: Grub loading
[18:12] <LinuxAdmin> error:no such disk
[18:12] <LinuxAdmin> Grub rescue>
[18:12] <LinuxAdmin> what ca I do?
[18:13] <LinuxAdmin> what could get wrong?
[18:14] <LinuxAdmin> why can't I start? the installations was successfull but the system don't boot
[18:15] <techgeek> I think if it were me I would reinstall and wait till I got it up and then do the RAID
[18:19] <\sh> sherr: what raid level did you configure?
[18:19] <LinuxAdmin> I'll search for grub reinstall info
[18:19] <LinuxAdmin> thanks anyway
[18:20] <sherr> \sh: RAID5
[18:20] <\sh> sherr: could be that your disk 12 was a spare?
[18:21] <sherr> Yes, that's what I think (hope) - just odd that it doesn't say "hot spare" or "spare" anywhere ...
[18:21] <sherr> MegaCLI is hard to use, not much good ...
[18:22] <sherr> 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] <sherr> 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] <sherr> \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] <sherr> I almost wish I hadn't mentioned it - makes me a) think about MegaCLI again and b) worry about it failing
[18:26] <sherr> :-)
[18:26] <\sh> sherr: switch to HP completly ;)
[18:27] <sherr> we sell HP Z800's turnkey - for video/film/graphics work - but also Dell T7500's
[18:27] <sherr> And use the Dell SAS storage - very fast.
[18:28] <sherr> Never enough time for too much testing, configuring or playing!
[18:29] <sherr> Karmic did run on the Z800 last year when I tried - NVIDIA FX4600 as well. Very fast system.
[18:40] <oru_work> hi, which config and which setting is used for ssh timeouts ?
[18:47] <kirkland> zul: howdy howdy!
[18:47] <kirkland> zul: do you know what's up with:
[18:47] <kirkland> The following packages have unmet dependencies:
[18:47] <kirkland>   php5-imagick: Depends: phpapi-20060613+lfs but it is not installable
[18:47] <kirkland> E: Broken packages
[18:47] <zul> kirkland: it needs a rebuild
[18:47] <zul> lemme go look
[18:47] <kirkland> zul: cool, thanks; let me know if you need a hand
[18:48] <zul> k
[18:49] <pmatulis> jpds: working with raid controllers today?
[18:50] <jpds> pmatulis: No.
[19:00] <mathiaz> kirkland: hi!
[19:00] <mathiaz> kirkland: I see that qemu-common is in universe
[19:01] <kirkland> mathiaz: howdy!
[19:01] <mathiaz> kirkland: but it got installed when I ran apt-get install eucalyptus-nc
[19:01] <kirkland> mathiaz: erm, is it?
[19:01] <kirkland> mathiaz: it needs to be in main
[19:01]  * kirkland goes find slangasek
[19:01] <mathiaz> kirkland: it's in the component-mismatch list
[19:02] <mathiaz> 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] <kirkland> mathiaz: i just poked slangasek about qemu-common in #ubuntu-release
[19:04] <mathiaz> kirkland: http://paste.ubuntu.com/393485/
[19:04] <mathiaz> kirkland: ^^ I'm trying to register a nc with a cc
[19:04] <mathiaz> kirkland: what does this error mean?
[19:04] <kirkland> mathiaz: erm
[19:04] <mathiaz> kirkland: this is on a multi-network installation
[19:05] <kirkland> mathiaz: i've not seen that error message
[19:08] <kirkland> mathiaz: http://paste.ubuntu.com/393490/
[19:14] <mathiaz> kirkland: isn't cluser1 the default name now a days?
[19:14] <kirkland> mathiaz: "cluster1"
[19:14] <kirkland> mathiaz: you're missing a "t" in your quote right there (maybe just a typo)
[19:14] <mathiaz> kirkland: right - it was a typo
[19:15] <kirkland> mathiaz: yes, that's the default
[19:16] <mathiaz> kirkland: IIRC there is an open bug about that
[19:18] <mathiaz> kirkland: this was a package install
[19:18] <mathiaz> kirkland: and I wasn't prompted for the name of the cluster to register with
[19:18] <mathiaz> kirkland: which is something that is done by the installer IIRC
[19:18] <kirkland> mathiaz: you should be prompted
[19:18] <kirkland> mathiaz: what was your debconf priority?
[19:19] <mathiaz> kirkland: the default one
[19:19] <kirkland> mathiaz: and you didn't preseed cluster name, did you?
[19:19] <kirkland> mathiaz: tell me about your install ...
[19:19] <mathiaz> kirkland: it's a bare bone install - without any preseeding done for eucalyptus
[19:19] <kirkland> mathiaz: from today's ISO?
[19:19] <kirkland> mathiaz: or the archive?
[19:19] <mathiaz> kirkland: archive
[19:20] <mathiaz> kirkland: you can see the preseed sent to the installer on tamarind: it's the marula host
[19:21] <mathiaz> kirkland: yeah - there isn't any prompt for the cluster name in eucalyptus-nc.config
[19:22] <kirkland> mathiaz:
[19:22] <kirkland> db_get eucalyptus/cluster-name || true
[19:22] <kirkland> if [ -z "$RET" ]; then
[19:22] <kirkland>         db_set eucalyptus/cluster-name "cluster1"
[19:22] <kirkland> fi
[19:22] <mathiaz> kirkland: right - that's doesn't prompt anything
[19:22] <kirkland> mathiaz: that's in the eucalyptus-nc.config
[19:22] <wack479> 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] <kirkland> mathiaz: you think that should do a db_input
[19:22] <hink> anyone had experience with KSplice Uptrack?
[19:22] <tormz> Hello, I am looking for some help with setting up a Domain Name on a Dynamic IP
[19:22] <kirkland> mathiaz: that's probably okay
[19:22] <mathiaz> kirkland: yes - something like that
[19:23] <kirkland> mathiaz: what bug number is this?
[19:23] <mathiaz> kirkland: that being said it may have an impact on the installer
[19:23] <mathiaz> kirkland: because that logic is already implemented in the installer
[19:23] <mathiaz> kirkland: I'm still looking for the bug number
[19:23] <wack479> 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] <sherr> wack479: yes, that's right
[19:24] <wack479> k, thats what i thought
[19:24] <kirkland> mathiaz: i think it's okay as long as we're inside of the if [ -z "$RET" ]; then ...
[19:24] <kirkland> mathiaz: because in the default installs, the node should get its cluster name from the preseed file
[19:25] <wack479> sherr: but for some reason, every time i try to create the array it tells me...
[19:25] <kirkland> hmm
[19:25] <wack479> sherr: mdadm: Cannot open /dev/sda: Device or resource busy
[19:25] <wack479> sherr: and then fails, any ideas?
[19:26] <sherr> Make sure /dev/sda is not in use i.e. not mounted etc.
[19:26] <wack479> sherr: it is not
[19:27] <sherr> what command are you using to create the raid?
[19:27] <zul> kirkland: can you open up a bug about it?
[19:27] <kirkland> zul: sure thing, against php5?
[19:27] <wack479> well i have tried doing it thru webmin and thru command line
[19:27] <zul> php-imagick
[19:28] <wack479> i dont remember the exact syntax, let me see if i can find it
[19:28] <tormz> Hello, I am looking for some help with setting up a Domain Name on a Dynamic IP
[19:28] <sherr> wack479: I'd throw webmin away and forget it. What command?
[19:29] <guntbert> !webmin | wack479
[19:29] <kirkland> zul: Bug #537570
[19:30] <sherr> 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] <sherr> wack479: mdadm --create /dev/md0 --level 5 --raid-devices=5 /dev/sda1 /dev/sdb1 /dev/sdc1 /dev/sdd1 /dev/sde1
[19:31] <wack479> 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] <sherr> (have each partition of type "fd" via fdisk/partitioner)
[19:31] <wack479> yes i did do that, well at one time, i will double check
[19:31] <zul> kirkland: thanks
[19:31] <wack479> and thanks ubotu
[19:31] <sherr> maybe try partitions? i.e. /dev/sda1 etc.
[19:37] <hink> anyone had experience with KSplice Uptrack?
[19:38] <wack479> sherr: do the partitions need to be formatted at all or just created?
[19:40] <sherr> wack479: just created - type "fd" (linux raid autodetect)
[19:41] <fakhir> 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] <sherr> wack479: once md0 is up and running, you format that - or make LV's and format them.
[19:42] <wack479> sherr: do i just go look and see if md0 is up and running?
[19:42] <sherr> fakhir: Ubuntu 10.04 Lucid is out end April - wait - or try a VM?
[19:42] <sherr> wack479: cat /proc/mdstat
[19:42] <sherr> The mdadm command should tell you really (no errors)
[19:43] <fakhir> sherr, we wont see a new version of MySQL until the next version of Ubuntu?
[19:44] <sherr> fakhir: check package versions at http://packages.ubuntu.com.
[19:44] <sherr> fakhir: I don't know what your bug is. Bug number?
[19:45] <wack479> sherr: the cat /proc/mdstat come back with  md_do : inactive sda[0] xxxxxxxxx blocks unused devices: <none>
[19:45] <fakhir> sherr, http://bugs.mysql.com/bug.php?id=46650
[19:49] <mathiaz> kirkland: hm - I can't get the CC to register to the cloud
[19:49] <sherr> 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] <mathiaz> kirkland: 2010-03-11 14:29:08-05:00 | 2509 -> euca_conf --register-cluster returned 1
[19:50] <mathiaz> kirkland: it seems there is a problem with rsync|ssh
[19:50] <sherr> fakhir: http://packages.ubuntu.com/lucid/mysql-server - 5.1.41-3ubuntu7
[19:50] <mathiaz> kirkland: the eucalyptus user public key is on the CC
[19:50] <sherr> Check changelog?
[19:51] <mathiaz> kirkland: hm - actually it's not
[19:51] <sherr> wack479: I guess you need to check your partitioning? fdisk -l /dev/sda
[19:51] <mathiaz> kirkland: the CLC pub key is not the CC
[19:51] <mathiaz> kirkland: the CLC pub key is not *on* the CC
[19:51] <fakhir> 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] <sherr> fakhir: OK - not my area, sorry. Marc Deslauriers seems to be in charge (of last changelog) - he might pick up your question.
[19:53] <fakhir> ok thank you
[19:54] <sherr> However - I doubt it will make Lucid r1 (freeze) - but who knows?
[19:56] <mdeslaur> fakhir: the bug you mentioned is supposed to be fixed in 5.1.41, and lucid contains 5.1.41
[19:56] <mdeslaur> fakhir: so, lucid should fix it for you
[19:57] <fakhir> ok
[19:58] <fakhir> 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] <sherr> mdeslaur: thanks. I thought fakhir said it was still present in latest ...
[19:58] <wack479> sherr: partitioning is /dev/sda1 -extended /dev/sda5 - Linux raid autodetect just like all the other drives
[19:58] <sherr> fakhir: why not try a VM virtual machine to test?
[19:59] <sherr> 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] <jcastro> kirkland: testdrive saves the day again!
[20:01] <jcastro> kirkland: it'll be up on planet in a few minutes
[20:01] <wack479> sherr: k
[20:10] <eekeek> 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.
[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] <eekeek> \sh: hmm that's not good.
[20:19] <sherr> eekeek: probably good for the health of the internet though :-)
[20:22] <jcastro> kirkland: btw on the karmic ppa testdrive is depends on cpu-checker, which doesn't exist afaict
[20:23] <eekeek> sherr: yeah I agree.
[20:25] <eekeek> 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] <sherr> eekeek: is the s/w free and opensource? Is it trust-worthy or are they?
[20:29] <eekeek> sherr: yes I believe the software is opensource - don't know much about it though. Namecheap seems trusty worthy.
[20:33] <sherr> I have used dyndns and their client ddclient before - but that's it. I use everydns for dns service.
[20:36] <wack479> sherr: sry doing the pastebin stuff now, had a coworker that had some pc probs
[20:36] <eekeek> 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] <wack479> 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] <kirkland> jcastro: oh, good call
[20:46] <kirkland> jcastro: i'll add it to the ppa
[20:46] <jcastro> kirkland: poke me when you do, ryan @ ars would like to do a quick writeup on testdrive
[20:46] <jcastro> but he's on karmic so he needs it in the ppa
[20:46] <kirkland> jcastro: saweet
[20:46] <kirkland> jcastro: sorry about that oversight
[20:46] <jcastro> kirkland: no worries, it's why we test!
[20:49] <sherr> wack479: OK, let me take a look
[20:52] <sherr> wack479: well these errors seem relevant - on creating via mdadm :
[20:52] <sherr> mdadm: Cannot open /dev/sda5: No such file or directory
[20:54] <sherr> Disks a-e are sda1 extended and sda5 as the single data partition
[20:54] <sherr> fdisk -l seems to list the disks/parts OK.
[20:55] <wack479> but sda5 exists?
[20:55] <sherr> 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] <sherr> I know - but mdadm complains. Not sure why.
[20:55] <wack479> oh ok
[20:56] <wack479> yeah i can try that
[20:56] <wack479> ill try anything at this point
[20:56] <wack479> lol
[20:56] <wack479> still need to change type to fd with the primary partition correct?
[20:57] <sherr> Yes. You might also want to do a : mdadm -stop /dev/md0
[20:57] <sherr> --stop
[20:57] <sherr> And maybe : /dev/md_d0 (not md0 - as per mdstat)
[20:58] <sherr> mdadm --stop /dev/md_d0 (never seen that syntax before)
[20:58] <wack479> when i tried that it said "mdadm: -s does not set the mode, and so cannot be the first option."
[20:58] <sherr> Maybe delete (or  move away) any /etc/mdadm.conf
[20:58] <wack479> ok
[20:58] <wack479> thanks
[20:58] <sherr> or that might be /etc/mdadm/mdadm.conf
[20:59] <sherr> --stop not -s
[20:59] <wack479> i did stop but it came back with -s
[20:59] <wack479> for stome reason
[21:03] <oru_work> where is the ssh log located ?
[21:04] <sherr> oru_work: /var/log/secure usually
[21:04] <sherr> Sorry : /var/log/auth.log ... (RHEL hat on ...)
[21:05] <sherr> Bene doing too much RHEL log tailing ....
[21:05] <sherr> oru_work: Ubuntu is : /var/log/auth.log
[21:06] <chocamo> 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] <garymc> Do I  need sendmail installed and configured to send emails from my contact website form?
[21:11] <wack479> sherr: same thing
[21:12] <wack479> do i have to mount those devices and then do the raid?
[21:12] <sherr> chocamo: could be related to libpam-smbpass not being installed - but that's a guess. Use with caution.
[21:12] <chocamo> sherr: it is installed :/
[21:12] <sherr> wack479: no
[21:12] <wack479> sherr: didnt think so
[21:12] <wack479> but its still telling me "no such file or dir"
[21:12] <wack479> grr
[21:12] <sherr> Hmmm. it will be something stupid ...
[21:13] <wack479> yeah exactly
[21:13] <wack479> and i have spent half of yesterday, and 3 hours on it today
[21:13] <sherr> It says : raid45: RAID device lookup failure
[21:13] <wack479> lol
[21:13] <wack479> what does?
[21:13] <sherr> raid45?
[21:13] <sherr> syslog
[21:14] <wack479> thats weird
[21:14] <wack479> handnt noticed that
[21:15] <sherr> and "error adding target to table" ... let me have a look
[21:17] <bogeyd6> This https://help.ubuntu.com/community/Installation/SoftwareRAID#Installing  is wrong and unneccesary on the partition creation steps
[21:20] <sherr> raid45 is just the RAID4 and RAID5 dm kernel module ... so that's OK
[21:21] <sherr> wack479: what controller are these 5 disks on? Anything unusual with the h/w?
[21:23] <wack479> no, ist just ahci controller on the MB
[21:23] <sherr> wack479: I'd also check you can a) mkfs and mount a normal fs on /dev/sda1 (say) and
[21:24] <sherr> b) make a RAID1 mirror of /dev/sda1 and /dev/sdb1 as a test say?
[21:24] <wack479> sure ill try both
[21:26] <wack479> mkfs came back with :
[21:26] <wack479> http://pastebin.com/7qZf7YW2
[21:27] <sherr> ie. Could not stat /dev/sda1 --- No such file or directory
[21:27] <sherr> No LVM involved here anywhere?
[21:27] <wack479> nope
[21:28] <sherr> Can you re-paste output of : fdisk -l
[21:29] <wack479> http://pastebin.com/jLD33twf
[21:29] <wack479> do i need to change type?
[21:29] <wack479> from the fd?
[21:30] <sherr> No. I don't see anything wrong. Maybe zero superblocks i.e. mdadm --zero-superblock /dev/sda (sdb,sdc,sdd,sde)
[21:31] <wack479> mdadm: couldn't open /dev/sda for write - not zeroing
[21:32] <wack479> *bleep bleep bleep bleep!
[21:32] <wack479> lol
[21:32] <sherr> Maybe worth seeing /var/log/syslog for boot up messages and disk enumeration
[21:32] <sherr> What version of Ubuntu and what kernel?
[21:32] <wack479> the whole thing?
[21:33] <wack479> 9.10 server amd64 kernel 2.6.31-20 i believe
[21:44] <wack479> syslog http://pastebin.com/A1hp5zrX
[21:52] <sherr> wack479: No tsure what the problem is but something very odd is happening - see all the reports around 13:05:22
[21:53] <sherr> It looks like udev/upstart is in the mix as well - maybe very relevant i.e.
[21:53] <sherr> upstart-udev-bridge[29054]: Disconnected from Upstart
[21:53] <sherr> init: upstart-udev-bridge main process (29054) terminated with status 1
[21:53] <sherr> init: upstart-udev-bridge main process ended, respawning
[21:54] <sherr> All around the time we also get RAID failures ...
[21:54] <Dancdoit> 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] <sherr> device-mapper: table: 252:0: raid45: RAID device lookup failure
[21:55] <sherr> wack479: These "upstart-udev-bridge" reports seem related - definitely suspicious
[21:55] <wack479> yeah thats weird
[21:56] <sherr> 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] <sherr> 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] <sherr> Maybe a BIOS funny? I don't know :-(
[21:58] <sherr> Or kernel? New h/w?
[21:59] <metalf8801> has anyone else run into a problem trying to install Ubuntu 10.04 Alpha 3 using Wubi?
[22:00] <wack479> ok yeah i will try that
[22:00] <wack479> i can check and see if there are any bios updates i guess, no, no new hw
[22:00] <funkiwan> i'm looking for help debugging a broken raid setup. here's some details of my current config: http://pastebin.com/MUJwNvgy
[22:02] <sherr> 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] <funkiwan> 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] <sherr> I don't know if I can handle any more RAID!
[22:03] <wack479> hahaha that would be my fault funkiwan
[22:04] <funkiwan> i'm guessing my problem is pretty simple. is there a better place for me to try and get help?
[22:04] <sherr> funkiwan: what's in : cat /proc/mdstat
[22:05] <wack479> lol dejavu
[22:05] <funkiwan> http://pastebin.com/NzuUnnvb
[22:06] <sherr> funkiwan: I think that's OK - but it is re-building.
[22:06] <sherr> RAID1 /dev/md0 on /dev/sda1 and /dev/sdb1
[22:06] <sherr> Rebuilding - 40 mins left
[22:06] <funkiwan> sherr: correct
[22:06] <funkiwan> i ran the rebuild command myself
[22:07] <funkiwan> i'm more concerned about the other partitions
[22:07] <funkiwan> i'm currently running without swap
[22:07] <sherr> funkiwan: that's OK
[22:07] <funkiwan> i was running swap on a separate drive
[22:07] <funkiwan> but it failed
[22:07] <funkiwan> so i'm trying to set up swap on these two disks
[22:07] <sherr> Should be straightforward
[22:08] <funkiwan> on the unused partions, sda2 and sdb2
[22:08] <funkiwan> i agree
[22:08] <sherr> mkswap /dev/sda2 && mkswap /dev/sdb2
[22:08] <funkiwan> but if you look at the examine output of sdb2, it doesn't make sense to me
[22:09] <sherr> 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] <funkiwan> it shows sdb2 as part of an active raid (raid0) with two devices, but it only shows one device
[22:10] <funkiwan> sherr: okay, it's that simple, i'll do it.
[22:10] <sherr> I think it's just old info i.e.
[22:10] <funkiwan> i wasn't sure if there was some way i was supposed to remove them via mdadm first
[22:11] <sherr> You could zero the superblock maybe - see the man page.
[22:11] <sherr> mdadm --zero-superblock /dev/sdb2
[22:12] <funkiwan> what does that buy me?
[22:14] <sherr> It removes md superblocks and so clears md (old) history on the device
[22:15] <sherr> See the man page and/or google. This is your data! :-P
[22:17] <wack479> sherr:i almost feel cheated on with ur RAID talk with funkiwan
[22:17] <wack479> lol
[22:19] <jcastro> kees: dude I love that "ufw allow samba" and "ufw allow nfs" just works
[22:20] <jcastro> I don't even have to remember ports anymore
[22:20] <sherr> wack479: well, let's hope Murphy doesn't strike! ... RAID .. dead simple :-)
[22:20] <funkiwan> sherr: am i correct in that i need to delete the partion via fdisk and then readd it?
[22:20] <sherr> jcastro: any chance of a "ufw allow raid"? :-)
[22:21] <sherr> funkiwan: to make it a swap part.? No. Just use fdisk to "toggle" (t) the partition number to "linux swap".
[22:21] <sherr> funkiwan: I'd wait until the sync is complete.
[22:21] <jcastro> sherr: if you buy hardware raid it it's like zero config!
[22:22] <sherr> jcastro: I'd end up waking up I think ....
[22:25] <enquora> 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] <funkiwan> sherr: thanks for the tip about waiting for the sync. it completed. i'm going in....
[22:29] <funkiwan> crud. it appears the rebuild may have failed. state is listed as clean, degraded
[22:30] <sherr> funkiwan: before looking at that, toggle the part. id's for swap.
[22:30] <sherr> enquora: what's "nmdb PID" problems?
[22:30] <funkiwan> sherr: you think having swap available may help the raid1 rebuild?
[22:31] <sherr> funkiwan: don't think it is necessary. Just quick and easy to sort out.
[22:31] <sherr> For the rebuild - what's /var/log/syslog say? (last 10 lines or so). Error?
[22:33] <funkiwan> do i need to be concerned about the error message listed at the end of my fdisk session? http://pastebin.com/P43e6RbU
[22:36] <sherr> funkiwan: no - but it wants a reboot really. Do both swap partitions - then reboot.
[22:36] <sherr> 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] <funkiwan> 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] <funkiwan> 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] <enquora> 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] <sherr> funkiwan: yes, reasonable. Any error in syslog about the raid rebuild failing?
[22:41] <sherr> enquora: in Karmic?
[22:41] <enquora> yes
[22:41] <enquora> lot's of old discussion on it, no resolution
[22:42] <enquora> that can't be the problem with GRUB2 not autobooting, though
[22:42] <sherr> Ah ... *nmbd* OK ... lucky I'm not running Samba servers on Karmic ...
[22:43] <kees> jcastro: awesome.  jdstrand rocks.  :)
[22:43] <enquora> so, anyone on debugging GRUB2-level problems?
[22:44] <funkiwan> this is the last think i'm seeing w/r/t mdadm in syslog: http://pastebin.com/iyqrUCyW
[22:45] <funkiwan> sherr: there is continuing output of the RAID1 conf printout: lines. about every five seconds
[22:45] <sherr> and /dev/mdstat
[22:45] <sherr> ?
[22:45] <sherr> /proc/mdstat
[22:47] <funkiwan> sherr: current output of mdstat and mdadm --detail: http://pastebin.com/u7tgsN1S
[22:52] <sherr> funkiwan: gone to "spare" now? Hmmm.
[22:53] <sherr> Anything in /etc/mdadm/mdadm.conf ? Sometimes spares get (incorrectly) configured
[22:54] <jdstrand> kees: thanks man :)
[22:56] <funkiwan> 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] <sherr> 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] <funkiwan> sherr: it's now listed as active, degraded
[22:57] <sherr> I would a) back stuff up (in case) then check out "smartctl" (smartmontools) and see if it thinks any disks are failing.
[22:58] <funkiwan> sherr: thanks for the advice and the help.
[22:58] <sherr> You could then try a "remove" and an "add" again perhaps ...
[22:58] <sherr> No problem. Good luck and good night :-)
[23:08] <marsje> Hi. Can anyone tell me how I can start X windows and start an X app automatically at boot?
[23:08] <marsje> I have installed xfce4 and xdm, but it doesn't seem to work out of the box...
[23:09] <marsje> I get a login screen, but after login I get back at the command line login prompt
[23:54] <jayvee> Hey, who was asking about "ssh -X" not working the other day?
[23:55] <jaypur> hey yall do you know what are the changes for 10.4?
[23:58] <persia> 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] <jaypur> persia, thanks