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

=== kiall is now known as kiall|AFK
=== kiall|AFK is now known as Guest56225
=== gpc is now known as Gulfstream
=== Gulfstream is now known as gpc
sparcDoes anyone here host a local ubuntu ubuntu repository, to install from?02:13
sparcs/ubuntu//; # :)02:13
sparcif so, i'm curious if you provided preseed options to the installer through a preseed file, or as boot options02:14
sparcit seems like there are two ways to do it02:14
sparcboot options seem better, since then the installer doesn't have to depend on the Internet being available02:14
sparcalas, the installer continues to look for archive.ubuntu.com, even when mirror/http/mirror and apt-setup/security_host are provided02:16
sparcmust be more, to do...02:16
jzacshhi, i'm about to file a bug in launchpad, `apport-bug php5` -- but its just a guess, and I'd like to hash how some details to pick the correct package. my problem is with less, or readline, or ubuntu, or php... not sure: http://ubuntuforums.org/showthread.php?p=10359461#post1035946103:13
jzacshif anyone has any thoughts could they hilight me, or post to that thread? thanks a ton :)03:13
jmarsdenjzacsh: re your "CLI ISSUE #2": I cannot duplicate this in Ubuntu 10.04.1 here, using Esc and then j or k works for command history in mysql for me, when using your .inputrc .04:24
jzacshjmarsden: thanks for taking the time to try.04:27
jzacshi'm on 10.04. what is the extra point version? (10.04.1?)04:27
jmarsdenJust a minor update, you probably have it too, do  lsb_release -d    to check04:28
jzacshjmarsden: yes, i have .1 as well. (sorry -- in another channel need hilights sometimes)04:30
jzacshjmarsden: i know its not _just_ me -- as i had people in the drupal.org issue queu (linked in my issue) say they also experience this in ubuntu (only)04:31
jzacshjmarsden: rr... nvm, i'm thinking of CLI ISSUE #1 -- (its late here)04:31
jmarsdenOK.  And your mysql is linked against libreadline as usual, right?  What does     ldd `which mysql` |grep readline    output?04:32
jzacshjmarsden: ahahah, lol.. wow. now i don't have the issue in mysql either04:33
jzacshmayb eit was a recent update (has to be -- i've bene chasing this for months)04:33
jmarsdenOK... I'll stop trying to duplicate it :)04:33
* jzacsh checks python04:33
jzacshvery very strange.04:34
jzacshoy.04:34
jzacshjmarsden: so ISSUE #1 is reproducable for you, then?04:34
jmarsdenI'm not sure, I found #2 easier to understand how to duplicate so I went for that one first. Trying #1 now.04:34
jmarsdenDoing php -r 'print_r(get_defined_constants());' |less    seems to work as I would expect it to, so no, #1 I can't yet duplicate either.04:36
jmarsdenjzacsh: ^^04:36
* jzacsh makes sure that hasn't fixed it self either04:36
jzacshjmarsden: okay, that's still an issue for me -- i have: `php --version`: http://dpaste.de/fqgy/raw/04:38
jmarsdenUm.  In 10.04.1 ???  In Lucid you should have 5.3.2-1ubuntu4.7 not 5.3.5 .04:40
jmarsdenjzacsh: ^^ I keep forgetting to highlight you...04:40
jzacshjmarsden: i may have upgraded (very possible) -- i work as PHP dev as my day job, -- but I don't honestly remember for this laptop-- I rarely use it.04:41
jmarsdenOK... not sure if that matters or not.  What does    php -r 'print_r(get_defined_constants());' |cat -e -v |tail -1    output for you?04:42
* jzacsh tries04:42
jzacshjmarsden: )$04:43
jzacsh(without the preceding: "jmarsden: "04:44
jmarsdenOk, same here... so there is no unwanted ^M in there on your machine... at least not one that is visible to cat -e -v ... so what is less seeing?04:44
jzacshjmarsden: hmm.. very strange, php -r 'print_r(get_defined_constants());' |cat -e -v |tail -104:44
jzacshwh00ps04:44
jzacshjmarsden: php -r 'print_r(get_defined_constants());' |cat -e -v | less  has the same issue04:45
jmarsdenThat starts to suggest that #1 is more to do with less than with php output??04:45
jzacshjmarsden: that's what was also suggestd in php.net bug i posted.04:46
jzacshi've heard a lot about this possibly being related to how ubuntu packages less04:47
jmarsdenIf you do    php -r 'print_r(get_defined_constants());' >somefile     you can then hexdump -c somefile   and less somefile and prove it is independent of php, perhaps?04:47
jzacshjmarsden: nope, its fine when read back from a file..04:48
jmarsdenOK.  does lv have the same issue?04:48
jzacshphp -r 'print_r(get_defined_constants());' > ~/tmp/buggy; cat /home/jzacsh/tmp/buggy  | less04:48
jzacshjmarsden: lv?04:49
jmarsdensudo apt-get lv   # another viewer04:49
jmarsdensudo apt-get install lv   # I mean.04:49
jzacshjmarsden: sorry, i was just running those test on my archlinux box. oy (ssh confusion) -- sorry04:49
jmarsdenAh... not so useful, that.   Also, check what     set |grep LESS   outputs, you can radically alter less behaviour with lesspipe stuff...04:50
jzacshso, yes, the above ^ command runs without any issue (to file, then to less) on my Ubuntu system as well.04:50
jmarsdenOK.  I think I have some custom stuff in my .bashrc for lessopen/lessclose, now I think about it...04:51
jzacshjmarsden: LESS=' XFRr '04:51
jmarsdenJust for fun, try   export LESS=MMich4    and then retest04:52
jzacshjmarsden: yes, same behavior with the options you requested.04:54
jmarsdenHmm, OK.  That's what I use... I was hoping the rR might be what was causing less to behave poorly for you.04:54
jzacshnot okay when passed directly through pipes (eg.: ` ...  | cat -e -v | less`) and okay when passed to a file (eg.: `... > ~/tmp/buggy ; less < ~/tmp/buggy)04:55
jzacshso, is still suspicious that things are not okay when passed directly along through the pipe04:55
jzacshjmarsden: i have to go soon, but if you could either comment on the ubuntu-forum post, or just start a launchpad.net/ubuntu bug, that would really be very awesome.04:56
jzacshthakn you for all the help so far. this machine i'm chatting from shouldn't get disconnected, so i should See hilights should you hav emore to say. i'm off to bed for now :)04:57
jzacshjmarsden: ^04:57
jmarsdenjzacsh: I'll see what I can do.  I need to duplicate the issue first, really... will try in a new default user without all my customizations and see what happens.04:57
jzacshjmarsden: whatever you can find or can _not_ find, if you'd post to that forum thread at the least, that'd be aewsome :)04:58
jzacshciao04:58
jmarsdenBye04:58
=== sre-su is now known as Janes147
=== Janes147 is now known as sre-su
elkingreyHello, I have recently installed the Postfix and Dovecot package on my Linode server. My problem right now is setting it up in my Evolution client so that I can access that email account. Can anybody point me to a guide that will walk me through the specs I have to put into Evolution for the new account?08:22
Datzis there a download for the -virtual kernel?08:30
twbDatz: apt-get install it08:31
Datzah, thanks08:32
DatzIf I'm on 10.04 install, do I have to sick with a certain kernel version? I'm on 2.6.32 now, but aptitude search shows linux-image-2.6.35-22-virtual08:42
bluefrogexit09:08
twbDatz: you probably screwed up, then09:11
twbAh, that kernel has been backported to lucid-updates.09:12
twbIMO you should stick to .32 unless you have a really good reason not to09:12
awantithanks09:51
Adman65hey guys. Is there some way I can configure the fastest mirror?10:00
twbdeb mirror://mirrors.ubuntu.com/mirrors.txt lucid main universe10:00
Adman65ty10:02
jpdsNot exactly fastest, but random country mirrors.10:03
Adman65well atm im getting <200kB10:03
twbjpds: the "mirror" method will always pick the first entry returned by the smart server10:04
jpdsAdman65: As you're in the US, try mirror.anl.gov.10:04
jpdstwb: "smart".10:04
twbI'm told it returns based on geoip, but I don't know how granular that gets10:04
twbjpds: right, "smart" as in it violates the spirit of HTTP by not returning static, stateless content :-(10:05
jpdsIt's cached.10:05
* twb thinks the whole "web app" think should FOAD and go back to Display PostScript.10:06
twbs/think /thing /10:06
jpdsStill, if you want to find the fastest mirror, you're better off looking at routes and seeing which mirrors you have peering with or something.10:06
jpdshttp://mirror.{a,p}nl.gov/ happen to be the two 10Gbps US mirrors there are.10:07
=== doko__ is now known as doko
kerozeneaptitude seems to assume --purge-unused.. how can I reconfigure that?11:25
laurishi, how to make service starting automatically on 10.04 ?11:29
\shlauris: check /etc/default/<service>11:30
laurisand if there's no such file ?11:30
twbkerozene: run its gui and hit f10, then wander through the options11:31
twbkerozene: it's in there somewhere11:31
kerozeneI've no gui11:31
lauriscreating empty file didn't helped11:31
twbkerozene: yes, you do.11:31
twbkerozene: you may not have a *raster* GUI, but you are very unlikely to be ssh'ing from a printer11:32
kerozenegotcha11:32
twbJust run "aptitude" without arguments11:32
kerozeneyeah11:32
lauris\sh, service --status-all shows [ ? ]  mysql11:33
kerozenetwb: I only found gui options11:34
twbSigh11:34
twbDependency handling >     [X] Remove unused packages automatically11:34
kerozeneunder Options?11:35
twbF10 > Preferences, IIRC11:35
twbF10 > Options > Preference11:36
kerozeneyeah, it's not there. this is 8.0411:36
kerozenegood call tho11:36
twbGrmph11:36
* twb wanders over to amc.prisonpc.com11:36
twb    [X] Remove unused packages automatically11:37
twb...it's there in 8.0411:37
twbThat's aptitude 0.4.9-2ubuntu511:37
kerozenebeautiful. works11:38
kerozenenot used to that ui: scrolling, split screen etc.11:38
\shlauris: mysql should come up by default when you don't have any bugs in your config11:39
laurisi can start it manually with service mysql start11:39
laurisso i assume there are no bugs in the config11:40
twblauris: 10.04?11:42
twbAs at 10.04, mysql is started from upstart, not sysvinit11:42
laurisyes, 10.0411:42
\shlauris: when you check the upstart script, it says start on (net-device-up and local-filesystem and runlevel [2345]) so this works as expected, or you have something missing from the start on events11:42
laurishow can i check this ?11:42
\sheventually your net-device is not up, or your local filesystem isn't mounted11:42
twblauris: with great difficulty :-/11:43
twb\sh: looks like the mysql upstart job has some stinky spinlocks and things, I suppose they could be borking11:43
lauris\sh, this might be the case since i use openvz guest for running mysql11:43
twb\sh: did you check his /var/log/auth.log and syslog?11:43
\shlauris: http://upstart.ubuntu.com/wiki/Debugging11:43
twblauris: that's why11:43
twblauris: openvz and lxc do not generate the lo event that upstart expects11:43
twblauris: here's what I do: http://paste.debian.net/105515/11:44
\shtwb: hmm...lo up is triggered by udev, right? so it should run with any udev events regarding a NIC coming up11:44
twb\sh: he's running a container11:45
\shtwb: ah no udev then11:45
twb\sh: the kernel events are consumed by the dom0; the domUs don't see them11:45
twbHe probably has udev within the container, but it just sits there on its ass11:45
twbThe ifupdown NMU 0.6.8ubuntu29.1 "fixed" a bug where the lo up event was raised twice11:45
* \sh hoorays for bare-metal ;)11:45
twbSo you (or at least *I*) get the case where an update from lucid-updates suddenly causes all containers to stop booting11:46
twbNow, openvz is a little different from lxc, but I expect he's running into basically the same issue -- it might be a slightly different event11:46
laurishost is running on debian11:47
twbFWIW, OpenVZ isn't supported by Ubuntu anymore11:47
lauriswhich is supported.11:47
twbThey dropped it in favour of LXC, which isn't really production-ready as at 10.04 :-(11:47
laurisand then i run ubuntu guests on top of it11:48
laurisok, i assume i'd better workaround it11:54
iclebyte-workwe are looking for a solution with which we can monitor network traffic at various points across our network i.e. by protocol like for example a network tap. Does anyone know of any existing software for this?13:40
SockPantshi all13:43
SockPantsi'm installing ubuntu server 10.10, but the partitioner isnt working properly13:43
SockPantsi'm trying to set up software raid on 2 disks13:44
SockPantsi succeed in creating the software raid setup, but i can't subsequently partition the raid disk13:44
JamesPageSockPants: is there any particular error message you are getting?13:46
SockPantsJamesPage: no errors. right now i see the raid disk with an ext4 partition (i created that earlier for a lack of alteratives). selecting the disk and hitting enter does nothing but flash the screen, i can't delete the partition so i can't create swap space13:47
SockPantsi've restarted the server and tried again but nothing changed13:48
JamesPageSockPants: just reminding myself of how the installer works for RAID (did one a few months back)13:50
JamesPageSockPants: are you selecting the partition or the disk?13:56
sorensmoser: Where can I find some info on the desktop cloud images?13:56
SockPantsselecting the disk just flashes the screen, selecting the partition leads to the 'use as, copy, erase, done' menu13:56
JamesPageSockPants: OK so if you configure the use as 'do not use this partition'13:58
SockPantsJamesPage: that's how it's configured now13:58
JamesPageright - and then delete the software raid partition using the 'Configure software RAID' option at the top of the partition disks screen13:59
SockPantsJamesPage: that works, it deletes the raid disk14:00
JamesPageSockPants: does that get you to where you need to be?14:00
SockPantsJamesPage: no, i'm trying to get a root partition and a swap partition on the raid disk i just removed14:01
JamesPageSockPants: OK - and do you want to use LVM on top of the RAID-1 configuration?14:02
SockPantsnot necessarily14:02
mrrothoh14:02
JamesPageSockPants: you will need to setup a RAID device per partition you want to create if you don't use LVM14:05
SockPantsah in that case i misunderstood14:06
SockPantshow come i can't partition the raid disk as if it were a physical one14:06
JamesPageSockPants: or you can configure the RAID device as an LVM physical device and then create LVM volumes within it.14:06
JamesPageSockPants: good question - I'm not sure14:09
* JamesPage looks to see if there are any reasons why this can't happen.14:10
smosersoren, uec-images.ubuntu.com14:10
smoserthey're basically just images with ubuntu-desktop in them.14:10
sorensmoser: Ah, no NX or anything like that?14:11
smoserwell...14:11
smoserit looks like they currently all have a lucid-built nx from http://bazaar.launchpad.net/~ubuntu-on-ec2/vmbuilder/automated-ec2-builds/view/head:/vmbuilder-uec-ec2-fixes14:12
smoserwoops. from http://ppa.launchpad.net/freenx-team/ppa/ubuntu . the previous url has details14:13
smoseri thikn i'll probably yank that or deal with it some other way in natty for alpha314:14
RoAkSoAxmorning all!14:15
JamesPageRoAkSoAx: morning14:15
smoseryo14:15
RoAkSoAxhow's it going ?14:16
JamesPageSockPants: Software RAID disks can be partitioned - but this has not always been the case;14:20
JamesPageSockPants: so this is probably a hangover from the days before Software RAID devices could be partitioned.14:20
SockPantsJamesPage: i believe then i'm missing some option in the partitioner14:20
SockPantsactually i'm pretty sure i was able to remove the partition on the software raid disk once before and then choose to partition the free space into 2 partitions14:21
SockPantsbut i can't reproduce it14:21
JamesPageSockPants: :-) always the trick....14:21
SockPantsthere's no option to remove the partition or create a new partition table anywhere14:21
JamesPageSockPants: looks that way - the only workaround I can suggest is to use LVM ontop of the RAID device14:22
SockPantsi see. thanks for the help!14:23
JamesPageSockPants: it would be a nice feature of the installer as it would make setting up RAID much quicker14:24
jdstrandshauno: rules added via the ufw cli command are sotred in /var/lib/ufw or /lib/ufw depending on the version of ufw your are using. also, (again, depending on the version of ufw you are using), you can use the /usr/share/ufw/check-requirements to see if your kernel has everything needed to use ufw14:31
kaushalhi14:43
=== _21h_ is now known as Guest72970
kaushalcan someone please suggest me about running the query in Oracle ?14:44
uvirtbotNew bug: #706945 in php5 (main) "php5-fpm package does not include a logrotate file" [Undecided,New] https://launchpad.net/bugs/70694514:46
JamesPageSockPants: I raised this feature under bug 70694915:00
uvirtbotLaunchpad bug 706949 in partman-md "Partitioning of RAID devices is not possible through installer" [Undecided,New] https://launchpad.net/bugs/70694915:00
SockPantsJamesPage: great, thanks for the effort!15:00
SockPantsi hope it gets fixed15:00
JamesPageSockPants: if you want to add any more information to be bug report/and or confirm it that would be great.15:01
SockPantsJamesPage: i'll have a look15:01
JamesPagezul: remember our brief conversation about Samba 4 in main last week?15:03
zulJamesPage: yeah and its still not going to happen15:04
JamesPagezul: I know; but its been pointed out to me that only the Preferred dependency has to be in main.15:04
sorenJamesPage: Yes, that's correct.15:07
JamesPagezul, soren: so could we not support existing samba4-client installs using smbclient | samba4-clients ?15:09
JamesPagesmbclient: in main15:09
zulwhy again?15:09
sorenJamesPage: Sorry, what?15:09
* soren is completely missing context15:10
JamesPageContext:15:10
JamesPagebug 70437715:10
uvirtbotLaunchpad bug 704377 in nagios3 "nagios3 requires smbclient, tries to uninstall samba4-clients" [Low,Triaged] https://launchpad.net/bugs/70437715:10
JamesPagesmbclient conflicts with samba4-clients so if you install nagios3, samba4 gets un-installed in preference to the smbclient dependency15:11
* JamesPage forgets that soren is not a mind reader15:11
zulJamesPage: nack15:12
sorenJamesPage: Sure, if nagios is happy to use the samba4 equivalent of smbclient, just add it as an alternative in the Depends.15:12
sorenzul: Why not?15:12
hallynbug 52528715:12
uvirtbotLaunchpad bug 525287 in lvm2 "Add support for corosync based clusters in clvm" [High,Confirmed] https://launchpad.net/bugs/52528715:12
zulsoren: because i can just see this causing headaches down the road15:12
sorenThere's a bajillion examples of this in the archive.15:12
sorenRoughly.15:12
zulsoren: name one15:12
sorenI didn't actually count them.15:13
zulsoren: i assumed you didnt ;)15:13
sorenWe have eleventy billion mta's, for intance.15:13
sorenOnly two are in main, yet a lot of packages specify a dependency on mail-transport-agent.15:13
sorenIt's less direct, since it's a virtual packages, but that causes more headaches, not less.15:14
sorenBut sure, I'll find an example.15:14
sorenHeck, we even have dependencies that don't exist at all!15:15
sorenadduesr depends on debconf | debconf-2.0. debconf-2.0 doesn't exist.15:15
sorenalsa-utils depends on whiptail | dialog. dialog is in universe.15:16
zulrght you made your point15:16
soren...and I've only made it alsa-utils (going alphabetically).15:16
sorenAh, debconf provides debconf-2.0. My bad.15:17
sorenApache depends on any MPM. The itk one isn't in main, yet validly fulfills the requirement.15:18
sumanhow to connect to internet any one???15:20
sumani mean my server15:20
sumananyone here15:21
suman??15:21
sumanhave a small problemo15:21
sumanhullo can anyone help15:22
Pici!details | suman15:22
ubottusuman: Please give us full details. For example: "I have a problem with ..., I'm running Ubuntu version .... When I try to do ..., I get the following output: ..., but I expected it to do ..."15:22
sumanok sorry ..pls wait15:24
sumanI am running ubuntu server edition which is not connected to internet ..i jus need a command which connct it to the internet...sorry for my english15:25
sumanactually i installed server edition first but now want to switch to desktop edition ..am trying sudo apt_get install ubuntu_desktop15:27
sumanits not working syaing that cannot locate the package15:27
Picisuman: The package name is ubuntu-desktop not ubuntu_desktop15:27
sumanyeah i did that by mistake i typed that15:28
Picisuman: There is no 'one command' that connects a server to the internet.  Do you see your network connection in   ifconfig15:28
=== Guest56225 is now known as Kiall
sumanone coulumn is lo15:29
sumanand other isvirbr015:29
=== Kiall is now known as Kiall|AFK
=== Kiall|AFK is now known as Kiall
sumanits showing my ip n stuff15:30
PiciCan you ping 8.8.8.8 ?15:31
sumanwait will do that15:31
sumannetwork is unreachable15:33
sumanoutput:network is unreachable15:33
sumancan i come back some one knocking my door15:34
PiciSure15:35
SockPantsi now seem to be in a situation where i can't partition at all15:36
SockPantsis there any way i can manually force-delete / ignore all the info it thinks it has?15:37
leprechausure15:37
SockPants.. in the installer?15:37
leprechaudd if=/dev/zero of=/dev/sdx bs=512 count=32 ... that will completely wipe your partition table15:38
SockPantsleprechau: how do i get to a cli15:38
leprechauwhere sdx is the drive you want to wipe15:38
leprechauboot cd into 'rescue a broken instalation' mode from the first menu15:38
hggdhsmoser: there?15:38
smoserhere15:39
smoserhggdh,15:40
sumanPici:i am back ..can u please guide me to connect to internet15:45
sumanpici:r u there15:46
suman??15:46
sumancan anyone help me connectiing my ubuntu servr edition to internet15:48
suman???15:49
SockPantsis there any way to switch to a cli in the middle of installation16:00
genii-aroundSockPants: You can togle consoles with the usual combos like alt-f1 thru alt-f416:01
genii-aroundIf memory serves 4th console is where all the output messages are appearing16:02
Picisuman: I got called away to work on something, are you still having issues?16:04
sumanyeah16:04
SockPantshm ok16:05
SockPantshow can i manually make a partition table on /dev/md0 during install? it cant find parted16:05
sumanrusty149:yeah16:05
JamesPageSockPants: use fdisk /dev/md016:06
Picisuman: Is this a virtualized server?16:07
SockPantsJamesPage: thanks, that seemed to work, but then there was an error anyway. what's the command for setting up software raid manually?16:12
netzihi @ all16:14
netzibräuchte hilfe beim Compilern16:16
zulRoAkSoAx: there is a newer drbd8 in debian16:19
RoAkSoAxzul: yeah! upstream is releasing a newer version though16:22
zulRoAkSoAx: cool16:22
RoAkSoAxzul: but I'll take care within this or next week...16:22
RoAkSoAxzul: btw... what kernel is natty gonna ship?16:23
zul.38 i think16:23
RoAkSoAxzul: ok, thanks! Then I guess Debian version should be enough for us!16:26
uvirtbotNew bug: #706988 in mysql-5.1 (main) "Major Bug in MySQL 5.1.49 up to 5.1.52" [Undecided,New] https://launchpad.net/bugs/70698816:31
=== mquin_ is now known as mquin
SpamapSGoooood morning u-bun-tuuu16:40
SockPantsgood evening:)16:41
JamesPageHey SpamapS16:41
mrothhhhow do you sys admin manage emails16:43
SpamapSWhen I was a sysadmin (now an OS developer) I viciously attacked anything that caused email to arrive in my inbox, and never used filtering16:45
SpamapSnow I do the same actually ;)16:45
aljosawhich version of ubuntu works with/has ibm db2 express-c in partner repository?16:45
zulHey SpamapS good weekend?16:45
uvirtbotNew bug: #706995 in cobbler (universe) "Cobbler references init scripts in /etc/rc.d/init.d" [Undecided,New] https://launchpad.net/bugs/70699516:46
hootenannyhey, does anyone know whether symbols in passwords can mess with IMAP over SSL?16:48
[diablo]anyone noticed problems booting min. virtual guests that are 10.10?16:48
[diablo]I sometimes get hangs, and have to restart em via virsh (triggers the ACPI)16:49
JamesPageSockPants: I'm not sure what tools are available in the installer environment but here is a good place to start http://tldp.org/HOWTO/Software-RAID-HOWTO.html16:52
=== oCean_ is now known as oCean
SpamapSzul: great weekend thanks... yours?16:54
zulSpamapS: a whee bit too cold16:54
SpamapSzul: I know when you say that, it means it was unbelievably cold16:55
zulSpamapS, -23C right now16:55
SpamapSthats quite a bit colder than my current 17C ;)16:55
RoAkSoAxI'm at 23C16:56
* SpamapS wonders how long before somebody throws RoAkSoAx and he in a freezing swimming pool at an ubuntu event.16:59
SpamapSs/he/him/ :-P16:59
RoAkSoAxhahaha16:59
aliveriushi. i found my server powered off. it wouldnt power on. in the end it did. now i want to take a look at the logs in case i find what happened before the shutsdown. nut which log?17:00
aliveriushttp://pastebin.com/kcLk9MVg17:07
aliveriuswhat does the above tell us?17:09
e_t_Does the connection function?17:10
aliveriusnow yes17:11
aliveriusand no kernel msgs17:11
e_t_It looks to me like eth0 and eth1 are being disabled as independent interfaces and then brought up as part of the bridge.17:12
aliveriusit is just that the above where its last words :p17:12
aliveriusnow such msgs appear now. and the server is full functional17:13
aliveriusin fact i am speaking to you through that bridge17:13
e_t_There's that famous saying "If it ain't broke, don't fix it."17:13
aliveriusi must prevent the next failure17:14
aliveriusso there may be something to fix17:14
uvirtbotNew bug: #652312 in cloud-init "apt cache not up to date on first boot" [Low,Incomplete] https://launchpad.net/bugs/65231217:32
zulSpamapS: for that cobbler i was thinking of combining the cobbler_web.conf and the cobbler.conf into one17:36
SpamapSzul: that would mean combining cobbler-web and cobbler again.17:40
lynxmanoh hey zul o/17:40
zulSpamapS: yeah maybe not a good idea :)17:41
SpamapSzul: the whole point of the cobbler-web package was that you install it and get the web interface.. no install.. no web interface..17:41
SpamapSzul: I'm wondering if we should push to have our version included upstream as like, cobbler_web_debian.conf17:41
SpamapSzul: the two philosophies are somewhat different17:41
zulSpamapS: probably17:42
SpamapSzul: and we can always include the common bits17:42
SpamapSzul: but I was thinking that would be in the "make the web interface better" effort next cycle17:42
zulSpamapS: meh...i dont want to step on people's toes17:43
zulhey lynxman17:43
zulSpamapS: thats more landscapish17:43
uvirtbotNew bug: #603329 in cloud-init "mounts option to cloud-config skips devices not starting with /" [Medium,Fix released] https://launchpad.net/bugs/60332917:43
SpamapSzul: landscape is so many lightyears ahead of it.. I don't want to do any work on making the interface itself better... I just want to make it easier to install. ;)17:45
zulSpamapS: ah sure17:46
SpamapSzul: I do think that landscape should be able to be plugged into it similar to spacewalk.17:46
zulSpamapS: well the base is there its up to them if they want to use it or not17:47
SockPantshas anyone here ever used ubuntu on an ibm server?17:58
zulSpamapS: does this look sane to you?18:12
zulhttp://people.canonical.com/~chucks/05_fix_init_paths.patch18:12
SpamapSzul: reading18:13
RoAkSoAxzul: error in ""%s/named restart", % which_init_path"  (and dnsmasq, dhcpd) , should be ""%s/named restart" % which_init_path", note the ","18:15
zulRoAkSoAx: right18:15
SpamapSzul: I'm not sure I like the approach of looking in /etc/init.d for a file...18:19
SpamapSzul: service kind of already has this logic.. but a bit misplaced18:19
Datz!seen twb18:19
ubottuI have no seen command18:19
zulSpamapS: does fedora have service?18:19
zulSpamapS: because that would be more distro agnostic18:21
DatzI "sudo aptitude install linux-image-2.6.32-27-virtual" but when I restarted I still see 2.6.32-27-server.  Is there something more I need to do?18:21
RoAkSoAxzul: YES it does have service blablabal start etc etc18:22
zulRoAkSoAx: win18:22
RoAkSoAxzul: though, as it is expected, the name of some services might different18:22
SpamapSzul: yes, I believe we took it from fedora18:26
RoyKDatz: iirc -server is equal to -virtual now18:29
uvirtbotNew bug: #707050 in nut (main) "Lost patches0004-netvision-improvements-lp-600950.patch" [Medium,New] https://launchpad.net/bugs/70705018:31
DatzRoyK: interesting.. why would there be -server and -virtual then?18:40
DatzI guess I should have tried another kernel version, then I'd know if there was a switch :P18:40
pmatulisDatz: the virtual kernel does not need physical h/w drivers?18:41
Datzpmatulis: that was my impression18:42
RoyKDoonz: did you try manually booting into the virtual kernel?18:44
RoyKjust press shift during boot18:45
m_tadeuhi...when I dmesg, I get an error from SMBus complaining about the buffer lenght...aparentely it needs 42 and only has 20...where is this configured?18:48
DatzRoyK: you mean Datz right :P18:48
DatzI will try though18:48
Datzthanks18:48
RoyKDatz: I did, wrong nick :P18:50
kaushalShall i pastebin the impdb logs ?18:50
kaushalI have exported DB on EE and trying to import it to SE on Oracle 11g R2 DB Server18:50
kaushalI get lot of errors18:50
kaushalPlease suggest/guide18:50
kaushalI am not getting help at #oracle or ##oracledb18:50
RoyKkaushal: I don't think this is an oracle channel, so you may dump it to /dev/null - less hassle18:51
oCeanyou not getting answers does not make it an ubuntu issue, right?18:51
RoAkSoAxzul: btw.. still don't wanna sponsor lvm ? :)18:51
zulRoAkSoAx: not really18:51
RoyKlinux needs a good filesystem that can mirror zfs' work18:52
RoyKbtrfs may be the one, but the current progress isn't showing much potential18:52
sparcyeah :(18:52
sparcbtrfs is on the way...18:52
sparcwe installed FreeBSD for our NAS just for ZFS18:53
oCeanit btrfs different from drbd?18:53
mdeslaurRoAkSoAx: you haven't found anyone to sponsor it yet?18:53
RoAkSoAxmdeslaur: nope :( apparently nobody want's to touch that package :)18:54
mdeslaurRoAkSoAx: what's the bug # again?18:54
RoAkSoAxbug #52528718:55
uvirtbotLaunchpad bug 525287 in lvm2 "Add support for corosync based clusters in clvm" [Wishlist,Confirmed] https://launchpad.net/bugs/52528718:55
RoyKoCean: btrfs has some of the stuff zfs has, like block-level checksumming and raid-1, but it isn't ready, and hasn't been worked on very heavily for a couple of years18:55
oCeanand what about DRBD?18:56
RoyKoCean: drbd isn't a filesystem, it's a block-level replication mechanism18:56
oCeanAh, ok18:56
oCeanAnd glusterfs? That's enitrely different thing?18:57
oCean*entirely18:58
mdeslaurRoAkSoAx: I'll sponsor it...I'll upload it once I take a look, build, and test lvm218:58
RoyKglusterfs is an overlay over filesystems for clustering18:58
RoAkSoAxmdeslaur: awesome! Thanks!18:58
RoyKoCean: if you're looking for a filesystem that can handle bad drives, use zfs19:00
RoyKpreferably on openindiana or something - the current zfs-fuse code is quite bad in terms of write speed19:00
mdeslaurRoAkSoAx: welcome19:01
oCeanRoyK: ok! thx for the info, have to look into that some more.19:02
* RoyK has two 100TB boxes running openindiana for bacula storage - owrks well19:02
RoyKs/owrks/works/19:02
m_tadeumy ACPI is complaining that SMBus needs a buffer length of 42 and only has 20...how do I solve this?19:07
DatzRoyK: grub menu shows -server as well19:11
genii-aroundm_tadeu: Looks like https://bugs.launchpad.net/ubuntu/+source/acpi/+bug/60699919:17
uvirtbotLaunchpad bug 606999 in acpi "buffer length error in syslog" [Undecided,New]19:17
m_tadeuin deed...what are the implications of this error?19:20
genii-aroundm_tadeu: Looks like vendor acpi extensions may not work19:21
wizardslovakhello people19:23
wizardslovaki installed wordpress19:23
wizardslovakbut i cant get it to work19:23
wizardslovaki mean i used apt-get install19:23
wizardslovakand then i got to ip/wp-admin and it shows that there is no folder like that19:24
genii-aroundwizardslovak: sudo ln -s /usr/share/doc/wordpress/examples/apache.conf /etc/apache2/conf.d/wordpress.conf                   then restart apache19:28
mdeslaurRoAkSoAx: lvm2 uploaded19:30
DatzRoyK: well, aptitude search shows that -virtual but -server shows "c" meaning that some configuration files remain.19:30
Datzvirtual is installed*19:31
RoAkSoAxmdeslaur: thanks ;)19:31
mdeslaurRoAkSoAx: np19:31
wizardslovakgenii-around, http://pastebin.com/ek9kgzYA19:32
=== Kiall is now known as Kiall|AFK
Henry1I changed my ssh conf on my new vps, added my own username, set PermitRootLogin to no and AllowUsers <onlyme> and everything worked for a while when connecting via ssh with my new username and after installing LAMP I changed my network (moved to another place with my laptop) and after that I only get Permission denied, please try again. … any advice?19:36
uvirtbotNew bug: #707098 in openssh (main) ""oom" change in 1:5.3p1-3ubuntu5 causes "operation not permitted"" [Undecided,New] https://launchpad.net/bugs/70709819:36
uvirtbotNew bug: #707099 in munin (main) "Hostname case mismatch" [Undecided,New] https://launchpad.net/bugs/70709919:36
wizardslovakgenii-around,  well it didnt work , how to i reverse it?19:38
Datzhumm, well I removed configuration files for all linux-image*-server, aptitude showed that Linux-image*-vitual was installed, restarted. Now, Kernel panic :|19:39
genii-aroundwizardslovak: Apologies on lag, work required me. For the moment, just to remove the symbolic link, eg: sudo rm /etc/apache2/conf.d/wordpress.conf19:39
Datzcan I update grub which in kernel panic?19:41
wizardslovakgenii-around,  ;) thank you for help , i understand u gotta work ;) hihih19:41
Datzupdate-grub*19:41
genii-aroundwizardslovak: The idea would be to make an apache alias for /usr/share/wordpress and place it in /etc/apache2/conf.d with appropriate name19:42
wizardslovakgenii-around, ah , gotta google that one ;)19:43
* Datz reverts to previous snapshot..19:43
genii-aroundwizardslovak: Something like http://pastebin.com/YMr3BJF519:44
wizardslovakgenii-around, thank you ;) so i should just copy it to apache2/conf.d19:46
genii-aroundwizardslovak: To inside that directory, yes, but in a file named perhaps like wordpress.conf19:47
PiciAnd make sure that www-data can read it19:47
wizardslovakgenii-around, sorry i am noob at this , so make file named "wordpress.conf" and just write allias u wrote me , i just use correct folder i got wordpress installed in19:48
wizardslovaki am sorry people , the only think i know is how to simple settup apache19:51
wizardslovakand i need help with wordpress19:51
genii-aroundwizardslovak: Basically if you do something like: sudo nano /etc/apache2/conf.d/wordpress.conf                and then add the lines from the pastebin, exit with saving, then restart apache19:52
wizardslovakgenii-around,  let me try it19:52
wizardslovakok that conf is empty19:52
wizardslovakblank19:53
genii-aroundwizardslovak: Then http://localhost/wordpress        takes you there19:53
genii-aroundwizardslovak: Yes, it will be blank at first since it is a new file just made19:53
Datzlooks like I need the configuration files for -server to run -virtual kernel?19:53
wizardslovakgenii-around,  i got this http://pastebin.com/8gyydqLJ19:55
wizardslovaki mean i tried server lan ip and still same think19:56
genii-aroundwizardslovak: You might want to try first: http://localhost/worpress/wp-admin19:58
wizardslovakgenii-around, "The requested URL /wordpress/wp-admin was not found on this server."19:58
genii-aroundwizardslovak: perhaps  http://localhost/worpress/wp-admin/index.php20:02
wizardslovaknope same think20:02
genii-aroundoops typo, forgot a "d" in wordpress there20:02
wizardslovakgenii-around,  hehe i didnt , and still aint working20:03
wizardslovakbtw i change allias to my requirements , maybe mistake in there? http://pastebin.com/yVnqMShq20:03
wizardslovakgenii-around, and i am getting this "/etc/wordpress/config-192.168.1.106.php could not be found. The file is either not readable by this process or does not exist.20:04
wizardslovakPlease check if /etc/wordpress/config-192.168.1.106.php exists and contains the right password/username."20:04
genii-aroundwizardslovak: The files should not be in /var/www/anywhere but in /usr/share20:05
genii-aroundSince that is where the package puts them20:05
wizardslovakgenii-around,  oh i moved folder from /usr/share to /var/www20:05
wizardslovakok i moved everything back20:07
genii-aroundwizardslovak: You should not do that. The package manager for instance will not be able to track manual moving of files if it needs to uninstall. Also then it defeats the purpose of an alias to it20:07
wizardslovakok20:07
genii-aroundWhen you spontaneously improvise it makes it difficult to assist...20:07
wizardslovakgenii-around,  i moved them back20:07
mrmistI'd just install the various bits rather than use a package for wordpress.20:08
wizardslovakgrrr i used apt-get20:09
_UsUrPeR_hey all. I am having a heck of a time installing software RAID with LVM in Ubuntu 10.04 Server x64. Check out this pastebin: http://pastebin.com/4rDmyjyM . Is software RAID + LVM capable of being installed? If so, is having a /boot partition on a software RAID possible?20:09
_UsUrPeR_the pastebin details my partition layout20:09
SpamapS_UsUrPeR_: we test RAID1 and LVM independently during our release cycles, but I don't know if we test the two together20:11
mrmistI mean you may have success with the package method, but wordpress has its own support base that's fairly large and a lot of the folk wouldn't necessarily know a package install20:11
SpamapS_UsUrPeR_: I assume you mean GRUB not GRUP ?20:11
_UsUrPeR_oh yeah. sorry, GRUB220:11
_UsUrPeR_:)20:11
_UsUrPeR_SpamapS: For the record, it appears that the grub/LVM partitions are created correctly. I just can't figure out where to put the grub installation20:12
SpamapS_UsUrPeR_: RAID1 should actually be causing grub to install on both devices.20:12
SpamapS_UsUrPeR_: *you* shouldn't be installing grub yourself.. the installer takes care of it.20:12
SpamapSand it should in fact be putting it on sda and sdb20:13
SpamapSI think20:13
SpamapSI've never actually been in that code :p20:13
_UsUrPeR_I understand. I am using the software RAID configuration tool in the Partition editing portion of 10.04 server install disk20:13
genii-aroundwizardslovak: Work needs me for an extended period, apologies. I should be back at computer in 10-15 minutes20:13
wizardslovakgenii-around, i will behere ;)20:13
_UsUrPeR_and it is, indeed, my intention to have all this information RAIDed across both hard drives20:14
_UsUrPeR_I also understand that LVM cannot store boot partitions, which is why I created a separate RAID device specifically for that purpose20:14
toddcthat is what I am trying to do also raid 1 with LVM and having a hard time the setup is different that older versions20:16
SpamapS_UsUrPeR_: so it succeeds in partitioning/creating filesystems, copying files, but then grub installation fails?20:16
* SpamapS should probably fire up a VM and test this out20:17
_UsUrPeR_SpamapS: that is correct. I am stymied only during the GRUB2 installation process. Up to that point, everything appears to be moving along normally.20:17
_UsUrPeR_SpamapS: I am seeing something of a bug pertaining to this here: https://bugs.launchpad.net/ubuntu/+source/grub2/+bug/527401  I am reading through it right now. It appears this has vacillated between "fixed" and "broken" a couple times now.20:21
uvirtbotLaunchpad bug 527401 in partman-base "grub-installer fails to install on a raid1 array" [High,Fix released]20:21
_UsUrPeR_jynx :)20:21
uvirtbotNew bug: #707113 in cobbler (universe) "Koan should not have dependency on cobbler" [Undecided,New] https://launchpad.net/bugs/70711320:21
_UsUrPeR_oh dammit, that's just a bot.20:21
_UsUrPeR_lol20:21
* _UsUrPeR_ buys a beer for his new robot friend.20:22
arkonovaIf i deleted a user and group and now want it back, can i just restore /etc/passwd, /etc/group and /etc/shadow from /etc/passwd-, /etc/group- and /etc/shadow-. Or is that a silly idea?20:25
=== Kiall|AFK is now known as Kiall
wizardslovakhmm20:34
wizardslovakhow do i change persmissions on folder?20:34
wizardslovakUnable to create directory /usr/share/wordpress/wp-content/uploads/2011/01. Is its parent directory writable by the server?20:34
SpamapSarkonova: you may also need to restore the user's home dir if it was deleted20:44
arkonovaSpamapS, this one was not deleted. So that all there is to users and groups files. Nothing else elsewhere?20:47
uvirtbotNew bug: #707117 in drbd8 (main) "Resync drbd8 8.3.9-1 (main) from debian unstable (main)" [Medium,In progress] https://launchpad.net/bugs/70711720:51
wizardslovakanyone of u ever used ssmtp?20:52
RoAkSoAxzul: drbd should be ready in a bit for you to sponsor ;)20:55
zulRoAkSoAx: eod...kirkland can probably sponsor it as well20:57
zulSpamapS: i still have to read your application as well20:57
kirklandzul: sure20:58
kirklandRoAkSoAx: let me know what you need20:59
RoAkSoAxkirkland: will do ;)21:08
SpamapSzul:  take your time next DMB meeting is 1/3121:11
hggdhsmoser: there?21:22
smoserhere21:22
hggdhsmoser: after adding -proposed, apt-get update & dist-upgrade, and rebooting, uname -a still shows 2.6.32-311-ec221:30
hggdhsmoser: grub.cfg has the correct kernel as default21:30
smoseryou didn't launch with the pv-grub kernel21:31
smosercan you pastebin euca-run-instances output ?21:32
smosererr...21:32
smosereuca-describe-instances or ec2-describe-instances21:32
hggdhsmoser: http://pastebin.ubuntu.com/557850/21:34
smoserhm..21:35
smoserhggdh, i'm looking at it. just a minute21:37
hggdhsmoser: np21:38
smoserhggdh, there is no linux-ec2 in -proposed21:39
smoserthe -virutal is (explicitly) ignored via update-grub-legacy-ec2, and /boot/grub/menu.lst is the config file used, not /boot/grub/grub.cfg on EC221:40
smoser(its not my fault, all that we have available on EC2 -- and in xen anywhere -- is grub 0.97 like loader, not grub2)21:41
hggdhoh21:42
smosersomething is busted maybe in us-east-1 archive21:42
smoseraccording to https://launchpad.net/ubuntu/+source/linux-ec2 though, there should be a new linux-ec2 in the archive21:42
smoserat least newer than 2.6.32.311.1221:42
hggdhso... what to do? There is no 312.24 in the archives21:49
smosersudo apt-get install linux-image-2.6.32-312-ec221:49
smoserhggdh,21:49
smoserthe meta package isn't there, but the actual binary is21:49
hggdhsmoser: installed, rebooting now21:53
=== Kiall is now known as Kiall|AFK
resnoive got multiple users who need to upload large files, are there any inventive methods to allow this?22:00
Patrickdkscp, ftp, http, email, ...22:02
Patrickdkdunno that email is very practical, but hell22:02
Patrickdkhell, bittorrent?22:02
RoAkSoAxkirkland: bug #70711722:09
uvirtbotLaunchpad bug 707117 in drbd8 "Resync drbd8 8.3.9-1 (main) from debian unstable (main)" [Wishlist,Confirmed] https://launchpad.net/bugs/70711722:09
smwAnyone know why apache would not start on ubuntu but when you run the init script manually it works? I am using the official ami for amazon ec2. Apache is in my rc2.d22:11
smwthe boot does not even mention it22:11
smwboot log* (/var/log/boot.log)22:11
arkonovaSome folks using etckeeper with git here?22:15
arkonovaWas wondering if using a nested repo to manage apache's sites is a good idea. I can't foresee any issue with that...22:16
RoAkSoAxkirkland: ok so I was reviewing powernapd again, and the get_interrupts function is used by the get_console_activity to get interrupts of PS2 mouse/keyboard, and also examines the most recently touched (os.stat) device in /dev.22:22
* genii-around sips22:22
genii-aroundwizardslovak: Still struggling with Wordpress?22:23
RoAkSoAxkirkland: the combination of that is used to grab the "Console" activity in general to be able to cancel the attempt to perform an action22:23
genii-aroundwizardslovak: I just went through the install process here on a spare box for it, I agree that it's not so straight forward as it should be22:24
wizardslovakyea i ve done it22:27
wizardslovakgenii-around,  u have to edit wp-config22:27
wizardslovakgenii-around, then copy example to orginal22:27
wizardslovakit works22:27
wizardslovaknow i am trying to figure out how to work with it22:28
genii-aroundwizardslovak: No, there was a file to run /usr/share/doc/wordpress/examples/setup-mysql22:28
wizardslovaknot really22:28
wizardslovakin config file u gotta write sql database name , username and password22:28
wizardslovakafter that it worked perfectly22:28
wizardslovaknow i have different problem22:29
wizardslovakas my friend from other pc aross the town cant reply for blogs22:29
wizardslovakit throws him into my servers LAN  ip22:29
genii-aroundwizardslovak: Do you have apache rewrite module enabled?22:30
genii-aroundwizardslovak: I do not prefer to talk by personal message22:31
wizardslovakgenii-around,  nope22:31
wizardslovakgenii-around,  ok understand22:31
wizardslovakgenii-around,  how do i check it out ?22:31
genii-aroundwizardslovak: sudo a2enmod rewrite22:32
wizardslovak"enabling module rewrite22:32
kirklandRoAkSoAx: okay, drbd8 uploaded22:32
kirklandRoAkSoAx: okay, so how about powernap?22:32
RoAkSoAxkirkland: thanks for the upload!!22:34
RoAkSoAxkirkland: I'm on it, I was thinking that instead of PS2 monitor, should just be a ConsoleMonitor?22:34
kirklandRoAkSoAx: yes22:34
kirklandRoAkSoAx: i agree22:34
kirklandRoAkSoAx: good idea22:34
wizardslovakgenii-around,  its rewritten22:35
RoAkSoAxkirkland: that's how it is working now. Once that code is separated from powernapd the loop itself will change dramatically to also allow running the monitors when on PowerSave22:35
genii-aroundwizardslovak: I am testing my current setup to see if outside ip can respond, etc22:36
wizardslovakok sure22:36
wizardslovakgenii-around,  take your time , i dont rush ;)22:37
RoAkSoAxkirkland: I already separated the WoL monitor into its own Monitor, though I'm still using the old code till I get the ConsoleMonitor up and running. Then I'll allow the monitors to run at all times. I expect that to be done by tomorrow22:37
RoAkSoAxkirkland: btw.. u forgot to debuild -S -sa for drbd :)22:39
kirklandRoAkSoAx: i know, i'm redoing now :-/22:39
* SpamapS hates when that happens22:40
kirklandRoAkSoAx: re-uploaded22:40
kirklandRoAkSoAx: sweet!  you're the man22:40
genii-aroundwizardslovak: External access works for mine. I'm just port-forwarding to the internal lan IP, but the box has a name assigned22:40
wizardslovakgenii-around,  well i did forward 80 and 2222:41
RoAkSoAxkirkland: thanks for the upload ;)22:41
wizardslovakwhat ports does wordpress uses?22:41
RoAkSoAxkirkland: btw.. did you finish the TCPMonitor?22:42
kirklandRoAkSoAx: nearly22:42
kirklandRoAkSoAx: got distracted;  thanks for the reminder22:42
genii-aroundwizardslovak: As far as I can tell just http and possibly https ( 80, possibly 443 )22:42
wizardslovakhmm22:43
wizardslovakdone it and still22:46
wizardslovakgenii-around,  in general settings by "site address url" do you have lan ip?22:46
RoAkSoAxkirkland: oh!! btw!! I was also thinking that while in PowerSave mode, the monitors could run as "event" based monitors, while during ABSENT_SECONDS, we can just poll every INTERVAL_SECONDS, instead of transforming everything to event based22:47
RoAkSoAxso that we have a combination of behaviors22:48
kirklandRoAkSoAx: hmm, okay ....22:48
kirklandRoAkSoAx: what does that give us?22:48
RoAkSoAxkirkland: while in Powersave, makes no sense to be polling every INTERVAL_SECONDS. but while running ABSENT_SECONDS, we don't really care cause we are running in full power.22:49
kirklandRoAkSoAx: hmm, yeah, that sounds really good22:50
genii-aroundwizardslovak: I have by fqdn22:51
RoAkSoAxkirkland: so for example, during ABSENT, if INTERVAL=10, and we receive a TCPMonitor (ssh) and every 10 seconds it will check if it received it, so that it allows the daemon to sleep every 10 secs. But when on PowerSave the TCPMonitor, can just send an event to the daemon to take a recover action and we "stop" powernapd from polling22:51
wizardslovakhmmm22:52
wizardslovakgenii-around, let me try that22:53
kirklandlifeless: howdy, around?22:55
kirklandlifeless: squid question(s) for you when you are22:55
wizardslovakgenii-around,  if ill send you address can you register and post comment?22:56
wizardslovakgenii-around,  nevermind , got it to work ,22:59
kirklandlifeless: i think i figured it out, though i wouldn't mind vetting my config by you ;-)23:09
kirklandRoAkSoAx: http://pastebin.ubuntu.com/557885/23:12
kirklandRoAkSoAx: i think you're going need a breaks/replaces since you moved a file from one binary package to another23:12
lifelesskirkland: hi23:17
lifelesskirkland: 'sup?23:18
kirklandlifeless: okay, I'm working squid-deb-proxy -- you familiar?23:18
lifelessyes23:18
lifelessnot yet gotten around to reading the impl details23:18
kirklandlifeless: we're trying to push that as a sane, default, preferred deb caching solution23:19
kirklandlifeless: i'm looking for the best practice in a usecase that may well be common in some of the enterprises we're targeting, and i've reproduced that environment here23:19
kirklandlifeless: okay, so the network setup looks like this ...  an open, outer network, with a secure, inner network inside of it, separate subnets23:20
kirklandlifeless: clients of the secure, inner network can, of course, initiate connections to servers in the open, outer network, but not vice versa23:20
kirklandlifeless: the squid deb proxy is running in the open, outer network23:20
kirklandlifeless: i can't find any way to get the avahi/zeroconf/mdns broadcast messages from the outer network to the inner network23:21
kirklandlifeless: i played around with a little bit of firewalling and port forwarding, but it just doesn't look like it's possible23:21
lifelessmmm23:21
kirklandlifeless: i could use a confirmation of that,  but in the mean time, i think i have a workable solution23:22
kirklandlifeless: mmm means you're thinking, or affirming?23:22
lifelesskirkland: well, in corporates you may find mdns firewalled (possibly host as well as routers)23:23
lifelesse.g. http://www.net.princeton.edu/filters/mdns.html23:23
kirklandlifeless: right, good point23:23
lifeless'Our measurements in Fall 2006 indicate that this filter reduced multicast/broadcast traffic by 52-63% (measured by packet rates) on the largest campus networks.23:24
RoAkSoAxkirkland: do you think it would really be necessary given that 1.12 was only on natty?23:24
lifeless'23:24
lifeless'We filter the mDNS traffic at the wireless access points or wireless controllers. '23:24
kirklandlifeless: okay, in any case, my "solution" to the two subnet problem is to run a second squid-deb-proxy in the inner, secure network, and "chain" it to the "real" one in the outer network23:24
SpamapSkirkland: I don't think s-d-p was designed with that use case in mind.23:24
kirklandRoAkSoAx: perhaps not23:24
lifelessRoAkSoAx: its always useful to reduce problems23:24
SpamapSkirkland: I think it assumes you're on a shared LAN w/ the clients23:25
kirklandSpamapS: lifeless: okay, well, here's what I added to squid-deb-proxy.conf:23:25
lifelesskirkland: so I have an alternative23:25
kirklandcache_peer 10.1.1.11 parent 8000 3130 no-query no-digest no-netdb-exchange23:25
lifelesskirkland: fixup s-d-p to use SRV records as well as mdns23:25
SpamapSooo good plan23:26
SpamapSthe corporate alternative23:26
kirklandhrm23:26
kirklandinteresting23:26
lifelesskirkland: you can of course chain squids23:26
SpamapSkirkland: it would be cool to have another avahi mdns service going to that let the s-d-p's find eachother for ICP23:26
kirklandlifeless: right, so that was my immediate question ... is this config "valid" to your eyes?23:26
* SpamapS will re-type that in english.. :p23:26
lifelessbut if they are both in the same lanish area there's no particular advantage to chaining, and you'll add latency23:27
SpamapSkirkland: it would be cool to have another avahi mdns service going so that multiple s-d-p's find eachother for ICP23:27
lifelesskirkland: as far as the config goes23:27
lifelesscache_peer $upstream-hostname-or-up parent $port 0 no-query no-digest no-netdb-exchange, if you want to disable all that23:27
lifelessbut there isn't any particular reason to disable everything23:28
lifelesskirkland: the big thing you want though is to tweak the hierarchy and direct rules23:28
SpamapSlifeless: one reason to chain would be to traverse a restrictive firewall23:28
lifelessspecifically you want the child proxy to never go direct23:29
lifelessSpamapS: sure; OTOH if you're opening a port to a specific outside proxy that is locked down, few admins would object to opening that to all the clients.23:29
kirklandlifeless: right, all i'm really going for is to ensure that the inner proxy, which is the only one that the inner clients sees, pull deb's from the outer proxy's cache when available, rather than pull all the way from archive.ubuntu.com, while there are live cache hits available on the outer LAN23:30
lifelesskirkland: I would tell it to always use the outer proxy, otherwise the outer proxy will grab stuff the inner already has23:31
lifeless*or*23:31
lifelessmake the inner and outer peers23:31
lifelessbut the corp scenario makes peering less ok23:31
SpamapSI kind of think once you start dealing w/ corporate networks s-d-p becomes less about the avahi, and more about a consistent port that only allows deb/apt downloads.23:31
kirklandlifeless: hmm, what are the directives to do that?23:32
lifelesshttp://wiki.squid-cache.org/SquidFaq/ConfiguringSquid#How_do_I_configure_Squid_to_work_behind_a_firewall.3F23:32
kirklandlifeless: http://wiki.squid-cache.org/Features/CacheHierarchy seems to be what I want, no?23:33
kirklandSpamapS: hmm, yeah, a protocol by which squid-deb-proxies cooperate would be cool23:39
kirklandSpamapS: kinda torrenty :-)23:39
lifelesskirkland: was answering the specific bit of your query :)23:41
kirklandlifeless: ah23:41
SpamapSkirkland: screw it lets just hack bittorent support into d-i23:43
SpamapSinstall 1000 servers in under 5 minutes23:43
kirklandSpamapS: what a plan23:44
SpamapSkirkland: its not all that far fetched.. system imager had bittorent support23:49
SpamapSkirkland: but s-d-p is far simpler. :)23:49
kirklandSpamapS: heh23:54
binaryhatim not seeing check_sensors plugin installed, nagios-plugins-standard doesnt include it?23:56
SpamapSbinaryhat: maybe try nagios-plugins-extra ?23:58
binaryhatnope23:59

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