=== locust is now known as Guest22937
maxpeddoes anyone use lynx browser? do you know what the blue bar near the bottom of the page is called?02:56
billy_ran_awayI'm trying to setup a replacement for Gmail since they're no longer doing the whole Exchange ActiveSync thing, can anyone recommend anything?02:57
billy_ran_awayI was thinking dovecot and z-push, anyone use those?02:57
holsteinmaxped: did you try http://linux.die.net/man/1/lynx to see if hwat you are looking at is mentioned?02:57
ScottKdovecot works well.  I didn't try it with z-push.02:58
billy_ran_awayScottK: You able to push to iOS?02:59
maxpedholstein: i sure did. i know what is displayed in the bar can be changed via keyboard shortcut, but i cant find it anywhere. thought maybe if i knew exactly what lynx called that bar/area i could google a bit better03:00
ScottKbilly_ran_away: No.  No need to for me.03:05
billy_ran_awayScottK: : )03:06
=== aarcane_ is now known as aarcane
zvm-vlam\Can anyone help with getting a instance running on kvm ontop of Ubuntu to be able to see my tape drives (instance is a Linux Net Backup server)08:04
=== smb` is now known as smb
zvm-vlamIs there anyone alive in here or are you all sleeping??08:17
histozvm-vlam: Haven't played with kvm too much so sorry i'm of no help.08:20
YamakasY2guys I'm figuring out how I shall partition my VM's for servers. Normally I had /boot / /usr/var /tmp and /home seperated but I wonder why I should do this when my Vm already is 30GB in this case without any storage in it08:32
histoYamakasY2: How is the VM 30GB with no storage? What the hell do you ahve installed?08:33
histoI personally wouldn't be worried about partitioning inside of a VM. The Virtual disks are just all stored in one big file on the host08:34
zvm-vlamhow can I assign tape drives to a VM08:34
YamakasY2histo: no just make sure I can't have a lockup08:36
YamakasY2histo: my usr and var are mostly 10GB08:36
YamakasY2I'm figuring out if I shall make them 5 GB08:36
histoYamakasY2: It's your system do what ever you want.08:37
histozvm-vlam: I'd assume it would be the same way as sharing any other devices liek cdrom etc... Tape should be no different08:37
YamakasY2histo: that is kinda simple to say... is that the ubuntu way these days ?08:37
YamakasY2histo: the question is if it's wise08:39
histo!best | YamakasY208:40
ubottuYamakasY2: Usually, there is no single "best" application to perform a given task. It's up to you to choose, depending on your preferences, features you require, and other factors. Do NOT take polls in the channel. If you insist on getting people's opinions, ask BestBot in #ubuntu-bots.08:40
histoYamakasY2: I told you my opinion already which you obviously didn't want to hear. So i'm not sure why you are asking.08:41
YamakasY2histo: I'm not sure why you answering ?08:41
histoYou're worried about non existent lockups08:41
histoDon't run a VM then.08:41
histoRun bare metal with backup or load balancing08:42
YamakasY2histo: huh ? it doesn't have anything todo with a VM... but you want to keep Vm's as small as possible08:42
histoYamakasY2: What lockup are you worried about? I asked why you are creating all these separate partitions and you said you are worried about lockups.08:46
YamakasY2histo: filling up log, some application that decided to store in /usr, etc09:05
histoYamakasY2: So how is putting it on a separate partition going to help solve that issue?09:07
YamakasY2histo: it will not lock up the rest09:15
histoThat application will crash correct?09:15
YamakasY2histo: you never had a failing mailserver because /var/log was full and your queue was not able to spool ?09:15
histoYes but I wouldn't use a 5GB partition for spool09:15
histoYou are the one doing that.09:16
histoYou're creating your own problems. IMO09:16
YamakasY2histo: no I'm thinking about what happens when you do or don't09:17
histoSo what happens when your 5GB spool partition fills?09:22
histoSame result09:22
histoUse quota and other means to fix the issue. Don't put a hardware limitation on the problem. You are putting a bandaid on open heart surgery.09:23
YamakasY2histo: yeah agree, but what would you do for server partition ?09:28
YamakasY2I wonder, one / partition, a /tmp /boot and swap only ?09:31
jamespageyolanda, I saw the ceilometer failure as well; fixed up the backports in the lab so is OK now09:46
jamespageyolanda, I also updated pecan on raring as the package we had fails to install09:47
jamespagebug in the source code09:47
yolandayou are always faster than me :)09:47
jamespageyolanda, I updated the list to include what I did so we can cover it all for the CA09:47
yolandawas it giving a bug? i was normally using that pecan package to install it manually09:47
ruben231hi i have folder ruben23 @ /home and ruben23 also @ /var/www, now the folder on /var/www have new chnages and files added taht needs to be retain, how do i merge this folder into one that the new files added will not be lost any of this server, all will be retained and the same exsiting also09:49
ruben231any idea guys..?09:49
ruben231merging that intelligently will not omit the new files added and also retain teh duplicate09:50
=== acidflash_ is now known as acidflash
=== fire is now known as megha
jotterbot1234Hello guys, has anyone had any experience troubleshooting an AWStats installation?11:39
jamespagerbasak, hows mongodb looking?12:24
rbasakjamespage: I had an idea, but it took hours to build and then it didn't work :-/12:24
rbasakWhat kind of timescale are you hoping to get this fixed in? I would like to keep digging but I don't have an ETA now.12:24
jamespagerbasak, please keep digging; raring would be nice :-)12:25
rbasakIt seems to me that the compiler should dtrt if it can be told that this particular operation could need manual alignment12:25
rbasakAnd it also looks like it is already being told how to do this. It was in a way that I thought wasn't technically correct ("packed" isn't exactly the same thing as "aligned"), but telling it "aligned(1)" didn't seem to help12:26
rbasakI want to reduce this to a test case and then experiment with options and look at the assembly generated12:26
jamespagerbasak, sounds like a good approach12:26
jamespageworking with mongodb on arm is slow...12:26
rbasakAlso "nocheck parallel=4" didn't' work. I've patched debian/rules and submitted a bug12:27
rbasak(to Debian)12:27
jamespageyolanda, hmm - the mongodb sync in the ceilometer packages is not working well for me in the charms12:35
jamespageyolanda, its a packaging issue rather than a charm issue; ceilometer-common does the db sync12:37
jamespagebut does not have a depends on MongoDB12:37
jamespagemaybe we need to re-think that a bit12:37
jamespageI also think that MongoDB should be a suggests12:37
jamespageso that I can deploy mongodb elsewhere12:38
jamespagejust like we do with nova12:38
yolandabut then, we cannot do the sync in the package?12:38
jamespageyolanda, hmm12:39
jamespageyolanda, OK - so I think we have to take the sync out of the packaging - not ideal12:42
jamespageyolanda, also the way the configuration file is being manipulated in the postinst script is not aligned to policy12:42
=== acidflash__ is now known as acidflash
jamespageas it does not take into account fully whether the ceilometer configuration file has actually been changed12:43
lifelessdoesn't ceilometer have the ability to run on postgresql too ?12:43
* jamespage looks12:43
jamespagelifeless, indeed it does - and mysql as well12:44
yolandaand sqlite12:44
jamespageyolanda, in which case the MongoDB stuff has to come out12:44
jamespageits completely not safe12:45
yolandathey have support for several databases12:45
yolandaso i remove the mongo recommends, and the db sync?12:45
yolandauser should have to do it manually?=12:45
jamespageyolanda, all of the other openstack packages default to using sqlite12:45
yolandayes, but due to the nature of data it's better to have mongo12:46
jamespageyolanda, yes - but that is a charm thing, not a packaging thing12:46
jamespageyolanda, sqlite is a 'install and it works option', not a 'install and get huge scale' option12:46
jamespageyolanda, sqlite is not the 'best' option for any of the openstack packages, but its a sane default.12:47
yolandaso we have to depend on sqlite and do the sync using sqlite?12:47
jamespageyolanda, broadley yes12:48
jamespageyolanda, the sync should not happen in ceilometer-common  either12:48
yolandano? where should it be?12:49
jamespageyolanda, it should happen in the agent package that writes to it12:49
yolandaand then, in the charm, we should do the sync for mongo?12:49
jamespageyolanda, actually ignore that comment12:49
yolandawhich one?12:50
jamespagethe bit about not doing it in ceilometer-common12:50
jamespageyolanda, please use cinder-common.postinst as a reference12:50
jamespageyolanda, it broadley does the right things12:51
jamespageyolanda, the charm should reconfigure ceilometer when mongodb is related to it and then do a db-sync12:51
yolandaok, i can work on it12:51
jamespageyolanda, great - ping me when you have a MP - I don't always notice email12:52
jamespagelifeless, thanks for expanding my knowledge of ceilometer12:52
* jamespage is running to catchup12:52
yolandai need a while to finish something with the panels12:55
zetherooI have been spending 2 whole days now trying to get 12.04 to run on a server here ... one of three identical servers ... I performed an install on one of the three a couple weeks ago with no issues ... but now with the second one I am installing for the 5th time now13:13
zetheroobasically no matter how I partition the RAID1 device, after the Ubuntu install completes successfully, the system reboots and then leaves me at "error: no such device" and grub rescue prompt13:15
zetheroothis is a basic install that worked perfect of one server but is not happening on this one!!13:15
guckihi there13:18
Abuhey, i have a problem with latest ubuntu server edition, if i leave it on its own the screen goes black and it stops responding13:18
guckii have eht0 defined as dhcp and eth0:0 as static. whenever the dhcp client (isc-dhcp-client) renews its configuration it removes/ brings down eth0:0. How can I fix this?13:18
guckiAbu: energy saving enabled? :)13:18
Abuwell having hard time figuring that out :D13:19
Abuon default does the ubuntu come with ready configuration?13:20
guckiAbu: sry I don't know... :(13:21
Abuits annoying problem13:23
Abuit locks up in hour or something13:24
Abubut now i have stuff on keyboard so that it presses a button all the time and it has been succesfully on for 6 hours13:24
sorensmoser: What is the current best practice for building customised Ubuntu OpenStack images?13:28
smosersoren, my usual suggestion is http://cloud-images.ubuntu.com13:30
smoserie, i wouldn't recommend it any more than i'd recommend you build your own kernel or glibc. let your distro do it.13:31
sorensmoser: I fire up a bunch of instances. Their average lifetime is 8 minutes.13:31
sorensmoser: 5 of those are spent on installing the exact same stuff. Every time.13:31
sorensmoser: I'm pretty tired of that extra wait.13:31
smoserwell, one thing i've recently been doing which makes that particular pain less painful.13:32
smoseris 'fast_apt' at http://paste.ubuntu.com/5607702/13:33
sorensmoser: Hm.13:33
smoserbut that wont help your network pipe13:34
sorensmoser: Yeah, I guess that might have an impact.13:34
sorensmoser: I don't actually think I'm spending that much time on actual downloads.13:34
sorenIt's quite possible that eatmydata would make a difference.13:35
smoserits a huge impact.13:35
sorenThis is a recent addition to cloud-init, yeah?13:35
smoserbut if you are interested in building your own images, i'd at least suggest that you start with ours.13:35
sorenRight, that was certainly the intent.13:35
smoserwell, thats just a bootcommand that dpkg-dirverts13:35
smoserso its not really cloud-init itself. i just feed that as user-ata13:35
sorenOh, I see what you're saying.13:36
smoserthen, i'd recommend either mounting and chrooting (mount-callback-umount http://bazaar.launchpad.net/~smoser/+junk/backdoor-image/files makes that part easy)13:37
smoseror, since that is sometimes finicky with grub (which i'd love for you to just figure out the issue and get it fixed "right")13:37
smoserthe other way to do it is just to boot a cloud image in kvm 'cloud-localds' and given user-data that preps it the way you want.13:38
sorenWhat I wonder is what sort of cleanup I ought to do after doing that?13:38
smoserwell, you can do 'rm -Rf /var/lib/cloud /var/log/cloud-init*'13:39
sorenI could probably work it out, but if you have a list already, I'd love to have it.13:39
smoserand 'dd if=/dev/zero of=/tmp/zero.img ; rm -f /tmp/zero.img'13:39
smoserbut realistically, cloud-init *should* re-run everything that is needed "per-instance"13:39
smoserand when you boot it for real, it will have a new instance-id.13:40
sorenI'll try the eatmydata thing first. That's a great suggestion.13:40
smoseri think you will be very surprised with how much time storing data takes.13:40
smosersoren, if you have a better suggestion for the zero image thing, i'd love to know.  i know that there should be more high-tech route for that.13:43
sorensmoser: There is one for ext2 images.13:44
sorensmoser: I'm trying to recall its name.13:45
smoseryeah. i think that actually with ext4 and kvm it should be able to poke the 'trim' requests down through virtio into the qcow image13:45
smoseri'm not sure though.13:45
smoserbut at some point.13:45
smoseri think that "should work"13:45
sorensmoser: zerofree13:45
sorensmoser: That's not the one I was thinking of, but it looks to be the same thing.13:46
rbasakI didn't know about zerofree. Thanks soren! I wonder if there's some kind of convergence with fstrim possible here?13:46
smoserhttp://intgat.tigress.co.uk/rmy/uml/index.html says "The utility also works on ext3 or ext4 filesystems. "13:47
rbasak(fstrim works online)13:48
smoserrbasak, but does it correctly poke through to qcow2 disk format?13:49
rbasaksmoser: I doubt it. So I was thinking of some hack. But what would be really nice if it did pass through, and qemu could be configured to dtrt for thinly provisioned stuff and optionally zero out for directly mapped stuff.13:49
smoserrbasak, there has been work done in that area13:50
rbasakThough for cloud image preparation perhaps offline operation would actually be better. More consistent for delivery.13:50
smoseri know i've read of that before.13:50
smoserrbasak, http://comments.gmane.org/gmane.comp.emulators.kvm.devel/6655113:51
smoserat least a reference.13:51
rbasakAs an aside, while we're talking about this, there's an argument here that says that cronned fstrim is preferable over a discard mount option for SSDs: http://en.opensuse.org/SDB:SSD_discard_%28trim%29_support13:55
zetherooI finally got Ubuntu Server 12.04 booting up on a server here ... but now when I reboot the server it just hangs with a black screen ... I have to power it off with the power button and start it up again ...13:57
zetheroohow do I troubleshoot this?13:57
tedskiat what point does it hang with a black screen?13:58
tedskiafter grub? before post?13:58
tedskiduring os boot?13:58
tedskiwhen it's hung, are you sure it's not the console screen saver?13:58
zetheroonot sure actually because I reboot it remotely ...13:58
tedskiwhen it's hung, is it pingable?13:59
zetherooI will reboot it directly and see where it gets to ...13:59
tedskiafter you reboot it, what do the logs say?13:59
tedskithat's how you troubleshoot it... you identify the point of failure before you attempt to identify the causative factors13:59
zetheroobut in syslog this is the last two lines before I manually turn the server off:14:00
zetherooMar 12 14:51:06 saturn kernel: Kernel logging (proc) stopped.14:00
zetherooMar 12 14:51:06 saturn rsyslogd: [origin software="rsyslogd" swVersion="5.8.6" x-pid="1411" x-info="http://www.rsyslog.com"] exiting on signal 15.14:00
zetheroowhich logs should I be looking at?14:00
tedskisyslog to start14:01
swhi, how can we install Sun JVM >=1.5 on a Ubuntu server running 12.10?14:01
zetheroowell this is what syslog has in it after the last powerup: http://paste.ubuntu.com/5607757/14:01
tedskizetheroo: looks fine, then14:02
tedskior was that the good boot?14:02
tedskisw: google shows tons of results for oracle java 6/7 on ubuntu 12.1014:03
swI have no knowledge of Java, so Sun JVM 1.5 = Oracle Java 6/7?14:05
tedskijava 1.5 == java 514:05
tedskijava 1.6 == java 614:05
tedskisilly, but get used to silly with java14:05
tedskiso, > 1.5 is java 6 or 714:05
tedskioracle bought sun in 2010, so oracle ~= sun14:06
zetherootedski: that was the output from the time that I manually powered the server on14:06
tedskizetheroo: now get it to hang and see if it's pingable while it's hung14:07
tedskizetheroo: then see if you can access any of the services that should startup (i.e. ssh)14:07
zetherootedski: so I did a reboot again and the last line I see on the screen is "Will now restart" ... then it goes to a black screen and hangs there ...14:07
zetheroothe system is then unresponsive to eveything14:08
zetherooand it never resets ...14:08
tedskizetheroo: oh, then you have an acpi problem14:09
zetherooso I have to do a hard-reset14:09
zetherooacpi ... like in the BIOS or in Ubuntu?14:09
tedskiwell... that depends :)14:09
tedskiis there a reboot= parameter in your grub kernel line?14:10
tedskicat /proc/cmdline if the system is up14:10
zetherooBOOT_IMAGE=/boot/vmlinuz-3.2.0-23-generic root=UUID=a47c5e6b-583b-4bc3-b97e-37c8fee11df5 ro14:10
tedskiwhat type of system is this?14:11
zetheroojust a rack server14:11
zetherooIntel ...14:11
yolandajamespage: https://code.launchpad.net/~yolanda.robla/ceilometer/grizzly/+merge/15291614:12
zetheroothe brand is some SuperMicro thing ...14:12
tedskitry adding reboot=a,b,c to your kernel line14:12
zetheroohow do I do that?\14:12
tedskidefault is reboot=kbd which means it will first try to reboot via keyboard, then bios, then acpi14:12
tedskiso, a,b,c says try acpi, then bios, then cold reboot14:12
tedskizetheroo: when it's booting, interrupt the timer in the grub menu and follow the onscreen instructions for editing14:13
zetherooah like that .. ok will give it a shot ..14:13
zetheroobut  this is not normal no!?14:13
tedskiit's normal for some systems14:14
zetherooI mean I have never had to do this before and we have 3 of these identical systems ... and one of them I setup with Ubuntu 12.04 a few weeks ago and it had no issues14:14
tedskiwell, then no14:14
tedskiit's not normal14:14
tedskiand something is different in the reboot method between the working and non working system14:15
zetheroobut then nothing about this particular server has been very "normal"14:15
tedskigo to your known good system and make sure all acpi settings are identical to this system14:15
zetherootrouble is that other server is busy running several production VM's :)14:15
zetherooso I cannot stop it to check the BIOS settings14:16
tedskiyou can still cat /proc/cmdline14:16
tedskiand check sysctl14:16
zetherooBOOT_IMAGE=/boot/vmlinuz-3.2.0-37-generic root=UUID=34975010-34e2-477e-8b96-fca973948c74 ro14:16
zetheroolooks the same14:16
zetheroocheck: comand not found14:17
tedskino, don't run "check sysctl" :)14:17
zetheroooh sorry .. :P14:17
tedskisysctl can show you all of the acpi settings14:17
tedskiman sysctl14:17
zetherooI don't see how this could have anything to do with Ubuntu actually ... but rather something from the BIOS14:18
tedskii'm not saying that it is one or the other14:19
tedskii'm telling you how to troubleshoot :)14:19
tedskithat was, afterall your question14:19
zetheroothere isn't a way to get BIOS info without rebooting the server is there!?14:19
zetherooyes thanks :D14:19
zetheroomaybe I asked the wrong question  ... LOL14:19
zetherooahh there is a difference in the BIOS versions of the two server!14:23
jamespageyolanda, comments in MP14:23
=== zurich is now known as level15
=== ogra_` is now known as ogra_
yolandaok, got it, better to do a patch to modify the default conf14:28
yolandajamespage, should i set synchronous mode for sqlite? or i leave that by default?14:38
zetheroohow do I change the number of seconds that grub counts down to before booting Ubuntu ?14:52
jamespagezetheroo, /etc/default/grub14:53
jamespageyolanda, leave everything else as defaults14:53
Ul_hi everybody. having problems with slow performance of kvm on ubuntu 12.10. i suspect that hardware acceleration is not working. kvm-ok says that KVM can be used. after launching the virtual machine, the log file in /var/log/libvirt/VIRTNAME.log shows LC_ALL=C PATH=/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin QEMU_AUDIO_DRV=none /usr/bin/qemu-system-x86_64 -name wheezy -S -M pc-1.2 -no-kvm -m 1024 -smp 1,s15:11
zetheroowhen I do apt-get update I get this:  http://paste.ubuntu.com/5607963/15:11
zetherooany idea why?15:11
jpdszetheroo: You have a DNS problem.15:12
zetheroothe machine is connected to the Internet15:12
yolandajamespage, recheck15:12
zetherooyes, DNS was the issue - thanks jpds15:14
zetherooI still have weird issues with rebooting ...15:14
jamespageyolanda, OK - lgtm15:15
zetheroosystem now reboots and gets up to the GRUB menu ... waits 10 seconds ... and then seems like its going to boot the first entry in the menu ... screen goes black (but still on) and that's about as far as it gets15:16
swtedski: can you help what JDK or JRE is? in the INSTALL I'm looking at it says the requirement is JVM but I don't see this anywhere15:22
tedskisw: JDK = java development kit; JRE = java runtime environment15:23
tedskisw: if you're not going to develop java programs, then install the jre15:23
tedskithe jre has the jvm plus class libraries and some other supporting stuff15:24
tedskijre is for running java programs, jdk is for developing java programs15:24
swtedski: ah ok :-)15:32
eagles0513875hey guys is there a way i can tweak amavis a bit to provide some better memory usage?15:33
patdk-wkamavis doesn't use much memory15:46
patdk-wksomething like 5-10megs15:47
patdk-wkin my case, each amavis thread is using 60megs of ram, plus 80megs shared15:48
zetheroowhen creating a RAID1 setup should the swap be in the RAID or not?15:49
patdk-wkand all of that is due to spamassassin rules15:49
patdk-wkzetheroo, up to you15:49
patdk-wkif a disk dies, do you want your system to crash?15:49
zetheroopatdk-wk: could it be problematic ?15:49
xnoxzetheroo: would you like your machine to keep going, or die because something was in swap and the swap disk failed?15:49
billy_ran_awayHi, I'm new to ldap and trying to setup dovecot to use ldap, this is kind of a dumb question, but I've never really read what it means to bind to an LDAP server...15:50
billy_ran_awayI have some idea of what I think it means… but I don't definitively know what it means.15:50
billy_ran_awayI think it means...15:50
zetherooso having swap in the RAID is not a bad thing ...15:50
xnoxzetheroo: there is no point in RAID1 at all if swap is not part of it. With RAID1 you want your machine to continue to function if half of your disks fail, hence swap must be treated same as your rootfs.15:51
billy_ran_awayFor an authentication process to attach itself to a specific part of the LDAP schema to be able to search from the point down...15:51
rbasakxnox: true, but there is a second use case for RAID1. If you don't mind the machine failing, but do want to keep your data.15:53
=== dumfries_ is now known as dumfries
zetherooxnox: ok good point :P15:53
rbasakThough even in that cause I usually RAID1 my swap. There's no real cost to doing it.15:54
rbasakthat case15:54
lwizardlso I have been fighting with a server only to find out that the isp comcast is blocking port 25. So is there a way that I can enable the server to maybe get around the block?15:55
xnoxrbasak: hence I said "same as rootfs" if the rootfs is not on RAID1 (as it can be trvially rebootstrapped), and only data partitions are on RAID1, having swap on raid1 improves things but not by much ;-)15:55
patdk-wklwizardl, upgrade to comcast business class15:55
zetherooI have been struggling to get Ubuntu Server working correctly on a server which is using this UEFI stuff ...15:55
zetherooshould the EFI partition be in the RAID1 area or not?15:56
lwizardlpatdk-lap, yeah I plan to do that but i'm trying to get the server working for now15:56
patdk-wkyes, and that is the *only* solution15:57
patdk-wkunless your solutions involves not using comcast15:57
patdk-wkthen you can setup a vpn from somewhere that allows port 2515:57
lwizardlI would love that option. but for my sucky town it is either comcast or AT&T uverse15:58
patdk-wkwell, there is a reason why, residential, says, no servers15:58
zetheroois there anything wrong with rebooting using init 6 ?16:03
smosersoren, did you try the eatmydata?16:06
=== matsubara is now known as matsubara-lunch
hallynplars: so this is perplexing.  Your i386  lxc utah run says mounted cgroups weren't found when running lxc-execute.16:47
plarshallyn: looks like the amd64 one finished too: https://jenkins.qa.ubuntu.com/view/Raring/view/Smoke%20Testing/job/raring-server-amd64-smoke-lxc/119/16:48
plarshallyn: also showing cgroups not mounted16:49
hallynwhere do i see the actual test log then?16:51
hallynanyway that might be a utah error then.  cgroup-lite is being installed, cgroups definately ought to be mounted.16:52
hallynplars: I run locally using:16:53
hallynsudo -u utah -i run_utah_tests.py -p lp:ubuntu-test-cases/server/preseeds/lxc.preseed -i /home/serge/raring-server-amd64.iso lp:ubuntu-test-cases/server/runlists/lxc.run16:53
hallynis that all right?  suppose i should update my raring-server-amd64.iso...  maybe there's an error int he new one16:53
* hallyn updates16:53
plarshallyn: we seem to be running run_utah_tests.py -p lp:ubuntu-test-cases/server/preseeds/lxc.preseed -i /var/cache/utah/iso/raring-server-amd64.iso lp:ubuntu-test-cases/server/runlists/lxc.run -x /etc/utah/bridged-network-vm.xml16:58
plarsbut I think the networking config is not necessary for you16:58
hallynright i can't use that :)16:59
hallynplars: almost have the new iso, i'll start a utah run and log in and see if everything's kosher16:59
hallynplars: by gollie, thsi seems to be a cgroup-lite bug17:20
lisandrop05hello  to every one I'm installing firehol and when I execute the command "frirehol try" I get a lot of errors like this: "iptables: Memory allocation problem." I where lokking at top command while I where doing and is a lot of memory free in the system18:06
lisandrop05any ideas?18:06
holsteinyou excute "firehol try" i assume18:07
holsteinlisandrop05: you can also pastebin you exact errors18:07
RoyKany particular reason you don't use ufw?18:07
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://imagebin.org/?page=add | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:07
=== maxb_ is now known as maxb
lisandrop05yes holstein18:11
lisandrop05i execute "firehol try"18:11
sarnoldlisandrop05: the kernel cannot allocate memory for itself in the same way that applications can allocate memory. on 32 bit systems, the kernel actually has very tight memory requirements. over the run time of a system, memory gets more and more fragmented, making it harder to allocate large blocks of kernel memory.18:13
sarnoldlisandrop05: check dmesg; if you see something like "order 1 allocation failures" then your best bet is reboot.18:13
hallynplars: and now i'm seeing it on new raring cloud instances too!18:13
RoyKlisandrop05: trying again - why don't you use ufw?18:13
plarshallyn: well at least it's reproducible now I guess :)18:14
RoyKseems firehol hasn't been much updated the last five years18:14
Testtube302Afternoon I was refered to this channel18:15
lisandrop05RoyK: what's the difference18:15
RoyKlisandrop05: dunno firehol18:15
RoyK!ufw | lisandrop0518:15
ubottulisandrop05: Ubuntu, like any other Linux distribution, has firewall capabilities built-in. The firewall is managed using the 'ufw' command - see https://help.ubuntu.com/community/UFW | An alternative to ufw is the 'iptables' command - See https://help.ubuntu.com/community/IptablesHowTo | GUI frontends such as Gufw (GNOME) and Guarddog (KDE from Lucid onwards) also exist.18:15
Testtube302I currently have Ubuntu 8.04LTS Server running a older kernel 2.6.24-21-server. I am trying to install the Kernel sources but it appears they have been deleted? I am getting Package linux-headers-2.6.24-21-server is not available18:15
lisandrop05okok, I'm installing ufw18:16
RoyKTesttube302: you better upgrade soon - 8.04 only have a month left of support18:16
Testtube302The only reason i need the Kernel source is because i am attempting to install a backup agent that needs the source to compile a module18:16
Testtube302It almost looks like the linux-header files for the kernel i am using has been wiped off the planet :/18:17
RoyKTesttube302: looks like you haven't updated that machine too much - the current version for 8.04 is 2.6.24-3218:18
Testtube302Royk Thats correct this machine is in production use and pretty isolated18:18
RoyKthere are archives around for that sort of use, but the *supported* method is to upgrade to the last stable version18:19
Testtube302Any idea of where i can get the linux header files for my kernel18:19
Testtube302i have searched everywhere.18:19
RoyKand as mentioned, 8.04 won't be supported for much longer18:20
RoyKwhat sort of backup system is this?18:20
Testtube302The backup agent is r1soft18:20
RoyKalso, is there a good reason for not upgrading to the latest 8.04?18:20
=== matsubara-lunch is now known as matsubara
Testtube302RoyK as mentioned this is a production system and there is no room for downtime right now. We have some time slotted later this year to upgrade to 10.04 like the rest of our cluster18:21
sarnoldit's already 2013, would it make more sense to upgade to 12.04 LTS instead?18:22
Abuhey now i got error message18:22
Abummc0 got data interrupt even though no data operation was in progress18:23
RoyKTesttube302: http://packages.ubuntu.com/source/hardy-updates/linux-ubuntu-modules-2.6.2418:23
Abuhow do i fix that18:23
RoyKTesttube302: just wondering a bit why a backup agent needs access to the kernel source18:23
lisandrop05ufw only 1 minutes and I get my first error: ERROR: problem running ufw-init18:23
RoyKlisandrop05: pastebin command and output18:23
lisandrop05ERROR: Could not load logging rules18:25
lisandrop05it's short18:25
lisandrop05command is shoet too18:25
RoyKand the command was?18:25
Testtube302I dont believe that URL you provided actually has the Linux headers for my kernel18:25
RoyKare you root?18:25
lisandrop05ufw enable18:25
lisandrop05and yes I add port 22 first18:25
lisandrop05if I put it again it skip existing rule18:26
RoyKlisandrop05: please *pastebin* the whole range of commands and output. and btw, which distro version is this?18:26
sarnoldRoyK: lisandrop05 is from cuba, probably the little iron curtain forbids getting to a pastebin site. I'm stunned lisandrop05 can get here...18:27
lisandrop05is Ubuntu precise18:28
RoyKlisandrop05: sorry if you can't get to those services. first of all, are you root? can you do "ufw add 22/tcp" without issues? if so, the "ufw enable" command should work well18:28
sarnoldha :) color me wrong :)18:28
Testtube302Royk http://packages.ubuntu.com/hardy-updates/linux-headers-lum-2.6.24-21-server  Says Package not available under depends18:28
lisandrop05RoyK: yes, I'm root18:28
lisandrop05I install the ufw18:29
lisandrop05in the same shell18:29
RoyKlooks like there may be an issue on trying to add ipv6 rules on an ipv4-only system18:29
RoyKnot sure, though18:29
RoyKlisandrop05: try setting IPV6=no in /etc/ufw/ufw.conf18:30
sarnoldRoyK: hrm, I thought that one had been fixed.18:31
* RoyK has no idea18:31
RoyKlisandrop05: also, if sarnold is right - it might have been fixed - have you upgraded lately?18:32
lisandrop05no I don't18:32
RoyKtry to disable ipv6, then18:33
Testtube302Royk what exactly is Source Package: linux-ubuntu-modules-2.6.2418:33
RoyKnot sure18:33
lisandrop05It work ok, I add IPV6=no to ufw.conf now, new question: where can I add an IP blacklist from a file18:33
Testtube302your not sure?18:33
RoyKTesttube302: I think what you need is 'apt-get install linux-source'18:34
lisandrop05no need to update, And i check and my system is updated18:34
RoyKlisandrop05: I normally use 'apt-get update && apt-get -y dist-upgrade && apt-get -y autoremove' - there's usually some new packages around18:35
mmcjianyone have any experience working with Kamailio and kamailio-ims-modules?18:42
glycoknobhi, I'm using ubuntu server 12.04 for cluster computing machines (no services, just cli). Is it safe to remove dbus-daemons and all the other desktop-related stuff? especially does upstart still works fine without dbus? This appears to be the case but I'd like to get some more input before breaking things18:44
RoyKTesttube302: still curious about why a backup solution needs to make kernel drivers - could you enighten me on this?18:45
Diegonathi guys! Ive got a problem. When I run a script with crontab does not work but when I run it, it works. Why?18:50
sarnoldDiegonat: quite often that is due to directories in your PATH that are set for an interactive login but not set when executed via cron18:52
Diegonatsarnold, good shot18:52
lisandrop05RoyK: how do I allow all outgoing traffic in ufw??18:52
Diegonatbasically when it fails18:52
Diegonatit when it tries to excute one python script in a for loop18:53
lisandrop05in firehol is simple: client accept any, but in ufw I don't know18:53
jdstrandlisandrop05: $ sudo ufw status verbose18:55
jdstrandDefault: deny (incoming), allow (outgoing)18:55
jdstrandthat's the default18:55
RoyKlisandrop05: it allows all outgoing18:55
hallynplars: fix for that breakage is uploaded to raring.18:55
plarshallyn: you are awesome!18:55
plarspsivaa: ^^ should be fixed on tomorrows run18:55
jdstrandlisandrop05: as for ipsets, that isn't supported in ufw yet, but it is planned18:56
hallynplars: nm.  there's an error in how i did it.  grrr.18:59
lisandrop05RoyK: if I disable the firewall ufw all my old rules disappear?19:00
hallynstgraber: grrr.  my fix was bad.  changing locale and then fixing it for real.  (you threw me by calling the mount 'cgroup', i need to detect that moutn differently :)19:01
RoyKlisandrop05: ufw replaces iptables19:01
lisandrop05I disable and enable ufw19:01
RoyKlisandrop05: you need to configure ufw to use existing rules if you want to use it19:01
lisandrop05and it block me out19:01
lisandrop05my ssh http ftp all is not working19:02
stgraberhallyn: mountpoint -q /sys/fs/cgroup?19:02
RoyKlisandrop05: disabling it should flush all iptables rules - enabling it should enable ufw rules19:02
lisandrop05I'm locked out of my server19:02
lisandrop05I'll need to call support assistence19:02
lisandrop05I'm on VPS19:03
lisandrop05and ssh is all access I have19:03
jdstrandlisandrop05: VPS sometimes don't have everything that is needed in their kernels. if ufw is not working for you, try running: sudo /usr/share/ufw/check-requirements19:04
sarnoldjdstrand: that's awesome :D19:05
lisandrop05jdstrand: I can't I'm blocked out of my server19:05
RoyKlisandrop05: do you have kvm access?19:06
lisandrop05RoyK: I'm from cuba a lot of ports are blocked here19:08
lisandrop05including all cpannel ports19:08
RoyKyeah, someone told me (above) that you were from cuba19:09
RoyKlisandrop05: see pm19:10
lisandrop05what is pm?19:11
hallynstgraber: well phooi.  never heard of that19:11
RoyKlisandrop05: private message19:11
RoyKlisandrop05: try "/msg RoyK hi"19:12
sorensmoser: I fired it off, but didn't have time to stick around to see the results. I'm checking now.19:17
hallynstgraber: but that doesn't answer my problem actually - i need to know if anything under /sys/fs/cgroup is mounted19:18
sorensmoser: Well, it cut off ~75 seconds.19:18
jdstrandsarnold: heh, thanks :)19:18
sorensmoser: So significant for sure, but not enough to make me not want to build custome images.19:18
smoserout of ~ 300 ?19:18
sorenErr.. Yeah, something like that.19:18
hallyni guess just 'mount -t cgroup' actually works19:19
stgraberhallyn: ah, I'd just have changed the current for loop to do:19:20
stgraber[ ! -d /sys/fs/cgroup/$d ] && mkdir /sys/fs/cgroup/$d (or use -p)19:21
stgrabermountpoint -q /sys/fs/cgroup/$d || mount -n -t cgroup ...19:21
hallynstgraber: no, not that bit19:21
hallynstgraber: if any actual cgroups have already been mounted, then i dno't want to run19:22
hallynbut i'm just doing 'if [ -n "$(mount -t cgroup)" ]; then exit 1; fi"19:22
stgraberhallyn: ah, well, good luck detecting that... because logind is now mounting an empty cgroup19:22
stgraberso on systems with logind, you'll get:19:22
stgrabersystemd on /sys/fs/cgroup/systemd type cgroup (rw,noexec,nosuid,nodev,none,name=systemd)19:22
stgraberwhich shouldn't prevent cgroup-lite from doing its job19:23
hallynwhy not?19:23
hallynsystemd wants to do cgroups its won way...  let it19:23
stgraberlogind will ONLY mount the systemd cgroup19:23
stgraberon a system with logind, you still want cgroup-lite to mount all the others19:24
stgraber(talking about logind here, not systemd. It's just a bit confusing because the logind cgroup is called 'systemd')19:24
hallynthere are people out there with funky pre-existing setups who will want cgroup-lite to not bethe one mounting cgroups19:24
hallyni.e., they may simp0ly not want some cgroups mounted at all (for speed reasons, whatever)19:25
hallyni suppose you can say so long as they are writing their own upstart job,19:25
hallynthey can set cgroup-lite tomanual,19:25
hallynlong as you'll back me up on that :)19:25
stgraberwell, we don't hard-depend on cgroup-lite IIRC, just recommend it19:26
stgraberoh, you do Depend on it from libvirt... maybe you should change that to Recommend then?19:27
stgraberanyway, I think it's fair to say that if you install cgroup-lite (directly or indirectly), you want it to do its job. If not, then remove it or turn it off (with an upstart override file)19:27
hallynall right i'll do it that way - the old safeguards were really for people who still had cgconfig.conf installed19:28
stgraberso I guess we want cgroup-lite to always try to mount any cgroup that's not already mounted somewhere (so on mount failure, silence the error and remove the directory)19:28
hallyneh ?  like 'mount -t cgroup -o $d /sys/fs/cgroup/$d || { rmdir /sys/fs/cgroup/$d } ?19:30
hallyni'm afraid that'll make local configuration errors look like package errors in lxc/libvirt...19:30
hallyndo you think it's worth it?19:31
hallyni'd say at taht point, we're better off having cgroup-lite record that it failed,19:32
hallynand user can figure it out frmo there19:32
hallynlet's see how this one goes19:34
hallynstgraber: do http://paste.ubuntu.com/5608710 and http://paste.ubuntu.com/5608711 look ok?19:44
hallyn(tested ok on an instance, but that doesn't mean im' not doing something stupid)19:44
hallynwhelp, this one seems to work, will wait a few mins for a NO YOU FOOL then push19:50
stgraberhallyn: mountpoint -q /sys/fs/cgroup/$d || (mount -n -t cgroup -o $d cgroup /sys/fs/cgroup/$d || rmdir /sys/fs/cgroup/$d)19:51
stgraberhallyn: so that if it's already mounted somewhere else we don't end up with an empty dir19:52
stgraberhallyn: mountpoint -q /sys/fs/cgroup/$d || (mount -n -t cgroup -o $d cgroup /sys/fs/cgroup/$d || rmdir /sys/fs/cgroup/$d || true)19:52
stgraberhallyn: actually, just to be safe ;)19:52
hallynyou were supposed to say NO YOU FOOL19:53
hallynwill do, thx :)19:54
hallynstgraber: ok so that leaves two potential issues (i.e. not sure if we care)20:05
hallynoh, no,j ust one20:06
hallynif someone decided to mount an empty tmpfs (for instance) under /sys/fs/cgroup/devices, cgroup-lite wont' mount it at start, but it will umjount it at stop20:06
hallyni think that's ok...20:06
stgraberah yeah, but someone would be pretty stupid to do that, so that's their own fault ;)20:07
hallynall right - pushing20:08
sorensmoser: I fired up a VM, logged in interactively, apt-get install'ed the relevant packages, ran "nova image-create" and am now using that snapshot. Seems to work like a charm.21:10
sorensmoser: I also added your eatmydata thing to apt-get as well as added it to the sbuild inside the VM. I don't have total numbers yet, but the difference for each step looks really good. Thanks for remininding me of eatmydata.21:11
digitalsanctumhi, im attempting to vnc to 12.04.1 server from a mac and keep getting a black screen. any ideas?21:13
holsteinvnc to server?21:13
holsteini would just ssh over to it21:13
digitalsanctumyes, but i have a need for vnc....long story :)21:14
News2MeI'm looking for help with Apache rewrite. System doesn't recognize .htaccess. I've read countless posts and tried all the proposed solutions. One clue is that my apache2.conf file won't accept "AllowOverride All", just errors with "AllowOverride not allowed here. Action 'configtest' failed.21:45
sarnoldNews2Me: that means you put the 'AllowOverride' in the wrong location in the config file21:47
sarnoldNews2Me: see http://httpd.apache.org/docs/2.2/mod/core.html#allowoverride21:48
News2MeIt has to be embedded in a <directory> tag?21:48
sarnold"Only available in <Directory> sections"21:48
News2MeSo even if you don't have virutal sites... just use it witout and conditions?21:48
News2MeLooking at the page link... THANKS Sarnold!!!... been banging my head for days on this.21:53
sarnoldNews2Me: that sounds about right, you've got the real apache experience now :)21:53
=== fire is now known as baba
hubuntuif I am going to have some KVM managed VMs running in my desktop, which ubuntu server version should I use?22:54
hubuntuis there a jeos or similar or shall I just use -server?22:54
hubuntuthis is to test varnish and additional tools22:55
RoyKhubuntu: 12.04LTS would be a good start22:57
sarnoldhubuntu: -server is probably fine, but do note: http://cloud-images.ubuntu.com/22:57
ubottuThe Minimal CD image is very small in size, and it downloads most packages from the Internet during installation, allowing you to select only those you want (the installer is like the one on the !Alternate CD). See https://help.ubuntu.com/community/Installation/MinimalCD22:57
hubuntuthere we go, minimal 12.04 is certainly what I was looking for :)22:58
sarnoldoh good :) three different answers :) haha22:58
hubuntuthanks holstein22:58
hubuntuRoyK and sarnold22:58
=== baggar11_ is now known as baggar11
News2MeSarnold: IT WORKS! ok, so there's a file for virtual servers that lives at: /etc/apache2/sites-available/default. and that one was set to AllowOverride None. It's hard to follow different flavors of Linux.. but thanks Sarnold!23:05
sarnoldNews2Me: ah, yes, I know what you mean. :)23:06

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