[02:01] <uvirtbot`> New bug: #730375 in squid (main) "package squid 2.7.STABLE7-1ubuntu12.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/730375
[02:34] <ziesemer> Why, after doing "apt-get source linux-image-2.6.35-27-server", does the Makefile in the source directory have "EXTRAVERSION = .11" instead of .27?
[03:01] <thesheff17> ziesemer
[03:12] <thesheff17> ziesemer: mine says the same thing..even in 2.6.35-24 says .8 for EXTRAVERSION.
[03:51] <resno> i am having the worest of luck trying to find the config file for fetchmail. ive done searches (on google and using find/grep) and nothing is turning up, any help?
[03:55] <thesheff17> resno: /etc/default/fetchmail
[03:56] <thesheff17> resno: though I see fetchmail is no long supported by ubuntu since 7.10  http://www.scalix.com/wiki/index.php?title=Configuring_Fetchmail_Ubuntu_Gutsy
[03:56] <resno> thesheff17: ah.... whats the supported method now?
[03:57] <resno> thesheff17: i was curious why all the guides online spoke of 7.10
[03:58] <thesheff17> resno: I'm sure you can still use it....though if there is a problem it won't be patched.
[03:59] <resno> well, the conf files arent showing up. /etc/default/fetchmail, is only for setting up dameon mode..
[04:02] <thesheff17> resno: I see some saying getmail is a good alternative but personally I don't have any experience with either.
[04:02] <resno> i dont want to use getmail...
[04:02] <resno> ive tried it, works well. but not really the method im looking for
[04:03] <dthacker> hello,  I'd like to rerun the portion of the install lets the user choose metapackages like DNS server and LAMP server.   Is that possible?
[04:04] <thesheff17> dthacker: tasksel --section server
[04:04] <dthacker> thesheff17: thanks
[04:06] <thesheff17> resno: well I would spin up a ubuntu 7.04 and get the config files off there or try to find them on the web.....like I said I don't have experience with either.
[04:06] <thesheff17> resno: though the mirrors are gone for for 7.04...not sure :(
[04:06] <resno> thanks thesheff17
[04:07] <thesheff17> resno: try dapper 6.06
[04:45] <chrislabeard> If I'm using this webcam_`date +%Y-%m-%d`.jpeg
[04:45] <chrislabeard> how can I also add the hour
[04:47] <twb> "webcam_$(date --rfc-3339=seconds).jpeg"
[04:47] <twb> If you insist, echo "webcam_$(date -Ihours).jpeg" instead
[04:52] <chrislabeard> twb this is the full line --- streamer -f jpeg -o /var/www/vhosts/chris_ellis/wwmcd.org/backup_`date +%Y-%m-%d`.jpeg
[04:52] <chrislabeard> backup is supposd to be webcam
[04:56] <twb> Like I care
[07:15] <pmiller> kirkland`: lifeless suggests I talk to you re kvm woes
[07:49] <chrislabeard> So if I'm doing a cron job do I just input the command I want it to run ?
[07:52] <nigelb> chrislabeard: generally, you write a bash script or something so you can get feedback on wwether it happened etc
[07:53] <nigelb> chrislabeard: but yeah, you can input the command too
[07:53] <chrislabeard> nigelb: yeah I'm not too tech I just want cron to take a picture from my webcam
[07:53] <nigelb> chrislabeard: heh, yes, you can just do that :)
[07:53] <chrislabeard> nigelb: I have the command so I just did that and told it to do it every hour
[07:54] <nigelb> chrislabeard: will work :)
[07:54] <chrislabeard> saweet
[07:54] <chrislabeard> nigelb: I set up my webcam but accidentally faced it towards the wall so all I'm getting is the wall lol
[07:55] <nigelb> chrislabeard: haha, no script can help you there :p
[07:55] <chrislabeard> nigelb: haha yeah
[07:59] <chrislabeard> I'm bored what should I do with my server
[09:56] <twb> Why does the MOTD use the definite article for servers?
[09:56] <SpamapS> hm?
[09:56] <twb> On my router, I get "Welcome to Ubuntu!", on my servers I get "Welcome to the Ubuntu Server!"
[09:57] <twb> The router runs -generic because it can't boot -server kernel variant
[09:57] <twb> It crashes because of lack of PAE in the hardware or something
[09:57] <SpamapS> Because there are many Ubuntu derivatives, but only one Ubuntu Server! ;)
[09:57] <twb> SpamapS: I was thinking it was because of the silly assumption that <organization> only has one Ubuntu server
[09:57] <SpamapS> twb: whoa.. PAE is like.. old
[09:58] <twb> SpamapS: it's an embedded x86 board, what am I gonna do
[09:58] <twb> it's not like the board itself can take more than 512MB RAM
[09:58] <twb> (Soekris net5501)
[09:58] <SpamapS> twb: the definite article is actually probably just because a non-native speaker wrote it.
[09:59] <twb> SpamapS: what, in English?
[09:59] <SpamapS> I'm going to guess a French Canadian.. the translation tends to encourage such additions of The.
[09:59] <twb> Haha
[09:59] <twb> You're not one of those .ca canonical support people, are you?
[09:59] <SpamapS> not me.. but I am working with the canonical support, all the day.
[09:59] <twb> Haha
[10:00] <twb> I have this image of you listening to their on-hold music on speakerphone while you're ircing for REAL support
[10:02] <SpamapS> twb: Seeing as I'm at the 3rd level of escalation beyond said support.. I take that personally ;)
[10:18] <twb> SpamapS: what issue are you actually trying to get fixed?
[10:25] <SpamapS> twb: none, when did I ever say I was trying to get an issue fixed?
[10:26] <twb> SpamapS: what, you're just talking them for the fun of it?
[10:26] <SpamapS> Its part of the job of being on the server team that we help them.
[10:27] <SpamapS> twb: if you hadn't noticed, I'm a member of the canonical server team.
[10:27] <twb> I hadn't
[10:27] <twb> Oh, I see, you mean "I *am* the third-level support"
[10:28] <twb> I thought you meant "I'm talking to them"
[10:28] <SpamapS> Indeed.
[10:28] <twb> Here, third-level support is the sales team
[10:28] <SpamapS> Another Misunderstanding(tm) brought to you by the letters, I, R, and C.
[10:29] <twb> Because after we struggle to fix a problem, they come past and translate from user-speak into meaningful terms
[10:29] <twb> Like today, <customer> said the server didn't have video codecs on it, but the actual problem was that they were trying to play a DVD which didn't have the movie as the first track, and their player didn't support DVD menus
[10:30] <SpamapS> At Canonical, level 1 is guys who can help you find docs, bugs reports, etc. Level 2 is guys who can create workarounds, and level 3 is ubuntu developers. ;)
[10:31] <SpamapS> twb: its tough when customers decide they know what the issue is and won't let go of their idea.
[10:31] <greppy> it's even tougher when the vendor doesn't beleive the customer :)
[10:31] <twb> It didn't help that their words appeared to make sense, because we actually implement this weird thing where DVDs get ripped onto the server
[10:32] <kirkland> SpamapS: made it home okay?
[10:33] <twb> greppy: yeh.  I didn't believe you could get a TGT when using pam_winbind (not pam_krb5), but apparently you can o_O
[10:33] <SpamapS> kirkland: yes! Just woke up from the jetlag coma.
[10:33] <twb> I didn't believe that until I saw it
[10:33] <SpamapS> kirkland: you mid-return or still in CPT ?
[10:37] <kirkland> SpamapS: i'm in London now
[10:38] <SpamapS> kirkland: Thanks for sending over that pic.. that was a really awesome day.
[10:39] <kirkland> SpamapS: ack!
[10:39] <pmiller> kirkland: lifeless suggested I talk to you about some kvm virtualisation problems I'm having
[10:46] <lynxman> kirkland: how long are you in London for?
[10:51] <quinode> Hi everybody , Im' looking for a way to launch the pgAgent service under the postgres user . I tried the --chuid option of start-stop-daemon but it won't use the .pgpass file of this user (which hiolds the password needed)
[11:06] <twb> Whoops, just rebooted the VM server by accident
[11:20] <twb> Fortunately LXC (and upstart) boot *really* quickly; from ctrl+alt+del to <everything is running> was like three minutes
[11:21] <RoyK> I've seen Windows admins hit ctrl+alt+del to login to linux machines...
[11:21] <RoyK> disabling ctrl+alt+del can be a good idea :P
[11:21] <greppy> A friend of mine changed it to play a .wav file.
[11:22] <Kiall> greppy, genius :)
[11:27] <twb> The problem was we have a PS/2 DB-15 KVM, but this fucking bios won't accept a PS/2 keyboard for some reason
[11:27] <twb> So I am typing into a USB keyboard and *thinking* I'm looking at the screen, but I was on the wrong KVM port
[11:28] <RoyK> greppy: lol :)
[11:41] <jamespage> jhunt: around?
[11:42] <jhunt> jamespage: hi
[11:42] <jamespage> hello!
[11:42] <jamespage> I have an upstart question which I can't seem to find a good answer to
[11:43] <jamespage> I need to start a java based process as a particular user - whats the upstart way of doing this?
[11:43] <jamespage> (currently considering su - $USER or start-stop-daemon)
[11:45] <jhunt> jamespage: that is currently the best way
[11:46] <jamespage> which one? su - $USER
[11:46] <jhunt> jamespage: su that is
[11:46] <jamespage> thanks  - start-stop-daemon seemed a bit complicated for what I needed.
[11:46] <SpamapS> jhunt: hallo!
[11:47] <jhunt> jamespage: I'll add this question to the docs
[11:47] <jhunt> SpamapS: Hi
[11:47] <SpamapS> jamespage: the - shouldn't be necessary btw.. it will suck up the login environment of the user.
[11:47] <SpamapS> jhunt: I'm back from the moon. ;)
[11:47] <jhunt> SpamapS: good moontan?
[11:47] <jamespage> SpamapS: yep - just figured that one out!
[11:48] <SpamapS> jhunt: yes, just narrowly avoided moonburn.
[11:48] <SpamapS> jamespage: howzit?
[11:49] <jamespage> SpamapS: good ta - you must either still be abroad or suffering from jetlag?
[11:49] <jhunt> SpamapS: I've started to rst my upstart notes btw.
[11:50] <SpamapS> jhunt: fantastic. I think this or next week we should try to have a bit more high-bandwidth session and get all of the things we've produced/found/edditted down into 1 or 2 documents.
[11:50] <SpamapS> jamespage: suffering mightily
[11:50] <SpamapS> my stomach thinks its mid-day :)
[11:51] <SpamapS> my head hit the pillow 'round 8:00pm last night.. I hardly remember anything after that.. woke up at 1:00am as if it were the middle of the day.
[11:51] <jhunt> SpamapS: agreed.
[13:03] <ClaudiuT> hello
[13:04] <ClaudiuT> the output for lshw -C disk for disk1 is "UNCLAIMED" (disk1 being a SCSI disk). Any hints on how can I mount that disk?
[13:46] <uvirtbot`> New bug: #730620 in openssh (main) "After disabling ipv6 port forwarding does not work anymore" [Undecided,New] https://launchpad.net/bugs/730620
[14:16] <raubvogel> Easy drbd question: I just created a common {} entry in my /etc/drbd.d/r0.res but when I try to drbdadm create-md all, I am told that common is already defined in /etc/drbd.d/global_common.conf. Can't I just overrule it?
[14:33] <ClaudiuT> hello
[14:34] <ClaudiuT> Im trying to use VMBuilder, but I got errors from line 2: ./setup.py: line 2: import: command not found
[14:45] <soren> ClaudiuT: How exactly are you running it?
[14:46] <ClaudiuT> ./setup.py ?
[14:46] <soren> ClaudiuT: You're asking me? :)
[14:47] <ClaudiuT> no, I'm telling :)
[14:47] <ClaudiuT> is it wrong how I run it? :)
[14:47] <soren> Interesting use of punctuation, then :)
[14:47] <ClaudiuT> sorry :)
[14:47] <soren> ClaudiuT: No, it's not your fault.
[14:47] <soren> CraHan: Try this instead:
[14:47] <soren> Whoops
[14:47] <soren> ClaudiuT: This this instead:
[14:48] <soren> ClaudiuT: python setup.py
[14:49] <ClaudiuT> thank you
[14:50] <ClaudiuT> I need an advice: I need to install a WIndows 2003 Server on a virtual environment on Ubuntu Server. Do you recommned using VMBuilder or VirtualBox?
[14:50] <ClaudiuT> obvously, I'm almost a newbie
[14:51] <jpiche> ClaudiuT, do you have a GUI?
[14:52] <ClaudiuT> I am now trying to setup xauth and for ssh -X
[14:52] <TB> https://help.ubuntu.com/10.04/serverguide/C/virtualization.html
[14:53] <jpiche> I've used xen successfully in that scenario. For non-critical applications I normally use VirtualBox though.
[14:53] <ClaudiuT> I'd go with VirtualBox too, seems the easy enough
[14:54] <ClaudiuT> can it be done via ssh -X without xorg and other graphical stuff installed don the server?
[14:58] <jpiche> ClaudiuT, if it's on a server and you have to have guarantee that it will start back up after a reboot, VirtualBox is probably not the right solution--it really is built for desktop users
[15:04] <Daviey> jamespage, Do you think bug #669739 qualifies for SRU?
[15:04] <Daviey> (to Lucid)
[15:05] <ClaudiuT> ok, thanks jpiche
[15:07] <Daviey> zul, did you get my email about bug #728328?
[15:07] <jamespage> Daviey: lemme take a look
[15:07] <Daviey> jamespage, rockin'
[15:07] <zul> Daviey: yep havent acted on it yet
[15:07] <Daviey> zul, groovy.
[15:12] <RoAkSoAx> Daviey: howdy! is the ubuntu-server packaged create now or not yet?
[15:14] <Daviey> RoAkSoAx, uh?
[15:14] <Daviey> RoAkSoAx, package set?
[15:14] <RoAkSoAx> Daviey: yeah package set >P
[15:14] <RoAkSoAx> haha
[15:15] <Daviey> RoAkSoAx, yes, it's created.... Are you familiar with the process of how to apply?
[15:15] <RoAkSoAx> Daviey: simply create a wikipage and apply to the DMB
[15:16] <RoAkSoAx> Daviey: i'll finish recolecting all the packages I've worked on first and then ask for a "review" from you all to see if it is enough
[15:17] <Daviey> RoAkSoAx, Yeah, makes sense to get your +1's in order before applying.
[15:17] <Daviey> RoAkSoAx, Also note, it's essential to send your application to devel-announce a week before the DMB meeting.
[15:17] <Daviey> (at least a week)
[15:19] <RoAkSoAx> yeah i'm aware of that
[15:19] <RoAkSoAx> i have to take care of visa stuff for UDS first though
[15:37] <Daviey> RoAkSoAx, oh yeah!
[15:45] <jamespage> Daviey: re bug 669739
[15:47] <Daviey> jamespage, oh aye
[15:48] <jamespage> Daviey: I still can't reproduce based on the information in the bug report; I'm gonna dig a bit further into the source as well
[15:48] <jamespage> no test case == no SRU at the moment
[15:50] <Daviey> jamespage, yeah, i wouldn't waste too much time on it... The reason i asked is that it was marked Medium, and Fixed upstream - wondered if it was serious enough to SRU
[16:02] <jamespage> Daviey: well if I could re-produce the issue yes - however I'm not convinced the upstream bug is actually related to this bug
[16:07] <raubvogel> Where is the mysql upstart script? Is that /etc/init.d/mysql?
[16:08] <hggdh> smoser`, question for you, if you do not mind: why would an ec2 instance for karmic reboot to a kernel different than the last installed?
[16:08] <smoser`> not possible
[16:08] <hggdh> :-)
[16:08] <smoser`> oh
[16:08] <smoser`> wait
[16:08] <smoser`> only possible
[16:08] <smoser`> karmic can't upgrade or change its kernel
[16:08] <smoser`> (no pv-grub)
[16:08] <smoser`> it will *always* reboot into the original kernel
[16:08] <hggdh> hell
[16:09] <hggdh> can you gen a new ec2 image for karmic from -proposed?
[16:09] <hggdh> I thought all kernels after hardy were using pv-grub already
[16:09] <smoser`> no.
[16:10] <smoser> and hardy does not by default. you have to launch the instance with --kernel
[16:11] <smoser> hggdh, heres what i'll do
[16:12] <smoser> i'll add the stubbed /boot/grub/menu.lst file to karmic images
[16:12] <smoser> then, you can launch them with appropriate --kernel and then install from -proposed and reboot
[16:13] <smoser> i am comfortable saying that represents valid test of -proposed kernel for karmic on ec2
[16:13] <hggdh> ack
[16:13] <hggdh> please tell me when ready to test
[16:14] <smoser> i'll kick off a karmic build right now
[16:14] <smoser> its probably 7 hours later that it makes it all the way out
[16:17] <jongbergs> hi, i setup an ubuntu server however during installation i forgot to install LAMP package. this computer doesn't have network connection either. can i install LAMP from the CD?
[16:17] <jongbergs> what command to accomplish this task?
[16:18] <pmatulis> jongbergs: man tasksel is one way to find out
[16:20] <RoAkSoAx> kirkland: /win 6
[16:20] <RoAkSoAx> arrrgh
[16:21] <RoAkSoAx> kirkland: ping?
[16:22] <Daviey> jamespage, I shouldn't have mentioned tomcat..... new bugs appearing :)
[16:23] <jamespage> Daviey: ho-hum - better take a look....
[16:26] <Daviey> jamespage, just run, run and don't look back.
[16:30] <spydmobile> Hi Folks, I now have a new Raid device in my server, I need a little guidance bringing it to life. here is info : http://pastebin.com/baU0v4Zd
[16:31] <spydmobile> I am very shy about this sicerver since it is live production
[16:31] <spydmobile> sicserver =  server
[16:31] <Daviey> jamespage, [NOT URGENT] - Whilst you've got tomcat on the brain , what do you think of the fix attached to https://bugs.launchpad.net/ubuntu/+source/tomcat6/+bug/707405 ?
[16:37] <jamespage> Daviey: I'll take a quick look now
[16:42] <Daviey> jamespage, expect beer.
[16:52] <jamespage> Daviey: well I like the second part of the fix - that looks OK
[16:52] <smoser> hggdh, 20110307.1 should pop out tonight on uec-images, and then you can launch with a pv-grub kernel
[16:52] <jamespage> don't like the way a 'valid' port number if detected in the first part though
[16:53] <hggdh> smoser, thank you
[16:56]  * jamespage tries to think of a better way todo it
[16:57] <Daviey> jamespage, seems like you have similar reservations to what i thought..
[16:58] <Daviey> it /looks/ ok
[16:58] <Daviey> but then i started scratching my head.
[17:02] <jamespage> that said; do we want to refactor this significantly because that it what it really needs;
[17:05] <Daviey> jamespage, I have NFI :)
[17:05] <Daviey> ttx, Do you have thoughts on this?
[17:06] <jamespage> TBH it works; and its something that should be supported IMHO
[17:07] <SpamapS> what are we talking about btw?
[17:10] <jamespage> fix for bug 707405
[17:11] <jamespage> SpamapS: it was really whether there was a nicer way to detect a number in sh
[17:12]  * SpamapS reads
[17:13] <SpamapS> dash has some nice abilities for basic pattern matching...
[17:13] <jamespage> The checkport function really needs a bit of a refactor (not major IMHO) to accomodate the use of -1 for the control port.
[17:14] <Daviey> zul, backuppc FTBFS
[17:14] <SpamapS> if you're going to call it a valid TCP port number you probably also need to check that it is between 0 and 65535 too
[17:14] <zul> Daviey: yes i know
[17:14] <SpamapS> jamespage: -1 means what?
[17:14] <jamespage> disabled
[17:15] <SpamapS> ah I see thats already checked for
[17:17] <SpamapS> jamespage: IMO this reads simpler and feels less hacky:   if ! echo $port | grep -q "^[0-9]+$" ; then
[17:20] <SpamapS> hmm thats not quite right
[17:20] <oneseventeen> I'm going to set up a dedicated mysql server.  Would it be better to use 64-bit?
[17:22] <SpamapS> oneseventeen: probably yes, since the only real reasons to not use 64-bits when you have them, is to save on RAM with systems under 2GB available
[17:23] <SpamapS> s/reasons/reason/
[17:24] <oneseventeen> SpamapS: thanks.  I'll probably only be throwing 2 or 3GB of RAM at first to this system.
[17:28] <SpamapS> oneseventeen: right, but if you can expand the RAM, definitely do 64-bit
[17:28] <SpamapS> oneseventeen: otherwise mysqld itself wont' be able to grow beyond 2GB
[17:29] <oneseventeen> that doesn't change teh volume of data I can store though, just the resources the daemon can use?
[17:30] <SpamapS> jamespage: FYI I commented on the MP for bug #707405
[17:30] <oneseventeen> I plan on creating a partition dedicated to mysql databases... is it hard to configure MySQL to use it?
[17:30] <jamespage> SpamapS: thanks
[17:34] <SpamapS> oneseventeen: not at all.. you may want to just mount that partition at /var/lib/mysql
[17:35] <SpamapS> oneseventeen: but if you don't want to do that.. just set datadir=/your/mount/point in /etc/mysql/my.cnf
[17:35] <oneseventeen> SpamapS: thanks.  it has been a while since I've done any *real* linux work, so I forget how simple it can be to just mount the drive in the right place.
[17:36] <oneseventeen> just creating the volume now on the SAN, then I'll just mount it to /var/lib/mysql during setup.
[17:36] <SpamapS> oneseventeen: just make sure /etc/fstab is setup right :)
[17:36] <oneseventeen> I'm hoping/assuming that if I do this during setup that it will configure fstab properly for me... :)
[17:36]  * oneseventeen is naieve at times
[17:37] <SpamapS> oneseventeen: no it definitely will
[17:39] <oneseventeen> ooh, one more critical question... if I increase the size of the drive can I tell ubuntu to rescan the drive then use the newly allocated space?
[17:42] <SpamapS> oneseventeen: make sure you setup with "LVM" and you can do that.
[17:42] <SpamapS> oneseventeen: oh on a SAN you may be able to do it w/o LVM
[17:43] <oneseventeen> SpamapS: well, teh point is the SAN can expand the volume, but the OS needs to then take up the rest of that volume.
[17:44] <oneseventeen> basically just resizing/expanding the partition.
[17:44] <SpamapS> oneseventeen: yeah so you will just have to run fdisk and grow the partition.. then resize2fs (or whatever your chosen FS uses for resizing)
[17:45] <SpamapS> oneseventeen: but yes, the only thing Linux has a hard time with is resizing / .. which.. I've never understood why someone hasn't solved.
[18:01] <hggdh> smoser, any change of genninga the Lucid proposed kernel for ec2?
[18:03] <smoser> genninga ?
[18:04] <smoser> hggdh, ^
[18:04] <hggdh> generating
[18:04] <hggdh> genninga was a weirdly unexpected decision from my keyboard
[18:04] <smoser> for lucid i would just say use the -proposed from the archives
[18:04] <smoser> and then when we push to -updates it will get there appropriately
[18:04]  * oneseventeen is just going to go with a 64GB mysql partition and hope it lasts long enough for him to figure out how to grow it in the future. :)
[18:05] <hggdh> smoser, perfect. I am, unfortunately, still utterly lost on which kernels need an ec2 image. I am guessing it is only hardy & karmic, correct?
[18:06] <smoser> well, yes, both hardy and karmic will need akis published
[18:06] <smoser> for lucid, we will continue to do that
[18:06] <smoser> (publish the akis, but they're ont used by default)
[18:07] <smoser> in maverick+ there is only aki
[18:07] <smoser> err... only pv-grub
[18:07] <Roasted_> So I ran this command in terminal on my Ubuntu machine, gvfs-mount smb://etc/etc/etc and it changed my prompt to $. Users were trying to help me suggesting it changed something in bashrc, but I logged on another Ubuntu machine on our Windows domain and sure enough, I have the $ there too, so it's clearly not machine-dependent but something happened on the domain itself. Any ideas??
[18:08] <SpamapS> Should be interesting spending six months working on "oneiric" .. :)
[18:08] <smoser> for hardy (and after this, for karmic) you should test the kernels by booting with a pv-grub kernel and installing kernels and rebooting.
[18:09] <hggdh> smoser, so, for testing from now on all I need is boot, add in -proposed, install, reboot. Correct?
[18:10] <hggdh> erbngeek_, hardy/karmic need the --kernel
[18:10] <hggdh> smoser, ^
[18:10] <hggdh> erbngeek_, sorry for the ping (now twice)
[18:11] <zul> hmm.....samba 3.5.8 is out
[18:11] <smoser> hggdh, yes. but if you want to boot into the older kernel (after install) you'll have to modify /boot/grub/menu.lst
[18:12] <hggdh> smoser, thank you
[18:13] <ikonia> Roasted_: please don't cross post, you posted this in #ubuntu
[18:14] <Roasted_> you're right, I did. But I'm curious if the folk here could assist me since it very well may be a server related issue.
[18:14] <ikonia> are you running an ubuntu server ?
[18:14] <Roasted_> no, but I'm curious if the users here would have happened to have ran into it prior.
[18:14] <ikonia> ok, so you're not running an ubuntu server, then this channel isn't appropriate
[18:14] <Roasted_> where do you suggest I ask this question, ikon
[18:14] <Roasted_> ikonia,
[18:15] <ikonia> #ubuntu is the best place
[18:15] <Roasted_> okay, I shall continue to ask my question in there until an answer is had.
[18:15] <Roasted_> thank you
[18:15] <ikonia> welcome
[18:15] <Roasted_> :)(
[18:15] <Roasted_> :)
[18:31] <panfist> is it possible to add locations to index with locate/updatedb?
[18:32] <ikonia> panfist: it's a config file, then you run updatedb
[18:33] <ikonia> panfist: /etc/updatedb.conf ?
[18:34] <panfist> i see, thanks
[18:35] <panfist> i have an instance of ubuntu server running on a physical machine on my home network, the purpose of it is primarily to serve a raid array over samba
[18:36] <panfist> i used to have the raid array mounted in /media because that seems to be the default location for random stuff to mount, but what would be a better place to mount it more permanently?
[18:36] <panfist> i was thinking /srv/samba/foo or something like that
[18:37] <panfist> should i actually mount it there or mount it somewhere else and symlink it
[18:37] <oneseventeen> have any of you mounted iSCSI targets in Ubuntu-server? is it possible?
[18:37]  * oneseventeen has never used iSCSI in Ubuntu
[18:38] <pmatulis> oneseventeen: yes, ubuntu can act as an iscsi client or server
[18:44] <patdk-wk> oneseventeen, I do it all the time
[18:44] <patdk-wk> I just never attempted root iscsi till recently :)
[18:48] <oneseventeen> patdk-wk: are there any guides I can read on how to mount them?
[18:49] <patdk-wk> http://www.cyberciti.biz/faq/howto-setup-debian-ubuntu-linux-iscsi-initiator/
[18:49] <oneseventeen> beautiful, thanks!
[18:50] <oneseventeen> one final (I hope) question before I get started: does anyone use Ubuntu in a VMware VM?
[18:50] <oneseventeen> I'm trying to decide between the default E1000 NIC or VMXNET 3 NIC
[18:50] <patdk-wk> always use vmxnet3
[18:50] <patdk-wk> and pvscsi :)
[18:50] <patdk-wk> atleast if your on esx 4.1, don't use pvscsi on 4.0
[18:51] <oneseventeen> that's what I do on Windows, but I normally need to isntall drivers... do I need to install Drivers on ubuntu for this NIC?
[18:52] <patdk-wk> nope
[18:52] <patdk-wk> I load up 10.04 with vmxnet3 and pvscsi without modifications
[18:52] <oneseventeen> what is pvscsi?
[18:52] <patdk-wk> same for windows, but have to load the pvscsi floppy disk :(
[18:52] <patdk-wk> faster disk access
[18:52] <patdk-wk> it's the equiv of vmxnet3 for disks
[18:53] <oneseventeen> so is that in my SCSI controller settings?
[18:53] <patdk-wk> ya, scsi adaptor, change type
[18:53] <oneseventeen> is it the VMware paravirtual?
[18:53] <patdk-wk> yep
[18:53] <patdk-wk> paravirtual scsi
[18:54] <oneseventeen> sweet, got it all set up.
[19:02] <oneseventeen> patdk-wk: any other tips before I create this VM?
[19:03] <oneseventeen> (system drive will be on a VMDK, but a MySQL data volume will be iSCSI mount)
[19:03] <patdk-wk> nope
[19:03] <patdk-wk> I wonder what would perform better though
[19:04] <patdk-wk> vm->iscsi, or vm->disk (vmdk->iscsi)
[19:04] <patdk-wk> guess it depends on how well you tune esx for iscsi luns
[19:06] <oneseventeen> I'm just mounting my iSCSI volume directly in the VM so I can grow it easier in the future.
[19:07] <blade2112> hello
[19:08] <blade2112> anyone here?
[19:08] <oneseventeen> a few people are popping in and out.
[19:08] <laen> Nope, we're all gone.
[19:10] <oneseventeen> but you are welcome to ask a question in case we come back.
[19:10] <blade2112> Just asking
[19:11] <blade2112> If anyone here available to help me
[19:12] <oneseventeen> feel free to ask a question and perhaps someone will respond if they know it.
[19:12] <blade2112> This is ubuntu support, right? Can I ask anything related to hosting websites... etc?
[19:12] <oneseventeen> (I'm picking up Ubuntu-Server for the first time in several months, so I'm not a great source)
[19:13] <oneseventeen> This is the ubuntu-server chat room filled with ubuntu-server users who like to help each other out.
[19:14] <blade2112> ok
[19:14] <oneseventeen> but I'm sure several of us here have hosted websites using ubuntu-server.
[19:14] <oneseventeen> what's your question?
[19:14] <blade2112> ok
[19:15] <blade2112> I have an ubuntu server, but without a control panel.
[19:15] <blade2112> So only apache on it.
[19:15] <blade2112> I want to add my site on it, but I don't know how.
[19:17] <oneseventeen> I don't have a vanilla install handy, but I think the default website is located at /var/www/
[19:17] <oneseventeen> so if you put files in there, you should be able to see them when you type the server's IP in a web browser.
[19:17] <blade2112> yes
[19:18] <blade2112> when i got to my ip
[19:18] <patdk-wk> na, he wants something to config the server for him
[19:18] <patdk-wk> like ebox I think it's called
[19:18] <patdk-wk> !ebox
[19:18] <blade2112> i can add files, html page to my ip...that means my apache server is working...but what I want is to add my domain to it
[19:19] <oneseventeen> so you want people from the outside world to type in your domain and see the site hosted on your Ubuntu box?
[19:19] <blade2112> yes oneseventeen
[19:20] <oneseventeen> Are you hosting this at your home or at a business?
[19:20] <oneseventeen> (I ask because at home you usually don't have a static IP that is usable from the outside world... it changes every few weeks depending on your ISP)
[19:20] <blade2112> Now I installed the apache on my server and when I go to my ip i see the webpage and it is working as it should...But I want to add my domain to it so anyone can see the content
[19:20] <blade2112> Not hosted on home
[19:21] <blade2112> It's hosted on some web hosting company
[19:22] <oneseventeen> do you already have the domain?
[19:22] <blade2112> yes
[19:23] <oneseventeen> normally you can go into a management site for your domain (from whoever you purchased it from) to have them point it to your IP
[19:23] <blade2112> Okay
[19:24]  * oneseventeen hasn't messed with DNS/domain registration outside of shared hosting... hope he gave ok advice
[19:25]  * patdk-wk runs his own dns servers
[19:25] <oneseventeen> apparently apt-get intsall doesn't work...
[19:27] <jpds> oneseventeen: "doesn't work" is rather vague.
[19:28] <patdk-wk> jpds, looks good to me :)
[19:28] <patdk-wk> mispelled install
[19:28] <oneseventeen> yeah, I was just joking about my bad typing skills.
[19:28] <oneseventeen> took a good 2 min to figure out my error
[19:29] <patdk-wk> I always blame my fingers
[19:32] <oneseventeen> so do I just mess with /etc/network/interfaces to set static IPs on my NICs?
[19:45] <oneseventeen> beautiful, just got a listing of all iSCSI targets on the ubuntu box... thanks for the tips patdk-wk
[19:46] <oneseventeen> gotta run to get some non-enterprise (aka Apple) hardware looked at.
[19:46] <ttx> Daviey: looking
[19:48] <Daviey> ttx, appreciated - Clint added a comment on the merge proposal
[19:48] <ttx> jamespage, Daviey, SpamapS: I'd rather have another option to say "disable control port"
[19:49] <ttx> Also note that since it's in sync with Debian, it's good to push it there to keep the sync
[19:49] <Daviey> ttx, oh aye
[19:49] <ttx> and it's a bit featureful for post-FF
[19:50] <Daviey> ttx, do you have a suggestion for a cleaner fix?
[19:50] <Daviey> ttx, aye, i'd like to get it moving whilst still fresh.. ready for sync from o-series at least
[19:50] <ttx> ah, -1 is actually something tomcat allows, I see
[19:53] <ttx> Daviey: SpamapS's snippet sounds good to me
[19:54] <pmatulis> does dnsmasq have an equivalent to the (missing bind9) option 'topology'?
[19:55] <Daviey> ttx, What risks do you see with that?
[19:58] <ttx> Daviey: none, and could definitely be considered a bug :)
[19:58] <Daviey> ttx, awesome
[19:59] <Daviey> ttx, fancy commiting it to debian branch? :)
[19:59] <ttx> ah!
[19:59] <ttx> I guess I can.
[20:00] <ttx> Once the branch is updated with Clint's suggestion
[20:04] <hallyn> where do we go to look over (/proofread) the natty release docs?  help.ubuntu.com seems to only have 10.10.
[20:05] <zul> good question
[20:07] <zul> hallyn: i dunno
[20:09] <genii-around> hallyn: Maybe https://blueprints.launchpad.net/ubuntu/natty/+specs has some useful info for you
[20:21] <Daviey> ttx, you rock...
[20:21] <Daviey> hallyn, what do you mean release doc's?
[20:22] <Daviey> hallyn, This might be what you want?  https://wiki.ubuntu.com/NattyNarwhal/TechnicalOverview
[20:29] <hallyn> Daviey: i don't think so, though maybe.  at server team mtg it was mentioned (two weeks ago) that we should be looking over the docs for accuracy
[20:34] <Daviey> hallyn, ahhhhhh
[20:36] <Daviey> hallyn, Well caught.... The docs are stored in bzr... but essentially review https://help.ubuntu.com/10.10/serverguide/C/index.html and look for inaccuracies..
[20:36] <Daviey> hallyn, The plan /was/ to submit it to sommer... but things might have to be different this cycle
[20:39] <hallyn> Daviey: thanks!
[20:41] <Daviey> hallyn, If you generate a list of changes if you find some, we'll get it sorted this week
[21:57] <soren> hallyn: Where are we on SPICE support in Ubuntu?
[22:06] <mray> anyone familiar with reimaging servers via PXE and preseeds? My servers are booting from the network, but not downloading the preseed config file
[22:06] <mray> booting to the installer that is
[22:07] <highvoltage> you're in luck, there are countless howtos for that
[22:07] <mray> I know, I'm following the Installation Guide and it's not working
[22:08] <laen> Wrong guide!
[22:08] <highvoltage> mray: how are you specifying the preseed file?
[22:08] <mray> I https://help.ubuntu.com/10.10/installation-guide/amd64/preseed-intro.html is wrong?
[22:08] <fluvvell> mray: is that like ltsp, and using tftpd ?
[22:09] <mray>  /var/lib/tftpboot/pxelinux.cfg/default is my syslinux.cfg
[22:09] <mray> # D-I config version 2.0
[22:09] <mray> include ubuntu-installer/amd64/boot-screens/menu.cfg
[22:09] <mray> default ubuntu-installer/amd64/boot-screens/vesamenu.c32
[22:09] <mray> prompt 0
[22:09] <mray> timeout 1
[22:09] <mray> preseed/url=http://192.168.11.7/default.seed
[22:09] <mray> preseed/url/checksum=d785f425373c0f11a4d8c056866db76a
[22:10] <mray> the timeout is being picked up, but nothing happens
[22:10] <mray> hitting that URL from a browser works
[22:10] <mray> apache's logs don't show any requests
[22:10] <mray> (except from my browser)
[22:11] <mray> fluvvell: PXE booting the installer
[22:11] <RoAkSoAx> mray: you have to add the "auto url=etcetc"
[22:11] <RoAkSoAx> oh no that's manually enterin it
[22:12] <mray> heck, if that works I'll try
[22:12] <mray> I'm reinstalling about every other day, so 1 manual step isn't terrible
[22:12] <fluvvell> mray: I'm following now.
[22:14] <RoAkSoAx> mray: yeah I installed couple weeks ago adding the auto url thingy as I pointed you out the other day with no issues
[22:15] <mray> I'm just trying to avoid anything manual
[22:15] <mray> since I've got 6 machines I'm working with
[22:15] <mray> and as I scale, it gets less enjoyable
[22:15] <RoAkSoAx> mray: http://testcases.qa.ubuntu.com/Install/ServerWhole#Preseeded%20Installation
[22:16] <RoAkSoAx> mray: indeed! I see your point. I myself looking for everything automated but I guess I'll rely on cobbler eventually
[22:16] <mray> RoAkSoAx: check for press releases from Cloud Connect tomorrow ;)
[22:16] <RoAkSoAx> mray: will do ;)
[22:22] <RoAkSoAx> SpamapS: ping
[22:23] <oneseventeen> for some reason after a reboot I can't get online with my ubuntu server.
[22:24] <oneseventeen> interfaces file looks good.
[22:25] <hallyn> soren: spice support is in ppa:serge-hallyn/spice.  I'd like to package it but need some testers
[22:25] <hallyn> kim0: is looking at it
[22:25] <holmser> I am having a heck of a time setting up an openswan ipsec VPN on my server
[22:26] <soren> hallyn: What do you mean "package it"?
[22:26] <soren> hallyn: It's already in a PPA, so it must be packaged.
[22:27] <hallyn> soren: right i meant push it into natty
[22:27] <hallyn> kim0 is working on MIR
[22:27] <soren> hallyn: An MIR sounds premature if it's not even in the archive yet. Why not just put it in the archive?
[22:28] <soren> hallyn: Best way to get testers.
[22:28] <holmser> I am able to connect to it just fine, but it seems that my NAT is screwed up somehow because I am unable to connect to anything through it
[22:30] <SpamapS> RoAkSoAx: pong, sup?
[22:32] <hallyn> soren: how do we go about that?
[22:33] <oneseventeen> solution was to remove the gateway from eth1 so only eth0 has a gateway.
[22:34] <RoAkSoAx> SpamapS: bug #729911
[22:35] <RoAkSoAx> your SRU doesn't seem to have fixed the issue
[22:35] <SpamapS> RoAkSoAx: yeah... I'm thinking that this has more to do w/ running squid in the foreground than an old copy of squid untracked by upstart
[22:36] <SpamapS> RoAkSoAx: my guess is that when squid is run in the foreground and receives SIGTERM, it somehow doesn't free resources, so the start back up fails.
[22:36] <SpamapS> Like maybe if there are active requests.
[22:36] <RoAkSoAx> SpamapS: yeah it is indeed complicated issue. I just hope we don't get as many bug reports :S
[22:37] <SpamapS> RoAkSoAx: I think unfortunately, we will
[22:37] <SpamapS> RoAkSoAx: the maintainer scripts also call restart when they shoudn't.
[22:37] <SpamapS> So thats probably the blanket fix that will stop the bug reports.. but I'm skeptical that this will be enough to stop all problems.
[22:37] <RoAkSoAx> SpamapS: wouldn't it just be easier to stop before upgrading?
[22:38] <SpamapS> RoAkSoAx: yes
[22:38] <SpamapS> RoAkSoAx: what would be easiest, would be to use dh_installinit, which implements the appropriate logic in a uniform manner.
[22:38] <RoAkSoAx> SpamapS: indeed
[22:38] <RoAkSoAx> anyway, this reminds me
[22:39] <RoAkSoAx> SpamapS: in PowreNap the daemon starts threads
[22:39] <RoAkSoAx> and powernap tracks those threads and whatever
[22:39] <RoAkSoAx> SpamapS: however, wen I issue sudo restart powernap
[22:39] <RoAkSoAx> the config is not reloaded
[22:39] <RoAkSoAx> so I have to stop powernap, and start it again
[22:39] <RoAkSoAx> what might be wrong?
[22:39] <SpamapS> restart sends SIGTERM, waits for the pid to die, then starts the job again
[22:40] <SpamapS> in many ways, restart is like a forced respawn
[22:40] <SpamapS> so the threads from the managed daemon should die
[22:40] <soren> hallyn: Well, if it builds and installs ok and debian/copyright is in good shape, all you need is an FFe and we can upload it.
[22:40] <RoAkSoAx> SpamapS: right but this doesn't happen. So when I restart everything keeps running as I didn't issue the restart command even though it tells me it has
[22:41] <RoAkSoAx> SpamapS: that's why I have to stop, and then start again
[22:41] <oneseventeen> does anyone know how to list all drives/volumes (even unformatted ones) on ubuntu-server?
[22:41] <SpamapS> RoAkSoAx: are you sure powernap is being tracked properly?
[22:43] <oneseventeen> doh, google knew the answer. sudo fdisk -l
[22:43] <RoAkSoAx> SpamapS: the job:http://pastebin.ubuntu.com/577218/
[22:45] <SpamapS> RoAkSoAx: so powernapd does not daemonize?
[22:45] <holmser> anyone here have any experience with ipsec?
[22:45] <RoAkSoAx> SpamapS: it does
[22:46] <holmser> I ran ipsec verify and ip forwarding keeps failing
[22:46] <RoAkSoAx> SpamapS: it is a deamon (you cannot run it in the foreground)
[22:47] <SpamapS> RoAkSoAx: then you'd need 'expect fork' or 'expect daemon' somewhere in there
[22:47] <RoAkSoAx> SpamapS: it is there too :)
[22:47] <SpamapS> RoAkSoAx: not in the paste you gave me
[22:47] <SpamapS> RoAkSoAx: chopped at pre-start (actually re-start.. ;)
[22:48] <RoAkSoAx> SpamapS: http://pastebin.ubuntu.com/577220/
[22:49] <RoAkSoAx> chopped all above that  xD
[22:50] <SpamapS> RoAkSoAx: so, when you look at the process in 'ps auxfw' .. is it  init->powernapd  only, or are there actual pids under powernapd?
[22:51] <holmser> when I run "sysctl -A | grep ip_forward"  I get net.ipv4.ip_forward = 0
[22:51] <holmser> how do I change that setting?
[22:51] <soren> holmser: sysctl -w net.ipv4.ip_forward=1
[22:52] <holmser> thank you soren
[22:53] <SpamapS> holmser: note that you will need to make that persistent somehow.. the best way is to put it in /etc/sysctl.d/60-something.conf
[22:53] <RoAkSoAx>  SpamapS only powernap root      7418  0.1  0.0  54044  5204 ?        Sl   17:52   0:00 /usr/bin/python /usr/sbin/powernapd
[22:55] <holmser> hmm... even with that changed, VPN is still not working
[22:56] <RoAkSoAx> SpamapS: so I was thinking it may be becuase powernapd starts threads and stuff that are in other files. so powernapd only instances a set of X classes, that can have threading or not
[22:59] <soren> RoAkSoAx: "initctl list powernap" shows the correct pid?
[23:00] <SpamapS> RoAkSoAx: It really shouldn't matter. Threads will die with the process. fork'ed children will either die, or become children of pid 1.
[23:02] <RoAkSoAx> soren: yes it does
[23:02] <RoAkSoAx> SpamapS: right but either way i don't relaly see it restarting
[23:03] <soren> RoAkSoAx: After "restart powernap", you still have the same pid?
[23:03] <SpamapS> RoAkSoAx: whats your evidence? The pid changes right?
[23:03] <SpamapS> RoAkSoAx: oh wait.. pre-stop .. thats a known bug
[23:03] <oneseventeen> I'm formating a partition to store mysql databases on, is there a preferred filesystem for ubuntu-server?
[23:03] <oneseventeen> ext3?
[23:04] <SpamapS> RoAkSoAx: add yourself to bug #703800 .. I'll mark it Confirmed
[23:04] <RoAkSoAx> soren: yes it does
[23:04] <RoAkSoAx> SpamapS: the pid doesn't change
[23:06] <SpamapS> yeah, restart is b0rked when there is a pre-stop
[23:07] <SpamapS> RoAkSoAx: this is part of the reason /sbin/upstart-job doesn't use restart... its just a weird command
[23:07] <SpamapS> err
[23:07] <RoAkSoAx> SpamapS: yeah indeed it is upstart
[23:07] <SpamapS> err, /lib/init/upstart-job
[23:07] <RoAkSoAx> SpamapS: will post-stop work
[23:07] <RoAkSoAx> ??
[23:08] <RoAkSoAx> or does that even exists?
[23:08] <RoAkSoAx> :)
[23:08] <oneseventeen> does anyone know where mysql saves database files? I forget
[23:08] <SpamapS> RoAkSoAx: yes and yes
[23:08] <thesheff17> oneseventeen: I have used ext4...but if you want to be able to freeze the file system you have to use a different type.
[23:08] <RoAkSoAx> SpamapS: i guess I'll to change things then, thanks :)
[23:09] <oneseventeen> ha, /var/lib/mysql
[23:09] <SpamapS> RoAkSoAx: does it make sense to powerwake-now *after* powernapd is stopped tho?
[23:09] <oneseventeen> thesheff17: thanks
[23:10] <oneseventeen> eek, didn't realize the time, later everyone and thanks for all the help earlier!
[23:10] <RoAkSoAx> SpamapS: not really but i'll change the logic
[23:11] <RoAkSoAx> i mean, what powerwake-now does in that case is only good when in PowerSave nmode wich will run other scripts to ensure that the system is restored as original
[23:11] <SpamapS> RoAkSoAx: I'd rather see the logic right, and not use restart, than use complicated logic to enable a command that I never recommend people use.
[23:11] <RoAkSoAx> so post-stop I'm just planning to grepping the config and if it is configured to poewrsave then run the command necessary to restore everything bug to original
[23:12] <RoAkSoAx> s/bug/back
[23:18] <SpamapS> RoAkSoAx: but if somebody stops powernapd .. there won't be a state to query will there?
[23:19] <RoAkSoAx> SpamapS: for exmaple, in the config ACTION_METHOD=0, will run pm-powersave true|false when entering into a powersave start or leaving it respectively
[23:20] <RoAkSoAx> SpamapS: the pre-stop part in upstart only ensures that pm-powersave false is run to rollback the changes, if any, to original
[23:20] <RoAkSoAx> SpamapS: these changes are , for example, turn off the 3 CPU cores of the 4 that pm-powersave true turned off