/srv/irclogs.ubuntu.com/2011/01/27/#ubuntu-server.txt

RoyKMCE is quite nice00:08
RoyKgot some reboots from a server and MCE told me it was memory fault.......00:09
binaryhati want to connect to my virtualized o/s on my server using virt-viewer w/o ssh. how do i do it?00:13
binaryhatvirt-viewer -c qemu://192.168.1.101:50001/system win_ult7 does not work00:14
sascha_hi, I could really use your help: hp storageworks is linked via fibrechannel to two dl380 running ubuntu. I can mount the nas without problems (multipath) but copying files etc. the fs on the nas (ext3) is corrupted. Any ideas?00:18
SpamapSsascha_: corrupted in content only, or metadata problems too?00:19
binaryhat?00:20
RoyKsascha_: are you trying to mount an ext3 filesystem from two different machines?00:20
sascha_SpamapS: fsck.ext3 has to repair lots of inodes :-(00:20
binaryhathow do i use virt-viewer w/o ssh?00:20
sascha_RoyK: yes00:20
SpamapSbinaryhat: what is virt-viewer?00:21
RoyKsascha_: that's asking for trouble00:21
RoyKext3 doesn't support that00:21
binaryhathttps://help.ubuntu.com/10.04/serverguide/C/libvirt.html00:21
sascha_RoyK: why? should not the controller of the storageworks prevent simultaneous write operations?00:23
SpamapSsascha_: You may want to look into CLVM if you want to create volumes that can be mounted on one server at a time00:23
SpamapSsascha_: haha no00:23
RoyKsascha_: the filesystem is cached locally - use something like GPS00:23
SpamapSsascha_: GFS is also an option.00:23
RoyKsorry, GFS00:23
SpamapSsascha_: but first ask yourself why you want to do this. :)00:23
sascha_spamaps: f..ck00:24
yann2sascha_, you need some sort of cluster filesystem for that, like SpamapS suggests, be very careful about mounting an ext3 fs on several filesystem00:24
yann2yu might want to use NFS00:24
sascha_spamaps: I want to store our virtual machines on the nas. In case of hardware failure I can quickly switch over00:25
RoyKsascha_: shared storage filesystems are complex, and not very well tested in the linux world00:25
RoyKsascha_: NFS would work well with that00:25
SpamapSCLVM too ..00:25
RoyKOCFS might work as well00:26
yann2interesting SpamapS  I didnt know about that, is it commonly used for virtualisation?00:26
SpamapSyann2: It works just like lvm .. but it has cluster awareness so you don't botch up your metadata by messing with it on two machines00:28
RoyKI'd recommend something like GFS or OCFS00:28
RoyKSpamapS: but not very stable and not very supported?00:28
sascha_spamaps, royk: thx, I will check on the recommended file systems at once00:29
SpamapSI use CLVM once about 5 years ago and it was simple and worked. Not sure if it has been maintained since00:29
SpamapSsascha_: I think if your NAS supports NFS, you should use NFS00:29
SpamapSits the simplest solution00:30
sascha_royk: ocfs the experimental mark hast been removed in recent kernels00:30
RoyKok - didn't  know that00:30
RoyKstill, using ext3 for shared storage is a little like russian roulette00:31
SpamapSits more like kamikaze warfare00:33
* SpamapS disappears again00:33
RoyKwell, russian roulette with all six chambers filled :P00:33
sascha_spamaps: I am already browsing the manual00:34
RoyKsascha_: about he "not very stable" comment, that went to CLVM, not OCFS00:35
sascha_spamaps, royk: it was so easy, install multipathd, format the virtualdisk, mount it, finish. I should have known it was too easy :-)00:36
RoyKjust use a filesystem that supports multiple mounts00:36
RoyKext3 certainly does not support that00:37
sascha_spamaps, royk: thank you very very much. I really appreciate your help. Have nice day. I will at once begin working on the problem.00:37
RoyKgood luck :)00:38
Angryfurbyhey guys i have having issues trying to host multiple websites with ubuntu 10.04 can anyone offer some help00:38
ChmEarlAngryfurby, grep or locate the vhost examples under /usr/share/apache200:40
Angryfurbyok let me take a look00:41
Angryfurbybecause i think i messed up up on creating virtual.conf00:41
Angryfurbydon't have vhost examples i just looked00:42
ChmEarlAngryfurby,  what you want is a vhost.conf example, whereever it turns out to be00:42
ChmEarl/usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-vhosts.conf00:46
ChmEarlAngryfurby, I had to start my Xen server to look for it00:47
RoyKAngryfurby: create new /etc/apache2/sites-available/whatever.conf files00:47
Angryfurbyi already did00:47
RoyKsymlink them to /etc/apache2/sites-enabled00:48
Angryfurbylet me pastbin the configs00:48
RoyKreload apache00:48
Angryfurbydid it also00:48
Angryfurbybut it just doesn't load them00:48
* RoyK mumbles rtfm00:48
sascha_angryfurby: does your apache load one site at least?00:49
Angryfurbyyes the default00:50
Angryfurbybut not the others00:50
sascha_angryfurby: for all your domain names the default page is loaded, right?00:51
Angryfurbyhttp://pastebin.com/1chVknCj00:51
Angryfurbyat one point yes00:51
Angryfurbyatm they only load the default page00:53
sascha_angryfurby:sry, it took some time: try this. it is a VERY basic httpd.conf http://pastebin.com/9H4xWRvL00:59
Angryfurbyi see now i will try it01:01
Angryfurbysuccess !01:11
Angryfurbyyou have to assign the virtual host01:11
Angryfurbyto a ip address correct01:11
=== ksx4system_ is now known as ksx4system
charasI am getting "ssh connection refused" :( sshd is running so I guess firewall it is then. How can I fix it?03:35
=== dean is now known as compengprof
compengprofis anyone available to provide some help with kvm and virsh?04:24
compengprofhello?04:26
compengprofI'm looking for some help with kvm and virsh. I followed the insructionsw in http://doc.ubuntu.com/ubuntu/serverguide/C/virtualization.html to create the bridge and vmbuilder to create the vm, but it keeps getting stuck as Grub stage 204:39
wizardslovaki disabled root in ssh , but if ill add user to sudoers file i should do without sudo right?05:14
fluvvellis there a way of telling what speed the net if is operating at apart from transferring some data? ie is it operating at gigabit or just 100Mb05:15
gobbewizardslovak: yep05:24
gobbewizardslovak: ah sorry, you add user to sudoers with sudo/root05:25
gobbewizardslovak: but you login with normal user and then elevate to root using sudo05:25
wizardslovakgobbe, yeap05:25
wizardslovakyea but lets say i want to transfer file from laptop to server with filezilla05:25
gobbefluvvell: ethtool05:25
wizardslovaki cant do that as i am logged as user and root is dissabled05:25
gobbewizardslovak: well, if you know root's password you can05:26
gobbewizardslovak: su -05:26
wizardslovakyes05:26
wizardslovakbut i dissabled root in ssh_conf05:27
gobbethe ssh-option only makes root-user not to login05:27
gobbeyep, it means jsut that you cannot login with root-user05:27
gobbeit doesn't prevent user to become root with sudo or su05:27
fluvvellgobbe, thanks - have just been trying ethtool out - seems a bit reluctant to give meaningful output from my r8169 based card05:27
wizardslovakin filezilla you cant write in command05:28
gobbeof course cannot05:28
wizardslovakonce you loggin as user i cant use sudo or su05:28
gobbeyou need to ssh in05:28
gobbeif you want to move files with filezilla add correct rights to your user05:28
wizardslovakaha05:29
wizardslovakso just adding user to sudoers wont do that05:30
gobbeno05:30
gobbeit allows user to run commands as root05:30
gobbe!sudo05:30
ubottusudo is a command to run command-line programs with superuser privileges ("root") (also see !cli). Look at https://help.ubuntu.com/community/RootSudo for more information. For graphical applications see !gksu (GNOME, Xfce), or !kdesudo (KDE). If you're unable to execute commands with sudo see: http://www.psychocats.net/ubuntu/fixsudo05:30
wizardslovakok05:31
wizardslovakso to transfer file to root owner folder it should work05:31
wizardslovakweird05:43
wizardslovaki got wordpress and phpbb using same port for email05:44
wizardslovakbut when i sent emails from both i get them on my gmail05:44
wizardslovakbut my friend only gets from phpbb05:44
wizardslovaknot the blog05:44
wizardslovakshould i change ports?05:46
twbTechnically it's for switching users, not necessarily for *escalating* privileges05:48
gobbetwb: well, technically it's switching user, true06:12
gobbewizardslovak: what is your smtp-server?06:12
twbe.g. sudo -u www-data debmirror06:13
gobbeyep06:13
wizardslovaksmt.gmail.com06:15
gobbeif you use gmails smtp it will change from address to your gmail-address06:24
twbgobbe: in the envelope?06:32
gobbeyep06:33
gobbeso that you cannot use googles smtp to send something that is not googles account06:33
twbMeh, normal users do not look at the envelope06:33
gobbei noticed that once when i sent one job mail from mobile phone, using googles smtp06:33
gobbetwb: well, it changes reply-to also06:34
gobbeso it looks like it was from gmail06:34
twbNo, it doesn't.06:34
twbI just checked.06:34
gobbewell, at least it did that ~6 months ago06:34
gobbewhen i used it on my mobile phone06:34
gobbemaybe they have changed it06:34
twbProbably that was your MUA06:34
gobbeno it wasnt06:34
gobbei have only one account in my mobile phone, and it's email-settings have nothing to do with my gmail, only gmail related was smtp.gmail.com06:35
twbhttp://paste.debian.net/105788/06:35
twbThat's sent via smtp.google.com06:35
twbIt sets the *Sender* -- that's not the same as Reply-To.06:35
gobbeok, so they have changed it06:35
gobbeit used to be that reply-to was also changed06:36
gobbethat was the reason why i then did my own smtp-server06:36
twbHaving said that, I have seen the occasional paranoid MTA reject such mail06:36
twbWhat I normally do is tell msmtp to pick the smarthost based on the From06:37
gobbeyep06:37
twbAlso, I highly recommend msmtp for satellites.06:38
twbAnd for debugging MTAs :-)06:38
=== administrator_ is now known as sascha_
=== sascha_ is now known as sascha__
sascha__good morning, is here someone in this channel who can answer me some questions regarding the oracle database file system (running under ubuntu server)?06:47
twb!ask > sascha__06:49
ubottusascha__, please see my private message06:49
sascha__is the oracle database filesystem capable of managing simulanious r/w access (nas) from two attached servers (fibre channel)?06:58
gobbeocfs(2)?07:04
gobbe/dev/drbd1 on /j0 type ocfs2 (rw,_netdev,noatime,nodiratime,heartbeat=local)07:04
gobbeand it's mounted on two machines with r/w, so answer is, it is07:05
gobbe:)07:05
twbHang on, drbd ≠ ocfs07:07
gobbewell, filesystem is ocfs07:08
twbOh, I see07:08
gobbeand i'm using it also with FC07:08
gobbeon other machine07:08
twbocfs on top of drbd07:08
gobbeyep07:08
gobbedrbd just handles mirror07:08
gobbeit needs also filesystem :)07:08
twbThe output format was weird07:08
gobbeyea, sorry07:08
twbI set up drbd once07:08
twbI lost interest when the work to make the root filesystem a DRBD node turned out to be nontrivial07:09
twbI think we went with md on top of aoe instead07:09
\shdrbd as rootdevice? sounds evil07:10
gobbeit's not root device07:13
gobbeaah07:14
gobbesorry, you talked about other :)07:14
sascha__twb. gobbe: sorry, lack of sleep ocfs207:14
gobbesascha__: yep, it's capable of dual r/w07:14
gobbesascha__: i would go with it, especially if you have only two nodes07:14
gobbesascha__: gfs2 is better if you have several nodes and fencing device, but without those i would go with ocfs207:15
sascha__2nd question regarding ocfs2 can I disable the bail-out function if heartbeat stops responding?07:15
sascha__I only have two nodes attached via fc to a hp san07:15
sascha__on the san I store virtual machines for vmware07:16
sascha__the idea is (until we have money for vmware vcenter) that even if one server dies I can start (manually) the virtual machine on the second server07:17
* twb grumbles about proprietary solutions07:25
sascha__twb: do you mean my solution or the vsphere center?07:30
twbsascha__: anything07:30
twbspecifically it's a kneejerk reaction to "vmware"07:30
twbI'm rolling out a new mailserver (postfix+dovecot+mailman).  The current plan is to use postgrey and spamassassin against UCE.  Anyone want to sell me on an alternative?07:31
sascha__twb: :-), why, they were the ones who brought virtualisation to market and I feel more comfortable with them than with M$07:31
twbsascha__: if by "the market" you mean 80x86, I guess...07:32
sascha__twb: no good solution, well tested07:32
sascha__twb: of cource x8607:32
twbs/390, sparc and power had stuff before vmware IIRC07:32
sascha__twb: sparc does still exist? the last sparc I know of was installed in university 15 years ago07:33
twbsascha__: right, that's when it had virtualization07:33
twbx86 not having hardware virtuzalition from the start was really a symptom of being designed for washing machines07:34
twb"Hardware-assisted virtualization was first introduced on the IBM System/370 in 1972, for use with VM/370, the first virtual machine operating system."07:35
sascha__twb: that was before I was born :-)07:36
twbAnd apparently SPARC only grew true hardware virtuzalition at the same time as x86 -- I guess I was thinking of its fine-grained SMT07:37
sascha__twb: sry, I really enjoy chatting with you, but I have to answer some calls. I will be back online later, cu07:38
twbWhatever, man07:38
sascha__twb: I really mean it to hear from an "oldster" about the old ages ;-)07:38
sascha__twb: bye07:38
twbI'm twenty-five!07:38
twbhttp://en.wikipedia.org/wiki/Popek_and_Goldberg_virtualization_requirements is the paper I was thinking of.07:39
aliveriuscan someone help me with smartctl?07:40
twb!ask > aliverius07:40
ubottualiverius, please see my private message07:40
aliveriustwb: why this?07:41
twbNo comment.07:41
aliveriusdo you want me to pastebin the output?07:41
=== fenris is now known as Guest20801
aliveriusdirectly?07:41
twbaliverius: you have not stated the problem yet.07:41
aliveriusi want to open a discussion sorry07:41
aliveriusi have a problem with a hdd obviously and i am testing it with smartctl07:42
aliverius`sudo smartctl --attributes --log=selftest --quietmode=errorsonly /dev/sdb` gives no output07:44
aliveriusdoes this mean the disk is ok?07:44
twbI don't know.07:44
twbI use smartctl -t short /dev/sda07:44
twbThen inspect it with smartctl -a /dev/sda07:45
aliveriusalso07:47
aliveriusi copied a 47gb file to the problematic disk07:47
aliveriusmd5sum is ok07:47
aliveriusno errors in dmesg either07:47
twbThat is not a useful test.07:47
aliverius(before i changed cable, io would create many errors)07:47
BrdavsHellols07:59
WinnerOKÏîäñêàæèòå ãäå ìîæíî íàéòè ìàíóàë ïî óñòàíîâêå è íàñòðîéêå IRC SERVER ?08:06
twbWinnerOK: UTF-8, please.08:07
twb!ru08:08
ubottuПожалуйста посетите #ubuntu-ru для получения помощи на русском языке  / Pozhalujsta posetite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke08:08
WinnerOKOK08:08
WinnerOK!ru08:10
ubottuПожалуйста посетите #ubuntu-ru для получения помощи на русском языке  / Pozhalujsta posetite /join #ubuntu-ru dlya polucheniya pomoshi na russkom yazyke08:10
WinnerOKIn Russian is not nobody: (08:10
twbWinnerOK: sorry.08:11
WinnerOKI'm looking for a manual for installing and configuring the IRC SERVERA on ubuntu 10.04 at manul suitable for any version!08:12
twbubottu: apt-get install ircd-irc208:17
ubottuError: I am only a bot, please don't think I'm intelligent :)08:17
twbOops08:17
=== Guest20801 is now known as ejat
uvirtbotNew bug: #708493 in openssh (main) "cannot login anymore: Read from socket failed: Connection reset by peer" [Undecided,New] https://launchpad.net/bugs/70849308:26
aliveriustwb: is this serious?08:28
aliverius# 1  Short offline       Completed: read failure       90%        18         49186457608:28
aliverius# 2  Short offline       Completed: read failure       70%        18         49186456008:28
aliverius# 3  Extended offline    Completed: read failure       80%        11         49186629608:28
j0nrmorning08:43
j0nrsigh, cannot get (have rarely had) the ability to send mail from a remote device. always get these errors:08:44
j0nrJan 27 08:42:20 jcrdevelopments postfix/smtpd[6151]: warning: SASL authentication failure: cannot connect to saslauthd server: No such file or directory08:44
j0nrJan 27 08:42:20 jcrdevelopments postfix/smtpd[6151]: warning: unknown[109.181.95.213]: SASL LOGIN authentication failed: generic failure08:44
j0nrI set up my mail server as per the 'perfect server' for  8,04 LTS.08:45
j0nrit worked on day 1 but then since something has happened and its stopped08:45
j0nrI can recieve mail no problem (on my imap client on my phone) but cannt send08:45
twbaliverius: yes, it's seroius08:49
twbaliverius: it says that the last third of your disk is buggered08:50
aliveriusit is strange because i run a long test yesterday and it didnt catch any errors08:50
twbShrug08:51
* aliverius shrugs too08:55
twbIMO you should go buy new disk(s) and restore from backup ASAP08:56
twbPreferably set up an md RAID1 or RAID5 while you're at it.08:56
uvirtbotNew bug: #708504 in php5 (main) "PHP 5.3.5 is available." [Undecided,New] https://launchpad.net/bugs/70850408:56
aliveriustwb: they are on raid already08:57
twbThen you're in luck -- you only have to replace the dead disk and resync08:57
aliveriustwb: do you know how i can distinguish which hard disk is the faulty one?09:32
twbUh, it's the one you ran smartctl on09:38
aliverius... it is /dev/sdb but which one is sdb?09:43
aliveriuswhich physical unit09:43
twbYou can use hdparm or sdaparm to get its serial number09:44
huatsmorning09:53
aliveriusnow it wont boot10:03
aliveriusand my raid is bad10:03
aliveriusthere must be a problem with gpt and the special grub partition10:03
aliveriusshould i have put it in the raid partition?10:03
uvirtbotNew bug: #708537 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.41-3ubuntu12.9 failed to install/upgrade: subprocess installed post-installation script killed by signal (Segmentation fault)" [Undecided,New] https://launchpad.net/bugs/70853710:12
uvirtbotNew bug: #708551 in libvirt (main) "libvirt depends on SSL paths that don't exist in ubuntu" [Undecided,New] https://launchpad.net/bugs/70855110:31
trinkolashi everyone! how can i do a netinstall of ubuntu server 10.04???10:41
gobbe!netinstall10:47
ubottuUbuntu can be installed in lots of ways. Please see https://help.ubuntu.com/community/Installation for documentation. Problems during install? See https://wiki.ubuntu.com/CommonProblemsInstall - Don't want to use a CD? See http://tinyurl.com/3exghs - See also !automate10:47
=== FireCrotch is now known as nickmoeck
trinkolasi need to do a netinstall from xen of ubuntu 10.04, but i need to know the url!!! anyone can help me???11:17
uvirtbotNew bug: #708571 in openssh (main) "ssh client segmentation fault" [Undecided,New] https://launchpad.net/bugs/70857111:26
uvirtbotNew bug: #708572 in tomcat6 (main) "tomcat6 postinst script err (sed)" [Undecided,New] https://launchpad.net/bugs/70857211:26
trinkolasi need to do a netinstall from xen of ubuntu 10.04, but i need to know the url!!! anyone can help me???11:27
gobbetrinkolas: didn you read what ubottu listed11:33
gobbetrinkolas: url is your local mirror, or check some other from ubuntus page11:34
trinkolasgobbe: virt-install doesnt allow a local mirror, only a netinstall11:36
gobbetrinkolas: then use netinstall-media and install from there11:38
gobbeurl is your local mirror11:38
gobbelocal mirror == nearist site having images11:38
pluesch0rhi everybody. i've installed lucid on a fujitsu server. everything works, except the video output is garbled when using the builtin ipmi/kvm module. any idea what i could be doing wrong/differently?11:54
pluesch0rhow do i find out what graphics mode the console is in right now?11:59
=== oubiwann is now known as oubiwann_
screen-xevery so often, my NTP server rejects all its peers and goes of to sulk in stratum 16, I setup a cron job to log what was happening: http://paste.ubuntu.com/558960/12:10
screen-xAny idea how to solve it.. stop running my main ntp server in a vm? add more upstream servers?12:11
_rubenntp and virtualization are from from bestest friends .. especially a roo tone12:19
_rubenroot one12:19
screen-x_ruben: far from ?12:19
_rubenyeah .. brain-hand miscommunications12:22
=== oubiwann_ is now known as oubiwann
yann2could someone point me to a natty alpha iso?12:41
pmatulisyann2: ?  google gives: http://cdimage.ubuntu.com/releases/natty/alpha-1/12:42
yann2thanks... did try google put must have used the wrong keywords :(12:43
pmatulis"ubuntu natty alpha"12:43
yann2tred ubuntu 11.4 alpha download :)12:44
db-any idea why my storage devices like sda are missing the HOST-RESOURCES-MIB::hrDeviceTable tree? OS is ubuntu lucid 10.04 net-snmp version 5.4.2.1~dfsg0ubuntu1-0ubuntu2.112:46
db-although i do see hrStorage in HOST-RESOURCES-MIB::hrStorage12:46
db-problem is that collectors like opennms navigate through devicetree and are missing the disks, and therefore can collect usage data12:46
db-s/can/can't12:46
=== oubiwann is now known as oubiwann_
Bipul`http://paste.ubuntu.com/558996/ can any one look at my problem13:54
SpamapSwow Bipul waited all of 8 minutes for an answer. :-/14:04
SpamapSlooks like there may actually be a bug in the dkimproxy package :-P14:04
aliveriusi built a raid 1 array with two disks which have gtp partitioning. i put the boot_bios partition for grub outside the raid partition. did i do wrong? now that i removed one disk from the array it doesnt boot14:06
SpamapSaliverius: you should install grub on both disks14:09
Bipul`http://paste.ubuntu.com/559008/ whats wrong with it14:13
SpamapSBipul`: I'm pretty sure that either a) there is a bug in the dkimproxy package, or b) you already installed it before, and the configs/scripts were broken.14:15
aliveriusSpamapS: so a first partition, outside raid/lvm, was a correct choice?14:15
aliveriusSpamapS: i think that ubuntu installed grub in both partitions14:16
aliveriusanyway i am reinstalling everything14:16
aliveriuswill it be easy to re-create the array when i get the other disk?14:17
SpamapSaliverius: should be, just duplicate the partition sizes from the working disk exactly.14:18
RoAkSoAxmorning all!!14:22
RoAkSoAxSpamapS: dude!! isn't it like 6 am for you?14:22
SpamapSRoAkSoAx: yeah, baby woke me up :P14:23
Bipul`let me report this bug14:24
RoAkSoAxSpamapS: oh!! Jeez I don't even remember when was the last time I woke up at 6 or earlier >P14:24
SpamapSBipul`: cool thanks!14:25
* SpamapS sits and waits while the mysql build downloads texlive-latext-extra-doc .. all 190MB of it14:32
Bipul`http://paste.ubuntu.com/559017/ GUys plz help me out14:33
Bipul`i dont know whats wrong with it14:33
SpamapSBipul`: since dkimproxy is broken, you may want to remove it first.14:34
Bipul`sudo apt-get remove dkimproxy14:34
SpamapSyeah14:34
Bipul`this way14:35
Bipul`http://paste.ubuntu.com/559023/ stil got error in removing14:37
Bipul`sudo apt-get perg dkimproxy << do i need to use this command ?14:40
SpamapSBipul`: that would work yes, be careful as it will remove your configurations14:44
aliveriusdoes the reserved boot bios partition have to be bootable? the installer doesnt let me flag anything as bootable. i have root in raid+lvm14:47
patdk-lapisn't the boot bios partition just extra holding room for grub2?14:49
Bipul`http://paste.ubuntu.com/559029/ look at now14:49
Bipul`stil error in stoping this application14:49
Bipul`http://paste.ubuntu.com/559034/ guys i thought may be dkimproxy is not installed so when i try to install i got again a issue http://paste.ubuntu.com/559034/14:52
aliveriuspatdk-lap: it is14:52
zulSpamapS,  whats the bug number for the facter bug15:00
SpamapSbug #70808015:01
uvirtbotLaunchpad bug 708080 in facter "facter does not recognize KVM VMs as 'virtual'" [Undecided,Fix released] https://launchpad.net/bugs/70808015:01
SpamapSoooo15:02
SpamapScmake puts pretty colors on the screen when it has a tty15:02
robbiewzul: any resolution on the likewise-open package home?15:20
zulrobbiew: just uploading it now15:20
robbiewheh...ok15:20
robbiewso I guess we took it back from desktop15:20
robbiew:P15:20
zuli guess..15:20
zulthe likewise people have already emailed me once15:21
* robbiew suspects it's easier for us to just keep it15:22
zulalthough we dont have a way to test it to see if the bug fixes is actually valid though15:22
zulrobbiew: our old way went to racksapce ;)15:23
robbiewheh15:23
zulits still broken on arm afaik though15:24
hggdhzul: morning -- I grabbed what I think is the SRU track(er|ing) from p.c.c. Now... what is what there? ;-)15:25
zulhggdh: hold on lemme finish what im doing here15:25
hggdhzul: roger wilco15:25
raubvogelWhat would you use to monitor power supplies so you will, for instance, be warned when one of them decided to go fishing?15:32
pmatulisraubvogel: talking about UPS?15:39
Kiallholy crap - what happened to the PPA build queue! 4 days??15:40
raubvogelpmatulis, actually redundant power supplies15:40
bigjoolsthere's a rebuild going on15:41
raubvogelI have each connected to a different UPS, but would be nice to be told if one of those power supplies went on strike15:41
Patrickdknormally what ipmi is for15:42
Patrickdkor whatever other method your mb uses to talk to the psu15:42
RoyKPatrickdk: huh?15:47
RoyKraubvogel: it usually depends on which type of UPS it is15:47
raubvogelRoyK, I am actually talking about the power supply in the computer, not the UPS the power supply is connected to.15:48
RoyKraubvogel: that is - I remember now, there's a set of tools for that http://www.networkupstools.org/15:49
RoyKapt-get install nut15:49
RoyKand there are separate tools for APC UPSes15:49
RoyKoh - ic15:50
RoyKsorry15:50
Patrickdkipmi :)15:50
Patrickdkif your motherboard supports it, and the psu is connected to the mb for it15:50
Patrickdkatleast that is how all my servers monitor their psu's15:51
RoyKI would think a system with redundant power should support that :P15:51
Patrickdkdepends on if the system was bought, or build youself :)15:51
Patrickdkand built cheaply :)15:51
raubvogelThese are supermicro servers15:51
* RoyK has never built a system with redundant power15:52
Patrickdksupermicro uses ipmi for all their stuff :)15:52
raubvogelCoo15:52
RoyKraubvogel: then it should be quite possible15:52
raubvogelCool15:52
* RoyK has a bunch of SM servers15:52
raubvogeland what should I use to monitor the ipmi stuff?15:52
Patrickdkdunno15:52
PatrickdkI use munin to monitor most of it15:52
raubvogelI like supermicro stuff a lot. They drive trays are kinda wimpy but I've never had one die on me15:52
Patrickdkand my own scripts to watch for failures15:53
RoyKraubvogel: https://help.ubuntu.com/community/IPMI15:55
dominicdinadaI am having a very hard time to get lamp to function properly, I had it installed correctly for 2 years and my problems all started when i added php5-pgsql extension it wiped all my access to mysql, with no drivers being being usable, so from that point i have attempted to remove and reinstall lamp 5 times all failing @ 77%15:57
dominicdinadawhen i force quit it for the final time it left aptitude locked so i ran the commands to finish configuring all aptitude commands and they completed successfully but upon safe-upgrade and a reboot there is no mysql, php or anything running from the lamp package, I check the error logs and the only warnings i am getting is that mcrypt and the so's for pgsql are missing but it does not say it failed to load ? Wh15:59
dominicdinadaere do i go from here15:59
gobbewhat did you try to install? (i mean what packages)16:03
dominicdinadatasksel  -- lamp16:06
dominicdinadabesides that just the php5-pgsql packages16:06
dominicdinadastill going through all of the logs16:08
dominicdinadabut i check all the apache/mysql logs and besides 3 warnings it provides no answer16:08
ssureshotanyone know of a ppa that has samba4 and openldap working?16:10
gobbedominicdinada: can you copy-paste output of the command to pastebin16:10
dominicdinadagobbe: the command ?16:12
dominicdinada!upgrade16:13
ubottuFor upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/desktop/get-ubuntu/upgrade16:13
gobbedominicdinada: tasksel16:13
dominicdinadasudo tasksel then check the box on lamp16:14
dominicdinadait failed and left aptitude locked so i forced aptitude to finish configuring all failed packages16:15
gobbedominicdinada: sudo tasksell install lamp16:16
gobbedominicdinada: and copy-paste output16:16
dominicdinadagobbe: what is the link for auto pasting output i have it installed but have not needed help in so long i forgot how to pastie it16:18
dominicdinadaas for this command it just returned a prompt and did nothing no messages16:18
dominicdinada!pastie16:18
dominicdinada!pasteit16:19
genii-around!pastebinit16:19
ubottupastebinit is the command-line equivalent of !pastebin - Command output, or other text can be redirected to pastebinit, which then reports an URL containing the output - To use pastebinit, install the « pastebinit » package from a package manager - Simple usage: command | pastebinit -b http://paste.ubuntu.com16:19
dominicdinadaty16:19
gobbehmmh16:21
gobbeso it doesnt give any errors?16:21
dominicdinadano it does not it returns nothing just a prompt16:22
dominicdinadalike i said it failed yesterday, i killed the process, and went to see what i could do today and dpkg was still locked so i forced aptitude to finish configuring all packages16:23
dominicdinadavia sudo dpkg --configure -a16:24
gobbeok16:24
dominicdinadawhich successfully finished all packages with no errors at that time16:24
gobbeyou could try also to remove all packages and reinstall it16:24
dominicdinada6th time is the charm ?16:24
gobbeso have you removed it earlier?16:25
gobbeor just installed it again16:25
dominicdinadaremoved16:25
dominicdinadavia tasksel16:25
gobbeyou could also try to install it from terminal "sudo apt-get install apache2 apache2-mpm-prefork apache2-utils apache2.2-common libapache2-mod-php5 libapr1 libaprutil1 libdbd-mysql-perl libdbi-perl libmysqlclient15off libnet-daemon-perl libplrpc-perl libpq5 mysql-client-5.0 mysql-common mysql-server mysql-server-5.0 php5-common php5-mysql"16:25
gobbeand see what happens16:25
dominicdinadagobbe: sorry i know i could but i always have troubles with that package16:26
dominicdinadathose packages......16:26
gobbewhat kind of trouble?16:26
dominicdinadatasksel lamp nicely installs everything and does most of the leg work16:26
gobbethat should be the list of packages tasksel does16:26
gobbetasksel however outputs much less information than apt-get16:27
dominicdinadagobbe: and aptitude doesnt do anything further than placing the packages on the computer16:27
gobbebut it outputs information in error situations16:28
dominicdinadawhere as tasksel does alot of the work setting them up just minor modifications16:28
dominicdinadaan 26 08:35:24 diabolical-fs mysqld[4941]: #007/usr/sbin/mysqld: Character set 'utf8_general_ci'16:28
dominicdinada that is an error i did get now that i have been looking through the logs16:29
dominicdinadaJan 26 08:35:25 diabolical-fs mysqld[4987]: #007/usr/sbin/mysqld: Character set 'utf8_general_ci' is not a compiled character set and is not specified in the '/usr/share/mysql/charsets/Index.xml' file16:34
dominicdinadaJan 26 08:35:25 diabolical-fs mysqld[4987]: 110126  8:35:25 [ERROR] Aborting16:34
dominicdinadai think i tracked a little of the problem down16:34
dominicdinadahttp://pastebin.com/vF2jtw9916:47
dominicdinada!app-armor16:50
poningrusuggestion: can we call the alternative install natty lite?16:50
SpamapSponingru: ++16:51
SpamapSdominicdinada: actually thats the minimal install ;)16:51
poningruerr right minimal16:51
SpamapSdominicdinada: the apparmor bits are just letting you know that the profile's been loaded..16:52
dominicdinadanot when it is flooding my kernel and syslogs somethings going on16:53
SpamapSdominicdinada: whats flooding your logs is that mysqld is crashing on startup16:53
dominicdinadai check launchpad and there is a bug, but16:53
dominicdinadacheck the logs crashing at startup = every other second16:53
dominicdinada10,000 lines worth16:54
SpamapSyeah, mysqld takes a while to start back up after a crash16:54
jdstrandthere are no apparmor denials. apparmor should not be to blame16:54
SpamapSjust long enough where init doesn't think its thrashing16:54
SpamapSdominicdinada: the UTF-8 thing is your most likely culprit16:54
dominicdinadaSpamapS: i do agree however even after i commented out those lines and attempted to reinstall the 7th time16:55
dominicdinadastill no where16:55
dominicdinadasince when is is utf8_general_ci not a valid language either16:56
SpamapSdominicdinada: commented out what lines? Thats coming from your schema.16:56
dominicdinadaeven still this explains nothing of why both apache and php are failing16:56
SpamapSdominicdinada: because your app needs mysql? ;)16:56
dominicdinadaSpamapS: no and to display that i will rename my mail index page to show apache isn't working16:57
SpamapSdominicdinada: that message is rather confusing since utf8_general_ci should in fact be compiled in16:59
dominicdinadaSpamapS: exactly and frankly i got sick and tired of seeing latin_swedish_1 when everysingle server in the western world and then even more all be using utf817:00
dominicdinadaseeing and modifying17:00
dominicdinadacorrect apache or php are not running either17:01
SpamapSnobody's saying you can't usae utf8 :)17:01
SpamapSits something else I'm sure17:01
JamesPagezul: bug 705429 is now ready for your review - thanks17:03
uvirtbotLaunchpad bug 705429 in irqbalance "Latest update disables  irqbalance  with no offer to configure" [Medium,In progress] https://launchpad.net/bugs/70542917:03
dominicdinadaSpamapS: i did not see the instructions for the dist-upgrade on the community page17:04
zulJamesPage: will do17:05
JamesPagezul: ta17:05
dominicdinada!dist-upgrade17:15
ubottuA dist-upgrade will install new dependencies for packages already installed and may remove packages if they are no longer needed. Please see !upgrade for the proper way to upgrade to a new version of Ubuntu.17:15
dominicdinada!upgrade17:15
ubottuFor upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/desktop/get-ubuntu/upgrade17:15
SpamapSdominicdinada: do-release-upgrade is preferred over dist-upgrade usually17:16
Picidist-upgrades aren't for upgrading to a new release.17:17
dominicdinadaSpamapS: I was told that a dist-upgrade would not upgrade the entire system just all the dependancies, which is incorrect it is a full upgrade no matter how you look at it17:18
SpamapSdominicdinada: well it won't upgrade the system because it won't change which release its pulling from17:18
dominicdinadaSpamapS: the link and the text from ubottu seem to tell a unclear story but i am ready to give it a try17:20
PiciYou can't be sure that you're getting all your security fixes if you aren't using apt-get dist-upgrade/aptitude full-upgrade.17:20
Picidominicdinada: Whats confusing about ubottu's responses? (I can change them)17:20
dominicdinadaPlease see !upgrade for the proper way to upgrade to a new version of Ubuntu17:21
dominicdinadamixing a dist upgrade with that TAG as you have clearly pointed out they are 2 different things totally17:21
Picidominicdinada: Thats there because many people think that dist-upgrade will upgrade them to a new release of Ubuntu.17:21
dominicdinadaPici: that is what Please see !upgrade for the proper way to upgrade to a new version of Ubuntu17:22
PiciI'll think of a better wording though.17:22
dominicdinada"A New Version of Ubuntu" to most people would mean I am using 10.04 and a new version would be 10.1017:22
Picidominicdinada: Yes.17:23
dominicdinadaaptitude full-upgrade ?17:23
dominicdinadafor the dist-upgrad ?17:23
Piciaptitude full-ugprade is almost the same thing as apt-get dist-upgrade.  Theres a little difference with package removals, but if you prefer aptitude you can use it instead.17:23
dominicdinadaPici:  i do prefer aptitude right after I am done reinstalling EBOX :( i will do the upgrade17:24
* dominicdinada hates ebox but webmin doesn't give a clear system picture17:25
lambda_xdoes shutting down host send acpi poweroff to kvm virtual hosts or should I be doing it manually?17:31
=== Kiall is now known as Kiall|AFK
RoyKdominicdinada: learn the administration of the system from the command line - it doesn't take to much17:43
dominicdinadaRoyK: i dont know it all but i am learning little by little i will have to fit it into my busy school schedule of cisco, mcsa17:49
dominicdinadaand teaching myself php/javascript17:49
RoyKdominicdinada: welcome aboard :)17:50
* RoyK installed his first linux box back in 1994 and is still learning :P17:51
gobbelife is learning17:51
SpamapSmy first one was in 1995 ... Linux Universe ... ran from a CD-ROM and put / on a file inside a VFAT partition so you could try out Linux from a windows box.17:52
dominicdinadaand well any person who knows computers well knows dos, and s2k8 is a steep learning curve hell any MScores since Vista totally changed but Server-Core is dumb17:52
SpamapSWas such a happy day when I installed Slackware and joined Undernet's #LinuxHelp a few months later.17:52
* SpamapS has been in that channel continuously since.. :)17:52
gobbeslackware was my first distro also17:53
dominicdinadaSpamapS: we all had redhat and mandrake but i took a break until i had a useless server and laptop given to me with no potential as a windows machine and got back into linux17:53
RoyKslackware 3.217:53
RoyKiirc17:53
gobbe=)17:53
RoyKand then to redhat, then debian, then ubuntu17:53
SpamapShah Roy, thats my exact progression too :)17:53
gobbei'm running redhat on servers mostly17:53
gobbeand ubuntu on desktops17:53
dominicdinadanot hard to learn just hard to retain so much at once17:53
RoyKgobbe: we're abandoning redhat these days - no reason to run 'supported' stuff when all you need is on the net, or in the worst case, support from canonical17:54
gobbeRoyK: most of business software still is not supported on ubuntu :&/17:55
gobbelike oracle etc17:55
RoyKgobbe: we just ditched our old backup system for bacula, which works well17:55
dominicdinadaoh and add OSX to the list in 2 weeks when i get the money to buy a netbook ;/17:55
RoyKgobbe: oracle has its own distro17:55
gobbeRoyK: which is redhat + their kernel17:55
SpamapSBacula is amazing17:56
RoyKyeah17:56
gobbeRoyK: but it's also supported in redhat17:56
gobbeRoyK: and not supported in ubuntu :)17:56
RoyKI know - we have a couple of servers on oracle17:56
SpamapSFound that at OSCON 2005 .. along with memcached. Truly a productive conference visit. :)17:56
RoyKbut then, with Oracle's pricing havoc, we've ended up running that on windoze machines17:56
RoyKtrying to move to postgresql these days17:57
RoyKbut with current applications written for oracle, I guess it'll take a few years17:57
gobbemy customers are mostly huge enterprise-customers, so oracle etc is quite standard there17:58
* SpamapS has thankfully been able to avoid oracle for the most part :-D17:58
gobbelike in linux-world it is redhat (or in some cases suse)17:58
dominicdinadaall my troubles came from pqsql but i heard it is a nice setup17:58
RoyKgobbe: redhat was the standard at work when I started - I changed that :P17:58
gobbeRoyK: well, there it might be possible, in my customer's it is not17:59
gobbeRoyK: because software they run is not supported in ubuntu :)17:59
gobbei run my own servers on ubuntu18:00
zulDaviey: can you cover the SRU meeting for me on monday18:00
RoyKhm.. I forgot about QFS/SAM18:02
RoyKbut it looks like that project is rather dead18:04
RoyKhttp://www.gnu.org/fun/jokes/ed.msg.html18:17
TohuwHas anyone worked out a cost benefit analysis for using EC2 for high availability applications? I'd be interested in some insights, especially if you decided in favor.18:28
SAM____HI EVERYONE THIS IS SAM18:29
SpamapSTohuw: the whole reason for the cloud's existence is to have applications that spread accross multiple nodes .. presumably for HA.18:29
SpamapS(and I include performance in availability)18:29
SAM____can anyone tell me if this is correct config for bind please?18:30
SAM____http://paste.ubuntu.com/559133/18:30
SAM____can anyone tell me if this is correct config for bind please? http://paste.ubuntu.com/559133/ my website is not resolving www.mydomain.com18:30
Davieyzul, yes, that should be fine18:30
zulDaviey: thanks!18:31
SpamapSzul: so I think actually I can still ship libmysqld-pic18:32
zulSpamapS: how do you figure?18:32
SpamapSzul: it still uses the same public headers as libmysqlclient18:32
zulSpamapS: bah18:33
SAM____hello?18:33
SpamapSso while it is, itself, unversioned, its parent library/API/ABI are.18:33
TohuwSpamapS: sorry, I should have been more specific. I'm considering the cost factors of hosting an instance of Ubuntu Cloud Server using EC2 versus, say hosting a vps running Ubuntu Server. From a pure cost perspective, it seems a cloud instance price stacks up quickly with EC2, seeing as how I seem to need the instance itself, EBS, etc. et al ad infinitum.18:34
SpamapSzul: I may ship the headers anyway in /usr/include/mysql-5.5 tho18:34
SpamapSTohuw: the reason to use the cloud is usually agility, not cost.18:35
zulSpamapS: ack18:35
SpamapSzul: do you recall where norbert hangs out on IRC? I may want to ping him for an opinion.18:36
zulSpamapS: oftc maybe on #debian-devel18:36
TohuwSpamapS: that makes sense. Is it reasonable to assume that running an instance of Ubuntu Cloud Server on EC2 will, very generally, present a higher cost than a traditional infrastructure of similar resources (processing power/memory/disk space, etc.)?18:38
hallynzul: pls keep me in the loop if/when you play with lxc in uec, using the same images with lxcguest for kvm and lxc18:40
SpamapSTohuw: EC2 nodes are not known for their performance.. again, the only real reason is that you don't have to wait to get a new server.18:40
zulhallyn: of course i was working on it right now18:40
SpamapSTohuw: so even if an EC2 node costs 5x what it would cost to have a similarly capable physical host.. the fact that you can have it *now* is worth it if your business has to scale up and down rapidly.18:41
hallynzul: rockin'.  dying to know if it works for you :)18:41
zulhallyn: so am i :)18:41
SAM____can anyone tell me if this is correct config for bind please? http://paste.ubuntu.com/559133/ my website is not resolving www.mydomain.com but resolves mydomain.com18:43
gobbeSAM____: you mean that www.mydomain.com is not working?18:45
SAM____no sorry18:45
gobbeSAM____: it's not proper file18:45
TohuwSpamapS: excellent explanations, thank you.18:45
SAM____can anyone tell me if this is correct config for bind please? http://paste.ubuntu.com/559133/ my website is not resolving www.unrealkillers.com.com but resolves unrealkillers.com18:45
gobbeSAM____: don't repeat18:46
gobbeSAM____: file is not proper18:46
SAM____gobbe it is resolving unrealkillers.com not www.unrealkillers.com18:46
SAM____so what should i have instead?18:46
gobbeSAM____: https://help.ubuntu.com/community/BIND9ServerHowto18:46
=== Kiall|AFK is now known as Kiall
uvirtbotNew bug: #708808 in cobbler (universe) "Makefile changes ownership of web directory to 'apache', not 'www-data'." [Undecided,New] https://launchpad.net/bugs/70880818:51
slicslakhey guys, just fired up a rs cloud ubuntu instance.  when creating new users the default shell is sh18:58
slicslaki know how to change it per user, but would like to change the default for new users going forward18:58
slicslakis this a setting in /etc somehwere?18:58
uvirtbotNew bug: #676472 in libvirt (main) "after upgrade from ubuntu 10.04 to 10.10, virt-manager could not create or start a vm." [Low,Confirmed] https://launchpad.net/bugs/67647218:58
SpamapSslicslak: grep 'DSHELL' /etc/adduser.conf18:59
gobbeyep, change DSHELL-variable18:59
slicslakok, and that's set to /bin/bash.  wierd.  ok thx guys19:00
dominicdinadastill dont get why the19:01
gobbeso that is bash and you run adduser and new user comes with sh?19:01
dominicdinadaServer is not running19:01
SAM____can anyone tell me if this is correct config for bind please? http://paste.ubuntu.com/559133/ my website is not resolving www.unrealkillers.com but resolves unrealkillers.com19:02
gobbeSAM____: stop repeating19:02
gobbeSAM____: i told you earlier that it is not19:02
dominicdinadai compaired all the server configs to a Fresh install and all the configurations are identical in apache2.conf/php.ini   sites-enabled etc19:02
SAM____which config isnt correct19:02
SAM____bc i looked at the config with the howto and i cant see my mistake19:03
gobbeSAM____: and i gave you link to howto19:03
dominicdinadaEVERYTHING yet when i go to the address it sends the html file and a download :(19:03
gobbeSAM____: well, it's not even close to what it shows in howto19:03
gobbeSAM____: start from the line "Also, create an A record for ns.example.com the name server in this example: "19:03
gobbeSAM____: there's short example19:04
dominicdinada !upstart19:05
ubottuUpstart is meant to replace the old Sys V Init system with an event-driven init model.  For more information please see: http://upstart.ubuntu.com/19:05
gobbeSAM____: there's also command named-checkzone to help you19:06
SAM____yeah when i run that it says no config errors...19:06
SAM____No errors were found in the BIND configuration file /etc/bind/named.conf or referenced zone files.19:07
gobbezone unrealkillers.com/IN: loading from master file testi failed: bad dotted quad19:08
gobbezone unrealkillers.com/IN: not loaded due to errors.19:08
SpamapShrm.. why does mysql use .files instead of .install files.. :-/19:08
gobbeyou run named-checkconf19:08
gobbenot checkzone19:08
slicslakgobbe, that's correct.  I found it though, I use useradd, and it's config file is at /etc/default/useradd19:16
gobbeslicslak: ok :)19:17
gobbeslicslak: that's why i asked it :-)19:17
slicslakobviously i should have just rtfm'd to begin w/  ;)19:17
chovynzhow do I find out what sort of php and apache my server is running? What's the command from terminal19:29
chovynzsort = version19:29
gobbephp --version19:40
thesheff17what is the name of the xserver ubuntu irc chat room?19:40
gobbeor just check from apt-cache show <package>19:40
chovynzdid I do a bad thing by writing apt-get upgrade php?19:41
gobbeit upgrades php-package19:41
chovynzhmm19:42
chovynzseems to be doing more than just updating php19:42
gobbehmmh19:42
chovynzeg Unpacking replacement libk5crypto3 ...19:43
chovynzPreparing to replace libgssapi-krb5-2 1.8.1+dfsg-5 (using .../libgssapi-krb5-2_1.8.1+dfsg-5ubuntu0.2_i386.deb) ...19:43
gobbetrue19:43
gobbeit upgrades everything19:43
chovynzuh.. ok. oops?19:43
SAM___can someone help me restrict recursive DNS server please19:47
RoyKchovynz: imho upgrading should be done for all packages, regularly19:47
gobbeyep19:47
slicslakok, this is wierd.  i added the group web with groupadd, and it is showing in /etc/group w/ id 100019:48
slicslakwhen I chgrp web foo however, the group ownership remains as 409619:49
chovynzRoyK: I agreed, however I only installed the server 3 days ago19:50
chovynzso what would the command be to upgrade php only?19:51
RoyKjust upgrade everything - apt-get update && apt-get dist-upgrade19:52
gobbechovynz: if you installed it from cd it includes old packages19:52
chovynzoh well it is done now anyway19:52
chovynzok, so, I need a little help here. I'm trying to setup my own home mediawiki. I'm logged in remotely. What are the tools I need to make, "making tools"and adminstering mysql, php and other things on my server? I'm used to GUI, so this is new territory for me in Command line.19:57
chovynzi.e. I want to make new tables and fields in mysql19:58
chovynzhow would I go about it in Command line?19:58
dominicdinadagobbe: i noticed in my envars files there is alot missing from the envars on the server20:00
dominicdinadagobbe: for instance the run, and lock dirs20:01
dominicdinadaexport APACHE_RUN_DIR=/var/run/apache2$SUFFIX20:01
chovynzI know reboot-fu!20:03
chovynzsoon my server-fu will be strong20:03
SAM___can someone help me restrict recursive DNS please20:08
yann2hello - I am thinking of using lsyncd on a very large folder (maybe 100k subfolders). I understand lsyncd uses inotify, and uses one inotify watch per directory. I understand I would need to edit /proc/sys/fs/inotify/max_user_watches  ? Would it be reasonnable to set if very high - what kind of performance hit should I expect?20:14
SAM___can someone help me restrict recursive DNS please20:33
FidelixHey guys. My server's nameserver resolution is incredibly slow. It's taking 18 seconds!20:34
SAM___fidelix have u setup restriced dns?20:36
SAM___non recursive20:36
chovynzany clues on how to log everything that happens on my server?20:36
FidelixSAM___, what is that?20:36
gobbeSAM___: you are repeating your lines everytime, while waiting someone to help it would be nice to use google or browse forums (because for example to this case, there is howto)20:37
hallynSpamapS: i gather based on other examples that if i source a file in a pre-start script section of an upstart job, that any environment taken from that will remain when actually starting the job?20:48
SpamapShallyn: should yes20:48
SpamapShallyn: note that this is frowned upon because it slows the boot20:48
hallynSpamapS: perhaps then it would be worth installing /etc/default/libvirt-bin.disabled with the package, so that '[-r /etc/default/libvirt-bin && . /etc/default/libvirt-bin ] goes faster in the common case20:51
hallynBut I'm leaving that to someone else20:51
SpamapShallyn: just the stat is slow20:53
SpamapShallyn: for libvirt-bin , you have to do it20:53
SpamapShallyn: actually,  you shouldn't be adding *new* default files20:53
SpamapShallyn: but if an upstart job was converted from an init.d script, you need to keep sourcing the file to pick up config changes.20:54
SpamapShallyn: I had this discussion w/ slangasek yesterday.. there needs to be a clear policy about this.20:54
dominicdinadaSpamapS: ugh quick dumb question20:54
hallynSpamapS: yes, and we don't care about a 'slow' stat when starting libvirt-bin.  it won't slow down other things20:55
SpamapShallyn: the issue is trying to keep the hard disk head from flying around the disk statting files.20:56
dominicdinadaPici: ok no permissions on files, or the www-data user but i gave ownership of a few files to www-data and now it will run but i never changed the primary user / editor user settings from running files20:56
SpamapShallyn: one idea is to have a postinst helper that will convert values in /etc/default files into env's in the upstart job file.20:57
hallynSpamapS: another idea is to define a nice event that says 'now boot-uncrucial services can start'20:58
hallynSpamapS: waht i don't like about your idea is that it makes us all the more different from other distros20:58
SpamapShallyn: that is defined, its 'runlevel 2'20:58
SpamapShallyn: /etc/default files are deprecated .. so we're already more different.20:59
hallynSpamapS: ok, libvirt-bin starts on runlevel 2.20:59
hallyndude.  depracated in favor of what, custom upstart jobs?21:00
hallynthat's going to kill us in awhile with upgrades21:00
SpamapSright, hence the idea that we would deprecate the config file by sucking it into the upstart job21:00
SpamapSThe feeling is that upstart jobs are simple enough that merging won't be a problem.21:01
hallynhold on a sec, i need to find a quotes file to paste that into21:01
SpamapSHaha yeah I don't exactly agree with it.21:02
SpamapSSome of them are extremely complex21:02
hallynanyway, i'd have the fix for the libvirt one proposed by now but bzr co is taking FOREVER21:02
SpamapSthe other thought is the override files will be a good place for this, but thats vapor ware until its finished.21:02
SpamapSbzr co ? I always use bzr branch21:03
hallyni thought the only difference was one stayed bound21:05
SpamapSdunno21:05
robbiewsmoser: so do we want the aws guys opening bugs for issues they have?21:07
robbiewseems like it would make more sense in terms of working the issue21:08
smoseryeah.  ben and one of the other guys have launchpad ids21:09
RoAkSoAxkirkland: howdy! one quick powernap doubt. The script to reduce the frequency should default to "performance" when in full power (instead of "ondemand"), or should we keep it as is?21:13
RoAkSoAxkirkland: cause to really make useof the script it would have to be a combination of performance/powersave, though the user could manually edit the script to define that21:14
sorenSpamapS, hallyn: Yes, the difference between co and branch is whether or not it's bound or not afterwards.21:17
=== RudyValencia is now known as RudyValenciaMobi
=== RudyValenciaMobi is now known as RudyValencia
SpamapSsoren: bound to what?21:21
sorenSpamapS: The place from whence you checked it out.21:21
sorenSpamapS: Basically, before you commit, it makes sure that you're up-to-date with the remote branch, and your commit gets pushed to the remove immediately, too.21:22
SpamapSAH21:22
SpamapSso its centralized vs. distributed with co21:22
sorenYeah.21:22
SpamapSboooo ;)21:22
SpamapSno wonder I was confusing Daviey21:22
SpamapSwith my merge's in my pushes21:23
kirklandRoAkSoAx: i think powernap should record the cpu governor state before changing it21:23
kirklandRoAkSoAx: and then set it back to whatever it was before21:24
kirklandRoAkSoAx: so that if someone choose to pin their cpu on any one of performance|ondemand|powersave|conservative21:24
kirklandRoAkSoAx: and we force it to powersave21:24
kirklandRoAkSoAx: when powernap puts the machine asleep21:24
sorenSpamapS: Sorry, my explanation wasn't entirely technically accurate. On commit, it gets pushed to the remote first, actually. Only if that succeeds does you commit get applied locally.21:24
RoAkSoAxkirkland: ok, I was thinking of that too. Where should we record it though?21:24
kirklandRoAkSoAx: when we wake it up, we should set it to whatever it was before21:24
kirklandRoAkSoAx: hmmm21:25
kirklandRoAkSoAx: let me check the FHS21:25
sorenSpamapS: So you can't commit stuff that ends up not being pushable.21:25
kirklandRoAkSoAx: but i'm thinking /var/lib/powernap or /var/tmp/powernap21:25
kirklandRoAkSoAx: /var/run/powernap21:26
RoAkSoAxkirkland: if we change the governor, and we reboot, the changes are kept, or are they rolled back to original?21:26
SpamapSsoren: Cool. I just never saw bzr as a centralized system, even though I know its useful for that too. :)21:26
kirklandRoAkSoAx: well ... /var/run is cleared on boot21:26
kirklandRoAkSoAx: /var/lib and /var/tmp are not21:26
kirklandRoAkSoAx: i'm thinking that's not a setting that one would expect to persist across boots21:27
sorenSpamapS: It's useful in a couple of cases.21:27
SpamapSHaha, I just noticed this.. mysql supports the ultimate hippie language..21:27
SpamapS0000000000539e20 g    DO .data00000000000000b0  Base        my_charset_utf32_esperanto_uca_ci21:27
kirklandRoAkSoAx: so i think it's safe in /var/run/powernap/cpu_governor.saved21:27
RoAkSoAxkirkland: gonna try that now. If it persists then, I'll save it in /var/lib, if it doesn not persist, then /var/run should be enough21:28
SpamapSsoren: the best example for usefulness I can think of off the top of my head is what we were doing at the recent sprint/rally .. 3 people all working on a branch feverishly.21:28
sorenSpamapS: One is the case where people are used to this workflow and want an easy migration path to bzr.. But really, I think most people use it to avoid the case where they pull, fix up conflicts or whatnot, commit, and find someone else committed in the mean time.21:28
sorenSpamapS: ...and then have to uncommit and fix or merge and push.21:29
sorenSpamapS: Yes, that's exactly the sort of case, where it's useful. Lots of time can be saved. I used to do it for our Eucalyptus packaging branch.21:29
kirklandRoAkSoAx: cool21:33
hallynjdstrand: do you have an opinion on bug 708172?21:34
uvirtbotLaunchpad bug 708172 in libvirt "service libvirt-bin start does not set KRB5_KTNAME as required" [Medium,Triaged] https://launchpad.net/bugs/70817221:35
* hallyn biab21:36
hallynkirkland: ^ you wrote the upstart job and your comment implies you really wanted it like that, so please feel free to comment the bug nacking the fix (and marking  bug as invalid/won'tfix :)21:37
dominicdinadafinally got it !!!!!21:38
kirklandhallyn: looking ....21:38
SpamapShallyn: good to know that lucid does in fact install the upstart job.. so it only breaks hardy -> lucid then21:38
SpamapShallyn: I don't think a comment in an upstart job is enough of a warning though. :p21:39
hallynSpamapS: but it's not up to libvirt to give the loud warning, then21:41
kirklandhallyn: looking at http://bazaar.launchpad.net/~serge-hallyn/ubuntu/natty/libvirt/upstart-include-default/revision/112 ...21:41
jdstrandhallyn: for lucid it feels like you should update the upstart job21:42
hallynso if we feel that, systemically, we don't want to include /etc/default, then it is wrong-headed to demand packages warn about it21:42
jdstrandhallyn: however for natty that should probably be handled better-- ie with /etc/default/libvirt-bin removed21:42
hallynjdstrand: that makes sense.  and maverick, same as lucid?21:43
uvirtbotNew bug: #635188 in cloud-init (main) "installing cloud-init on a non-ec2/UEC server results in a 20 minute boot wait" [Low,Fix released] https://launchpad.net/bugs/63518821:43
jdstrandhallyn: ideally, yes21:43
kirklandSpamapS: okay, update me on upstart-ness ... what's the current recommendation on /etc/default/* settings?21:44
hallynall right, thanks.  so first i'll push natty fix removing the /etc/default file.  Then when that's fix releases i'll sru a fix to include the /etc/default file.  but...  does that mean that upgrade of libvirt in natty has to warn about existing /etc/default file?21:44
hallyncause that gets ugly21:44
kirklandSpamapS: hallyn: fwiw, when I added that comment about "just update the exec line here", I copied that verbatim from the /etc/init/ssh.conf upstart script21:44
hallynkirkland: ah :)21:44
jdstrandkirkland: SpamapS may know better these days, but I can say that upstart is suppose to not use things in /etc/default21:44
kirklandSpamapS: hallyn: and I did that following cjwatson and Keybuk's lead21:45
jdstrandkirkland: rather, it was originally intended that way21:45
SpamapSkirkland: the recommendation is that they will slow down the boot a bit by busying the disk system.. and so they should be avoided. However they're clearly necessary.21:45
hallynok, having started up the discussion, i'm afraid now i need to leave for a bit in the middle of it.  biab.  will catch up21:45
SpamapSkirkland: you did the right thing.. there is no consensus.21:46
kirklandi think hallyn just farted in the elevator, and then exited21:46
SpamapSThe reality is that we should have put something in Lucid's release notes, but did not... so we are breaking all kinds of things on upgrade.21:46
jdstrandwell, the reason why they were created was because of dpkg's conffile handling and that sysv initscripts are conffiles, and that sysv initscripts could get out of hand quickly21:46
jdstrandupstart is *supposed* to simply that so you don't need extra configuration outside of the job21:47
jdstrandof course, the job is still a conffile21:47
jdstrandI maintain a package with an upstart job and something in /etc/default, so take all that with a grain of salt :)21:48
jdstrands/simply/simplify/21:48
kirklandokay, well, i'm thoroughly convinced that we have no idea what we want to do with this :-)21:48
SpamapSjdstrand: I actually think the right thing to do is to convert these /etc/default's into env lines in the new upstart job.. and use the same vars in the same places.21:48
SpamapSBut that breaks w/ debian policy which says not to touch conffiles in maintainer scripts. :-/21:48
jdstrandSpamapS: yes, that is what I hope will happen with libvirt21:49
SpamapSAnd if we're going to do that, we really should provide a debhelper tool so people don't have to reinvent it every time.21:49
jdstrandSpamapS: well, putting them in there and adjusting via maintainer scripts are two different things :)21:49
jdstrandbut, I would argue that if people are messing with it that much then perhaps it shouldn't be a conffile at all21:50
SpamapSjdstrand: we can only put the defaults in there during the package conversion. On installation, we should respect the values in the existing config file. I believe actually thats allowed by the debian policy .. if an existing conffile is already modified, we can carry that forward.21:50
jdstrand(ie, there is no sane default-- one of the criteria for making it a conffile)21:50
SpamapSanyway, I also seem to have caught whiff of hallyn's emission and will need to carry on w/ this later too21:50
jdstrandit will be a tricky upgrade path, surely21:51
kirklandjdstrand: SpamapS: hallyn: should we discuss this further, perhaps in a meeting or something?21:51
kirklandi suspect we need to get a policy in place around this21:52
kirklandi personally have been very conflicted about what to do with this21:52
jdstrandit is difficult because we start with Debian's packaging21:52
kirklandi don't really like the smartass comment in line in the upstart job (edit the exec line here)21:52
kirklandbut that's the only route i was given at the time21:52
jdstrandit is a viable route21:53
jdstrandespecially for an LTS21:53
jdstrandtbh, and this may be sacrilege, I wonder a bit why libvirt really needs an upstart job21:53
jdstrand*shrug*21:53
kirklandjdstrand: you mean, you think it would be better as an init script?21:55
jdstrandkirkland: I mean the benefits of having libvirt upstartified are not clear to me21:55
kirklandInquisitor!  Inquisitor!  Please draw and quarter jdstrand immediately!!!!21:55
kirkland:-)21:55
jdstrandheh21:56
jdstrandsome things clearly benefit-- eg you want it to start as early as possible or before networking, etc, etc21:56
kirklandjdstrand: so if the only reason some people are opposed to sourcing those default files is boot speed, then i'm not convinced at all that that's a good reason for server upstart jobs21:57
jdstrandsysv initscripts not being supported is certainly a good reason21:57
jdstrandkirkland: no, that isn't a good reason imho21:57
kirklandjdstrand: agreed21:57
jdstrandnot for libvirt21:57
jdstrandand libvirt can start as late as you want in the boot process too...21:58
jdstrandwho cares?21:58
kirklandjdstrand: and personally, i think we should give people a way to add daemon options by editing a configuration file, without causing dpkg conflicts in a conffile21:58
kirklandie, editing upstart jobs directly21:58
jdstrandkirkland: I tend to agree. and that is exactly why ufw does that21:58
kirklandjdstrand: that goes for libvirt, sshd, and others21:58
jdstrand(though, ufw does it a bit differently)21:59
jdstrandsshd possibly could be argued for21:59
jdstrandsince it is so ubiquitous, but, ehh21:59
jdstrandstill, ufw is in more Ubuntu installs than sshd, and it sources something from /etc/default22:02
kirklandjdstrand: you rebel22:04
kirklandjdstrand: SpamapS: hallyn: i think we should bring a proposal to ubuntu-devel@ and ubuntu-server@ mailing lists22:09
kirklandjdstrand: SpamapS: hallyn: asking for a policy to be agreed upon22:09
b0otI have been searching everywhere for something that can do this: I need a media server that can take a variety of inputs (live video cameras, rtp/rtsp streams, and video files), archive the live video feeds to disk, while also providing a variety of outputs (multicast rtp video feeds for the live streams, and rtp/rtsp video feeds for the archived video/other video files) I also want the ability to do transcoding as the bandwidth in some parts of my networ22:12
b0otk is quite limited, (1.2 Mbs) while in other parts is around 80 Mbs. So I need to be able to transcode easily. And I would like a multi user web based system to control when you would want a stream etc.22:12
b0otAny suggestions?22:12
jdstrandkirkland: I'm not sure what policy would be in place. it seems sort of an individual choice. It does tend to make some sense to have an /etc/default/foo for server items that won't adversely affect boot performance22:21
jdstrandbut let's see what the other guys have to say22:21
JFokirkland, did you happen to have any bugs (that we hadn't yet discussed) for the kernel team list?22:21
kirklandJFo: hmm22:22
kirklandJFo: not that i know of?22:22
JFook, just ping me if you should encounter any :-)22:22
JFothanks bro22:22
kirklandRoAkSoAx: okay, i'm testing powernap now22:26
RoAkSoAxkirkland: cool :). Will finish the script in a bit too22:28
kirklandRoAkSoAx: wow22:28
kirklandRoAkSoAx: this is awesome!22:28
RoAkSoAxkirkland: I assume that it is working great :)22:29
kirklandRoAkSoAx: wol7 monitor -> working great22:29
FidelixHey guys. My server's nameserver resolution is incredibly slow. It's taking 18 seconds!22:29
RoAkSoAxkirkland: cool!! I think we should make powerwake support port 9 too!22:30
kirklandRoAkSoAx: wol9 monitor -> working great22:30
kirklandRoAkSoAx: ptmx monitor -> working great :-)22:30
RoAkSoAxkirkland: :)22:32
kirklandRoAkSoAx: dude, we are cooking22:34
kirklandRoAkSoAx: powernap is finally getting to what i've always wanted it to be :-)22:34
kirklandRoAkSoAx: you da man22:34
RoAkSoAxkirkland: I'm glad you like it!! it is indeed pretty cool!22:36
kirklandRoAkSoAx: i'm releasing this as is now22:37
kirklandRoAkSoAx: keep on trucking, but i'm ready to see this in natty!22:37
RoAkSoAxkirkland: cool!!22:38
Brdavs!23:04
Brdavslxc seriously stinls23:04
Brdavsstinks23:04
hallynpooh pooh23:04
binaryhatwhen i do 'sudo restart nmbd23:05
binaryhat' i get sudo restart nmbd23:05
binaryhatcrap23:05
binaryhatrestart: Job failed to start23:06
Brdavswhad did you expect to get?23:06
Brdavsah23:06
binaryhatto start23:06
binaryhatso why no nmbd?23:07
Brdavsif anyone is interested - I have narrowed down 3 packages that screwe up 10.4 lxc container when upgraded23:07
Brdavsis nmbd upstream? Can you do "restart smbd" when you are logged in as root?23:08
yann2binaryhat, logs?23:08
hallynBrdavs: which packages? If you use the newest lxc from my ppa, i would hope those would be innocuous now.23:09
binaryhatmy share is accessible by ip but not name yann223:09
hallyn(but, drat, can't really chat right now, sorry)23:09
Brdavshallyn: Well, I use 10.10 stock lxc.23:10
binaryhatyann2, it was accessible b4 i rebooted23:10
BrdavsAnd lxc-ubuntu script seems to work, but when I apt-get upgrade23:10
binaryhatanyone23:13
Brdavshallyn: The packages udev, mountall and ifupdown break lxc container23:13
Brdavsbinaryhat: can you "restart nmbd" when you are loggged in as root23:13
binaryhatNope23:14
Brdavswell, then it's not an upstream job.23:14
binaryhatstart: Job failed to start23:14
Brdavsbinaryhat: do this23:14
Brdavssudo /etc/init.d/nmbd restart23:14
RoAkSoAxki/win 223:15
RoAkSoAxjeeeeeeeeeez again for the 10000000000000 time23:15
binaryhatBrdavs, ather than invoking init scripts through /etc/init.d, use the service(8)23:16
binaryhatutility, e.g. service nmbd restart23:16
binaryhatSince the script you are attempting to invoke has been converted to an23:16
binaryhatUpstart job, you may also use the restart(8) utility, e.g. restart nmbd23:16
binaryhatsudo service nmbd restart fails too23:17
Brdavsbinaryhat: well, then it might be misconfigured or something...23:17
binaryhatwhat is?23:18
Brdavsbinaryhat: nmbd daemon23:20
Brdavsbinaryhat: is it perhaps running, have you started it23:20
binaryhatsuggestions for fixing it?23:20
Brdavsbinaryhat: Have you started it "by hand"23:21
binaryhatBrdavs, its not running in ps ax23:22
BrdavsHow about "netstat -na"23:23
Brdavsor netstat -na | grep nmbd23:23
binaryhatnothing23:24
Brdavsbinaryhat: I am at aloss now23:24
Brdavstry to run it by hand23:24
Brdavssee if it complains23:25
binaryhatsyntax?23:25
binaryhatsyntax? Brdavs23:26
Brdavs/usr/sbin/nmbd23:28
BrdavsHad to look it up on one of my servers23:28
binaryhatweird23:29
binaryhatthat worked23:29
binaryhatso the job is messed up??23:30
Brdavsbinaryhat: Did you play with any init scripts? Seems like somethin's fishy there23:32
binaryhatBrdavs, never touch it23:34
SpamapSkirkland: re "i think we should give people a way to add daemon options by editing a configuration file, without causing dpkg conflicts in a conffile" ... upstream agrees, and that feature may land in natty23:34
SpamapSjdstrand: ^^23:34
SpamapShallyn: ^^23:34
Brdavsbinaryhat: wierd then23:36
jdstrandcool23:36
binaryhatBrdavs, should i fpaste  /etc/init.d/nmbd ?23:36
kirklandSpamapS: sweet23:36
Brdavsbinaryhat: what's fpasting23:36
binaryhaterr pastebin23:37
SpamapSkirkland: there's also a way to do it now without violating either principle, but its a bit hacky. :)23:37
SpamapSkirkland: basically you'd just export it in rc's starting event23:39
SpamapSala BSD style init.. /etc/rc.conf23:39
binaryhatBrdavs, pastebin23:39
* RoAkSoAx keen to breaking my system today!! Upgrading to natty in my main laptop (finally)23:41
SpamapSRoAkSoAx: ^5, welcome to QA :)23:42
RoAkSoAxSpamapS: hehe i usually upgrade after alpha2 but with unity I guess things will be worse23:43
binaryhatBrdavs, in nmbd.conf i have 'start on (local-filesystems and net-device-up IFACE!=lo)'23:45
Brdavsbinaryhat: sorry... kinda buissy here with my LXC anomalies.23:45
BrdavsUbuntu server is going nowhere fast.23:46
binaryhatBrdavs, http://www.mail-archive.com/ubuntu-server-bugs@lists.ubuntu.com/msg34900.html23:47
RoAkSoAxSpamapS: anything broken that I should be aware of before hitting the button?23:50
SpamapSRoAkSoAx: I have not updated since word of an X upgrade hit 3 days ago23:53
SpamapSRoAkSoAx: but that may be resolved by now, not sure23:54
RoAkSoAxSpamapS: uhmmmmmm yeah maybe or maybenot... I'm gonna try in another laptop then lol!!23:54

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