/srv/irclogs.ubuntu.com/2010/07/12/#ubuntu-server.txt

=== dendro-afk is now known as dendrobates
=== samferry is now known as ircd
=== ircd is now known as samferry
=== samferry is now known as yerrfmas
=== yerrfmas is now known as clangor
[1]kaffiencan someone tell me what would cause this line in the fstab to not mount?    UUID=8095a8a2-80f0-4942-9a61-4738f3566209 /media/lsmnas2  xfs  0 103:12
Kaffienthat is just a line for a secondary hdd for storing backups03:12
Kaffieni looked up the block id via blkid03:13
zeeeeeeCan 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:11
tiger2wanderHi there04:35
tiger2wanderI'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 HDD04:36
tiger2wanderI have not see it in list of `lspci`, `fdisk -l` or `lshw -C disk` commands04:37
tiger2wanderPlease help me!04:37
tiger2wanderIs anyone troubled with this HDD?04:38
ChmEarltiger2wander, counting the new drive, how many drives on the system?04:39
tiger2wanderChmEarl, I have 2 Seagate drivers 320GB running as RAID 1 before04:40
tiger2wanderChmEarl, may RAID mode prevent kernel to detect new driver?04:41
tiger2wandermy kernel version is: Linux [hostname] 2.6.32-23-server #37-Ubuntu SMP Fri Jun 11 09:11:11 UTC 2010 x86_64 GNU/Linux04:41
ChmEarltiger2wander, so now you have three? did you use the same MB header array as the seagates?04:42
tiger2wanderChmEarl, I have not configured it yet because of I don't see any message from `dmesg` about new hardware detection04:42
=== MTeck-ricer is now known as MTecknology
ChmEarltiger2wander, the seagates are on a separate card or directly to MB? and what is the chipset?04:43
tiger2wanderChmEarl, I have not a plan to use new driver as RAID array, I'll use it as standalone driver to store data04:43
ChmEarltiger2wander, the new drive should be /dev/sdc04:44
ChmEarltiger2wander, if detection failed then try to attach the Western Digi to another SATA chipset. Perhaps the chipset used for it is disabled in the bios04:46
ChmEarltiger2wander, many MB's have 2 different SATA chipsets04:47
ChmEarltiger2wander, my MB has intel ich10 and jmicron04:47
tiger2wanderChmEarl, there is only /dev/sda and /dev/sdb only04:49
tiger2wanderand RAID array is /dev/md0, /dev/md1 and /dev/md204:50
=== KenjiP0p|away is now known as KenjiP0p
tiger2wanderChmEarl, my driver specs is here: http://www.newegg.com/Product/Product.aspx?Item=N82E1682213634404:56
ChmEarltiger2wander, you need to go into MB bios and activate SATA or ahci mode on all applicable headers04:56
tiger2wanderChmEarl, and 2 old drivers specs is here: http://www.newegg.com/product/product.aspx?item=n82e1682214814004:57
unewbieanybody using postfix with subdomains?04:57
tiger2wanderChmEarl, both old and new drivers using Serial ATA04:57
unewbiei need to install a new mail server04:57
ChmEarltiger2wander, then maybe you will need to run initramfs for your current kernel04:57
tiger2wanderChmEarl, run `update-initramfs` ?04:58
ChmEarltiger2wander, yes after you check your MB bios and turn on the headers05:00
twbIncidentally, what is up with some motherboards taking several seconds to load the AHCI controller on every boot? :-/05:03
tiger2wanderChmEarl, 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:03
ChmEarltiger2wander, run dmidecode and see if all headers show-up05:04
ChmEarltiger2wander, no that won't help- didn't help on my system05:05
tiger2wanderChmEarl, I'm looking for something in output of `dmidecode` now05:07
ChmEarltiger2wander, grep dmesg for the chipset names - that works on my system05:07
ChmEarltiger2wander, I search dmesg for jmicron and ich10 http://paste.ubuntu.com/462345/05:10
tiger2wanderChmEarl, in my case there is no jmicron found in dmesg05:11
ChmEarltiger2wander, those are the chips that control my Sata/ahci headers. Your MB might be different05:12
tiger2wanderChmEarl, yes, and there is my dmesg: http://pastebin.com/CWzcnXP505:17
=== Jordan_U_ is now known as Jordan_U
ChmEarltiger2wander, your ahci reports that RAID mode is turned on... no good05:33
ChmEarltiger2wander, my ahci reports SATA mode05:33
tiger2wanderChmEarl, yes I'm using RAID mode for 2 old drivers running as RAID 105:33
ChmEarltiger2wander, you are using linux software raid (mdx)05:34
tiger2wanderChmEarl, yes05:34
ChmEarltiger2wander, the fakeraid is turned on in the bios05:34
ChmEarlits turned on but your don't use it05:35
tiger2wanderah, may I forgot to turn it off in bios seen install new Ubuntu server on that server last year05:36
tiger2wanderbefore I install Ubuntu on that server, it has run on Debian Lenny and using RAID mode too, may it has use fakeraid from bios05:37
ChmEarltiger2wander, when you go to data center you need to carefully look at the AHCI and RAID bios menus05:38
tiger2wanderChmEarl, to avoid any conflict settings in bios?05:39
ChmEarlyour new drive will showup and most likely your bios wants to use it in RAID and you have to OK this05:39
ChmEarltiger2wander, of course thats not what you want, so turn RAID off and use AHCI or SATA05:39
tiger2wanderChmEarl, 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
ChmEarltiger2wander, my guess is that there is no auto config, you have to manually do it05:40
=== KenjiP0p is now known as KenjiP0p|away
tiger2wanderChmEarl, yes, I think so05:41
ChmEarl#05:43
ChmEarl[    1.039904] ahci 0000:00:1f.2: AHCI 0001.0100 32 slots 4 ports 3 Gbps 0xf impl RAID mode05:43
ChmEarl#05:43
ChmEarltiger2wander, in that line there are 3 possible modes: AHCI, SATA, and RAID (fakeraid)05:44
ChmEarlfor your new drive AHCI is best05:45
tiger2wanderChmEarl, Why don't use SATA mode for all?05:45
tiger2wanderChmEarl, I think if we have difference drivers with difference specs implement so we will need AHCI05:46
tiger2wanderChmEarl, and if all drivers has SATA compatible then choose SATA, it it right?05:47
ChmEarltiger2wander, sure SATA is fine (its legacy).. only RAID is bad since you need to manually be at console for too many things05:50
=== KenjiP0p|away is now known as KenjiP0p
=== Jordan_U_ is now known as Jordan_U
=== EvilTrek is now known as Mithos
=== Mithos is now known as EvilTrek
Roxyhart0hi there, somebody know where i can get a doc to configurate DNAT with ubuntu server, inlcuding the definition in interfaces08:09
=== KenjiP0p is now known as KenjiP0p|away
=== KenjiP0p|away is now known as KenjiP0p
Roxyhart0hi there, sombody know any doc to install DNAT in ubuntu? and how to sett it in the intercaes?09:03
=== KenjiP0p is now known as KenjiP0p|away
=== KenjiP0p|away is now known as KenjiP0p
qman__so, my file server hard locked again after almost exactly the same amount of uptime, with no log information09:38
qman__I'm just looking for opinions as to whether that's an indicator of a hardware issue or a software issue09:38
twbqman__: do you have a local screen/keyboard or serial console connected to it?09:43
qman__I have a local screen09:48
twbDo you get a kernel panic on it?09:48
qman__but it's completely hard locked, even sysrq is no use09:48
qman__no, nothing on screen09:48
twbOK, that was all09:48
alvinqman__: Anything in /var/crash? (also, take a look at /etc/default/apport and enable apport)10:21
RudyValenciaI 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:30
joschiRudyValencia: rsnapshot for example (which is based on rsync)10:33
joschiRudyValencia:  depending on what and how you want to backup your data there are better solutions10:33
RudyValenciaI want to backup both the 80GB / and 250GB /srv partitions on my server.10:37
Roxyhart0hi there, sombody know any doc to install DNAT in ubuntu? and how to sett it in the intercaes?10:38
joschiRudyValencia: then go with rsnapshot10:38
joschiRoxyhart0: standard netfilter/iptables thing. see http://www.frozentux.net/iptables-tutorial/iptables-tutorial.html#DNATTARGET for example10:40
Roxyhart0thanks a lot joschi!10:41
RudyValenciawhat about cpio?10:41
twbcpio is pretty historical10:44
twbI'd be using rsnapshot or squashfs10:44
RudyValenciaah10:44
twbThe point being they do a better job of incremental backups10:44
RudyValenciacan this 'rsnapshot' thing store to a USB drive?10:45
joschiRudyValencia: it stores on any filesystem you tell it to...10:45
twbrsnapshot just works on a directory, so you'd make a normal filesystem and mount it somewhere10:45
twbAlthough you'd want to use a Unix filesystem, since rsnapshot requires hard links.  NTFS would also work, but probably not as well.10:45
RudyValenciaMy USB drive is formatted ext310:46
KreamHi 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:46
KreamRCS 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
Kreamperhaps soemthing that integrates with bzr10:47
twbKream: etckeeper10:47
Kreametckeeper ? hmmm10:47
twbhands down10:47
twbApart 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
Kreamoh yeah baby10:48
Kreamthat sounds hot10:48
twbetckeeper defaults to git, except on recent versions of Ubuntu where canonical decided they liked bzr better :-/10:48
Kreamwill solve so many issues10:48
Jordan_UEven though bzr can't handle being run with sudo properly...10:49
twbJordan_U: I wouldn't know; I've never used etckeeper with bzr10:49
twbCome 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:50
twbKream: 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_Utwb: 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:51
Kreamuh.... ok now i'm confused. I've not used any vcs system apart from the most basic SVN co stuff.10:52
twbJordan_U: that's a bug; report it.10:53
twbJordan_U: in fact, it's fixed in 0.4710:53
twbLucid only has 0.41, which is a pain.10:54
KreamI have 2 people other than me who will be logging in as their usernames and using sudo to do admin tasks.10:54
Kreamno one gets to log in as root.10:54
Jordan_Utwb: IMHO it should have been fixed before bzr was made the default for etckeeper, which pretty much requires you to use sudo.10:54
Kreamfew people get to log in at all.10:54
Kreamwhich should I use? default bzr ?10:54
Kreamor git or something else?10:55
Jordan_UKream: I'd personally go with git, but that's what I already use for my own projects.10:55
twbKream: whichever VCS you know best and have best support for10:56
Kreamwhat are the drawbacks to using bzr?10:56
Kreami know none :)10:56
* Kream is a clean slate, VCS-wise10:57
twbThe downside of bzr is that only Canonical and their fanboys use it10:57
Jordan_UAnd GNU projects.10:57
twbHa!10:57
twbThat decision was a fucking crock10:57
twb"We'll use bzr because, technically, it has GNU in its name"10:58
twbKream: lots of people use git, so even though its UI is confusing and counter-intuitive, you can at least get help.10:58
Jordan_UKream: And I personally don't find git's UI confusing and counter-intuitive.10:59
twbIt reminds me of gnus11:00
Jordan_UKream: Also git is *fast*, which means that etckeeper won't be slowing down upgrades as much if you use git.11:00
twbJordan_U: slowness isn't really an issue unless you're doing upgrades one package at a time11:00
twbetckeeper invokes the VCS twice -- once pre-apt, once post-apt11:00
Jordan_Utwb: I like to follow development releases :)11:01
twbJordan_U: well, even so, I only apply updates once a day...11:01
twbHowever 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 settings11:02
twbhttp://bugs.debian.org/483804 hmm, maybe not11:03
Kreameh, system run at 0 load most of the time so i'm not too worried about raw speed.11:04
Kreamruns*11:05
bogeyd6a bug in ubuntu-bug, classy11:05
Kreamconsuming? as in, diskspace?11:05
Kreamtwb: ?11:06
twbKream: read the ticket11:08
Kreamoh ok11:09
Kreamsoren: downsides for bzr is that it's way slower than git, right?11:15
Kreamsorry, hit tab after "lol"11:16
Kreamso11:16
Kreamapart from slowness is there any other downside to using bzr ?11:16
Jordan_UKream: In general or specifically for etckeeper?11:18
=== KenjiP0p is now known as KenjiP0p|away
=== KenjiP0p|away is now known as KenjiP0p
Kreametckeeper11:29
Jordan_UKream: 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.11:51
SpamapS17814 clint     20   0  346m 157m 1984 D  5.0 42.8   0:27.98 cc1plus12:03
SpamapSahh c++ .. such an awesome language. :)12:03
=== mathemonkey is now known as darkk^
=== freeflyi1g is now known as freeflying
qman__alvin, I don't have a /var/crash or /etc/default/apport13:05
alvinqman__: 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:10
qman__this was an 8.04 install upgraded straight to 10.0413:11
qman__after some googling I installed it, it may help13:11
qman__if I get nothing at all I guess that means hardware13:11
alvinqman__: 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 do13:12
ccheneyhi13:56
DrPoOhi14:00
=== Bhootam is now known as Kream
zulDaviey: can you look at bug #604400?15:04
uvirtbotLaunchpad bug 604400 in eucalyptus "Confusing comment in /etc/eucalyptus/eucalyptus.conf" [Undecided,New] https://launchpad.net/bugs/60440015:04
=== dendrobates is now known as dendro-afk
=== dendro-afk is now known as dendrobates
zenmowerdsa or rsa?15:09
jpdsrsa.15:09
Davieyzul: on it15:09
zulmerci15:10
zenmowerthought so couldn't remember15:10
zenmowerthanks15:11
eolo999hi, 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)15:57
joel_\quit16:08
=== dendrobates is now known as dendro-afk
BluesKajhowdy 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:17
_rubenBluesKaj: xbmc comes to mind16:30
WG1337Hi! 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:36
qman__WG1337, the first problem is that you're using sendmail16:50
qman__it's ancient and a total nightmare to configure16:50
qman__use postfix or exim instead, as those are the supported mail servers on ubuntu16:51
WG1337Do I need to uninstall sendmail?16:52
WG1337The thing is that I need to make PHP work with gmail, but most scripts use /usr/bin/sendmail16:52
qman__I would use the purge option, otherwise you're going to have a lot of leftover configuration16:52
qman__other mail servers create a '/usr/bin/sendmail' for that reason16:53
qman__it doesn't mean you have to actually use sendmail16:53
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 hard16:54
rojoloco47Hi I need Help with Setting up mail server in ubntu 10.0416:54
rojoloco47Room is too silent16:58
rojoloco47Can any body please help me with Mail Server in ubuntu 10.0416:58
rojoloco47I really need it before next 2 hours16:58
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.html17:03
thrain][They tend to be good recipes that work in most cases.17:04
rojoloco47I am just coming back from this page, This did not helped much :( @ thrain][17:04
qman__!ask | rojoloco4717:05
ubotturojoloco47: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)17:05
qman__we can't very well help you if you don't ask about your specific problem17:05
rojoloco47Ok I want to install a mailserver ,just a simple mailserver with postfix, with which my clients can use Microsoft outlook in windows,17:06
rojoloco47in other words i need a mailserver which provide smtp address and pop3 address so that my clients can recieve and send mail over internet17:07
qman__that's quite simple, and I believe is covered in the server guide at the link above17:07
qman__simply install the mail server and it comes configured that way17:07
rojoloco47I 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 domain17:08
qman__you set your email clients to however it is they connect to that server17:08
qman__if it's on the same local network and you don't have DNS, use the IP17:08
rojoloco47Yes that everything I can do, what I can't do is simply a smtp and pop3 address to configure clients17:08
qman__you simply use the name or IP of the server17:09
rojoloco47lets 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
batokhas anybody installed 10.04  in EC2?17:09
BluesKaj_ruben, xbmc , ok I'll check it out ,thanks.17:09
qman__the address would be [user]@secure.sajidsaif.com17:10
rojoloco47I 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 server17:12
qman__if you have local DNS, use the name17:12
qman__otherwise, it's the IP17:12
rojoloco47IP ? can you make it more clear,17:13
rojoloco47I will use it same like secure.sajidsaif.com ?17:13
qman__IP address, whatever you configured17:13
qman__yes, if that name resolves to the server17:13
rojoloco47IP address will be DNS , is not it?17:13
qman__if DNS works, that name will work17:14
rojoloco47both 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:14
qman__you may need to enable pop3, as I think only imap is enabled by default17:15
rojoloco47Ok 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 that17:16
qman__sudo tasksel17:16
qman__and choose mail server17:16
qman__when asked, choose internet site17:17
qman__and put in the requested information17:17
rojoloco47I have put this command and it gave me a list of things17:19
rojoloco47where mailserver is already selected17:19
qman__then it is already installed17:19
Kaffienanyone here have some experience setting up autofs?17:22
rojoloco47let 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 you17:22
Kaffieni'm trying to set it up to allow ejecting carts from a   powervault RD100017:22
WG1337thanks qman__, with exim4 it sends mail :) also I found out that my ISP given mailbox sucks!17:30
maekis there a way to extract a seed file from an installed server?17:56
rizzuhHow do I convert the Desktop into Server?17:58
maeksorry, rtfm debconf-get-selection17:58
uvirtbotNew bug: #604717 in ntp (main) "Please convert init script to upstart" [Undecided,New] https://launchpad.net/bugs/60471718:46
ZnowHey guys! I cant do: /etc/init.d/samba start <- it says it cant find it18:48
patdk-wksamba?18:48
Znowofc in root@server18:48
Znowthe server tool thingie? :)18:48
patdk-wkcalled smbd on my system :)18:49
patdk-wkusing lucid?18:49
Znowoh, ill try that, yeah I am18:49
patdk-wkservice smbd restart18:49
Znowoh... its already start18:50
Znowstarted*18:50
Znowanyhow, ive tried putty to connect it, but it wont18:50
patdk-wkputty connects to samba?18:51
Znowit wont18:51
patdk-wkI should hope not18:51
patdk-wksamba != ssh or telnet18:51
Znowwhat to use then?18:51
patdk-wkanything that supports cifs18:51
patdk-wkwindows, smbclient18:52
patdk-wksmbmount18:52
Znowsec18:52
Znowerhhh?18:52
Znowdunno what that is18:52
Znowplease enligthen me :)18:52
patdk-wkthose are all samba/cifs clients18:52
Znowprefering any of those?18:52
patdk-wkdepends on what os your using18:52
ZnowPuTTY 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-wkon the client/test machine18:52
patdk-wkya, putty has nothing at all to do with samba18:53
Znowto connect to the server?18:53
patdk-wkputty can connect to the server, using ssh or telnet18:53
patdk-wkstill nothing to do with samba18:53
patdk-wkdunno why you talk about samba, and say putty won't connect18:53
ZnowI talked about samba, cause it wouldnt start, but ive obvious used the wrong command to start it. anyhow, putty wont connect to my server18:54
Znowthat is what I meant18:54
Znowcould you help me with that?18:56
patdk-wkprobably not18:56
patdk-wkif ssh won't work, you don't have ssh installed18:56
patdk-wkor something wrong with your network18:56
Znow:o18:56
Znowthat wasnt much18:57
Znowopenssh-server is already installed18:57
Znowit seems18:58
Znowpatdk-wk? :)19:04
patdk-wkhmm?19:06
T3CHKOMMIE!glassfish19:06
patdk-wkI'm happy, just got nx working, dunno why, dunno how19:06
T3CHKOMMIEhey 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:07
Znowopenssh-server is already installed19:08
Znowpatdk-wk - openssh-server is already installed  - so that shouldnt be the problem... my server's "ip" is set to 83.92.69.5019:15
Znowputty says connection timed out when I try to connect to the server19:16
Znowcan 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-wkdunno, depends on how you setup your router, server, client19:16
patdk-wkI really don't want to go over network engineering19:16
T3CHKOMMIEZnow are you behind a NAT router?19:17
ZnowT3CHKOMMIE - dont think so19:19
ZnowT3CHKOMMIE - aint sure19:19
T3CHKOMMIEZnow, 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:19
ZnowT3CHKOMMIE - can we go private then?19:20
T3CHKOMMIEsure19:20
uvirtbotNew bug: #604744 in nmap (main) "ncat when connecting trough proxy only sends lines in pairs " [Undecided,New] https://launchpad.net/bugs/60474419:46
erichammondjjohansen, 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:51
uvirtbotLaunchpad bug 575193 in linux-meta-ec2 "high reported load average on idle EC2 instances (dup-of: 574910)" [Undecided,New] https://launchpad.net/bugs/57519319:51
uvirtbotLaunchpad bug 574910 in linux-ec2 "High load averages on Lucid while idling" [Undecided,In progress] https://launchpad.net/bugs/57491019:51
erichammondThanks uvirtbot :)  I didn't even notice that bug was a duplicate.  There has been a fair amount of activity on the main bug.19:53
SpamapScan 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
uvirtbotLaunchpad bug 557739 in jockey "jockey-gtk crashed with BackendCrashError in convert_dbus_exceptions() (dup-of: 413624)" [Undecided,New] https://launchpad.net/bugs/55773919:55
uvirtbotLaunchpad bug 413624 in jockey "jockey-gtk crashed with BackendCrashError in convert_dbus_exceptions()" [Undecided,Incomplete] https://launchpad.net/bugs/41362419:55
smosererichammond, i've asked jjohansen before.  he's pretty convinced that its just accounting that is wrong.19:55
smoserbut i dont think he's gotten to do much on that.19:56
erichammondsmoser: Makes sense to me . There doesn't seem to be anything going on with the boxes.19:56
SpamapSis it possible Xen is over-counting jiffies if something else steals its CPU cycles?19:56
erichammondI 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
SpamapSlike, 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 high19:57
erichammondI've learned to take load average as just an indicator that I should investigate to see if something really is wrong.19:58
SpamapSyeah, load is useless w/o context. :)19:58
smoserSpamapS, yeah, thats generally what we're thinking. is it is representing load more correctly as the load of a full cpu.19:58
smoserand its not getting a full cpu19:58
smoseryeah, i've seen kernel patches addressing things like this on power also.19:58
smoserload seems high in the guest because the guest was getting 0.1 of a cpu19:59
smosererichammond, are there things reading load other than humans ?19:59
smoserie, 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"19:59
SpamapSits why response time always trumps artificial gauges and even counters.. if it takes a long time, something is wrong.20:00
erichammondsmoser: In the cases that I'm aware of I don't think it is causing other problems.20:00
erichammond...but it would be good to fix as it is alarming folks upgrading to Lucid on EC2.20:01
smoseryeah, or at least clearly document "seriously, don't trust that!"20:01
erichammondsmoser: Nobody reads the documentation.20:01
smoseras if its designed in behavior that isn't going to change, changing it is ongoing maintainence that we dont want to incur20:01
smoserand it man not be something that is easily "fixable"20:02
SpamapSI 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 days20:03
zulsmoser: ill do xinetd if you want to do apache :)20:11
smosernah. thanks for the offer though.20:11
zulsmoser: grumble20:11
=== jorge is now known as jcastro
spartan07_how do I add a timestamp to a log being created by crontab?20:16
Jeeves_spartan07_: use bitcron20:22
spartan07_Jeeves_, never heard of it. is it installed on ubuntu server?20:24
Jeeves_spartan07_: Nope. But it is on launchpad, just a sec20:25
spartan07_is it bicron?20:26
Jeeves_https://launchpad.net/~f-launchpad-bit-nl/+archive/bitcron20:26
Jeeves_It enables you to email you if something is broken20: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 cronscripts20:27
matt_keysI'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:27
Jeeves_spartan07_: You're welcome20:28
Jeeves_matt_keys: As long as you're not writing to the same lun with all the hosts, i think you can20:28
matt_keysJeeves_ : 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 vm20:30
matt_keysWould rather have one big storage pool for all the hosts to use20:30
Jeeves_So, use nfs?20:31
matt_keysRHEL's best practices show NFS to be too slow after about 5 guests start using it20:31
matt_keyswhat about cLVM?20:31
Jeeves_matt_keys: So what do they suggest?20:31
matt_keyswell RHEL uses the GFS/Cluster Suite20:31
matt_keysI guess NFS is going to be the ticket probably20:34
RoyKmatt_keys: <priavate opinion>I use opensolaris/zfs for that sort of stuff</priavate opinion>20:43
=== unreal_ is now known as unreal
Jeeves_RoyK: That's the better option, yes :)20:51
RoyKI use linux for most stuff, but for storage, opensolaris (or nexenta) beats most of the other options20:52
CppIsWeirdwould this "command > outout.log 2 > error.log" work to dump the programs output to output.log and any errors to error.log?20:54
RoyKCppIsWeird: which shell?20:55
CppIsWeirdumm, not quite sure how to answer that. w/e the default shell is when you ssh into a ubuntu-server.20:55
RoyKps $$20:55
RoyKthat'll be bash20:56
RoyKcommand > out.log 2> err.log20:56
RoyKwithout a space between 2 and >20:56
CppIsWeirdok. thanks. :-)20:56
RoyKnp :)20:57
RoyKman bash for more - but that manpage is rahter gross (4k lines or so)20:58
matt_keyscLVM or just using local storage might be the better option... then just use NFS for migrations and ISO storage21:02
matt_keysblades have two scsi hotswaps on them, all are raid121:03
bpgoldsbAnyone know the kernel parameter to limit your RAM?  I have 48G in a box, and I want it to think it has 1G.21:04
Jeeves_matt_keys: Why limit yourselve?21:06
Jeeves_matt_keys: IMHO it's smarter to create a lun per box, or search for other fs'es that can do what you want21:07
Jeeves_bpgoldsb: Hmm21:07
Jeeves_bpgoldsb:         max_addr=[KMG]  [KNL,BOOT,ia64] All physical memory greater than or21:08
Jeeves_                        equal to this physical address is ignored.21:08
Jeeves_bpgoldsb: http://www.cyberciti.biz/howto/question/static/linux-kernel-parameters.php21:08
bpgoldsbJeeves_: mem=1G solved it.21:09
RoyKbpgoldsb: bingo - but why limit?21:09
* RoyK was about to answer bpgoldsb 21:09
bpgoldsbBenchmarking disk i/o, need to overcome ram buffer, don't want to write 50G files.21:09
RoyKic21:10
RoyKbenchmarking i/o or filesystems?21:10
bpgoldsbi/o21:10
RoyKk21:10
bpgoldsbI've got a box with a RAID-6 of 8 15K SAS disks, and a Corsair SSD.21:10
RoyKwriting with O_DIRECT will bypass the buffers, btw21:11
bpgoldsbTesting performance of the native host, KVM linux guests using virtio, and KVM Windows guests using whatever qemu gives it for HW21:11
bpgoldsborly?  That might be more useful.  If iozone supports it.21:11
RoyKbpgoldsb: erm - have you considered using zfs? with osol or fbsd?21:11
bpgoldsbRoyK: Not really.  The FS doesn't seem like a big issue to me.  What would I be gaining?21:12
matt_keysbpgoldsb: bonnie will let you tell it how much ram to use21:12
RoyKmatt_keys: doesn't matter if the OS is buffering, does it?21:12
matt_keysuses direct calls if I remember right21:12
RoyKbpgoldsb: read this http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfslast.pdf21:12
Jeeves_bpgoldsb: zfs rocks21:12
bpgoldsbRoyK: -I  Use VxFS VX_DIRECT, O_DIRECT,or O_DIRECTIO for all file operations, thats what you're talking about, right?21:13
RoyKbpgoldsb: yes21:13
Jeeves_There's really no fs that's as cool as zfs, yet21:13
RoyKbpgoldsb: but scan through that preseantation, please21:13
=== jorge is now known as jcastro
matt_keysbpgoldsb: yeah it's the -r option21:13
matt_keys-r     RAM  size in megabytes.21:13
bpgoldsbI'm not denying zfs rocks.  I'm just not sure I want to hybridize my network without a very good reason.21:13
bpgoldsbRoyK: I'm reading now, I'll get back to you21:13
RoyKk21:14
matt_keysJeeves_ : I know RoyK suggested zfs, did you have recommendation?21:15
bpgoldsbRoyK: Actually, zfs is a real filesystem, right?  It's not like LVM where I throw extX/xfs/resier ontop, right?21:15
RoyKbpgoldsb: it's a filesystem that incorporates stuff like LVM in a rather nice way21:15
bpgoldsbYes yes, but in the end, it's a filesystem.21:16
bpgoldsbAnd I need to be able to carve out block devices to give to the virtual machines running on the host box.21:16
RoyKit's a filesystem _and_ a volume manager21:16
RoyKand you can create volumes that can be exported on iSCSI or FC or whatnot21:16
RoyKsparse or not21:16
bpgoldsbIf I was building a SAN (and I actually will be soonish), I' plan to look at ZFS very heavily.21:17
bpgoldsbBut for this application, zfs doesn't make a whole lot of sense tbh.21:17
RoyKand it supports very good compression and deduplication (the latter if you like to live on the edge)21:17
bpgoldsbThe big hurdles being, I'd have to switch from KVM to Solaris Zones or whatever you can run on BSD.21:17
RoyKI'd suggest a separate box for the storage21:18
bpgoldsbRoyK: So would I.  Can you help get me more budgeting? ;)21:18
RoyKthat's what we're doing now - duplicated 48TB on nexenta and something else for the access21:18
Jeeves_matt_keys: Yes, zfs21:19
RoyKbpgoldsb: you can use SSDs for caching, and use lots of cheap drives for the storage, and it'll run like hell21:19
bpgoldsbRoyK: Just don't have the funds in the dept to spend on something like that atm.21:20
bpgoldsbJust spent 15k on these two boxes I'm benching21:20
RoyKbpgoldsb: the 48TB boxes we're buying will cost us NOK 100k each, whatever that is in  your currency21:21
Jeeves_bpgoldsb: You should have planned ahead :)21:21
Jeeves_22:22 <Jeeves_> gcalc 100000 NOK in UDS21:22
Jeeves_22:22 <bitrot> 100 000 Norwegian kroner = 15 728 U.S. dollars21:22
coxnI have this in a .cfg file that I'm using: destdir = /virtual-machines/ubuntu0/21:27
coxnand it is getting ignored in favor of cwd21:27
coxnsuggestions?21:27
RoyKbpgoldsb: good hardware from supermicro combined with cheap drives makes an excellent storage platform :)21:29
bpgoldsbRoyK: You're preaching to the choir.  Just, the choir's budget sucks.21:30
RoyKwell, for your 15k setup, I could probably setup a little more storage :)21:31
bpgoldsbRoyK: I could have gotten more storage, and neglected the other requirements.21:32
bpgoldsb15k for these boxes was cheap, and with a 25% educational discount21:32
RoyKand those 48TB were net storage, after lots of redundancy21:32
bpgoldsb48TB of sata?21:32
RoyKgross storage is about 80TB per box21:33
coxnthis is trying to use ubuntu-vm-builder btw21:33
Jeeves_coxn: I've got the feeling ubuntu-vm-builder does not honor the configfile21:33
Jeeves_try setting a tempdir....21:34
RoyKbpgoldsb: 4x8x2TB drives in RAIDz2 VDEVs21:34
Jeeves_The only way I got it to work was by manually exporting $TMP to a specific dir21:34
coxnJeeves_: it's pulling values from the configfile I'm specifying21:34
guhcamposHas anybody installed nagvis on ubuntu 10.04 using a different .deb than the provided? 1.3.1 is too old21:34
RoyKbpgoldsb: some SSDs for L2ARC (read cache) and some smaller and faster for the SLOG(write cache)21:34
coxnJeeves_: for example, it gets ip correct21:34
coxn# dpkg -l ubuntu-vm-builder |grep ^ii21:34
coxnii  ubuntu-vm-builder               0.12.4+r455-0ubuntu0ppa1                        Ubuntu VM builder21:34
coxnin case anyone was wondering21:34
Jeeves_coxn: I know. I meant, not completely21:35
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/JeOSVMBuilder21:36
coxnI'm a bit baffled21:36
RoyKbpgoldsb: sorry, that was only 64TB gross, but still, it's a lot for the money21:37
coxnI suppose I should write up a ticket about this21:55
* coxn wanders off to find food21:55
bogeyd6How would one send an http command to a server without downloading anything?22:13
RoyKbpgoldsb: get the idea_22:13
RoyK?22:13
bpgoldsbRoyK: I get it.  I've done similiar things.  But I don't know what you want me to say.22:14
RoyKbogeyd6: mostly a HTTP GET to some site will do good, but the,  you have to download the output22:14
bpgoldsbI don't have the budget to build a redundant storage app AND build the other systems I needed to run the VM's22:14
RoyKbpgoldsb: that was a single 48TB setup, we've got some smaller ones for other uses22:15
bpgoldsbRoyK: 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
bogeyd6RoyK, imma try a wget --output-document=/dev/null22:16
bpgoldsbI don't think I can build a _REDUNDANT_ storage app, and deploy the _REDUNDANT_ network hardware to connect everything, for under 5,00022:17
bogeyd6bpgoldsb, i am halfway in but sure you can22:17
bogeyd6you just gotta not care about server and buy b-stock from CDW22:17
RoyKbpgoldsb: are you building a redundat storage thing or just redundancy on one system?22:17
bogeyd6i put together a nice 2.5tb raid 5 storage server for 1.8k22:18
RoyKsupermicro systems are quite stable, just as stable as the other HP equipment we have, and that from Sun22:18
bpgoldsbbogeyd6: I don't buy from CDW.  I have a 2 supermicro boxes.22:18
bogeyd6maybe you should, you can get 500gb sata hdd's for less than 120 bucks22:18
bpgoldsbRight, I'm not running my virtualization boxes on SATA.22:19
RoyKbogeyd6: you get 2TB for $12022:19
bogeyd6i got no time for a 2tb hdd for 12022:19
bogeyd6hp midline minimum22:19
RoyKjust get more of them - RAID - redundant array of inexpensive disks22:19
bpgoldsbRaid doesn't solve the fact that they get much fewer IOPs than SAS or SSD.22:20
DrPoO1hi guys. Is there a way to prevent mdadm.conf from changing drive labels?22:20
RoyKHP midline means cheap disks sold at high prices22:20
bogeyd6http://www.cdw.com/shop/search/results.asp?grp=bsk&outlet=1&Key=drive&InStock=122:20
DrPoO1We just inserted a new drive into our system and the array went down because the drive labels changed22:20
RoyKbpgoldsb: you don't get more IOPS with SAS if the drives are slow, and all large drives are slow22:21
bogeyd6RoyK, i dunno, i need the guarantee and replacement policy22:21
bpgoldsbIf 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:21
bogeyd6bbiab22:22
RoyKbogeyd6: 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 failure22:22
uvirtbotNew bug: #604802 in commons-io (main) "Merge commons-io 1.4-3 (main) from Debian unstable (main)" [Undecided,New] https://launchpad.net/bugs/60480222:26
=== erichammond1 is now known as erichammond
ccheneykirkland`, 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:36
trondpeterHi,  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 tty123:46
trondpeterif I press ctrl-alt-F1  tty1  is "empty" and no way of logging in...     Is this a known problem?23:46
trondpeterI did disable all mounts in fstab except the /boot and /  ..  and they are correct set up  (done during install)23:48
T3CHKOMMIEtrondpeter, sorry man, i dont even know where to begin with that one :S23:49
trondpeterT3CHKOMMIE  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 days23:54
trondpeterhmm it still works thouhg..   raid, samba and everything.. but cant log on without ssh lol23:56
T3CHKOMMIEtrondpeter, weird. i only ssh my server is headless, never had the problem :(23:57

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