[03:12] <[1]kaffien> can someone tell me what would cause this line in the fstab to not mount?    UUID=8095a8a2-80f0-4942-9a61-4738f3566209 /media/lsmnas2  xfs  0 1
[03:12] <Kaffien> that is just a line for a secondary hdd for storing backups
[03:13] <Kaffien> i looked up the block id via blkid
[04:11] <zeeeeee> Can anyone assist me in getting indexhibit on my ubuntu server?  It has some sort of php semi-auto install file, but I'm not really sure how to use it.
[04:35] <tiger2wander> Hi there
[04:36] <tiger2wander> I've just purchased a Western Digital HDD 2TB, then plug it into my server running Ubuntu server 10.04 (Upgraded from 9.10) but seen it not detected my new HDD
[04:37] <tiger2wander> I have not see it in list of `lspci`, `fdisk -l` or `lshw -C disk` commands
[04:37] <tiger2wander> Please help me!
[04:38] <tiger2wander> Is anyone troubled with this HDD?
[04:39] <ChmEarl> tiger2wander, counting the new drive, how many drives on the system?
[04:40] <tiger2wander> ChmEarl, I have 2 Seagate drivers 320GB running as RAID 1 before
[04:41] <tiger2wander> ChmEarl, may RAID mode prevent kernel to detect new driver?
[04:41] <tiger2wander> my kernel version is: Linux [hostname] 2.6.32-23-server #37-Ubuntu SMP Fri Jun 11 09:11:11 UTC 2010 x86_64 GNU/Linux
[04:42] <ChmEarl> tiger2wander, so now you have three? did you use the same MB header array as the seagates?
[04:42] <tiger2wander> ChmEarl, I have not configured it yet because of I don't see any message from `dmesg` about new hardware detection
[04:43] <ChmEarl> tiger2wander, the seagates are on a separate card or directly to MB? and what is the chipset?
[04:43] <tiger2wander> ChmEarl, I have not a plan to use new driver as RAID array, I'll use it as standalone driver to store data
[04:44] <ChmEarl> tiger2wander, the new drive should be /dev/sdc
[04:46] <ChmEarl> tiger2wander, if detection failed then try to attach the Western Digi to another SATA chipset. Perhaps the chipset used for it is disabled in the bios
[04:47] <ChmEarl> tiger2wander, many MB's have 2 different SATA chipsets
[04:47] <ChmEarl> tiger2wander, my MB has intel ich10 and jmicron
[04:49] <tiger2wander> ChmEarl, there is only /dev/sda and /dev/sdb only
[04:50] <tiger2wander> and RAID array is /dev/md0, /dev/md1 and /dev/md2
[04:56] <tiger2wander> ChmEarl, my driver specs is here: http://www.newegg.com/Product/Product.aspx?Item=N82E16822136344
[04:56] <ChmEarl> tiger2wander, you need to go into MB bios and activate SATA or ahci mode on all applicable headers
[04:57] <tiger2wander> ChmEarl, and 2 old drivers specs is here: http://www.newegg.com/product/product.aspx?item=n82e16822148140
[04:57] <unewbie> anybody using postfix with subdomains?
[04:57] <tiger2wander> ChmEarl, both old and new drivers using Serial ATA
[04:57] <unewbie> i need to install a new mail server
[04:57] <ChmEarl> tiger2wander, then maybe you will need to run initramfs for your current kernel
[04:58] <tiger2wander> ChmEarl, run `update-initramfs` ?
[05:00] <ChmEarl> tiger2wander, yes after you check your MB bios and turn on the headers
[05:03] <twb> Incidentally, what is up with some motherboards taking several seconds to load the AHCI controller on every boot? :-/
[05:03] <tiger2wander> ChmEarl, yep! thank you so much, I'll do that later, because of my time zone is in business hours and can not turn off server now :)
[05:04] <ChmEarl> tiger2wander, run dmidecode and see if all headers show-up
[05:05] <ChmEarl> tiger2wander, no that won't help- didn't help on my system
[05:07] <tiger2wander> ChmEarl, I'm looking for something in output of `dmidecode` now
[05:07] <ChmEarl> tiger2wander, grep dmesg for the chipset names - that works on my system
[05:10] <ChmEarl> tiger2wander, I search dmesg for jmicron and ich10 http://paste.ubuntu.com/462345/
[05:11] <tiger2wander> ChmEarl, in my case there is no jmicron found in dmesg
[05:12] <ChmEarl> tiger2wander, those are the chips that control my Sata/ahci headers. Your MB might be different
[05:17] <tiger2wander> ChmEarl, yes, and there is my dmesg: http://pastebin.com/CWzcnXP5
[05:33] <ChmEarl> tiger2wander, your ahci reports that RAID mode is turned on... no good
[05:33] <ChmEarl> tiger2wander, my ahci reports SATA mode
[05:33] <tiger2wander> ChmEarl, yes I'm using RAID mode for 2 old drivers running as RAID 1
[05:34] <ChmEarl> tiger2wander, you are using linux software raid (mdx)
[05:34] <tiger2wander> ChmEarl, yes
[05:34] <ChmEarl> tiger2wander, the fakeraid is turned on in the bios
[05:35] <ChmEarl> its turned on but your don't use it
[05:36] <tiger2wander> ah, may I forgot to turn it off in bios seen install new Ubuntu server on that server last year
[05:37] <tiger2wander> before I install Ubuntu on that server, it has run on Debian Lenny and using RAID mode too, may it has use fakeraid from bios
[05:38] <ChmEarl> tiger2wander, when you go to data center you need to carefully look at the AHCI and RAID bios menus
[05:39] <tiger2wander> ChmEarl, to avoid any conflict settings in bios?
[05:39] <ChmEarl> your new drive will showup and most likely your bios wants to use it in RAID and you have to OK this
[05:39] <ChmEarl> tiger2wander, of course thats not what you want, so turn RAID off and use AHCI or SATA
[05:40] <tiger2wander> ChmEarl, ah! understand, btw once time bios is configured in fakeraid or something like that it will always add new driver to RAID array?
[05:40] <ChmEarl> tiger2wander, my guess is that there is no auto config, you have to manually do it
[05:41] <tiger2wander> ChmEarl, yes, I think so
[05:43] <ChmEarl> #
[05:43] <ChmEarl> [    1.039904] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl RAID mode
[05:43] <ChmEarl> #
[05:44] <ChmEarl> tiger2wander, in that line there are 3 possible modes: AHCI, SATA, and RAID (fakeraid)
[05:45] <ChmEarl> for your new drive AHCI is best
[05:45] <tiger2wander> ChmEarl, Why don't use SATA mode for all?
[05:46] <tiger2wander> ChmEarl, I think if we have difference drivers with difference specs implement so we will need AHCI
[05:47] <tiger2wander> ChmEarl, and if all drivers has SATA compatible then choose SATA, it it right?
[05:50] <ChmEarl> tiger2wander, sure SATA is fine (its legacy).. only RAID is bad since you need to manually be at console for too many things
[08:09] <Roxyhart0> hi there, somebody know where i can get a doc to configurate DNAT with ubuntu server, inlcuding the definition in interfaces
[09:03] <Roxyhart0> hi there, sombody know any doc to install DNAT in ubuntu? and how to sett it in the intercaes?
[09:38] <qman__> so, my file server hard locked again after almost exactly the same amount of uptime, with no log information
[09:38] <qman__> I'm just looking for opinions as to whether that's an indicator of a hardware issue or a software issue
[09:43] <twb> qman__: do you have a local screen/keyboard or serial console connected to it?
[09:48] <qman__> I have a local screen
[09:48] <twb> Do you get a kernel panic on it?
[09:48] <qman__> but it's completely hard locked, even sysrq is no use
[09:48] <qman__> no, nothing on screen
[09:48] <twb> OK, that was all
[10:21] <alvin> qman__: Anything in /var/crash? (also, take a look at /etc/default/apport and enable apport)
[10:30] <RudyValencia> I would like to back up the contents of my server to a USB hard disk automatically, what is the easiest way to do it?
[10:33] <joschi> RudyValencia: rsnapshot for example (which is based on rsync)
[10:33] <joschi> RudyValencia:  depending on what and how you want to backup your data there are better solutions
[10:37] <RudyValencia> I want to backup both the 80GB / and 250GB /srv partitions on my server.
[10:38] <Roxyhart0> hi there, sombody know any doc to install DNAT in ubuntu? and how to sett it in the intercaes?
[10:38] <joschi> RudyValencia: then go with rsnapshot
[10:40] <joschi> Roxyhart0: standard netfilter/iptables thing. see http://www.frozentux.net/iptables-tutorial/iptables-tutorial.html#DNATTARGET for example
[10:41] <Roxyhart0> thanks a lot joschi!
[10:41] <RudyValencia> what about cpio?
[10:44] <twb> cpio is pretty historical
[10:44] <twb> I'd be using rsnapshot or squashfs
[10:44] <RudyValencia> ah
[10:44] <twb> The point being they do a better job of incremental backups
[10:45] <RudyValencia> can this 'rsnapshot' thing store to a USB drive?
[10:45] <joschi> RudyValencia: it stores on any filesystem you tell it to...
[10:45] <twb> rsnapshot just works on a directory, so you'd make a normal filesystem and mount it somewhere
[10:45] <twb> Although you'd want to use a Unix filesystem, since rsnapshot requires hard links.  NTFS would also work, but probably not as well.
[10:46] <RudyValencia> My USB drive is formatted ext3
[10:46] <Kream> Hi all. I'm sharing sysadmin duties on some boxes with some other sysadmins. Is there a recommended way under ubuntu to set up a version control system for configuration files in /etc ?
[10:47] <Kream> RCS seems the best tool for the job, but it's outdated and am not sure how it would work with ubuntu's sudo infrastructure.
[10:47] <Kream> perhaps soemthing that integrates with bzr
[10:47] <twb> Kream: etckeeper
[10:47] <Kream> etckeeper ? hmmm
[10:47] <twb> hands down
[10:48] <twb> Apart from anything else, it will tell you 1) who installed a package (if they used sudo); and 2) it'll make daily autocommits, so you have 24-hour minimum granularity of "who caused that fuckup?"
[10:48] <Kream> oh yeah baby
[10:48] <Kream> that sounds hot
[10:48] <twb> etckeeper defaults to git, except on recent versions of Ubuntu where canonical decided they liked bzr better :-/
[10:48] <Kream> will solve so many issues
[10:49] <Jordan_U> Even though bzr can't handle being run with sudo properly...
[10:49] <twb> Jordan_U: I wouldn't know; I've never used etckeeper with bzr
[10:50] <twb> Come to think of it, I haven't used bzr much AT ALL since etckeeper was created...
[10:50] <Kream> " By default etckeeper is configured to use bzr for version control. The repository is automatically initialized (and committed for the first time) during package installation"
[10:51] <twb> Kream: yes, but if you do something like "apt-get install git etckeeper", it will fail to find bzr and so abort the post-inst init.
[10:51] <Jordan_U> twb: I tried it, and using sudo with etckeeper with bazaar leaves you with root owned files in ~/.bazaar/. So it's fine for all of those Ubuntu users that log in as root instead of using sudo...
[10:52] <Kream> uh.... ok now i'm confused. I've not used any vcs system apart from the most basic SVN co stuff.
[10:53] <twb> Jordan_U: that's a bug; report it.
[10:53] <twb> Jordan_U: in fact, it's fixed in 0.47
[10:54] <twb> Lucid only has 0.41, which is a pain.
[10:54] <Kream> I have 2 people other than me who will be logging in as their usernames and using sudo to do admin tasks.
[10:54] <Kream> no one gets to log in as root.
[10:54] <Jordan_U> twb: IMHO it should have been fixed before bzr was made the default for etckeeper, which pretty much requires you to use sudo.
[10:54] <Kream> few people get to log in at all.
[10:54] <Kream> which should I use? default bzr ?
[10:55] <Kream> or git or something else?
[10:55] <Jordan_U> Kream: I'd personally go with git, but that's what I already use for my own projects.
[10:56] <twb> Kream: whichever VCS you know best and have best support for
[10:56] <Kream> what are the drawbacks to using bzr?
[10:56] <Kream> i know none :)
[10:57]  * Kream is a clean slate, VCS-wise
[10:57] <twb> The downside of bzr is that only Canonical and their fanboys use it
[10:57] <Jordan_U> And GNU projects.
[10:57] <twb> Ha!
[10:57] <twb> That decision was a fucking crock
[10:58] <twb> "We'll use bzr because, technically, it has GNU in its name"
[10:58] <twb> Kream: lots of people use git, so even though its UI is confusing and counter-intuitive, you can at least get help.
[10:59] <Jordan_U> Kream: And I personally don't find git's UI confusing and counter-intuitive.
[11:00] <twb> It reminds me of gnus
[11:00] <Jordan_U> Kream: Also git is *fast*, which means that etckeeper won't be slowing down upgrades as much if you use git.
[11:00] <twb> Jordan_U: slowness isn't really an issue unless you're doing upgrades one package at a time
[11:00] <twb> etckeeper invokes the VCS twice -- once pre-apt, once post-apt
[11:01] <Jordan_U> twb: I like to follow development releases :)
[11:01] <twb> Jordan_U: well, even so, I only apply updates once a day...
[11:02] <twb> However on my git ones, I did find that etckeeper was conusuming 8MB for every 1MB of working tree in /etc -- I think joeyh fixed that by tweaking the git auto-gc settings
[11:03] <twb> http://bugs.debian.org/483804 hmm, maybe not
[11:04] <Kream> eh, system run at 0 load most of the time so i'm not too worried about raw speed.
[11:05] <Kream> runs*
[11:05] <bogeyd6> a bug in ubuntu-bug, classy
[11:05] <Kream> consuming? as in, diskspace?
[11:06] <Kream> twb: ?
[11:08] <twb> Kream: read the ticket
[11:09] <Kream> oh ok
[11:15] <Kream> soren: downsides for bzr is that it's way slower than git, right?
[11:16] <Kream> sorry, hit tab after "lol"
[11:16] <Kream> so
[11:16] <Kream> apart from slowness is there any other downside to using bzr ?
[11:18] <Jordan_U> Kream: In general or specifically for etckeeper?
[11:29] <Kream> etckeeper
[11:51] <Jordan_U> Kream: bzr in lucid still has the sudo bug, which means that you can't use etckeeper with sudo without breaking your user's bzr configuration.
[12:03] <SpamapS> 17814 clint     20   0  346m 157m 1984 D  5.0 42.8   0:27.98 cc1plus
[12:03] <SpamapS> ahh c++ .. such an awesome language. :)
[13:05] <qman__> alvin, I don't have a /var/crash or /etc/default/apport
[13:10] <alvin> qman__: I have apport on every system. I thought it was part of the base install, but can't find out why (apport-symptoms Recommends apport and apport Recommends apport-symptoms)
[13:11] <qman__> this was an 8.04 install upgraded straight to 10.04
[13:11] <qman__> after some googling I installed it, it may help
[13:11] <qman__> if I get nothing at all I guess that means hardware
[13:12] <alvin> qman__: Probably, but it's a lot of coincidence if it happens directly after an upgrade. Let us know what you find out.
[13:12] <qman__> will do
[13:56] <ccheney> hi
[14:00] <DrPoO> hi
[15:04] <zul> Daviey: can you look at bug #604400?
[15:09] <zenmower> dsa or rsa?
[15:09] <jpds> rsa.
[15:09] <Daviey> zul: on it
[15:10] <zul> merci
[15:10] <zenmower> thought so couldn't remember
[15:11] <zenmower> thanks
[15:57] <eolo999> hi, is it possible to upgrade a KVM virtual machine from hardy to lucid with a normal do-release-upgrade?
[15:57] <eolo999> (on a hardy host)
[16:08] <joel_> \quit
[16:17] <BluesKaj> howdy folks , I've setup a media server in our TV room , and I would like to control i from my laptop like a remote . i don't need X or remote screen to run on the laptop. I would just like to be able to access media files and play them on the server which is hdmi connected to the tv .
[16:30] <_ruben> BluesKaj: xbmc comes to mind
[16:36] <WG1337> Hi! I have a problem with configuring sendmail to use gmail, after restart I get: unknown configuration line "define(`SMART_HOST',`smtp.gmail.com')dnl" and about 8 more such errors (pointing to newly added lines). What's wrong?
[16:50] <qman__> WG1337, the first problem is that you're using sendmail
[16:50] <qman__> it's ancient and a total nightmare to configure
[16:51] <qman__> use postfix or exim instead, as those are the supported mail servers on ubuntu
[16:52] <WG1337> Do I need to uninstall sendmail?
[16:52] <WG1337> The thing is that I need to make PHP work with gmail, but most scripts use /usr/bin/sendmail
[16:52] <qman__> I would use the purge option, otherwise you're going to have a lot of leftover configuration
[16:53] <qman__> other mail servers create a '/usr/bin/sendmail' for that reason
[16:53] <qman__> it doesn't mean you have to actually use sendmail
[16:54] <qman__> there are a lot of guides for configuring postfix to use a gmail account, and when I did it myself it wasn't that hard
[16:54] <rojoloco47> Hi I need Help with Setting up mail server in ubntu 10.04
[16:58] <rojoloco47> Room is too silent
[16:58] <rojoloco47> Can any body please help me with Mail Server in ubuntu 10.04
[16:58] <rojoloco47> I really need it before next 2 hours
[17:03] <thrain][> rojoloco47: I don't know much about it, but I would recommend following the steps in the server guide for the components of a mail server that you may need. https://help.ubuntu.com/10.04/serverguide/C/email-services.html
[17:04] <thrain][> They tend to be good recipes that work in most cases.
[17:04] <rojoloco47> I am just coming back from this page, This did not helped much :( @ thrain][
[17:05] <qman__> !ask | rojoloco47
[17:05] <qman__> we can't very well help you if you don't ask about your specific problem
[17:06] <rojoloco47> Ok I want to install a mailserver ,just a simple mailserver with postfix, with which my clients can use Microsoft outlook in windows,
[17:07] <rojoloco47> in other words i need a mailserver which provide smtp address and pop3 address so that my clients can recieve and send mail over internet
[17:07] <qman__> that's quite simple, and I believe is covered in the server guide at the link above
[17:07] <qman__> simply install the mail server and it comes configured that way
[17:08] <rojoloco47> I tried but what I am not getting is, when I install postfix then what to do next? I mean what are my smtp and pop3 addresses for what I configure my mail client softwares ?
[17:08] <qman__> as for receiving mail, that requires you to set up DNS properly for your domain
[17:08] <qman__> you set your email clients to however it is they connect to that server
[17:08] <qman__> if it's on the same local network and you don't have DNS, use the IP
[17:08] <rojoloco47> Yes that everything I can do, what I can't do is simply a smtp and pop3 address to configure clients
[17:09] <qman__> you simply use the name or IP of the server
[17:09] <rojoloco47> lets suppose I have configured postfix using ubuntu official guide for a domain secure.sajidsaif.com now what are my smtp and pop3 address to configure mail client softwares ?
[17:09] <batok> has anybody installed 10.04  in EC2?
[17:09] <BluesKaj> _ruben, xbmc , ok I'll check it out ,thanks.
[17:10] <qman__> the address would be [user]@secure.sajidsaif.com
[17:12] <rojoloco47> I am sorry if I am not able to make you understand with the situation, like if we configure gmail with some email client , in incomming mail server we put address as pop.gmail.com and outgoing server we say its smtp.gmail,com, in the same way, what addresses will I have to use for incomming and outgoing mailservers ?
[17:12] <qman__> the name or IP of your server
[17:12] <qman__> if you have local DNS, use the name
[17:12] <qman__> otherwise, it's the IP
[17:13] <rojoloco47> IP ? can you make it more clear,
[17:13] <rojoloco47> I will use it same like secure.sajidsaif.com ?
[17:13] <qman__> IP address, whatever you configured
[17:13] <qman__> yes, if that name resolves to the server
[17:13] <rojoloco47> IP address will be DNS , is not it?
[17:14] <qman__> if DNS works, that name will work
[17:14] <rojoloco47> both incomming and outgoing mailserver address will be secure.sajidsaif.com right ?
[17:14] <qman__> yes, if both postfix and dovecot are on the same server (which they are if you followed the guide)
[17:15] <qman__> you may need to enable pop3, as I think only imap is enabled by default
[17:16] <rojoloco47> Ok tell me once again, What I have to do, is simply install dovecot and postfix server nothing else from that guide ?
[17:16] <qman__> it is actually even simpler than that
[17:16] <qman__> sudo tasksel
[17:16] <qman__> and choose mail server
[17:17] <qman__> when asked, choose internet site
[17:17] <qman__> and put in the requested information
[17:19] <rojoloco47> I have put this command and it gave me a list of things
[17:19] <rojoloco47> where mailserver is already selected
[17:19] <qman__> then it is already installed
[17:22] <Kaffien> anyone here have some experience setting up autofs?
[17:22] <rojoloco47> let me finish guide with dovecot and postfix again, I have uninstalled everything assuming that its not working but let me check that i will update you
[17:22] <Kaffien> i'm trying to set it up to allow ejecting carts from a   powervault RD1000
[17:30] <WG1337> thanks qman__, with exim4 it sends mail :) also I found out that my ISP given mailbox sucks!
[17:56] <maek> is there a way to extract a seed file from an installed server?
[17:58] <rizzuh> How do I convert the Desktop into Server?
[17:58] <maek> sorry, rtfm debconf-get-selection
[18:48] <Znow> Hey guys! I cant do: /etc/init.d/samba start <- it says it cant find it
[18:48] <patdk-wk> samba?
[18:48] <Znow> ofc in root@server
[18:48] <Znow> the server tool thingie? :)
[18:49] <patdk-wk> called smbd on my system :)
[18:49] <patdk-wk> using lucid?
[18:49] <Znow> oh, ill try that, yeah I am
[18:49] <patdk-wk> service smbd restart
[18:50] <Znow> oh... its already start
[18:50] <Znow> started*
[18:50] <Znow> anyhow, ive tried putty to connect it, but it wont
[18:51] <patdk-wk> putty connects to samba?
[18:51] <Znow> it wont
[18:51] <patdk-wk> I should hope not
[18:51] <patdk-wk> samba != ssh or telnet
[18:51] <Znow> what to use then?
[18:51] <patdk-wk> anything that supports cifs
[18:52] <patdk-wk> windows, smbclient
[18:52] <patdk-wk> smbmount
[18:52] <Znow> sec
[18:52] <Znow> erhhh?
[18:52] <Znow> dunno what that is
[18:52] <Znow> please enligthen me :)
[18:52] <patdk-wk> those are all samba/cifs clients
[18:52] <Znow> prefering any of those?
[18:52] <patdk-wk> depends on what os your using
[18:52] <Znow> PuTTY is an SSH and telnet client, developed originally by Simon Tatham for the Windows platform. PuTTY is open source software that is available with source code and is developed and supported by a group of volunteers. ?
[18:52] <patdk-wk> on the client/test machine
[18:53] <patdk-wk> ya, putty has nothing at all to do with samba
[18:53] <Znow> to connect to the server?
[18:53] <patdk-wk> putty can connect to the server, using ssh or telnet
[18:53] <patdk-wk> still nothing to do with samba
[18:53] <patdk-wk> dunno why you talk about samba, and say putty won't connect
[18:54] <Znow> I talked about samba, cause it wouldnt start, but ive obvious used the wrong command to start it. anyhow, putty wont connect to my server
[18:54] <Znow> that is what I meant
[18:56] <Znow> could you help me with that?
[18:56] <patdk-wk> probably not
[18:56] <patdk-wk> if ssh won't work, you don't have ssh installed
[18:56] <patdk-wk> or something wrong with your network
[18:56] <Znow> :o
[18:57] <Znow> that wasnt much
[18:57] <Znow> openssh-server is already installed
[18:58] <Znow> it seems
[19:04] <Znow> patdk-wk? :)
[19:06] <patdk-wk> hmm?
[19:06] <T3CHKOMMIE> !glassfish
[19:06] <patdk-wk> I'm happy, just got nx working, dunno why, dunno how
[19:07] <T3CHKOMMIE> hey everyone, im trying to figure out how to run a java JAR file on ubuntu server, its a gui program, and i can get it to run when i ssh -x using x11 but when i log out it kills the process. could glassfish fix this problem?
[19:08] <Znow> openssh-server is already installed
[19:15] <Znow> patdk-wk - openssh-server is already installed  - so that shouldnt be the problem... my server's "ip" is set to 83.92.69.50
[19:16] <Znow> putty says connection timed out when I try to connect to the server
[19:16] <Znow> can it be because both the server and the client is connected to the same switch, which is connected to my actual router?
[19:16] <patdk-wk> dunno, depends on how you setup your router, server, client
[19:16] <patdk-wk> I really don't want to go over network engineering
[19:17] <T3CHKOMMIE> Znow are you behind a NAT router?
[19:19] <Znow> T3CHKOMMIE - dont think so
[19:19] <Znow> T3CHKOMMIE - aint sure
[19:19] <T3CHKOMMIE> Znow, tell me how your network is set up in a net shell, i had some problems with ssh at first im sure i could walk you through it if i know how youre set up.
[19:20] <Znow> T3CHKOMMIE - can we go private then?
[19:20] <T3CHKOMMIE> sure
[19:51] <erichammond> jjohansen, smoser: Have there been any thoughts about or investigation into bug 575193?  I have a client who is also experiencing high reported load on an idle EC2 Lucid instance.
[19:53] <erichammond> Thanks uvirtbot :)  I didn't even notice that bug was a duplicate.  There has been a fair amount of activity on the main bug.
[19:55] <SpamapS> can you imagine how annoying an audio uvirtbot would be?
[19:55] <SpamapS> "Hey bob, I was looking at bug 557739[uvirtbot starts talking.. launchpad.. bug..]
[19:55] <smoser> erichammond, i've asked jjohansen before.  he's pretty convinced that its just accounting that is wrong.
[19:56] <smoser> but i dont think he's gotten to do much on that.
[19:56] <erichammond> smoser: Makes sense to me . There doesn't seem to be anything going on with the boxes.
[19:56] <SpamapS> is it possible Xen is over-counting jiffies if something else steals its CPU cycles?
[19:57] <erichammond> I believe I've seen this type of behavior before in the last couple decades, but I can't remember which Unix/Linux system it was on.
[19:57] <SpamapS> like, if it spent 100 cycles doing nothing, but it didn't get to count them as doing nothing because the CPU was stolen.. then load would look high
[19:58] <erichammond> I've learned to take load average as just an indicator that I should investigate to see if something really is wrong.
[19:58] <SpamapS> yeah, load is useless w/o context. :)
[19:58] <smoser> SpamapS, yeah, thats generally what we're thinking. is it is representing load more correctly as the load of a full cpu.
[19:58] <smoser> and its not getting a full cpu
[19:58] <smoser> yeah, i've seen kernel patches addressing things like this on power also.
[19:59] <smoser> load seems high in the guest because the guest was getting 0.1 of a cpu
[19:59] <smoser> erichammond, are there things reading load other than humans ?
[19:59] <smoser> ie, is this going to cause some tool to say "oh no, my servers are more loaded than usual, i need to fire up more instances"
[20:00] <SpamapS> its why response time always trumps artificial gauges and even counters.. if it takes a long time, something is wrong.
[20:00] <erichammond> smoser: In the cases that I'm aware of I don't think it is causing other problems.
[20:01] <erichammond> ...but it would be good to fix as it is alarming folks upgrading to Lucid on EC2.
[20:01] <smoser> yeah, or at least clearly document "seriously, don't trust that!"
[20:01] <erichammond> smoser: Nobody reads the documentation.
[20:01] <smoser> as if its designed in behavior that isn't going to change, changing it is ongoing maintainence that we dont want to incur
[20:02] <smoser> and it man not be something that is easily "fixable"
[20:03] <SpamapS> I remember Theo Schlossnagle always berrating us for using mod_backhand's ability to read load average for traffic balancing.. he was like "no its useless use busy apache processes" .. ahh.. autoscaling w/ broadcast on a local LAN.. the good old days
[20:11] <zul> smoser: ill do xinetd if you want to do apache :)
[20:11] <smoser> nah. thanks for the offer though.
[20:11] <zul> smoser: grumble
[20:16] <spartan07_> how do I add a timestamp to a log being created by crontab?
[20:22] <Jeeves_> spartan07_: use bitcron
[20:24] <spartan07_> Jeeves_, never heard of it. is it installed on ubuntu server?
[20:25] <Jeeves_> spartan07_: Nope. But it is on launchpad, just a sec
[20:26] <spartan07_> is it bicron?
[20:26] <Jeeves_> https://launchpad.net/~f-launchpad-bit-nl/+archive/bitcron
[20:27] <Jeeves_> It enables you to email you if something is broken
[20:27] <Jeeves_> instead of 'when there is output'
[20:27] <spartan07_> awesome, thanks!
[20:27] <Jeeves_> It also enables you to keep logfiles of your cronscripts
[20:27] <matt_keys> I'm setting up a KVM host cluster out of 10 blades. I've got a 14 disk array RAID-5'd attached to a separate server, and exported that as an iSCSI target. My question is can I mount that from all the blade KVM hosts without corrupting it?
[20:28] <Jeeves_> spartan07_: You're welcome
[20:28] <Jeeves_> matt_keys: As long as you're not writing to the same lun with all the hosts, i think you can
[20:30] <matt_keys> Jeeves_ : that's just the thing--it's all one big LUN. From what I'm reading I can't use ext3 because it isn't "cluster aware".
[20:30] <Jeeves_> matt_keys: Indeed.
[20:30] <Jeeves_> Why not create a lun per vm?
[20:30] <Jeeves_> Or export it using nfs, and create an image per vm
[20:30] <matt_keys> Would rather have one big storage pool for all the hosts to use
[20:31] <Jeeves_> So, use nfs?
[20:31] <matt_keys> RHEL's best practices show NFS to be too slow after about 5 guests start using it
[20:31] <matt_keys> what about cLVM?
[20:31] <Jeeves_> matt_keys: So what do they suggest?
[20:31] <matt_keys> well RHEL uses the GFS/Cluster Suite
[20:34] <matt_keys> I guess NFS is going to be the ticket probably
[20:43] <RoyK> matt_keys: <priavate opinion>I use opensolaris/zfs for that sort of stuff</priavate opinion>
[20:51] <Jeeves_> RoyK: That's the better option, yes :)
[20:52] <RoyK> I use linux for most stuff, but for storage, opensolaris (or nexenta) beats most of the other options
[20:54] <CppIsWeird> would this "command > outout.log 2 > error.log" work to dump the programs output to output.log and any errors to error.log?
[20:55] <RoyK> CppIsWeird: which shell?
[20:55] <CppIsWeird> umm, not quite sure how to answer that. w/e the default shell is when you ssh into a ubuntu-server.
[20:55] <RoyK> ps $$
[20:56] <RoyK> that'll be bash
[20:56] <RoyK> command > out.log 2> err.log
[20:56] <RoyK> without a space between 2 and >
[20:56] <CppIsWeird> ok. thanks. :-)
[20:57] <RoyK> np :)
[20:58] <RoyK> man bash for more - but that manpage is rahter gross (4k lines or so)
[21:02] <matt_keys> cLVM or just using local storage might be the better option... then just use NFS for migrations and ISO storage
[21:03] <matt_keys> blades have two scsi hotswaps on them, all are raid1
[21:04] <bpgoldsb> Anyone know the kernel parameter to limit your RAM?  I have 48G in a box, and I want it to think it has 1G.
[21:06] <Jeeves_> matt_keys: Why limit yourselve?
[21:07] <Jeeves_> matt_keys: IMHO it's smarter to create a lun per box, or search for other fs'es that can do what you want
[21:07] <Jeeves_> bpgoldsb: Hmm
[21:08] <Jeeves_> bpgoldsb:         max_addr=[KMG]  [KNL,BOOT,ia64] All physical memory greater than or
[21:08] <Jeeves_>                         equal to this physical address is ignored.
[21:08] <Jeeves_> bpgoldsb: http://www.cyberciti.biz/howto/question/static/linux-kernel-parameters.php
[21:09] <bpgoldsb> Jeeves_: mem=1G solved it.
[21:09] <RoyK> bpgoldsb: bingo - but why limit?
[21:09]  * RoyK was about to answer bpgoldsb 
[21:09] <bpgoldsb> Benchmarking disk i/o, need to overcome ram buffer, don't want to write 50G files.
[21:10] <RoyK> ic
[21:10] <RoyK> benchmarking i/o or filesystems?
[21:10] <bpgoldsb> i/o
[21:10] <RoyK> k
[21:10] <bpgoldsb> I've got a box with a RAID-6 of 8 15K SAS disks, and a Corsair SSD.
[21:11] <RoyK> writing with O_DIRECT will bypass the buffers, btw
[21:11] <bpgoldsb> Testing performance of the native host, KVM linux guests using virtio, and KVM Windows guests using whatever qemu gives it for HW
[21:11] <bpgoldsb> orly?  That might be more useful.  If iozone supports it.
[21:11] <RoyK> bpgoldsb: erm - have you considered using zfs? with osol or fbsd?
[21:12] <bpgoldsb> RoyK: Not really.  The FS doesn't seem like a big issue to me.  What would I be gaining?
[21:12] <matt_keys> bpgoldsb: bonnie will let you tell it how much ram to use
[21:12] <RoyK> matt_keys: doesn't matter if the OS is buffering, does it?
[21:12] <matt_keys> uses direct calls if I remember right
[21:12] <RoyK> bpgoldsb: read this http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfslast.pdf
[21:12] <Jeeves_> bpgoldsb: zfs rocks
[21:13] <bpgoldsb> RoyK: -I  Use VxFS VX_DIRECT, O_DIRECT,or O_DIRECTIO for all file operations, thats what you're talking about, right?
[21:13] <RoyK> bpgoldsb: yes
[21:13] <Jeeves_> There's really no fs that's as cool as zfs, yet
[21:13] <RoyK> bpgoldsb: but scan through that preseantation, please
[21:13] <matt_keys> bpgoldsb: yeah it's the -r option
[21:13] <matt_keys> -r     RAM  size in megabytes.
[21:13] <bpgoldsb> I'm not denying zfs rocks.  I'm just not sure I want to hybridize my network without a very good reason.
[21:13] <bpgoldsb> RoyK: I'm reading now, I'll get back to you
[21:14] <RoyK> k
[21:15] <matt_keys> Jeeves_ : I know RoyK suggested zfs, did you have recommendation?
[21:15] <bpgoldsb> RoyK: Actually, zfs is a real filesystem, right?  It's not like LVM where I throw extX/xfs/resier ontop, right?
[21:15] <RoyK> bpgoldsb: it's a filesystem that incorporates stuff like LVM in a rather nice way
[21:16] <bpgoldsb> Yes yes, but in the end, it's a filesystem.
[21:16] <bpgoldsb> And I need to be able to carve out block devices to give to the virtual machines running on the host box.
[21:16] <RoyK> it's a filesystem _and_ a volume manager
[21:16] <RoyK> and you can create volumes that can be exported on iSCSI or FC or whatnot
[21:16] <RoyK> sparse or not
[21:17] <bpgoldsb> If I was building a SAN (and I actually will be soonish), I' plan to look at ZFS very heavily.
[21:17] <bpgoldsb> But for this application, zfs doesn't make a whole lot of sense tbh.
[21:17] <RoyK> and it supports very good compression and deduplication (the latter if you like to live on the edge)
[21:17] <bpgoldsb> The big hurdles being, I'd have to switch from KVM to Solaris Zones or whatever you can run on BSD.
[21:18] <RoyK> I'd suggest a separate box for the storage
[21:18] <bpgoldsb> RoyK: So would I.  Can you help get me more budgeting? ;)
[21:18] <RoyK> that's what we're doing now - duplicated 48TB on nexenta and something else for the access
[21:19] <Jeeves_> matt_keys: Yes, zfs
[21:19] <RoyK> bpgoldsb: you can use SSDs for caching, and use lots of cheap drives for the storage, and it'll run like hell
[21:20] <bpgoldsb> RoyK: Just don't have the funds in the dept to spend on something like that atm.
[21:20] <bpgoldsb> Just spent 15k on these two boxes I'm benching
[21:21] <RoyK> bpgoldsb: the 48TB boxes we're buying will cost us NOK 100k each, whatever that is in  your currency
[21:21] <Jeeves_> bpgoldsb: You should have planned ahead :)
[21:22] <Jeeves_> 22:22 <Jeeves_> gcalc 100000 NOK in UDS
[21:22] <Jeeves_> 22:22 <bitrot> 100 000 Norwegian kroner = 15 728 U.S. dollars
[21:27] <coxn> I have this in a .cfg file that I'm using: destdir = /virtual-machines/ubuntu0/
[21:27] <coxn> and it is getting ignored in favor of cwd
[21:27] <coxn> suggestions?
[21:29] <RoyK> bpgoldsb: good hardware from supermicro combined with cheap drives makes an excellent storage platform :)
[21:30] <bpgoldsb> RoyK: You're preaching to the choir.  Just, the choir's budget sucks.
[21:31] <RoyK> well, for your 15k setup, I could probably setup a little more storage :)
[21:32] <bpgoldsb> RoyK: I could have gotten more storage, and neglected the other requirements.
[21:32] <bpgoldsb> 15k for these boxes was cheap, and with a 25% educational discount
[21:32] <RoyK> and those 48TB were net storage, after lots of redundancy
[21:32] <bpgoldsb> 48TB of sata?
[21:33] <RoyK> gross storage is about 80TB per box
[21:33] <coxn> this is trying to use ubuntu-vm-builder btw
[21:33] <Jeeves_> coxn: I've got the feeling ubuntu-vm-builder does not honor the configfile
[21:34] <Jeeves_> try setting a tempdir....
[21:34] <RoyK> bpgoldsb: 4x8x2TB drives in RAIDz2 VDEVs
[21:34] <Jeeves_> The only way I got it to work was by manually exporting $TMP to a specific dir
[21:34] <coxn> Jeeves_: it's pulling values from the configfile I'm specifying
[21:34] <guhcampos> Has anybody installed nagvis on ubuntu 10.04 using a different .deb than the provided? 1.3.1 is too old
[21:34] <RoyK> bpgoldsb: some SSDs for L2ARC (read cache) and some smaller and faster for the SLOG(write cache)
[21:34] <coxn> Jeeves_: for example, it gets ip correct
[21:34] <coxn> # dpkg -l ubuntu-vm-builder |grep ^ii
[21:34] <coxn> ii  ubuntu-vm-builder               0.12.4+r455-0ubuntu0ppa1                        Ubuntu VM builder
[21:34] <coxn> in case anyone was wondering
[21:35] <Jeeves_> coxn: I know. I meant, not completely
[21:36] <coxn> "when the destination variable name is specified, it is the variable name that should be used (ie: destdir instead of dest)." https://help.ubuntu.com/community/JeOSVMBuilder
[21:36] <coxn> I'm a bit baffled
[21:37] <RoyK> bpgoldsb: sorry, that was only 64TB gross, but still, it's a lot for the money
[21:55] <coxn> I suppose I should write up a ticket about this
[21:55]  * coxn wanders off to find food
[22:13] <bogeyd6> How would one send an http command to a server without downloading anything?
[22:13] <RoyK> bpgoldsb: get the idea_
[22:13] <RoyK> ?
[22:14] <bpgoldsb> RoyK: I get it.  I've done similiar things.  But I don't know what you want me to say.
[22:14] <RoyK> bogeyd6: mostly a HTTP GET to some site will do good, but the,  you have to download the output
[22:14] <bpgoldsb> I don't have the budget to build a redundant storage app AND build the other systems I needed to run the VM's
[22:15] <RoyK> bpgoldsb: that was a single 48TB setup, we've got some smaller ones for other uses
[22:16] <bpgoldsb> RoyK: Right, and I have a 15,000 USD budget.  The boxes, without any storage, cost 5,000 each.  And I need 2 of them.
[22:16] <bogeyd6> RoyK, imma try a wget --output-document=/dev/null
[22:17] <bpgoldsb> I don't think I can build a _REDUNDANT_ storage app, and deploy the _REDUNDANT_ network hardware to connect everything, for under 5,000
[22:17] <bogeyd6> bpgoldsb, i am halfway in but sure you can
[22:17] <bogeyd6> you just gotta not care about server and buy b-stock from CDW
[22:17] <RoyK> bpgoldsb: are you building a redundat storage thing or just redundancy on one system?
[22:18] <bogeyd6> i put together a nice 2.5tb raid 5 storage server for 1.8k
[22:18] <RoyK> supermicro systems are quite stable, just as stable as the other HP equipment we have, and that from Sun
[22:18] <bpgoldsb> bogeyd6: I don't buy from CDW.  I have a 2 supermicro boxes.
[22:18] <bogeyd6> maybe you should, you can get 500gb sata hdd's for less than 120 bucks
[22:19] <bpgoldsb> Right, I'm not running my virtualization boxes on SATA.
[22:19] <RoyK> bogeyd6: you get 2TB for $120
[22:19] <bogeyd6> i got no time for a 2tb hdd for 120
[22:19] <bogeyd6> hp midline minimum
[22:19] <RoyK> just get more of them - RAID - redundant array of inexpensive disks
[22:20] <bpgoldsb> Raid doesn't solve the fact that they get much fewer IOPs than SAS or SSD.
[22:20] <DrPoO1> hi guys. Is there a way to prevent mdadm.conf from changing drive labels?
[22:20] <RoyK> HP midline means cheap disks sold at high prices
[22:20] <bogeyd6> http://www.cdw.com/shop/search/results.asp?grp=bsk&outlet=1&Key=drive&InStock=1
[22:20] <DrPoO1> We just inserted a new drive into our system and the array went down because the drive labels changed
[22:21] <RoyK> bpgoldsb: you don't get more IOPS with SAS if the drives are slow, and all large drives are slow
[22:21] <bogeyd6> RoyK, i dunno, i need the guarantee and replacement policy
[22:21] <bpgoldsb> If you're saying I don't get more IOPs on my 15k 2.5 SAS drives than my 2TB WD Cavier, you're nuts.
[22:22] <bogeyd6> bbiab
[22:22] <RoyK> bogeyd6: I don't get it - the IT dept needs to kee things working, if they can blame someone when things go down, they still get a lot of trouble from the users and upper management. The best thing is to choose something that will sustain hardware failure
[23:36] <ccheney> kirkland`, having trouble getting powerwake not to explode when run from the cgi, is there a better copy of the cgi somewhere other than your bzr branch?
[23:46] <trondpeter> Hi,  My server does not want to boot up correctly.. well actually it bots and it works, but I get some error (775) exited on status 4, while server actually is up and running and is accessible from ssh,  but locla screen and keyboard are impossible to use..  when I press esc i go between the ubuntu loginscreen (in ascii) and the error message.. (this in tty7)  before this error server started always in tty1
[23:46] <trondpeter> if I press ctrl-alt-F1  tty1  is "empty" and no way of logging in...     Is this a known problem?
[23:48] <trondpeter> I did disable all mounts in fstab except the /boot and /  ..  and they are correct set up  (done during install)
[23:49] <T3CHKOMMIE> trondpeter, sorry man, i dont even know where to begin with that one :S
[23:54] <trondpeter> T3CHKOMMIE  problem appeared without warning  and witout recent editing.. looks like a # of boots triggerd it..  Im starting to think its hardware related..  but strange it has worked flawlessly for many many days
[23:56] <trondpeter> hmm it still works thouhg..   raid, samba and everything.. but cant log on without ssh lol
[23:57] <T3CHKOMMIE> trondpeter, weird. i only ssh my server is headless, never had the problem :(