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

goddardcraigslist is giving me some trouble00:03
goddardhttp://www.craigslist.org/about/help/generic_DNS00:03
goddardwith my emails00:04
goddardI put the correct resolver in my mx records00:04
Patrickdkyou can't send or receive emails from them?00:04
goddardi can recieve just not send00:05
Patrickdkcause you just said stuff about both00:05
Patrickdkand what ip are you sending from?00:05
goddard173.12.190.24200:06
Patrickdkheh, no wonder00:06
Patrickdkthat will never ever work to send to most people00:06
Patrickdkyou need to fix your reverse dns00:06
Patrickdkperferably it should match your email server name forward address00:07
goddardit should match the email servers domain name?00:07
Patrickdkno00:08
Patrickdkperferably it should match what you used in your mx entry, and helo name00:08
Patrickdksomething like mine00:09
Patrickdkdig mx patrickdk.com00:09
Patrickdkdig -x 38.96.163.13500:09
Patrickdkthey both match00:09
goddardhmm ok00:09
Patrickdkmx for patrickdk.com is kishi.patrickdk.com00:09
goddardi suppose i need to contact my isp then00:09
Patrickdkwell, I have a few extra in there cause of ipv6 workarounds :)00:10
goddardi dont think they give control of that to me00:10
Patrickdkno, but normally they will change it if you ask00:10
Patrickdkif not, well, don't attempt to host your email there00:10
goddardhaha00:10
goddardwhat if i have multiple domains on one server00:11
PatrickdkI have yet to day anything about domains00:11
Patrickdkdoes your email server have multible names?00:11
goddardjust a few00:11
goddardno more then 300:11
Patrickdkheh?00:11
Patrickdkhow the hell does your email server id itself as so many names?00:11
Patrickdkcurrently, it id's itself as server2.kinggoddard.com00:13
Patrickdkso hopefully that is what you used in your mx entry00:13
goddardok what about the TXT entry they suggest they use00:13
goddardhttp://pastebin.com/UtJPX4sb00:13
Patrickdkthere is no law that says you must, but the more things don't match, the less likely other stricter email server will take email from you00:13
goddardthat is my records00:14
alamarPatrickdk: the reverse should match?00:14
alamarI always thought it was only necessary to HAVE a PTR configured00:14
alamarnot that it matches the forward entry referenced in the MX entry00:14
goddardi thought i had a TXT ptr setup00:14
Patrickdkalamar, depends on how big of a bofh the email admin is00:14
Patrickdkpersonally I configure email servers both ways, you just have a ptr, and ptr must match00:15
goddardno no makes sense00:15
PatrickdkTXT != PTR00:15
Patrickdkyour TXT entries are spf, read up on spf, lots of info on google00:15
goddardahh i see00:16
goddardso i should just put a ptr record in00:16
fluvvellI have 4 ubuntu desktops and a desktop/server at a church, I'm running apt-cacher-ng but having varying results - the cache seems to be out of date, or I get an Apt error on the desktops. Is there a better solution for caching repositories, saving bandwidth?00:23
pmatulisfluvvell: maybe provide the errors you're seeing00:36
fluvvellpmatulis, mostly apt-authentication errors on the desktops. there is a general feeling of clunkyness, or of updates not happening.00:37
fluvvellI'll mouse around to see if I can find a server log error00:37
pmatulisfluvvell: that would be best.  also provide what releases are involved (desktop & server)00:38
smoserhggdh, the root cause is bug 78493700:58
uvirtbotLaunchpad bug 784937 in cloud-init "/mnt not mounted, swap not used, disk is xvde" [Medium,Confirmed] https://launchpad.net/bugs/78493700:58
smoserhggdh, thank you for your help today.01:12
Patrickdkhmm, I have good results with apt-cacher-ng, bad with squid01:31
=== alamar is now known as foobar123
=== foobar123 is now known as alamar
hggdhsmoser: yes, I concluded it should be this bug, and marked it in the results02:46
hggdhsmoser: thank you for confirming it02:46
goddardwhat do professionals use to test for server security?04:25
uvirtbotNew bug: #806782 in php5 (main) "package php5-fpm 5.3.5-1ubuntu7.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/80678204:32
ralliasHow do I install mod_gzip on apache 64bit?04:40
twbrallias: sure you don't mean mod_deflate?04:57
=== medberry is now known as med_out
Hannzgreetings07:07
ackleehello everybody..07:13
ackleejust want to ask about apache2 on 11.0407:14
ackleeis it safe to chown /var/www/*.php to administrator rather than root?07:15
twbacklee: no.07:16
ackleeso how could I edit or modify php files inside /var/www using Text Editor / gedit?07:18
twbYou don't.07:19
twbFirstly, your server should not have a GUI.  Secondly, /var/www is not FHS-compliant and you should not use it.07:20
twbThirdly, best practice is to version control your code, and to only package and upload versions that pass self-tests to the server.07:21
twbIf you aren't packaging your web app as a proper .deb, this could be achieved using rsync and ssh, with rrsync to restrict the uplaoders' privileges.07:22
twbFinally, since a quarter to a third of ALL security issues are PHP-related, you should never use it under any circumstances, since clearly there are systematic problems with the PHP community's ability to produce secure code.07:24
ackleeoh ok.. one more question.. if /var/www is not FHS-compliant so where is the best place to put DocumentRoot?07:25
twbIt would make sense to separate (immutable) programs from mutable state, so e.g. /usr/share/foo-app/foo.php, reading config from /etc/foo.ini and writing data to /var/lib/foo-app/07:26
lei_Guys, who use ubuntu 11.04 and had installed libvirt?07:27
twbIf it's inherited code from people who don't understand such things, putting it in /srv/foo or /srv/www would be a reasonable short-term workaround.07:27
twblei_: what is your real question?07:27
twbacklee: oh, and /usr/share assumes your program is interpreted; if it's compiled (e.g. prayer is a web-app written in C), you would use /usr/lib instead.07:28
twbActually prayer is a poor example; it has a built-in web server, so its binary is in /sbin.07:29
lei_I updated my system yesterday but i found that my libvirtd can not started07:29
ackleeok twb  that's great, thanks for your suggestions, I really appreciate it..07:29
twblei_: does it give an error?  If so, what?07:29
lei_No, it just can not start, continue to restart, but when i use "ps -ef | grep libvirtd/(or libvirt-bin)" , i can not find it07:30
lei_i re-install it, it can not work too...07:31
twbDid you check syslog?07:31
lei_let me check07:32
twbtail -fn0 /var/log/syslog /var/log/auth.log &07:32
twbThen "restart libvirt" or something07:32
nonotzaI just got this error on a new install of 10.04: -bash: php: command not found07:32
twbnonotza: PHP is not installed by default.07:32
nonotzaI installed php07:32
nonotzaand I printed phpinfo07:32
twbnonotza: php5-cli?07:32
nonotzaahhh07:32
nonotzathat's right07:32
nonotzathanks07:32
nonotzado you know the apt-get package name?07:33
twbnonotza: php5-cli?07:33
nonotzathat's it07:33
nonotzahehe07:33
nonotzaall good now07:33
twb(apt-cache search)07:33
lei_virt-CommandWait:1229:internal error Child process.07:35
lei_then libivrtd exited.07:35
=== smb` is now known as smb
twbOK, stop the init job, then run it by hand in the foreground07:37
twbWait a minute... are you saying that *libvirt* doesn't start, or that your VM(s) don't start07:37
twbOh, also, IIRC libvirt defaults to writing logs directly instead of using syslog(), because it's bloody stupid07:37
twbSo you'll have to look around in /var/log, e.g. find /var/log -mtime -1 -ls07:38
lei_I tried it.  I use "libvird -d" or "service libvirt-bin start" ,but both were failed07:38
lei_"ps -ef|grep libvirt " can see libvirt07:38
lei_sorry can Not07:38
AlanHow would I go about removing a massively broken package?07:56
twbapt-get remove07:56
AlanRemoving hptraidconf ...07:57
Alandpkg (subprocess): unable to execute installed pre-removal script: No such file or directory07:57
Alanthis is the problem07:57
AlanI can't even --purge it...07:57
Hannzhi all, i need help. i've just installed a fresh 10.04, and i can't find eth0 anywhere. ifconfig -a returned only eth1 and lo. after restarting, it changed to eth2 and lo. another restart and it changed to eth3 and lo. i can't make the network running to connect to my router.07:58
Hannznote that i'm still very new in command line interface (just learn a bit from https://help.ubuntu.com/10.04/basic-commands/C/index.html). is there any other good resources for me to learn regarding to cli?07:59
twbAlan: pastebin output of "more /var/lib/dpkg/info/hptraidconf.p* | cat"08:00
twbHannz: apparently your network card changes its PCI address every time you reboot08:01
twbHannz: is this a VM or something?08:01
twb!RUE08:01
twb!RUTE08:01
ubottudocumentation is to be found at http://help.ubuntu.com and http://wiki.ubuntu.com - General linux documentation: http://www.tldp.org - http://rute.2038bug.com08:01
Hannztwb: i'm really sorry, is VM = Virtual Machine? i dunno how to answer your question, seriously. i just tried to make a network server for my upstart company's files.08:03
twbHannz: yes, "virtual machine"08:03
twbDid you install onto a real computer that you can throw out a window, or is it a virtual computer08:04
Hannzno, i don't think it is a vm. i installed it to a real computer08:04
twbThen I dunno, your hardware is really weird08:05
Hannzgoogled for vm, and now i'm sure it's definitely not a vm08:05
Alantwb: http://paste2.org/p/150684508:07
Alani think it's possible that the package failed to install properly08:08
Alanbut even so - nothing in those scripts could error because they're using rm -f, right?08:08
twbAlan: there's no reason that should fail08:08
twbUnless your root user doesn't have permission to remove files or something...08:09
twbIf you are feeling ballsy, just rm the prerm script and try again, though this will "void your warranty", as it were08:09
Alantwb: http://paste2.org/p/150684808:10
Alanthat's the full output of attempting to remove --purge08:10
Alantwb: doesn't that just mean it's going to miss stuff now? :|08:11
twbAlan: I don't know what's going on08:12
twbAlan: maybe those scripts aren't executable?08:12
twbAlan: or could be a biarch issue, that gives funny errors.08:13
Alanwell it seems to have gotten everything plus what's listed in the prerm script...08:13
twbLike it says "file not found" instead of "I can't execute 64-bit binary in 32-bit kernel"08:13
Alantwb: there's no chance of that kind of error08:14
AlanI'm not sure what screwed up there - removing the script "fixed" it...08:14
Alani do know that the package never installed properly in the first place...08:14
Alanyay, now i can do updates again08:15
Alanevery time i went to do updates it was trying to complete the installation of that broken package...08:15
Alanwell thanks for your help twb :)08:16
Hannztwb: i tried to reboot (sudo shutdown -r now) again, and it changed to eth4 now -.-08:22
twb18:01 <twb> Hannz: apparently your network card changes its PCI address every time you reboot08:22
Hannzi guess i'll just try to re-install it from scratch08:22
twbHannz: as a workaround you can remove the persistent-net-GENERATOR script from /etc/udev/rules.d/08:22
twbThough this can cause problems if you ever have >1 NIC08:23
Alanheh, i remember the days before persistent network device names...08:23
Alanyou update your kernel and BAM no network08:23
Hannzi do have 2 nic, but i disabled 1 of them from bios settings. could it be the problem?08:24
Alan"What do you mean eth0 is now my firewire port?"08:24
twbHannz: the problem is almost certainly SOMETHING in the BIOS08:24
Hannztwb: would reset the defaults in the bios fix that something?08:24
Hannz*resetting08:25
twbThat depends on what the BIOS defaults to.08:25
Hannzhmm.. i'll just try something.. thanks for your help :)08:27
lodottHi all, I have a dual-boot issue on an EFI system (Lenovo S205): win installs and boots, but grub in the Server install messes up the boot sequence.08:34
Hannztwb: i'm currenty reinstalling, is it okay to have the network configured with dhcp? or should i go back and configure manually?08:35
EricJlodott: are you installing both windows & ubuntu on the same harddrive?08:35
twbHannz: DHCP is fine, as long as you are on a trusted network and the DHCP server is well-behaved08:35
lodottEricJ: yes, windows has sda1/2, Ubuntu sda308:36
lodottIt probably has to do with the EFI thing, which have not really yet a handle on08:37
twbIn theory, as long as you install win first and linux second, it should Just Work08:37
twbBut I haven't dealt with such a system in a looong time08:38
lodottyeah, I hoped so too.08:38
lodottI followed instructions in the help page "RecoveringUbuntuAfterInstallingWindows" but after "overwriting the MBR" the system does not boot up08:38
EricJI've had some problems setting up dual-boot, but that was splitting win & ubuntu onto different disks.08:38
EricJlodott: you don't even boot into grub?08:39
lodottnope, I get into a reboot loop and have to switch off/boot from CD08:39
EricJmeh08:39
lodottI can get windows back to work by fixing the mbr with the install disk08:40
rurufufusswhat's the easiest and most secure way to set up a user with root priviledges?08:41
rurufufussI just set up a ubuntu server, probably not a good idea to run around as root eh?08:41
EricJrurufufuss: I'd add him to the sudoers.08:42
rurufufussthe user's not set up yet, IIRC there was a command to set up the user, including his home page etc08:42
rurufufussI was wondering if that's correct?08:42
lodottAnother attempt was to use EasyBCD to boot Ubuntu via Windows, but no luck08:43
lodottAbout the EFI: in the windows install it apparently made a difference if I let the system find the CD or if I manually selected the CD. I am not sure why that should be but could that have an effect on where Ubuntu puts the MBR data?08:47
lodottWith system finding the CD, windows creates a boot entry on the BIOS level, otherwise installs to the MBR normally08:49
lodottWith this specific Lenovo the MBR install is needed, otherwise the installed system has problems with shutdown (lenovo bug)08:51
=== koolhead11|Afk is now known as koolhead11
ackleelodott: afaik, you can sacrifice the powers of Grub and shift to Windows Boot Loader to boot you into Linux..09:12
jibelOn Oneiric Alpha2 ISO testing, RAID1 and UEC install are untested09:14
jibelhttp://iso.qa.ubuntu.com/qatracker/test/589009:15
jibelhttp://iso.qa.ubuntu.com/qatracker/test/588909:15
jibelAnyone to give them a try ?09:15
lodottacklee: how would I do that? I tried the EasyBCD tool which is supposed to do just that, but maybe you have a better alternative.09:15
lodottacklee: the EasyBCD tool actually located the GRUB2 partition on its own, so my fear is that it has to do with installing the MBR somehow.09:18
ackleelodott: http://www.supergrubdisk.org/ provides a specialized rescue disk to restore Windows/Linux.. I haven’t used it anytime though..09:31
Hannzhello, i have a problem with ethernet settings. it seems that my ethx keeps changing its name (eth1 to eth2 to eth3 and so on), and apparently the hwaddr is also changing its mac address everytime i reboot the server.09:34
ackleeI don't know the answer to your question, but one way to search for text in files is this: "sudo find /etc|xargs grep eth20" could you pastebin the output of that?09:41
ackleeHannz: pastebin for sudo find /etc|xargs grep eth2009:42
jamespagejhunt: thanks for taking a look at my upstart query yesterday - turns out I was being a dunce :-)09:45
Hannzi'm currently on another notebook so i can't pastebin it. but it returned 20+ lines, all ended with 'Permission denied'.09:45
jhuntjamespage: np. If there is some way we can improve the man pages/cookbook to avoid confusion though, let me know.09:46
ackleeI discovered that others had experienced similar problems with ASUS boards with nVidia NICs, changing their MAC addresses..09:47
drj_Hi all. is there a way to "unencrypt" an ecryptfs-encrypted homedir other than copying everything and restoring afterwards?09:47
ackleeHannz: Looks like Gigabyte and ASUS have been shipping invalid MAC addresses on some of their boards..09:47
Hannzi'm using gigabyte board and its onboard nic09:48
ackleeHannz: it just generates a new (valid yet) random MAC address..09:48
Hannzacklee: so i have to switch my mainboard?09:49
ackleeHannz: cat /etc/udev/rules.d/70-persistent-net.rules09:49
Hannzor can we find a way to stop it from generating new mac addresses?09:50
ackleeHannz: it would be nice if you can show me the output..09:51
ackleeHannz: no, last option is disable your obloard nic in the BIOS..09:51
Hannzacklee: i think the 70-persistent-net.rules is making new lines of rules everytime i reboot the box. i checked it before boot and after boot, it just adds a new # PCI device09:52
ackleeHannz: and put your new nic to PCI slot..09:52
uvirtbotNew bug: #806887 in drbd8 (main) "package drbd8-source 2:8.3.7-1ubuntu2.1 failed to install/upgrade: drbd8 kernel module failed to build" [Undecided,New] https://launchpad.net/bugs/80688710:02
rurufufusswhat is the proper way to start a persistent process on a server?10:39
rurufufussassuming that " ./someprocess &" is actually not the right way10:40
rurufufussthat process being one of my binaries made from gcc that is10:41
lodottacklee: thanks, I will have a look later10:43
RoyKrurufufuss: ./someprocess & will start it well, but unless the process traps SIGHUP, a logout will then stop it11:37
RoyKrurufufuss: nohup ./someprocess & will trap SIGHUP11:38
RoyKthe best way would be to trap SIGHUP from the process itself and perhaps fork in the background also from the process11:38
knowtheledgeeeI cant seem to be able to call g++ using the exec() function in php, any ideas?11:42
rurufufussRoyK: thanks, I suppose if you trap sighup the process will then have to be killed manually huh11:55
uvirtbotNew bug: #806930 in mysql-5.1 (main) "package mysql-server-5.1 5.1.54-1ubuntu4 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 100" [Undecided,New] https://launchpad.net/bugs/80693012:02
uvirtbotNew bug: #806911 in nova "Split nova-compute into nova-compute-{kvm,xen,etc.}" [Undecided,New] https://launchpad.net/bugs/80691112:06
Ursinhagood morning teammates12:08
jamespagemorning Ursinha12:11
lynxmanUrsinha: o/12:19
lynxmanjamespage: o/12:19
zulyo12:20
lynxmanzul: o/12:20
zulhey lynxman12:20
Davieyls12:24
Davieybah12:24
Davieyhello Ursinha !12:24
lynxman$ ls12:25
lynxmanporn12:25
lynxmanDaviey: :)12:25
Davieylynxman: :o12:25
serge_SpamapS: around?12:25
Davieyserge_: he's away this week.12:25
lynxmanDaviey: hehe, still need to send you the pics!12:25
lynxmanDaviey: and the video12:25
serge_Daviey: yeah, but i thought he said he might be on and off around :)12:26
serge_Daviey: i gather jameshunt is out too12:26
Davieylynxman: oh dear!12:27
Davieyserge_: hmm, i spoke with jhunt yesterday.12:27
lynxmanDaviey: there's some very scary ones12:27
* koolhead11 looks at lynxman 12:28
* lynxman feels stared at12:29
serge_Daviey: yeah, i'm pinging him on #upstart, thx12:29
Davieygroovy12:30
koolhead11lynxman, i thought i joined some other channel :D12:36
koolhead11hey Daviey12:36
lynxmankoolhead11: heh :)12:36
lynxmanzul: I have a new version of mcollective (1.2.1) ready for you if you fancy :)12:45
zullynxman: sure ill take a look this afternoon12:46
lynxmanzul: cool, thx12:46
jibeljamespage, do you know what's the status of Ubuntu Server EC2 HVM testing ? There's no result on the tracker.13:19
zulhggdh: lemme know when i can use the test rig13:44
hggdhzul: as soon as UEC testing ends13:45
* Daviey imagines it'll end abrubtly13:47
zulwouldnt have it any other way ;)13:48
serge_zul: i want to sync the latest (non-release) lxc for oneiric.  Do you have any reason for me to wait?13:51
zulserge_: nope13:51
serge_k13:51
serge_it'll be a kick-ass update :)13:51
zulalthough /dev/pts doesnt seem to get mounted in the container under libvirt13:52
stgraberserge_: I guess with everything that went in git recently it's probably worth trying to convince Daniel to just release ;)13:52
serge_stgraber: i've asked him, can you also ask him?13:52
stgraberserge_: sure13:52
serge_i agree, 0.7.5 seems worth yagginh13:52
serge_tagging, even13:52
serge_thx13:52
RoyKrurufufuss: not really - read up about unix and signals14:21
rurufufussRoyK: so you mean if I have a C program, do signal(SIGHUP, whatverfunction)14:22
rurufufussand whatever function just does nothing14:22
rurufufussyou mean that's actually not enough?14:22
RoyKrurufufuss: basically, yes15:07
RoyKrurufufuss: and the signals have different meanings, different use etc15:08
RoyKfor instance, HUP is sent when a terminal is closed, TERM is the basic signal sent by kill(1), some signals shouldn't be trapped (for example SIGSEGV) and others can't be trapped (SIGKILL)15:09
alamaradvanced programming in the unix environment is a good lecture fo stuff like this (if a library of yours has it you should take a look)15:10
alamarlecture? I mean reference Ithink15:11
rurufufusshmm ic15:11
rurufufussI mean, I just want a program of mine to not terminate15:11
rurufufusslike, I want to log in to a remote box, run it, and log off15:11
rurufufuss(it's a fastcgi application)15:11
rurufufussI suppose using nohup suffices huh15:11
alamaryou could run it in screen, with nohup or disown15:11
alamaror do signal handling yourself. if you want it to act like a daemon there is a good entry in the unix programming faq for that15:11
alamarhttp://www.unixguide.net/unix/programming/1.7.shtml if you're interested15:12
rurufufussthanks15:12
rurufufusswhen you said with screen, nohup or disown15:12
rurufufussthat's "either screen, nohup, or disown", not "with screen AND either nohup or disown" right?15:13
RoyKrurufufuss: man screen etc15:13
RoyKeither one will do15:13
rurufufusscool, thanks!15:13
RoyKthere's usually some 10+ ways to do things :)15:13
rurufufusswhat's the chances handling a signal to SIGHUP and doing nothing on the handler will also work?15:13
rurufufussI would test this myself if I could, but its not compiled yet :/15:14
RoyKthat'll trap SIGHUP, yes15:14
rurufufusssweet15:14
RoyKand ignore it15:14
RoyKbut if something sends it a SIGTERM, it'll die15:14
RoyKunless that's trapped as well15:14
rurufufussbut if I run it with & it wont get sigterm would it?15:14
rurufufusswell, I suppose I could just test when I get the chance to15:15
RoyKnohup is the only wrapper I know that traps signals - & is only to background it, and that one doesn't trap anything15:15
RoyKyou could write a trapeverything wrapper, but normally you want software to stop when it's told to15:16
RoyKor if it crashes15:16
RoyKtrapping SIGSEGV could lead you into interesting times indeed15:16
uvirtbotNew bug: #807038 in dbconfig-common (main) "dbconfig-common fails to preseed phpmyadmin on natty/lucid" [Undecided,New] https://launchpad.net/bugs/80703815:16
=== Ursinha is now known as Ursinha-lunch
=== NG_ is now known as ng_
=== JanC_ is now known as JanC
RoAkSoAxadam_g: ping16:01
Davieyeveryhting seems oddly quiet... has disaster hit?16:11
RoyK 16:18
serge_zul: oh, silly me.  we're in soft freeze16:20
stgraberserge_: not anymore. Got lifted this morning (european time)16:21
serge_ah, cool, thx16:22
TheEvilPhoenixthis channel is always quieter than some of the other ubuntu channels :P16:23
TheEvilPhoenixquestion.  any idea why Server won't install correctly on a Dell POweredge 2600 in hardware RAID5?16:23
TheEvilPhoenixi end up with an infinite boot loop16:23
genii-aroundTheEvilPhoenix: Did you set up the raid array in the hardware before installing?16:30
TheEvilPhoenixyeah16:31
genii-aroundTheEvilPhoenix: Is grub entry using the uuid of the array, or sdaX type entry for loading the kernel from?16:35
TheEvilPhoenixi'll have to check, i'm not at the system atm.16:36
uvirtbotNew bug: #807091 in nova (universe) "error: internal error character device (null) is not using a PTY" [Undecided,New] https://launchpad.net/bugs/80709116:36
TheEvilPhoenixi'll come back once i got that info16:36
adam_gRoAkSoAx: hey16:39
=== Ursinha-lunch is now known as Ursinha
RoAkSoAxadam_g: hey, never mind :)17:02
uvirtbotNew bug: #807110 in nmap (main) "Sync nmap 5.21-1.1 (main) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/80711017:06
smoserDaviey, around ?17:57
smoserBen is still utlemming? he's not here.17:58
Davieysmoser: ack17:58
smoserhttp://uec-images.ubuntu.com/releases/oneiric/ has 'alpha-2' and 'alpha-2a'17:58
smoseron nectarine 2a has been deleted.17:58
smoseri'm going to run 'trigger-sync' there, which will delete from uec-images also17:59
smoserthey seem to have identical content, but didn't know what 2a was and wanted to check before i cleaned there.17:59
Davieyutlemmin17:59
Davieysmoser: I just pinged him on another irc network, think he should be here soon.18:00
Daviey]18:00
* Daviey spots utlemming's irc failure.18:02
* utlemming was on other irc channels18:07
* utlemming but is now in the right spot18:08
zulsoren: ping18:23
sorenzul: 'sup?18:46
zulsoren: why do you want to break up nova-compute?18:46
uvirtbotNew bug: #807153 in bind9 (main) "named does not shut down after "service bind9 stop"" [Undecided,New] https://launchpad.net/bugs/80715318:46
sorenzul: I thought I explained in the bug?18:47
zulsoren: right it looks overly complicated i think18:48
sorenHow so?18:48
sorenzul: I thought you of all people would be happy with an easy way to use Xen or LXC with nova without mucking around with config files.18:49
zulnm...im not thinking today18:50
outer_spacehow can ubuntu render php files instead of downloading them, latest ubuntu with tasksel lamp installed18:55
jeeves__is anyone here today?  I'm getting "rad_recv: Access-Reject packet from host 127.0.0.1 port 1812, id=199, length=20" and I'm trying to figure out why19:00
=== jeeves__ is now known as jeeves_moss
jamespagejibel: I believe the HVM AMI's are broken ATM - utlemming or smoser would be able to confirm20:07
utlemmingYes the HVM AMI's are broken. We are working with Amazon to address the problem20:07
jamespagethanks utlemming - I thought that was the case20:08
utlemminghttps://bugs.launchpad.net/ubuntu/+source/linux/+bug/79185020:08
uvirtbotLaunchpad bug 791850 in linux "oneiric cluster compute instances do not boot" [Undecided,Confirmed]20:08
jamespageta20:08
jeeves__do I have to make a new entry into the client.conf file for each access point I need access to my FreeRadius server for?20:19
=== med_out is now known as medberry
lifelessserge_: hi :)20:26
jeeves__lifeless, hey20:31
lifelesshi?20:32
serge_lifeless: hey20:40
lifelessserge_: would you like a new lxc script that takes a shutdown container, makes an aufs overlay and starts it up20:40
serge_lifeless: yeah20:41
lifelessok, ew have one, I'll see about generalising20:41
lifeless*we*20:41
lifelesson the cgroup-bin thing20:41
serge_lifeless: cool, thanks.  should we integrate that into lxc-start you think?20:41
serge_lxc-start -a for aufs?20:41
lifelessmaking everyone that wants to use lxc manually mount the filesystem seems ugly20:41
lifelessI replied to the bug20:41
serge_lifeless: we don't make everyone20:41
lifelessbut as its closed you might not see it ;)20:41
serge_what's the bug# again?20:42
BrixSathello, i have a site and it has a lot of users and it makes the machine not respond to all  with all the accesses (overloaded) how can i make with a second machine reduce the overload of the first one?20:42
lifelessserge_: bug 80045620:42
uvirtbotLaunchpad bug 800456 in lxc "no dependency on cgroup-bin" [Undecided,Invalid] https://launchpad.net/bugs/80045620:42
lifelessBrixSat: what sort of site?20:42
BrixSatit is a radio network site20:43
lifelessI mean, is it a website? static content or dynamic?20:43
BrixSatdynamic20:43
serge_lifeless: what exactly does a 'Suggests' entry do then?  pop up a msg while installing?20:43
lifelessserge_: nothing, but its one of the first places people look when something doesn't work.20:44
BrixSatlifeless: dynamic website20:44
serge_I'm fine adding a suggests now that cgroup-bin plays nice :)20:44
lifelessserge_: recommends or stronger would be better20:44
serge_lifeless: ok20:44
serge_wonder how i can gauge whether users would be annoyed by that20:44
lifelessserge_: http://www.debian.org/doc/debian-policy/ch-relationships.html#s-binarydeps20:45
serge_th20:45
lifelessserge_: if cgroups-bin can be disabled20:45
serge_x20:45
lifelessserge_: then users who want to do it manually could disable20:45
serge_well i suppose a .override file should work, if those are in upstart now20:45
lifelessthough recommends is the usual place to put 'you should have this but can decide not to if you want'20:45
lifeless'The Recommends field should list packages that would be found together with this one in all but unusual installations.'20:46
BrixSatlifeless:  any ideia?20:46
serge_right but we treat Recommends as stronger than debian does right20:46
serge_?20:46
uvirtbotNew bug: #807222 in tomcat6 (main) "Sync tomcat6 6.0.32-5 (main) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/80722220:46
lifelessserge_: nope, we, like debian, install recommends by default but allow it to be removed (or not installed if the user toggles the option)20:47
lifelessBrixSat: if its a dynamic site, do you know if the database is overloaded, or your (php|perl|python) code, or the memory use on the machine?20:47
serge_lifeless: and if existing users do an upgrade, will it auto-install a new recommends?20:47
lifelessBrixSat: the solutions are different based on the actual problem :)20:48
serge_stgraber: if you still ahve that source tree handy,20:48
lifelessserge_: yes; but we're going to have more users eventually than we have today, so upgrades are a consideration not an overriding rule :)20:48
BrixSatlifeless:  well the machine just can hang thousands of connections per seconds20:48
stgraberserge_: yep, it's still there20:48
lifelessserge_: oh, let me rephrase - if you dist-upgrade I think it installs new recommends, a daily upgrade won't.20:49
serge_do you mind adding cgroup-bin to the Recommends?  :)20:49
serge_stgraber: for bug 80045620:49
uvirtbotLaunchpad bug 800456 in lxc "no dependency on cgroup-bin" [Undecided,Invalid] https://launchpad.net/bugs/80045620:49
lifelessBrixSat: for that, I suggest rate limiting in your front end20:49
BrixSatrate limiting? humm20:50
BrixSatlifeless:  whtat would that consist?20:50
lifelessBrixSat: determine what concurrent request count your server can serve without bogging down,and then configure apache|haproxy|squid|varnish - whatever you have as your entry point - to only forward that many connections to your dynamic code at once20:50
stgraberserge_: uploaded20:50
lifelessit will stop the machine hanging, though it won't add capacity.20:51
serge_stgraber: remind me to buy you a beer at the sprint20:51
serge_thanks, gnight20:51
BrixSatlifeless: cant i have a second host able to do the same as the first host?20:51
lifelessseparately, if you need more capacity, you need to determine what you need more capacity of - database, frontend, bandwidth - and cluster-or-increase that somehow20:51
lifelessBrixSat: yes, but if you don't manage the concurrent work, it will still overload and fail and then that will cascade across your whole cluster.20:52
lifelessBrixSat: the very first thing you need is a concurrent work limiter, it makes everything else -much- easier to tackle20:52
lifelesswe use haproxy for launchpad.net, for instance.20:52
BrixSathaproxy does that?20:53
* patdk-wk is just using ipvs these days20:53
lifelessserge_: thanks!20:53
patdk-wkthe linux firewall can do that :)20:53
lifelessBrixSat: yes,20:53
lifelesspatdk-wk: not as nicely (for users that exceed the limits)20:54
BrixSatif server1 fails will the second one be able to reply?20:54
patdk-wkya, defently doesn't give you a nice error though :)20:54
lifelesspatdk-wk: also things like persistent connections aren't handled by iptables solutions, it can't tell 'possible work' vs 'actual work'. haproxy can be configured to do that.20:54
lifelessBrixSat: not for the failed request. For subsequent requests, yes.20:54
BrixSatnice :)20:55
BrixSatthanks20:55
patdk-wkheh? possible vs actual?20:55
patdk-wkany request that hits the server is actual work20:55
=== utlemming is now known as utlemming_lunch
uvirtbotNew bug: #807233 in mcollective (universe) "mcollective not working with rabbitmq" [Undecided,New] https://launchpad.net/bugs/80723321:06
uvirtbotNew bug: #807240 in rrdtool (main) "Please merge rrdtool 1.4.3-3.1 (main) from Debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/80724021:16
lifelesspatdk-wk: yes, but tcp connection != http request21:17
lifelesspatdk-wk: so http persistent connections will sit idle for (usually) up to 30 seconds21:18
lifelesspatdk-wk: if you say 'machinehas 4 cores, can handle 4 requests concurrently, and then limit to 4 http connections, you'd lost 30 seconds of processing per core per connection21:19
lifelesspatdk-wk: if you fudge it and multiply out to get a guesstimate, then a bunch of near-simultaneous requests coming in can flood the server and bog things down21:20
=== ng_ is now known as NG_
jeeves__why does my server keep trying to use "::1..." (the local ipv6 address) and NOT 127.0.0.1?21:48
cloakablecheck /etc/hosts21:50
WMPhello21:51
WMPhow to build package with my, modyfited kernel?21:52
=== utlemming_lunch is now known as utlemming
MACscrwhich is the name of the kernel that i should be running for 10.4 LTS. Is it kernel 2.6.32-32-server?22:01
MACscrthis is a xen guest. The xen kernels i guess arent used anymore22:02
patdk-lapthat is not a xen kernel22:02
patdk-lap2.6.32-316-ec2 is22:02
MACscrthat doesnt seem right. why the -ec2?22:04
MACscri thought the paravirt drivers were included after 2.6.2722:04
MACscrwhats the difference between -server and -generic22:07
WMPserver have other kernel timing22:08
patdk-lapdepends22:08
WMPgeneric is to desktop22:08
patdk-laptz clock rate, pae enable, ...22:08
WMPyes22:08
WMPserver is to server ;)22:09
MACscrhmm, well i upgraded a xen guest (whihc is being used as a web server) which was Ubuntu 8.04.3 LTS, kernel 2.6.24-25-xen to 10.4 LTS, but it only seemed to install the generic kernel22:09
MACscrand it didnt even touch menu.1st. So luckily i caught that before rebooting or else it wouldnt have even booted since the xen kernel isnt compatible with 10.422:10
patdk-laplast time I did that, the guest was trashed22:10
MACscrthis a 64bit system mind you22:10
patdk-lapso was mine22:10
patdk-lapso I use the -ec2 kernel now22:11
patdk-laplooks like kernels since 2.6.23 have included xen stuff22:11
MACscrwell i have another system that is runnng 10.4 LTS with 2.6.32-32-server #62-Ubuntu SMP Wed Apr 20 22:07:43 UTC 2011 x86_64 GNU/Linux22:11
MACscrand its fine, but wasnt sure if that was still the correct way to go22:11
cb1609is there a good logging program for ubuntu-server? all my users are logging in via ssh.22:12
MACscrgrr, my timing is off again though on that working system.22:14
lifelessserge_: where should I get the source for your current lxc package?22:14
patdk-laphmm, looks like the kernel should work22:20
patdk-lapguess my issue was the xen blkdev is a module and wasn't in initrd correctly22:21
smoserit was today22:21
serge_lifeless: it's in the oneiric archive22:25
serge_(i dont' have my own lp branch for the latest)22:25
lifelesskk22:25
adam_gsmoser: W: Failed to fetch bzip2:/var/lib/apt/lists/partial/us-east-1.ec2.archive.ubuntu.com_ubuntu_dists_natty-updates_universe_binary-i386_Packages  Hash Sum mismatch  , any idea?22:27
BrixSathey22:38
BrixSati have a questioni have a site wich is often confronted with high bandwidth and cpu, will ubuntu cloud and 2 servers make a kind of load balance?22:39
WMPanybody know how to in make-kpkg make tiny and nice kernel name?22:39
MACscrpatdk-lap: i still wonder though if the ec2 kernel is a bit more optimized and might be a little faster/leaner than the -server kernel22:39
MACscrupdate-grub still doesnt work on a xen guest either =/22:40
WMPBrixSat: hmmm, maybe nginx? but nginx havent loadbalancing per bandtwitch22:40
BrixSatWMP: is it diferent having ubuntu-server or ubuntu-cloud? will i notice diferent performances?22:41
WMPi don't know ubuntu-cloud22:41
WMPall servers i make in ubuntu-server22:41
BrixSatWMP:  the problem is one of my servers get a lot of ddos22:42
patdk-lapthere is no thing as ubuntu-cloud22:42
patdk-lapunless you mean ubuntu-uec22:42
patdk-lapand yes, you will see a difference22:43
MACscrpatdk-lap: also, are you doing anything special to get your ubuntu guests to keep the correct date/time?22:43
BrixSatpatdk-lap: if a server get a ddos atack will all the cloud stop?22:43
patdk-lapmacscr, nope22:43
WMPBrixSat: you shoud invest in hardware firewall22:44
MACscrpatdk-lap: are you by chance using pvgrub or pygrub though?22:44
patdk-lapbrixsat, depends on the ddos22:44
BrixSatWMP:  cant afford it22:44
patdk-lapmacscr, nope22:44
BrixSatpatdk-lap:  ddos (udp flood=22:44
patdk-lapddos can be hundreds of thousands of things22:44
patdk-lapall it means is you have too much from too many places at once22:44
BrixSatpatdk-lap:  usualy from 3 or 4 ip's22:45
patdk-lapwhat udp services do you provide?22:45
patdk-lapthat is hardly a ddos, that is much more a dos22:45
patdk-lapand easy to block using simple firewall rules22:45
BrixSatpatdk-lap:  none, i have no udp22:45
patdk-lapthen how the hell could a udp flood take you down?22:46
BrixSatcause thousands of connections per second22:46
patdk-lapudp doesn't make connections22:46
patdk-laptherefor that isn't the issue22:46
BrixSatthe machine was goind up and down no network availiable22:46
patdk-lapdo you have stats on incoming/outgoing packet counts?22:46
BrixSatsim22:47
BrixSatyes22:47
patdk-laphow many packets in and out?22:47
patdk-laphmm, actually might of been icmp replies, so probably wouldn't help22:47
patdk-lapyou need to configure a firewall desperately22:47
patdk-lapbe it soft, hard, or other22:48
BrixSatpatdk-lap:  i was having 11mpbs of network load22:48
patdk-lapbut a crapload of udp shouldn't be able to take down a server22:48
patdk-lapexpecually at 11mbit22:48
patdk-lapI have handled that much ntp traffic without an issue22:49
BrixSatbut in my case the server stops reacting and crashes22:49
BrixSator i shutit down first22:49
patdk-lapso you say22:50
patdk-laptherefor I don't believe it was udp traffic that did this22:50
BrixSatmy datacenter said it was22:50
patdk-lapwell, you have two solutions22:51
ahs3what kind of udp traffic?  ntp?  icmp?  dns?  there are all sorts of dns attacks in the wild22:51
patdk-lapget a firewall to reject stuff, and hopefully ban ip's that do that22:51
patdk-lapor get your datacenter to do it for you22:52
patdk-laphe said he wasn't running a udp server, so it shouldn't matter what type22:52
BrixSatahs3:  it was icmp, and ntp22:52
patdk-lapwhat ip address?22:52
BrixSatthe source?22:53
BrixSator my machine?22:53
patdk-lapthe ip address on your machine they where *attacking*22:53
BrixSat79.143.184.21022:54
patdk-laphmm, that seems good atleast22:54
patdk-lapthere are craploads of really bad ntp stuff, that when it doesn't get a reply, it hammers the server harder22:55
BrixSatpatdk-lap:  yes now it is i had to replace the ip22:55
patdk-lapheh?22:55
BrixSatit was before .20922:55
patdk-lapI asked what ip they attacked22:55
patdk-lapnot what you have now22:55
patdk-lapno difference22:56
BrixSathoo it is a 79.143.184.20922:56
BrixSatthat is not assigned to anything now (only dns resolution)22:56
patdk-lapya, you badly need to fix your firewall22:58
patdk-lapinstall a firewall on that box, and set it to DROP everything22:58
patdk-lapthat will kill the icmp stuff22:58
patdk-lapand should kill the load you had22:58
patdk-lapI also see all kinds of fun stuff open, like dns, you said you where not running udp services22:59
alamarBrixSat: you get a "ddos" from 3 or 4 ips?22:59
patdk-lapalso your x11 ports are exposed22:59
BrixSatyes22:59
BrixSatamerican ips22:59
BrixSatx11 ports?22:59
patdk-laphttp://pastebin.com/AQN6GLKj23:00
patdk-lapthose closed ports, should say stealth instead23:00
alamarwell if they are static you could just block them using netfilter. (or even ask upstream to do it for you)23:00
patdk-lapalamar, and if he just didn't produce icmp replies to every packet, he probably wouldn't have to block them23:00
alamarpatdk-lap: having icmp work is not a bad thing per se23:01
patdk-lapI didn't say break icmp23:01
patdk-lapbut have icmp not reply with port closed23:01
alamarbut you should probably rate limit it if it causes problems23:01
BrixSatalamar:  how can i do it?23:02
alamarthere is an iptables module for that. google icmp rate limiting. but it's probably the easiest way to just nullroute or filter the source addresses that cause your problems in general23:05
BrixSatthks23:07

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