/srv/irclogs.ubuntu.com/2011/07/28/#ubuntu-server.txt

minashokryhello guys, I have subdomain.domain.com and svn running on http://www.domain.com/svn, the subdomain is being redirected to another service with mod_proxy like "ProxyPass / http://localhost:xxxx" now, when I try to access the svn I see the request is sent to this other service and I get 404 error. any help?00:00
zroyschcan I not mount and use a mdadm raid1 drive partition when the other drive failed?00:04
SpamapSyou can00:08
SpamapSzroysch: you should have received a warning on bootup that the array was degraded00:09
zroyschSpamapS: server has yet to be rebooted. i was actually alerted of it with the md email telling me the one drive has been removed from the array and marked faulty00:09
SpamapSzroysch: that shouldn't prevent you from using it.00:14
zroyschwell here's what it's looking like md0 : active raid1 sdb[1] sda[2](F)00:15
zroysch      1953514496 blocks [2/1] [_U]00:15
zroyschsdb still apparently ok00:15
SpamapSYeah, thats a degraded array00:16
SpamapSit should still be working00:16
zroyschthe scary/weird thing is sda and sdb dont even show up in fdisk -l anymore00:16
zroyschsudo mdadm -E /dev/sdb00:17
zroyschmdadm: No md superblock detected on /dev/sdb00:17
zroyschah got something with sudo mdadm --detail /dev/md000:18
zroyschhttp://pastebin.com/26T0xh4M00:19
SpamapSzroysch: shouldn't be anything scary at all.. you have backups right?00:19
zroyschnope00:20
SpamapSmany have made this mistake, so do not feel bad baout it. RAID is not a backup solution. :)00:21
zroyschi already know this00:21
zroyschlost data a few months ago on a raid5 failure00:21
zroyschi have more hard drive failures than anyone i know00:21
zroyschi really don't know how or why00:21
zroyschpissing me off00:21
SpamapSHard drives were made to fail00:22
DavieySpamapS: you are buying the wrong brand then :)00:22
SpamapSDaviey: my brother in mac hardware arms.. any ideas on how to get Natty onto a mac book air? ;)00:23
SpamapSIts failing miserably for me at the moment. :(00:23
Davieyfunny you say that00:23
SpamapSAbout to d/l vmware fusion00:23
Davieyhttps://help.ubuntu.com/community/MacBookAir :)00:24
SpamapSno00:24
SpamapSthats useless00:24
Davieybah00:24
DavieySpamapS: you have a new laptop then?00:24
SpamapSYeah00:24
Davieypass.. i had to spin my own iso with my kernel patch to get Maverick on this one.. :)00:25
SpamapSthats what I'm afraid of00:25
SpamapSwhy can't anything be easy?00:25
SpamapS>:00:25
Davieylife is a ...00:25
SpamapSwhen you look at it00:25
* SpamapS heads off to run errands "IRL"00:26
* Daviey heads to bed.00:26
Davieynn peeps00:26
T3rmI've a small issue, I changed my default gateway, the route is correct, however, traffic is still going to the old default gateway. >.<00:29
=== medberry is now known as med_out
DavieyT3rm: renew your dhcp lease or change your /etc/network/interfaces gateway00:30
T3rmwell, it's statically defined.00:31
Davieyi assume you are using a different IP address, as your arp table might also need blating.00:31
* Daviey really heads out of the door now. nn00:32
T3rmHow would I restart all of that without a reboot?00:32
qman__new connections should use the new gateway00:39
qman__while persisting ones should use the old one00:39
qman__if new connections are not using the new gateway, the setting hasn't stuck or been done right00:39
qman__there's no way to change persisting connections over, they must be closed and reopened00:39
qman__so each program which has such a connection will need to reconnect or restart00:39
T3rmaha00:49
T3rmNext question... I'm a noob with sendmail, what quick commands can I use to delete mail from a particular sender email?00:50
uvirtbotNew bug: #817283 in open-vm-tools (multiverse) "package open-vm-dkms 2011.03.28-387002-0ubuntu1.1 failed to install/upgrade: open-vm-tools kernel module failed to build" [Undecided,New] https://launchpad.net/bugs/81728301:12
DanaGhmm, I'm pondering removing that Intel nic, after all.01:41
DanaGAny of you have lots of experience with Intel and Broadcom NICs, to know if there's any real worthwhile difference between Broadcom 5723 and this Intel?01:42
DanaGlemme' dig up link.01:42
DanaGhttp://www.newegg.com/Product/Product.aspx?Item=N82E16833106033&Tpk=intel%20nic%20expi9301ctblk01:44
DanaGIf anything, powertop shows just slightly higher wakeups with the Intel.01:46
DanaGokay, for now I'm leaving the Intel in place.01:57
hellonewis there anyone working on xen virtualization?02:17
hellonewreally need some guide in ubuntu 10.4 para-virtalization02:17
DanaGheh, about the only thing I can think of putting in that PCIe slot, is a serial card.02:19
hellonewI have tried many appraoches, it still doesn't wok02:20
hellonewtried to upgrade from 8.04 to 10.04, install an compiled xen domU kernel and modules then replace that in an HVM ubuntu, all doesn't work02:20
hellonewno one answer....02:27
hellonewOh,,, nopes02:27
DanaGhar, this usb3.0 card has a SATA power connector:02:34
DanaGhttp://www.newegg.com/Product/ImageGallery.aspx?CurImage=15-644-001-02.jpg&Image=15-644-001-02.jpg&S7ImageFlag=0&WaterMark=0&Item=N82E16815644001&Depa=0&Description=HP%20USB%203.0%20SuperSpeed%20PCIe%20x1%20Card%20Model%20BM867AA02:34
DanaGRandom and somewhat off-topic, but still nifty.02:34
hellonewnewegg....02:45
helloneweggache02:47
SpamapSlifeless: so, the Oneiric version of the lxc tools and templates is far superior to the natty version.. its taking a lot less time to create/start containers on oneiric...04:07
lifelessSpamapS: yeah, serge + upstream == win04:52
SpamapSlifeless: unfortunately, cloud-init is broken in natty, and pretty much everything is broken in oneiric.. so spawning containers that can be booted w/ cloud-init data is proving.. tricky04:54
SpamapSI'm toying with converting the cloud-init stuff to rc.local04:55
=== skrewler_ is now known as skrewler
Tommy_nmwhello everybody07:01
Tommy_nmwhi07:05
trapmax_is it safe to edit olcDatabase\=\{1\}hdb.ldif while slapd is running? i need to add some not indexed olcDbIndex -parameters07:06
=== tristanseifert is now known as ts|zzz
=== smb` is now known as smb
=== skrewler_ is now known as skrewler
iclebyte-workI run about 20 servers now and I'd like to enable the automatic security updates however I want to be notified of each package before it's installed. My idea is to run a local apt-repo and then having a staging repo which comes from the live one. However I want to manually 'sign off' on packages for promotion into the local repo from the staging one. I can then point all servers to the main local cache. Are any tools avail09:06
iclebyte-workable to do this? I don't want to write it myself if it's already been done!09:06
blinkizHello. Where can I get help about failover with ISC DHCP?11:11
blinkizIt seems like the failover is not true failover. If one of two server goes down, after a couple of hours, the server that is working will start to complain about "peer holds all free leases". It should know that the other server is down and it can use all available IP addresses11:13
cwillu_at_workI don't suppose anyone has noticed if a recent update slightly broke samba?12:02
zulwha?12:05
* cwillu_at_work would like to be more specific, but hasn't narrowed it down yet beyond "word 2003 won't save new files" and some unsuccessful-looking messages in /var/log/samba/log.winbindd-idmap12:05
cwillu_at_worklots of http://pastebin.com/QAWjthU712:07
cwillu_at_work(smb.conf hasn't changed in months, this only started a couple days ago)12:08
pmatuliscwillu_at_work: what version of samba are you running?12:17
twbSo what *did* change a couple of days ago?12:17
cwillu_at_workpmatulis, whatever is in lucid12:17
cwillu_at_worktwb, I installed updates :p12:18
pmatuliscwillu_at_work: look at the changelog12:18
cwillu_at_worknothing is jumping out at me12:18
cwillu_at_workhence my asking12:18
glycoknobhi12:43
glycoknobI'm fighting with a strange bug in 10.4 lts server.12:44
glycoknobapt-get / lograte / grpconv all have permissions set to 000 after doing a apt-get dist-upgrade12:44
glycoknobI suspect webmin-virtualmin packages but I'm not sure. There has to be a bug in some post-install script12:45
greppyglycoknob: I think that may be one reason that webmin isn't really supported on ubuntu.12:46
PiciOr on Debian.12:46
glycoknobso the bug is known and related to webmin? I'm really not sure, this apparead just now after upting apt, logrotate and webmin. So I'm not sure wether it is webmin12:47
greppynot saying it's known, just that webmin isn't really supported due to some of the things it does to permissions and the contents of config files.12:47
glycoknobok. I'd like to sort that bug out. Where can I look? It must appear in the post-install scripts of the packages? What else could create permissions 0000 after updating?12:49
glycoknobok I can reproce this: apt-get --reinstall apt12:50
glycoknobafter doing this:12:50
glycoknobls -al /usr/bin/apt-get12:50
glycoknob---------- 1 root root 122640 2011-07-13 13:11 /usr/bin/apt-get12:50
Ursinhabom dia amiguinhos13:03
=== kooolhead11|afk is now known as kooolhead11
* cwillu_at_work blames a windows update13:50
pyasihas anyone successully upgrade a 6.06 server to 8.04 after the EOL date?  I'm getting errors about prerequisites missing running do-release-upgrade.13:59
patdk-wk yep13:59
patdk-wkit's cause the 6.06 branch doesn't exist anymore, do-release-upgrade doesn't work13:59
pyasiI am using the old-release.subuntu.com as the URL in my sources.list14:00
pyasier. old-releases.ubuntu.com14:00
patdk-wkI have never done that14:00
patdk-wkbut to upgrade, I just edit sources to what I want, 8.04 in this case14:01
patdk-wkand to an upgrade, dist-upgrade14:01
patdk-wknormally works without any issues14:01
patdk-wkon my friends though he had an issue, but easy enough to fix14:01
patdk-wkdefently not the recommended upgrade method14:01
CrazyGirpyasi: how has that server gone so long without an update?14:01
pyasiit's only a month after the EOL for 6.0614:02
CrazyGirso14:02
patdk-wkI normally start planning upgrades after 3years, so 2years before EOL14:02
CrazyGirexactly14:02
CrazyGireg, not waiting until the last minute14:03
patdk-wk1.6years till planned upgrade to 12.04 :)14:03
pyasiI would have rather upgraded it earlier too, but there was a business reason that was out of my hand to keep it the way it was, in any case I thought do-release-upgrade should work14:04
patdk-wknope, never has for me, on the machines I forgot about14:04
patdk-wkthose rarely touched machines that just do their job you never look at :)14:05
patdk-wkmainly cause they where installed with non-lts for some reason, so needed more constant updating14:05
patdk-wkbut so far, just changing the source.list file and doing an update worked pretty good14:06
pyasiok, i'll try the sources file, I can go right from dapper to hardy, not have to do gutsy, feisty in order?14:06
oCeanpyasi: I think it is archive.ubuntu.com14:06
patdk-wkgutsy and feisty haven't existed for a long time14:07
oCeanpyasi: https://help.ubuntu.com/community/EOLUpgrades/Dapper14:07
patdk-wkoh nice :)14:07
pyasioCean, those instructions don't work anymore, 6.06 is not on archive.ubuntu.com now14:07
oCeanpyasi: the packages are there14:11
pyasibut dapper isn't there afaik14:12
oCeanpyasi: oh wait, right14:12
oCeanbut at old-releases they are?14:12
oCeanso it seems14:12
CrazyGirpyasi: could you not just build a new system and migrate services?14:15
CrazyGirwouldn't that make more sense?14:15
CrazyGirI definitely don't know what other constraints you have going on14:16
CrazyGirbut that seems to be a more sensible option14:16
shanhello! I have a ubuntu 8.04 lts server with Raid1 with 2 x 250GB Sata HDD14:38
shanI have ltsp server also running on it.14:38
shanAll of a sudden today, the users were not able to log into the server through the terminals.14:39
shanI rebooted the server and while rebooting the server said ext3: no journal on filesystem on md214:40
shanany idea as to how I could resolve this situation?14:41
davroswhy is server being a pain, somehow KDE was installed cant boot from usb anymore i wanna redo the install ugh14:42
shanany one who could help me out with pointers to the server booting problem? It would be great!14:44
SpamapSshan: are you booting into a recovery console then?14:46
smoserUrsinha, is http://people.canonical.com/~ursula/server/triage-report/ the right location for that report now?14:47
shanspamaps: yes, it says it that there is some error in the filesystem and to run fsck manually.14:48
Ursinhahi smoser! I managed to add it in http://status.qa.ubuntu.com/reports/ubuntu-server/triage-report.html14:48
Ursinhamore obvious to everyone :)14:48
shanI did that too..14:48
shanbut still the problem persists14:49
Ursinhasmoser: it's update every 10 minutes, so it's pretty fresh14:49
SpamapSshan: are you certain your RAID is running ok? maybe look in /proc/mdstat14:49
Ursinhaupdated, even14:49
UrsinhaDaviey: hola14:49
shanI did that and it says all the drives are working.14:49
smoserUrsinha, cool. i have http://ubuntu-server-new-bugs.notlong.com pointing to it. had to update that.14:50
shanfor all the partitions it says active and [ _U]14:50
shanI guess it would be a F if the partition had failed?14:51
jpdsshan: No, it's _ if it failed.14:51
Ursinhaah, sorry smoser, I'm working on setting things up yet14:51
shanjpds: so what does the U stand for?14:52
shanand its says active for all the partitions?14:52
jpdsshan: And it's drives it's showing, not partitions.14:52
shanok14:52
shanmd2:active raid1 sdb6[1]14:53
guhcamposIs there a big difference between the KVM versions from Kernel 2.6.32 to 2.6.38? I plan to deploy a virtual host and I can't decide between CentOS 6 and Ubuntu 11.0414:53
smoserUrsinha, ah. i see. we're set now. http://ubuntu-server-new-bugs.notlong.com -> http://status.qa.ubuntu.com/reports/ubuntu-server/triage-report.html14:53
shan29294400 blocks [2/1] [ _U]14:53
smoserthere isnt as much need for my link as there was before as yours has tokens in its path that my awesome bar will find.14:53
shanthis is a sample of what I get when I do a cat /proc/mdstat14:54
DavieyUrsinha: hola14:55
shanmd2:active raid1 sdb6[1]14:56
shan29294400 blocks [2/1] [ _U]14:56
shanjpds: ?14:57
shanspamaps: ?14:57
shanunused devices: <none>14:58
PrickelPitshan, whats so difficult? just read...your raid has a defect. your md2 raid1 is missing the second partition amongst /dev/sdb6.14:59
jpdsshan: You have a dead drive, go and replace it?14:59
shanok, thanks for the help guys!15:01
SpamapSto be clear though, that shouldn't cause FS corruption15:01
SpamapSso you should also consider verifying your data integrity against backups if at all possible15:02
shanok15:02
jo-erlendI have an mdadm raid5 array with lvm partitions on it. I would like to mount these on a blank system. How do I do that?15:03
jo-erlendI thought it should be sufficient to use mdadm --assemble --scan and then just mount the partitions as usual, but only md0 shows up in /dev and md1 contains my data.15:04
smoserzul, does the 'apache -v' output at https://bugs.launchpad.net/ubuntu/+source/apache2/+bug/815865 make sense to you?15:14
uvirtbotLaunchpad bug 815865 in apache2 "Cookie variable in Apache LogFormat outputs incorrect value" [Medium,Fix released]15:14
zullooking15:14
smoserit reports 2.2.12 but https://launchpad.net/ubuntu/+source/apache2 shows nothing like that...15:14
smoseroh.. i guess he's running karmic?15:14
smoseris there somewhere where i could ssee what versions were in karmic?15:14
jo-erlendsmoser, rmadison15:15
zulsmoser: yeah that looks sane but clint already commented on that bug15:15
smoserverified15:15
smoserhttps://launchpad.net/ubuntu/+source/apache215:15
jo-erlendI wish I could figure out how to mount my partitions. :(15:16
jo-erlendall help appreciated. This is becoming really frustrating.15:16
PrickelPitjo-erlend, lvm2 installed? vgdisplay -v saying anything?15:18
smoserzul, SpamapS was digging same time i was.15:18
zulah15:19
zulok15:19
jo-erlendPrickelPit, it was not. It is now and what lvdisplay shows seems correct. But I still can't find the partitions in  /dev15:20
PrickelPitjo-erlend, reboot.15:20
jo-erlendoh, ok. I'll give it a whirl. :)15:21
DormantOdenHey, I've just setup a raid 5 with 4 disks, but whenever I copy ISO files and exe files over to it they become corrupted. Anyone have any ideas why that might be happening?16:31
=== lau is now known as lrvb
=== lrvb is now known as lau
uvirtbotNew bug: #817606 in lxc (main) "lxc-ps breaks with cgroup-bin" [Medium,Fix committed] https://launchpad.net/bugs/81760616:51
Davieyhallyn: You might want to set bzr whoami ?16:51
hallynDaviey: feh, i had done a bzr launchpad-login...16:58
hallynDaviey: there17:00
hallynzul: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/817606  the tree linked to there, can you push that?  (Or I can upload a debdiff if you prefer)17:00
uvirtbotLaunchpad bug 817606 in lxc "lxc-ps breaks with cgroup-bin" [Medium,Fix committed]17:00
zuldebdiff please17:00
uvirtbotNew bug: #566827 in lxc (main) "[lucid] 0.6.5 cannot umount /var properly if it is on a separate partition - container does not start" [Medium,Fix released] https://launchpad.net/bugs/56682717:01
* hallyn wonders about uvirbot sometimes17:03
hallynzul: http://people.canonical.com/~serge/lxc-fix-lxc-ps.debdiff17:03
=== kooolhead11 is now known as kooolhead11|afk
zulhallyn: done17:06
hallynzul: thx.  now back to the shutdown issue.  Though I'm tempted to wait on that in the hopes that we push the full fix into kernel at the sprint...17:08
zulhallyn: okie dokie17:08
hallynbut yeah, the problem with oneiric is that /var/run is a symlink to /run, and the lxc monitor opens /proc/<init-pid>/root/var/run/utmp, but ends up opening /run/utmp on the host :)17:10
zulewww...couldnt you check to see if the path exists or soemthing17:10
hallynzul: yeah, that's what i'm gonna do - check for /run/utmp first17:13
hallynthe whole process is so hacky from the start that it makes you not want to keep it working :)17:13
zulheh17:14
=== ts|zzz is now known as tristanseifert
uvirtbotNew bug: #817565 in lxc (main) "containers will not shutdown" [High,In progress] https://launchpad.net/bugs/81756517:32
hallynkirkland: man, the hangs on t1.micro - it must just depend on who you're sharing with.  usually i haven't noticed trouble, but today it's horrible17:32
kirklandhallyn: yeah, agreed, me too17:32
kirklandhallyn: today seems really bad17:32
kirklandhallyn: i upgraded to a m1.small to share with iamfuzz earlier17:33
kirklandhallyn: i took byobu out of the equation, and it was the same thing17:33
kirklandhallyn: ssh -t <hostname> screen17:33
hallynSpamapS: so how do i find a list of open high-priority sru-nominated bugs against qemu?  (so i can roll them all into one -proposed push)17:43
hallynzul: http://people.canonical.com/~serge/lxc-fix-shutdown.debdiff  (last one for today :)  this fixes the shutdown hack for me18:02
zuldone18:06
hallynzul: thanks!18:14
hallynnow to send these upstream18:15
zulhallyn: no worries18:19
=== zz_ng_ is now known as ng_
SpamapShallyn: you should ask Ursinha18:42
Ursinhame18:42
Ursinhajust a moment, link on the way18:43
davrosshould i use dynamic dhcp or static dchp for a set up of, modem>server>wirelessrouter>terminals ? giving the wireless router a static ip?19:00
cloakableI'd use static personally19:01
davroseth0 is modem the eth1 to the wireless giving the wireless a static ip19:01
SpamapSadam_g: hey are you here at oscon today?19:04
dkncan i increase the max number of /var/log/auth.log files so i can see even further back in time, or increase the file size limit?19:10
SpamapSdkn: yes look in /etc/logrotate*19:10
dkn@SpamapS thanks19:10
Picidkn: It's in the rsyslog file19:11
Ursinhahallyn: sorry, the nominated report wasn't working due to a lp hiccup, and it's taking a while to be generated, but it's on its way19:31
Ursinhahallyn: it should be here: http://people.canonical.com/~ursula/server/sru-report/sru-accepted.html19:31
Ursinhain a few minutes, I believe19:31
hallynUrsinha: cool, thanks.  Is that going to be regularly generated?19:35
Ursinhahallyn: yes, every ten minutes for the index, and every half an hour for the nominated19:36
hallynUrsinha: awesome!  thanks, that could make a huge difference19:36
hallyn(in getting srus more organized for qemu and libvirt)19:36
Ursinhahallyn: cool, that's nice to know :) anything else you find useful, let me know19:37
hallynUrsinha: though, mind you, i was going based on the url itself.  the page is not yet loading for me19:50
Ursinhahallyn: it's not because it's wrong, but because it's taking long for the script to finish19:51
UrsinhaI'm trying some optimizations here19:51
hallynok19:51
hallynno hurry then :)19:51
=== mendel__ is now known as mendel_
Ursinhahallyn: is qemu-kvm the package you're interested in?19:55
hallynyeah19:55
hallynwell, and libvirt too19:55
Ursinhaok, just checking19:56
Ursinhabecause I check the packages ubuntu-server team is subscribed to19:56
Ursinhaand the only qemu package on the list is qemu-kvm19:56
* hallyn off to take the car in. be back in awhile20:01
robbiewUrsinha: ping20:06
DavieyUrsinha: the next thing we need to do is smoke test SRU's :)20:10
Aisonwhere can I register my own oid for ldap?20:31
=== ng_ is now known as zz_ng_
jorenDoes anyone know how to track down which /dev/sdx device "ata1.00:" is referring to in dmesg?21:11
uvirtbotNew bug: #739815 in nova "euca-authorize and euca-revoke throws unknown error for invalid port range" [Low,Confirmed] https://launchpad.net/bugs/73981522:27

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