[00:00] <kirkland> lifeless: actually, I got that from Spads, when I asked for the squid config Canonical IS uses at UDS
[00:00] <lifeless> oh man
[00:00] <lifeless> chinese whispers.
[00:00] <kirkland> lifeless: we'd love your input/review on this
[00:01] <kirkland> lifeless: this is the squid.conf we're using in the Orchestra server
[00:01] <lifeless> kirkland: if you need 1/2 GB of hot objects, you should be doing, I dunno, 100MB sustained traffic ?
[00:01] <lifeless> maybe more
[00:01] <lifeless> thats per-sec of course
[00:01] <kirkland> lifeless: this is the ubuntu network installation server
[00:02] <kirkland> lifeless: i'd expect we'd be installing maybe 100+ ubuntu servers simultaneously
[00:02] <lifeless> that is unrelated :)
[00:02] <deltree_> is ubuntu server slower if I run it with the desktop gui?
[00:02] <lifeless> ok
[00:02] <lifeless> let me break out the aspects for you
[00:02] <kirkland> lifeless: so i figured there'd be a good 500MB of packages required to install each
[00:02] <lifeless> on a miss squid:
[00:03] <lifeless>  - writes the response to disk (without blocking)
[00:03] <lifeless>  - forwards it to the client
[00:03] <lifeless>  - if its small enough keeps a copy in memory (it has to do a little, but it can choose to keep a window in memory, or the whole thing)
[00:03] <lifeless> the knob to control window-or-whole thing is
[00:03] <lifeless> maximum_object_size_in_memory
[00:03] <lifeless> with (last I checked) this default:
[00:03] <lifeless> # maximum_object_size_in_memory 512 KB
[00:04] <lifeless> (because something like 90% of objects on the net are < 512KB)
[00:04] <lifeless> on a hit squid:
[00:04] <kirkland> lifeless: ah
[00:04] <lifeless>  - either reads from memory (if it can ,possibly joining onto an existing download that is happening)
[00:04] <kirkland> lifeless: okay, that part makes sense
[00:04] <lifeless>  - or reads from disk *and does NOT* copy it into the in memory buffer
[00:05] <lifeless> the second part is considering a minor bug: you cannot seed a hot object by getting cache hits.
[00:05] <lifeless> it plays merry hell with really high volume reverse proxies
[00:06] <lifeless> ones up in the many-thousand-hits-per-second category.
[00:06] <lifeless> so, that 512MB seting you have, by default, will only cache the smallest of debs
[00:06] <kirkland> lifeless: heh, okay, thanks for that
[00:06] <kirkland> RoAkSoAx: wanna commit that fix too?
[00:07] <SpamapS> deltree_: it will use up some RAM that could better be used caching data.
[00:07] <RoAkSoAx> kirkland: yup
[00:07] <kirkland> RoAkSoAx: change that back to 512KB?
[00:07] <lifeless> and, given we basically depend on the OS cache for most hits anyway, is unlikely to have a significant impact for you.
[00:07] <lifeless> kirkland: whoa
[00:07] <lifeless> kirkland: you're confused - two related settings
[00:07] <deltree_> SpamapS: ok, just making sure
[00:07] <lifeless> the cache_mem setting defaults to 256MB.
[00:07] <lifeless> kirkland: RoAkSoAx: just delete the setting.
[00:07] <kirkland> lifeless: okay, thanks
[00:07] <lifeless> kirkland: the *policy* knob for what things can go into that memory cache defaults to 512KB
[00:08] <kirkland> lifeless: as for a disk cache, what's  your recommendation?
[00:08] <lifeless> kirkland: aufs.
[00:08] <kirkland> lifeless: size wize
[00:08] <lifeless> kirkland: if you want this thing to be snappy, make it 2/3rds your physical RAM
[00:08] <RoAkSoAx> lifeless: so I remove the cache_mem line and s/ufs/aufs
[00:09] <lifeless> kirkland: that will allow space for metadata lots etc and guarantee nothing needs disk UI
[00:09] <lifeless> *IO*
[00:09] <lifeless> RoAkSoAx: yes please
[00:09] <SpamapS> kirkland: wouldn't you want the cache size to be "big enough to keep all desired releases on disk" ?
[00:09] <lifeless> kirkland: if you want to optimise to avoid network downloads, set it to big enough to ..
[00:09] <kirkland> SpamapS: that's what I was thinking
[00:09] <lifeless> what SpamapS just said.
[00:09] <kirkland> okay, good
[00:09] <lifeless> note that you need 14 MB of memory per 1 GB on disk for 64-bit Squid
[00:09] <lifeless> http://wiki.squid-cache.org/SquidFaq/SquidMemory
[00:10] <kirkland> yeah the goal here is to minimize impact on the wan
[00:10] <lifeless> that comes from the OS
[00:10] <RoAkSoAx> kirkland: i guess we will need to do some debconf stuff to set add the "lan" we will be using automatically as well
[00:11] <SpamapS> kirkland: the goal would also be to be able to handle 1000 servers installing at one time.. :)
[00:11] <lifeless> so, you have what 40GB at the moment? that should be fine.
[00:12] <lifeless> SpamapS: thats primarily achieve by a) using aufs and b) having a tonne of memory on the machine.
[00:12] <lifeless> SpamapS: enough for socket buffers + os page cache for all the debs being downloaded.
[00:13] <kirkland> lifeless: right, we'll recommend that the orchestra server be a fairly beefy machine, and note that the lack thereof will impact provisioning results
[00:13] <kirkland> okay, i gotta take a break;  been a 12+ hour day
[00:13] <kirkland> i'm off for a bit to hang out with the wife
[00:13] <SpamapS> lifeless: indeed, there's an affect that happens also where they all tend to get to the same spot in the install/download process if you can't fit the whole cache in memory..
[00:13] <kirkland> lifeless: you're awesome, man, thanks so much!!!!!
[00:13] <SpamapS> lifeless: I had this w/ system imager.. they'd all start a few minutes apart, but end at the same point, because only one window of data would fit in the OS cache.
[00:14] <lifeless> kirkland: anytime
[00:14] <lifeless> RoAkSoAx: yes, or edit the local_network acl
[00:14] <lifeless> SpamapS: yah, memory memory memory :)
[00:14] <SpamapS> If some got behind, they'd slow the others down.. and eventually they'd all be downloading the same data.
[00:14] <lifeless> SpamapS: Back in the bad old days I was workin (shudder) yum
[00:14] <RoAkSoAx> lifeless: cool! thanks for taking the time to take a look at it ! really appreciate it
[00:15] <lifeless> and it was crystal clear whenever something was missing from the cache, all the machines would grind to a goslo
[00:15] <lifeless> RoAkSoAx: no worries; feel free to ask anytime
[00:15] <RoAkSoAx> lifeless: will do, thanks
[01:10] <deltree_> so with a LAMP server, I'm thrilled how it basically works right out of the box.
[01:10] <deltree_> I'm confused though, is there a way to allow Ruby Apps to be run, but not the whole server in Ruby (my PHP is not MVC, but my Ruby is)
[01:13] <smoser> soren, i did not really look much, so just didn't see it. that probably is "the right way" to do that.
[01:15] <smoser> i sent it upstream, we'll see what they say there.
[01:31] <deltree_> in an attempt to set up rails as an app environment, rather than the whole server, I've been following the instructions here: http://russbrooks.com/2009/5/25/install-ubuntu-9-04-server-edition-rails-php-passenger-postgresql-and-mysql  It explains to setup a passenger.load file for apache and aparently I did that wrong based on the errors I'm getting anyone know about this?  I tried following...
[01:31] <deltree_> ...the instructions on passenger to try to use it as a standalone, but I get the error that the passenger command doesn't exist
[02:11] <deltree_> trying to set up rails to run on my ubuntu LAMP server as an app environment, leaving php in tact etc.  So far my research has told me to use passenger as a standalone with virtual hosts, but when I install the passenger gem, and try to do as instructed: http://www.modrails.com/documentation/Users%20guide%20Standalone.html I get an error that the passenger command doesn't exist.  When I try...
[02:11] <deltree_> ...to follow the instructions of someone who's managed to do this before: http://russbrooks.com/2009/5/25/install-ubuntu-9-04-server-edition-rails-php-passenger-postgresql-and-mysql I get other oddities, including the lack of a mod_passenger.so file
[03:31] <SpamapS> deltree_: did you try asking in a rails channel? They might have better info for you.
[03:32] <deltree_> I have
[03:32] <deltree_> only one person I've seen so far claims to have set it up, and in their words i had to do major surgery on my gems
[03:32] <deltree_> then they left
[03:32] <SpamapS> ew
[03:33] <SpamapS> When you wrote your code, what did you use to develop it?
[03:36] <deltree_> I haven't built a rails app yet
[03:37] <SpamapS> Oh, just playing?
[03:37] <deltree_> I write mostly in php & asp.net mvc (yes)
[03:37] <SpamapS> what version of Ubuntu ?
[03:37] <deltree_> 10.04
[03:37] <deltree_> I'm doing it all on virtual machines, so when I mess something up, I just start over
[03:38] <deltree_> so don't get scared if I do something stupid, I can back it up and try again
[03:38] <SpamapS> thats a great way to learn
[03:38] <deltree_> but please, a little guidance would go a long way
[03:38] <deltree_> I'm pretty new to linux too
[03:38] <deltree_> I figured out how to give my server a gui
[03:38] <deltree_> and that has made things easier for figuring out what I'm doing
[03:38] <SpamapS> a gui?
[03:39] <deltree_> ubuntu desktop
[03:39] <deltree_> gnome
[03:39] <SpamapS> Thats ultimately going to hinder your learning more than you might think.
[03:39] <SpamapS> Learn to use SSH, learn to *love* SSH
[03:39] <SpamapS> You can even setup an SSH filesystem between your host OS and your VM so you don't have to log directly into the VM to edit files
[03:40] <deltree_> I plan to, but my VM has been awkward with ssh, so I've been using the network and sharing to drop files onto the box
[03:40] <deltree_> just while I figure out setup
[03:41] <SpamapS> Ok. Just a suggestion.. ditch the GUI
[03:41] <deltree_> will do
[03:41] <deltree_> it wasn't helping anyway
[03:41] <deltree_> I spent most of my time in the terminal
[03:41] <SpamapS> So if you're doing ASP and PHP.. why ruby?
[03:41] <deltree_> the reason I liked the gui was 'cause I could just run firefox to see if localhost was working
[03:41] <SpamapS> like, you're taking on a whole new OS, and a new language, at one time?
[03:42] <SpamapS> just set the IP of your VM to the same thing all the time.. you don't have to make it dynamic. ;)
[03:42] <deltree_> SpamapS: it's a language I don't know, and I really like the language, the "truly OOP" is beautiful in my eyes.  It's language #17 for me, so it's really not hard to learn, I just need a place to learn it, and windows doesn't like that idea much
[03:43] <deltree_> in addition, I came across an app in Perl, which meant more IIS troubles
[03:43] <SpamapS> hah
[03:43] <SpamapS> Ok well Ruby is kind of borked in 10.04
[03:43] <SpamapS> 11.10 will have a MUCH better Ruby
[03:43] <deltree_> so I decided to take a look at Ubuntu again, after all, I've got 3 linux rigs in the house, but linux is more of a "set it and forget it" os in my eyes
[03:44] <SpamapS> with a non broken rubygems
[03:44] <deltree_> 10.04 is LTS, and since I'm considering moving my server to it, I need the LTS version
[03:44] <SpamapS> Are you sure?
[03:44] <deltree_> no
[03:44] <deltree_> actually
[03:44] <SpamapS> 18 months is a long time for an experimental box
[03:45] <qman__> I have to agree, this is one of the few cases where non-LTS makes more sense
[03:45] <SpamapS> Which is how long after this coming October 11.10 will receive updates.
[03:45] <qman__> if you were running it in production at a company I'd say yes, but just to develop on, go with the newer one
[03:45] <SpamapS> plus you'll be one upgrade away from the next LTS, 12.04 (unless we lose our minds and decide not to make it an LTS.. which is about a 1 in 1000000 shot)
[03:45] <deltree_> come to think of it, LTS isn't exactly my style anyway
[03:46] <deltree_> always new
[03:46] <SpamapS> anyway, wife is waiting for me.. time to head out
[03:46] <deltree_> I'm more likely to automate os upgrades than to use old software
[03:47] <SpamapS> deltree_: If you're brave.. try out 11.10 beta1, which should arrive next week.
[03:47] <deltree_> (I'm not)in any case, is 11.04 going to mean a heck of a lot of difference in Ruby
[03:47] <SpamapS> deltree_: we will be *forever* indebted to you for any bug reports you might have. :)
[03:47] <SpamapS> 11.04 is a *little* better
[03:47] <deltree_> I would, but I'm clueless with linux anyway
[03:47] <SpamapS> And you can always update to 11.10 after October and once you feel comfortable.
[03:48] <deltree_> I can open up a web browser and gksudo nautilus, that's my latest "whoohooo"
[03:48] <SpamapS> lol.. scary
[03:48] <SpamapS> well glad to see you're on the right path. :)
[03:48] <deltree_> lol
[03:48] <SpamapS> good luck w/ rails and ruby.. gone...
[03:48]  * SpamapS disappears
[03:48] <deltree_> so no one has gotten passenger to work in standalone on 10.04?
[03:53] <deltree_> if someone can say they have in 11.04 then I have a reason to jump forward now, otherwise, I'll continue experimenting on this one until 11.10
[03:54] <DanaG> weird... one of my users has /usr/sbin not in path.  Is that normal for members not in sudo or wheel group?
[03:54] <DanaG> /usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
[08:47] <Daviey> Beta freeze is tomorrow... oh joy.
[08:48] <twb> DanaG: that happens to me all the goddamn time (lucid)
[08:49] <twb> DanaG: I assume PATH setting was moved from /etc/profile into PAM, and PAM doesn't trigger when I log in via SSH or something.
[08:49] <twb> I haven't been annoyed enough to actually track it down.  It's probably when you ssh root@foo -t sh or something
[09:54] <lynxman> Daviey: the beta freeze will only block new packages from landing the archive right?
[09:59] <Daviey> lynxman: No, the beta freeze means the archive is on manual approve.
[09:59] <Daviey> so all uploads get wedged
[09:59] <Daviey> https://wiki.ubuntu.com/BetaFreeze
[09:59] <ersi> So Now would not be the greatest time to get into packaging? :-P
[10:00] <lynxman> Daviey: heh, better get those bugs smashed then
[10:05] <beric> Hi, I followed the instructions in the InstallCDCustomization wiki page and I got a working installation but I can't log in if I add my custom packages. I know there are issues with casper autologin but this time it's not a livecd.
[10:11] <Daviey> ersi: packaging NEW stuff.. no, bad time :)... although NEW packages for Debian still makes sense, that we'll sync in next cycle :)
[10:11] <Daviey> ersi: fixing packaging issues, yes still a good time :)
[10:25] <ersi> ;)
[11:05] <koolhead11> #ubuntu-cloud
[11:16]  * RoyK hands koolhead11 a /j
[11:20] <koolhead11> RoyK, :)
[11:23] <ubunteo> how to install packages from CDrom after installation ?
[11:25] <ubunteo> some said https://help.ubuntu.com/8.04/add-applications/C/offline.html but how about on the server ??
[11:26] <ubunteo> in etc/apt/sources.list , I edited with # on deb http://........ and left only two cdrom lines on top.  but still not ok yet
[11:27] <_ruben> that oughta work i'd say
[11:27] <_ruben> did you run sudo apt-get update after editing sources.list?
[11:28] <_ruben> and you did uncomment (iirc it's commented by default) the cdrom lines i guess :)
[11:28] <trapmax> http://www.grimrock.net/
[11:28] <trapmax> sry. wrong window
[11:29] <ubunteo> _ruben: no. I just left only cdrom lines. and rebooted
[11:29] <soren> ubunteo: Look at apt-cdrom.
[11:29] <soren> ubunteo: It does what you need.
[11:31] <ubunteo> soren: do I have to install aptoncd package?
[11:31] <_ruben> ubunteo: a reboot wouldn't change a thing ;)
[11:31] <ubunteo> soren: As I have no internet with my server, how can I do ?
[11:32] <_ruben> ubunteo: what happens when you run sudo apt-get update ?
[11:32] <ubunteo> _ruben: so running sudo apt-get update could help ?
[11:32] <Daviey> If you are relying on a CD, you are probably doing it wrong.
[11:32] <_ruben> yes, tho it been ages since i used offline media :)
[11:32] <ubunteo> _ruben: to tell you the truth, I have not run that command as I thought it would only work with internet
[11:32] <_ruben> ubunteo: it uses the contents of the sources.list ;)
[11:33] <ubunteo> Daviey: I don't wish to rely on CDs only but having internet at home is really damn expensive here in my country
[11:33] <_ruben> not everything is available on the standard -server install cd tho...
[11:34] <ubunteo> _ruben: yes. I see. I know I can install mail server and Postgre sql server role from installer CD
[11:34] <Daviey> _ruben: we are actively trying to remove stuff from the iso :)
[11:34] <ubunteo> _ruben: because I left those things during initial installation. but I dont know how to install them after installation . even though I tried tasksel, it didn't read from CD
[11:35] <_ruben> ubunteo: after editing the sources.list and running apt-get update, it shoudl
[11:35] <_ruben> Daviey: i dont care about that, personally ;)
[11:35] <ubunteo> _ruben: I want to install mail server using installer server CD. how can I ? that should be done using CD alone without internet
[11:35] <_ruben> Daviey: i netinstall my box anyways :)
[11:35] <soren> ubunteo: No, you use apt-cdrom.
[11:36] <soren> In a terminal, type: apt-cdrom
[11:36] <ubunteo> soren: do you mean, apt-get update won't fix ?
[11:36] <soren> No.
[11:36] <ubunteo> soren: apt-cdrom is default package like nano installed by default during installation ?
[11:36] <soren> Just try it.
[11:37] <soren> It's free.
[11:37] <ubunteo> soren: I see. but my server is without internet
[11:37] <soren> Yes?
[11:37] <soren> Look, it's not that hard.
[11:37] <soren> Type "apt-cdrom" and hit return.
[11:38] <soren> It'll take only a fraction of the time we've wasted on this discussion.
[11:39] <Daviey> _ruben: good stuff.
[11:40] <ubunteo> soren: How can I accomplish ?
[11:40] <soren> First, you open a terminal.
[11:40] <ubunteo> soren: what do I do next without internet on myserver to install apt-cdrom ?
[11:40] <soren> Then you hit the key on your keyboard marked with an "A".
[11:40] <soren> Then you hit the key on your keyboard marked with an "P".
[11:40] <soren> Need I really go on?=
[11:41] <soren> It's already installed.
[11:41] <soren> You would have known this if you'd just bothered to try. It's not that hard. Just type on the keyboard.
[11:49] <ubunteo> soren: I am on server. no need to open terminal bro.
[11:52] <ubunteo> soren:  I am just confused. one said apt-get update will fix. you said to use apt-cdrom . what do I do ?
[11:52] <soren> ubunteo: You stop asking questions and try both and see which one works.
[11:53] <ubunteo> soren: I wish I could but my server is at home. and I am now at work with windows XP. easier said than done
[11:53] <soren> See, you could have mentioned that.
[11:53] <ubunteo> soren: according to office policy, only windows XP is allowed at work
[11:54] <soren> Then you take a piece of paper and write "'apt-get update' or 'apt-cdrom'". Take it home with you. Give them a go and see what happens.
[11:54] <soren> ubunteo: What are you trying to install anyway?
[11:57] <soren> _ruben is probably just sensible enough to have evicted the usually completely useless knowledge about how to add a cdrom source after the fact. I, sadly, have not. I'm stuck with this in my brain, taking up valuable space.
[11:58] <soren> "apt-get update" deals with dynamic sources. cdrom's are not in that category. apt-cdrom fills the gap.
[11:58] <ubunteo> soren: dear bro, is there any official documenation for apt-doc ?
[11:58] <soren> apt-doc?
[11:59] <ubunteo> soren: sorry. apt-cdrom
[11:59] <soren> There's a man page.
[12:00] <soren> It's also online. http://manpages.ubuntu.com/manpages/oneiric/man8/apt-cdrom.8.html
[12:01] <soren> Searching for "apt-cdrom" on your favourite search engine would probably also be helpful.
[12:01] <soren> If office policy permits.
[12:02] <ubunteo> soren:  thanks. I found. http://manpages.ubuntu.com/manpages.gz/oneiric/man8/apt-cdrom.8.gz  file. I think I can download and take it home and install manually with tar  - ??? option
[12:02] <soren> I think my quota for how much time I want to spend on this is up now.
[12:02] <soren> Read the last 4-5 things I said.
[12:03] <soren> If that doesn't answer all your questions, there's nothing else I can do.
[12:06] <ubunteo> soren:  I don't bother you , bro. you can ignore my post. there are so many who wants to volunteer in the world.
[12:08] <soren> I'd tell you to read the lst 8 things I said, but I'm afraid of the goto-loops involved. So I won't. But you should anyway.
[12:10] <ubunteo> soren:  I wish we all wish part of the solution. not part of the arguments or problem that will insult others. so thanks anyway. The reason why newbies come here to seek for help is IRC is quicker than launchpad to get interactive answer.
[12:11] <ubunteo> soren:The reason why newbies come here to seek for help on IRC is that is quicker than launchpad to get interactive answer.
[12:12] <ubunteo> soren: have a nice day ! thanks anyway.
[12:12] <soren> I've told you exactly what to do. Numerous times. I'd count them, but I really can't be bothered. If you won't listen, that's beyond me.
[12:13] <ubunteo> soren: it is good for you to take it easy to ignore my newbie questions.
[12:14] <Daviey> lynxman: What is the status of bug #822142 , the merge proposal you quoted seems dead?
[12:14] <soren> ubunteo: Let me part this conversion with a single word: apt-cdrom
[12:14] <soren> Have a magnificent day.
[12:14] <ubunteo> soren: If I were now infront of my ubuntu server, I would just type in quickly rather than asking to make sure not to wait for one more day.
[12:14] <lynxman> Daviey: yeah I removed the merge, you told me to integrate from upstream, I'll do that as soon as I'm finished with some Ensemble + Openstack tests I'm doing :)
[12:15] <lynxman> Daviey: will be dealt with today
[12:16] <Daviey> ubunteo: The real issues was that you asked a question, but didn't make it clear that you were not able to run commands right now.  soren was really rather helpful, but frustrated that it seemed you were not /trying/ his suggestions.
[12:16] <Daviey> lynxman: rocking!
[12:18] <lynxman> ubunteo: You keep doing the same, ignoring people answers and asking new questions, the same happened to me when I tried to help you :)
[12:19] <soren> Aw.
[12:19] <lynxman> ubunteo: even if you think (you're of course entitled to) that our answers might be not useful it's common courtesy to try it anyway, it's better to try and be wrong than just be right on a hunch ;)
[12:22] <ersi> I think something was "lost in translation" in that session unfortunally.
[12:23] <soren> ersi: Oh, wow. I think he's been here before under a different name.
[12:23]  * soren tries to remember
[12:24] <lynxman> soren: He has been as ubunteo before as well
[12:26] <soren> lynxman: This was like 4 years ago.
[12:26] <soren> https://lists.ubuntu.com/archives/ubuntu-server/2007-October/000881.html
[12:26] <soren> From Myanmar as well.
[12:27] <soren> rimriaz, I think was his irc nick.
[12:27]  * soren searches for that.
[12:27] <lynxman> soren: wow, classy email :D
[12:29] <patdk-wk> heh, some people we are better without
[12:30] <_ruben> wow, nice!
[12:32] <lynxman> patdk-wk: I would like everyone to use Ubuntu of course, constructive criticism is always welcome (and I'm the first one to give it), but cursing on a public mailing list is not smooth :)
[12:33] <patdk-wk> I would disagree with that to a point
[12:33] <patdk-wk> everyone has their own tastes, there is no way everyone would be happy using ubuntu
[12:33] <lynxman> patdk-wk: yeah it's a wishful thinking isn't it :)
[12:33] <zul> morning
[12:34] <nigelb> Daviey: Thanks for the preseeing tip a while back.
[12:34] <nigelb> I just rolled that into production :)
[12:34] <patdk-wk> I went with slackware for a long time, cause I didn't care about security patchs, at home
[12:34] <patdk-wk> but in the workplace, used rhel, and hated everytime I updated it, it wiped my configs, or configs came back I had removed
[12:34] <patdk-wk> haven't had any issues with ubuntu's updates, so I'm happy :)
[12:38] <lynxman> patdk-wk: I've used a bit of everything, Slackware back in the time, RHEL, Debian, Ubuntu
[12:38] <lynxman> patdk-wk: I'd just like people to find Ubuntu useful of course, and consider it a choice :)
[13:01] <dschuett> i have set a static ip in /etc/network/interfaces (i have double checked the file to make sure everything is typed correctly) When i restart networking ifconfig shows that i have the correct static ip that i just set, but after a couple minutes it gives me an ip address from dhcp. any ideas?
[13:02] <soren> dschuett: Yes.
[13:02] <zul> die gtk-window-list die!
[13:02] <soren> dschuett: You've not rebooted.
[13:02] <koolhead11> hi soren
[13:03] <soren> dschuett: "ifdown eth0" doesn't remember anything. It looks in /e/n/interfaces to find out how eth0 was configured.
[13:03] <soren> dschuett: ...so you had it configured via dhcp, changed the config, ifdown'ed and ifup'ed. The ifdown didn't know that it had been configured by dhcp, so it didn't kill the dhcp client.
[13:04] <dschuett> soren: I have rebooted twice
[13:04] <soren> dschuett: ifup just set the ip, and once your dhcp lease expired, the dhcp client (which hasn't been killed yet) clobbered the config.
[13:04] <soren> dschuett: WEll, the dhcp client didn't start itself, that's for sure.
[13:05] <soren> dschuett: Pastebin your /etc/network/interfaces.
[13:34] <Daviey> nigelb: ahh, yes.. was wondering what you were talking about :)
[13:34] <nigelb> Daviey: hehe :)
[13:34] <nigelb> I have to bite the bullent and learn puppet for the long run though.
[13:52] <_ruben> aww .. collectd's cpu plugin only does jiffies and doesn't attempt to turn it into percentages or anything :/
[14:01] <openeye> Hello people
[14:01] <TheEvilPhoenix> !hi | openeye
[14:02] <TheEvilPhoenix> ehh ubottu fail
[14:02] <TheEvilPhoenix> anyways, greetings
[14:02] <openeye> Hallo Theevilone! Can someone help me out for a second, i need to find smtpd_recipient_restrictions in the postfix master.cf?
[14:03] <openeye> it is not there
[14:05] <lynxman> openeye: it should be in main.cf not master.cf as far as I can recall
[14:06] <openeye> indeed
[14:06] <openeye> indeed
[14:06] <openeye> that is the place where i am now
[14:07] <openeye> if it is not there, i can just add it?
[14:08] <lynxman> openeye: hm, unless you know why and what you're doing I wouldn't, master.cf is normally just reserved for defining new subprocesses from the postfix parent process
[14:08] <openeye> i need to add spf
[14:08] <openeye> check_policy_service unix:private/policy-spf
[14:08] <lynxman> openeye: that should go in main.cf I reckon
[14:09] <openeye> that is where i am
[14:09] <lynxman> openeye: then add it there :o)
[14:09] <patdk-wk> well depends
[14:10] <patdk-wk> you add it to master.cf if your doing something like, overriding the defaults for the submission service
[14:10] <patdk-wk> but spf would be on the main port, not an override, so main.cf
[14:10] <openeye> ok perfect thank you!
[14:10] <lynxman> patdk-wk: that's why I was suggesting main.cf as well
[14:11] <patdk-wk> but why, is also important, or they will just ask again :)
[14:11] <openeye> Thank you all
[14:12] <lynxman> patdk-wk: indeed
[14:15] <smoser> zul, could you take a quick look at https://code.launchpad.net/~ephess/ubuntu/lucid/php5/fix-for-651049/+merge/71112
[14:15] <zul> php whats that? ;)
[14:17] <ersi> It's those funny guys who likes to get the same salt for every hash
[14:17] <zul> smoser: commented as well
[14:18] <b0gatyr> morning guys, trying to set up daemontools but somehow I do not see an  init script for svscan and when I do ps -aux | grep supervise I see the  following error: http://pastebin.com/Tc5Ns4GY
[14:18] <smoser> could / would you consider sponsering that ?
[14:18] <b0gatyr> if I do svstat /etc/service/dstpd I see it up and running
[14:18] <b0gatyr> can anyone shed some light?
[14:18] <zul> smoser: yeah once the changelog is fixed
[14:18] <ubunteo> hi
[14:19] <ersi> Hi again
[14:19] <ubunteo> hi all , we have ISP that offer us to use proxy address to use web
[14:20] <ubunteo> how can we configure that ISP connection on squid to share this connection to all clients ?
[14:24] <ubunteo> how to install deb file package on server ?
[14:29] <ubunteo> hi
[14:30] <moonpup> anyone know how to drop all outgoing ssh traffic regardless of port using iptables? meaning the default 22 or some other random high port?
[14:31] <lynxman> moonpup: that would require deep packet inspection
[14:31] <moonpup> lynxman: that's what i thought...
[14:31] <lynxman> moonpup: Don't think iptables can do it unless you can specify using the type module
[14:32] <lynxman> moonpup: but that just cover some pretty basic scenarios
[14:32] <moonpup> lynxman: what about tcpwrappers?
[14:32]  * lynxman has a look..
[14:33] <lynxman> moonpup: tcp wrappers will just affect how your sshd daemon accepts connections
[14:33] <lynxman> moonpup: was having a look to see if there's some magical iptables modules :)
[14:34] <moonpup> lynxman: hmmm... thanks for checking. I'll keep digging
[14:34] <lynxman> ooh look at his
[14:34] <lynxman> moonpup: http://l7-filter.sourceforge.net/
[14:34] <lynxman> there was a magical module :D
[14:34] <TheEvilPhoenix> well can't you use a combination of conntrack and OUTPUT filters?
[14:35] <lynxman> TheEvilPhoenix: if it uses non standard ports nope
[14:35] <lynxman> TheEvilPhoenix: that'd solve it for port 22
[14:35] <moonpup> lynxman: i've heard of that before... need to read up on it again... thanks
[14:35] <TheEvilPhoenix> -m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT
[14:35] <lynxman> TheEvilPhoenix: but if they use port 10022 that's another issue
[14:35] <TheEvilPhoenix> -p tcp --dport <nonstandardport> -j DROP
[14:35] <TheEvilPhoenix> lynxman:  two rules
[14:35] <TheEvilPhoenix> oine to allow established and its related in any port, the other to block all other traffic on said port
[14:35] <TheEvilPhoenix> or in this case it might be --sport
[14:35] <lynxman> TheEvilPhoenix: that's way too broad
[14:35] <TheEvilPhoenix> or w/e it is
[14:36] <TheEvilPhoenix> havent dug into iptables output yet :P
[14:36] <TheEvilPhoenix> s/yet/much/
[14:36] <lynxman> TheEvilPhoenix: I wouldn't feel comfortable using such a rule myself, you'd block a hell of peripheral traffic :)
[14:36] <lynxman> TheEvilPhoenix: iptables is fun :)
[14:36] <moonpup> lynxman: yes, true
[14:36] <TheEvilPhoenix> heh
[14:36] <TheEvilPhoenix> iptables is fun, but sometimes its a PITA
[14:36] <TheEvilPhoenix> like one time i fubar'd the INPUT filters on a VPS
[14:36] <TheEvilPhoenix> ended up blocking all external traffic
[14:37] <lynxman> TheEvilPhoenix: that too, but not more than ipf, although sometimes I miss rule numbering which is not quite implicit in iptables
[14:37] <TheEvilPhoenix> before i had put in a -m state rule to allow my traffic :P
[14:37] <TheEvilPhoenix> heh
[14:37] <lynxman> TheEvilPhoenix: tehee :)
[14:37] <moonpup> lynxman: l7 may be the ticket, thanks
[14:38] <lynxman> moonpup: perfect :)
[14:39] <lynxman> adam_g: ping
[14:40] <moonpup> lynxman: not sure the l7 project is currently active, info is years old.. :(
[14:40] <lynxman> moonpup: eek
[14:41]  * moonpup still reading website
[14:41] <TheEvilPhoenix> oop time to get ready for class *disappears*
[14:41] <patdk-wk> I think ipp2p is uptodate
[14:41] <lynxman> moonpup: looks like people are still using it, found an article in linux.com explaining how to do it in CentOS 5
[14:42] <lynxman> patdk-wk: ooh cool
[14:42] <patdk-wk> or well, has been renamed, to opendpi now
[14:42] <moonpup> what's opendpi?
[14:42] <lynxman> http://www.opendpi.org
[14:42] <patdk-wk> open-deep-packet-inspection, new version of ipp2p
[14:43] <patdk-wk> it was meant as a l7 replacement
[14:43] <moonpup> thanks guys... great find
[14:43] <patdk-wk> be very careful will that though
[14:43] <patdk-wk> cause all packets hitting that rule, will be very cpu heavy
[14:43] <Daviey> RoAkSoAx: I'm getting quite confused what needs to be seeded for powernap
[14:44] <newbie|2> Howdy.  I was having some weird trouble with my Jaunty 2.6.28-11-server kernel where it would misbehave a few times a day when sleep()ing.  The details of this are sort of a different story.  So I compiled a new kernel as per the Ubuntu community wiki article.  Now I have a kernel that seems to have solved the sleep issue but has other problems.
[14:44] <Daviey> RoAkSoAx: powernap-server seemed to include the whole shebang, but added a new Dep.
[14:44] <newbie|2> Ack. What is the command to change my name?
[14:44] <moonpup> patdk-wk: will do, thanks
[14:44] <Daviey> RoAkSoAx: python-scapy, via powerwake-common
[14:47] <RoAkSoAx> Daviey: yes
[14:48] <RoAkSoAx> bahh it is in universe :S
[14:48] <newbie|2> Anyhow.  The first problem with the new kernel was that building it gave me a headers and image .deb which I installed.  But the headers .deb failed since it depends on "linux-headers-2.6.32-34".  Which is weird because it's name is "linux-headers-2.6.32-34-server_2.6.32-34.74_amd64.deb".  It seems like I probably missed a step in the install wherein it realized they are the same package?
[14:49] <Daviey> RoAkSoAx: but it's NEVER been in main afaiks.. so how has this happend?
[14:49] <newbie|2> Or maybe they actually are different packages and I don't have the base one because I'm using Jaunty which uses 2.6.28?  But if I were on Lucid, I'd already have the appropriate base headers?
[14:49] <b0gatyr> hi guys, does ubuntu use init or upstart
[14:49] <RoAkSoAx> Daviey: I added it as the
[14:49] <Daviey> RoAkSoAx: ah, recently?
[14:50] <RoAkSoAx> Daviey: I added it as the "PowerNap" server uses a ARP monitoring system that access the network through python-scapy
[14:51] <RoAkSoAx> Daviey: the thing that it wasn't release until recently due to that those changes are just a "preview"
[14:51] <Pici> newbie|2: Jaunty hasn't been supported snce October of 2010....
[14:51] <RoAkSoAx> kirkland: ^^
[14:51] <RoAkSoAx> .wub 19
[14:51] <Daviey> RoAkSoAx: ah, did that dep land before or after FF?
[14:52]  * Combatjuan was formerly known as 'newbie|2'
[14:52] <RoAkSoAx> Daviey: can't remember, I didn't do the upload as things were in trunk without being released
[14:52] <Pici> Combatjuan:  Jaunty hasn't been supported snce October of 2010....
[14:52] <RoAkSoAx> Daviey: let me think about it and I might disable that feature and just keep it in PPA for this release
[14:52] <RoAkSoAx> so that we dont have to demote powernap
[14:53] <Combatjuan> Pici: I'm woefully aware of this.  And while I'm working on moving to an LTS, reality constrains me.
[14:53] <Daviey> RoAkSoAx: can you make the dep optionl and add it to suggests for this release?
[14:53] <Pici> Combatjuan: ah :(
[14:53] <RoAkSoAx> Daviey: yes, better yet ;)
[14:53] <Daviey> super!
[14:54] <Combatjuan> Pici: I'd beat the man who chose to deploy non-LTS servers all around the country, but, well, he's my boss.
[14:54]  * Daviey does have some production dapper servers :(
[14:54] <Daviey> 2006!
[14:55] <Combatjuan> Daviey: You win the legacy wars.
[14:55] <Daviey> Combatjuan: Well in reality it only wentEoL in April this year.
[14:55] <openeye> can someone tell me how i can add adsp on postfix? Because google gives me nothing :|
[14:56] <Daviey> or was it jJune?
[14:56] <Daviey> meh
[15:05] <lynxman> openeye: adsp?
[15:06] <patdk-wk> good question, never heard of adsp
[15:06] <lynxman> patdk-wk: me neither
[15:06] <patdk-wk> according to *wikipedia* if you can ever trust them, it's a new name for dkim
[15:06] <zul> Daviey: how retro
[15:06] <patdk-wk> or an extention
[15:07] <patdk-wk> ya, new addon to dkim
[15:07] <lynxman> patdk-wk: fancy stuff
[15:09] <patdk-wk> that didn't explain crap for me, off the the rfc :)
[15:10]  * lynxman has always been a bit wary of the effectivity of both SPF and DKIM
[15:10] <patdk-wk> spf is only effective if you can use -all :)
[15:10] <lynxman> patdk-wk: I use ~all to do a soft fail, helps spamassassin
[15:10] <patdk-wk> dkim would be great, if people like gmail and yahoo, didn't sign all the spam they send
[15:10] <allegrem> hi !
[15:10] <allegrem> I've got a little problem with Apache
[15:10] <lynxman> patdk-wk: that's why I'm wary of it :)
[15:11] <allegrem> is there anybody ready to help me right now ?
[15:11] <patdk-wk> lynxman, soft fail only helps if not all your servers are listed in the spf record
[15:11] <lynxman> patdk-wk: I'm not worried about mine, I'm worried about others
[15:11] <lynxman> patdk-wk: specially sites that insist in sending you confirmation emails using your email address as from (been there, suffered that)
[15:12] <openeye> i am sorry
[15:12] <openeye> was smoking
[15:12] <openeye> yes adsp is that addon for mailservers
[15:13] <openeye> http://en.wikipedia.org/wiki/Author_Domain_Signing_Practices
[15:14] <allegrem> allo ??
[15:14] <openeye> oeps, i whois'ed you zyga
[15:14] <openeye> allo!
[15:14] <allegrem> Could you please help me
[15:14] <allegrem> I've got a problem with apache
[15:15] <allegrem> and ecryptfs certainly
[15:15] <openeye> i am sorry man, i would love to, but i am under pressure myself
[15:15] <openeye> i have to install this crap for a new job
[15:16] <Pici> !ask
[15:16] <patdk-wk> lynxman, heh, haven't had that issue, I reject all that have my address in from
[15:16] <lynxman> patdk-wk: I maintain SPF for a fairly big platform (10k+ individual mailboxes) and SPF has been hurting me on that, that's why I switched to ~all
[15:16] <allegrem> ubottu: that was for me ?
[15:17] <allegrem> ubottu: thanks bot ;)
[15:17] <openeye> lynxman, can you provide me with a good tut or source to install it?
[15:17] <lynxman> patdk-wk: it makes SPF slightly less effective but it hands it over to spamassassin who notices the soft fail
[15:17] <lynxman> openeye: I wish, never installed it, you're too advanced to my time ;)
[15:17] <openeye> whut? I am just a junior :|
[15:17] <patdk-wk> I don't think anything even supports adsp yet
[15:18] <patdk-wk> it looks like senderid come to dkim to me
[15:18] <openeye> hmm
[15:18] <lynxman> openeye: try with DKIM, that's more documented, as patdk-wk says it's way too new
[15:18] <openeye> yes, i am trying to get that installed also
[15:21] <patdk-wk> looks like opendkim supports it, but no instructions on how to use it
[15:21] <openeye> indeed
[15:21] <patdk-wk> I wouldn't bother too much about it
[15:21] <openeye> I have searched the nets the last 20 minutes for it, nowhere to be find
[15:21] <patdk-wk> as it's unlikely anyone else is even checking adsp
[15:21] <openeye> found
[15:22] <allegrem> (I'm French, don't care about my English please !!) I've configured Apache with Passenger to deploy a Rails Application. All that was installed on Ubuntu Server 11.04. During installation I chose to encrypt all my hard drive. Problem : I've set up cryptsetup to get password from an usb key, it works, but Apache respond a 403 forbidden error when I try to access my Rails app unless I've logged in. I'd like to get all that working without
[15:22] <allegrem> logging in (it's a server ...). I think there is a problem with ecryptfs which mount my /home/myuser directory just on login (because the Rails app is located into my /home/myuser directory). So I'd like to mount the /home/myuser directory automatically on boot. Any idea ?
[15:23] <kirkland> allegrem: there's no way to do this securely
[15:23] <allegrem> really ??
[15:23] <kirkland> allegrem: encrypted home requires a human to enter a "secret" of some kind to decrypt home
[15:23] <kirkland> allegrem: typically you do that when you login, and enter your passphrase
[15:24] <allegrem> isn't there any way to load the password from my usb key ?
[15:24] <allegrem> crypsetup can do that
[15:24] <kirkland> allegrem: the closest you could do would be to rm ~/.ecryptfs/auto-umount
[15:24] <kirkland> allegrem: and login manually once per boot, which would get the filesystem mounted
[15:24] <patdk-wk> why not just put the rails app outside of your homedir?
[15:24] <kirkland> allegrem: and removing that flag would prevent it from being unmounted at reboot
[15:24] <allegrem> I can't login manually
[15:25] <allegrem> wait
[15:25] <kirkland> allegrem: then you can't use ecryptfs-encrypted-home
[15:25] <kirkland> allegrem: sorry
[15:25] <allegrem> you mean that if I rm this file
[15:25] <allegrem> I juste have to log in once
[15:25] <allegrem> and then if I reboot the server
[15:25] <allegrem> ecryptfs will never ask my password again ?
[15:25] <patdk-wk> things that should not be used with encryptfs, servers (apache, samba, ..., mail), cron
[15:26] <kirkland> allegrem: no, you have to login once-per-boot
[15:26] <kirkland> allegrem: keys are stored in memory, and forgotten at reboot
[15:26] <allegrem> so it's not good ...
[15:26] <allegrem> but patdk-wk had a great idea
[15:27] <allegrem> if I put it in /var/www it would work ?
[15:27] <kirkland> allegrem: right -- move it outside of your $HOME and you're all good
[15:27] <allegrem> (and what about /root dir ?)
[15:27] <kirkland> allegrem: you could even symlink it into your home, for convenience
[15:27] <allegrem> is it a good idea or not ?
[15:28] <patdk-wk> hmm, apache shouldn't be able to read from /root at all
[15:28] <allegrem> ok
[15:28] <allegrem> let's take /var/www
[15:28] <allegrem> and if I just link my current location in home dir to /var/www, I won't have to re setup everything, will I ?
[15:30] <allegrem> I mean : ln -s /home/myuser/path-to-my-app/myapp /var/www/myapp
[15:30] <patdk-wk> that is backwards
[15:30] <allegrem> and capistrano still works ?
[15:32] <allegrem> I'm sorry I'm French : does backwards means drawbacks ?
[15:32] <allegrem> never mind
[15:33] <allegrem> you mean the command is ln -s /var/www/myapp /home/myuser/path-to-my-app/myapp ?
[15:33] <patdk-wk> yep
[15:33] <allegrem> ok
[15:33] <allegrem> and what about capistrano ?
[15:33] <lynxman> allegrem: backwards == pas droit mais le contraire
[15:33] <allegrem> does he like links ?
[15:33] <patdk-wk> no idea what capistrano is
[15:34] <lynxman> allegrem: you should have no issue defining a new APPHOME variable or such in Capistrano and deploying to a new place
[15:34] <lynxman> allegrem: my recommendation is not to deploy to your home dir and create a /var/wwwapps or such with proper permissions, deploy there, it's more clean
[15:34] <allegrem> lynxman: the perfect translation is "à l'envers" ;)
[15:34] <lynxman> allegrem: oui mais mon Francais ecrit est minable :)
[15:34] <allegrem> capistrano is a tool to deploy Rails app remotely
[15:35] <allegrem> lynxman: I'm doing that right now
[15:35] <lynxman> allegrem: superb
[15:40] <RoAkSoAx> Daviey: done
[15:44] <Daviey> RoAkSoAx: powerwake Dep issue?
[15:44] <RoAkSoAx> Daviey: yes sir
[15:45] <Daviey> RoAkSoAx: okay, will hold out until it's accepted.
[15:48] <RoAkSoAx> Daviey: ;)
[15:49] <Daviey> RoAkSoAx: Just Suggesting it?  No patch?  Doesn't that cause some pain?
[15:50] <Daviey> as in, a conditional import?
[15:56] <robbiew> Daviey: based on the number of steps and sacrifices to the gods it apparently takes to update the theme on help.ubuntu.com...I wonder if forking the server docs would be easier. <sigh>
[15:57] <robbiew> https://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/589057/
[15:59] <allegrem> okay it works ;)
[15:59] <allegrem> thanks a lot guys !!
[16:02] <RoAkSoAx> Daviey: yes, I'll do that in trunk
[16:02] <RoAkSoAx> and cut another release
[16:02] <RoAkSoAx> Daviey: this is just a quick fix ;)
[16:05] <openeye> ow man, this spf is not working @ all. DKIM works fine, but this spf and adsp doesn't run
[16:05] <Daviey> RoAkSoAx: ah cool
[16:08] <openeye> not cool
[16:13] <SmokeyD> hey everyone. I am trying to move my exisiting ubuntu server installation from one harddrive to another. The first harddrive was just a plain harddrive running LVM on top of it, in the new harddrive I want to skip LVM, but create luks/dm_crypt partitions. So one separate unencrypted /boot partition, and a dm_encrypted / partition
[16:14] <SmokeyD> I got the partitions setup and the data migrated, booted the machine from a livecd, mounted the new encrypted drive / partition and unencrypted /boot partition in /mnt, also added /mnt/dev and /mnt/proc from the live cd there, and chrooted into that drive
[16:14] <SmokeyD> I successfully updated the ramdisk with initramfs-tools, to include the dm_crypt and sha256_generic modules and stuff
[16:14] <SmokeyD> but now I want to install grub again, and I get an error "grub-probe: error: cannot find a device for /."
[16:15] <SmokeyD> when I run update-grub
[16:15] <SmokeyD> any ideas?
[16:15] <openeye> is it mounted?
[16:16] <SmokeyD> openeye, the root partition? Yeah, it is mounted in the livecd under /mnt. afrter that I added /mnt/proc /mnt/dev and /mnt/boot into it and chrooted into /mnt
[16:16] <SmokeyD> so it is indeed mounted
[16:17] <openeye> i was just asking buddy, no offense intended
[16:17] <SmokeyD> openeye, ok :) None taken of course
[16:20] <lynxman> allegrem: wohooo
[16:39] <openeye> good evening everybody
[16:56] <oakbox> Hi all, I have been trying to set up eBox on my 10.04 server (followed ubuntu server guide).  I already run a site on port 443, in the setup I changed the port to 10000 but looking at the logs it is still trying to run apache on port 443.  I did a dpkg-reconfigure ebox and tried resetting the port to 10000 (and other ports) but each time i look at the logs after restarting the ebox service it is trying to use port 443.  Can anyone help?
[17:04] <davros> should my network go in this order? modem-wireless router-server-switch? or modem-server-wirelessrouter if setting up dhcp ?
[17:06] <RoyK> davros: which box is running the dhcp server?
[17:06] <davros> well right now its the wireless router
[17:06] <RoyK> then that should be started early
[17:07] <davros> i'm guessing tho the server could do dhcp
[17:07] <RoyK> since some dhcp clients won't retry after the initial timeout (iirc linux dhcp client might not retry after a timeout)
[17:08] <RoyK> it really doesn't matter - since the wireless router is important for everything else to work, it might as well run dhcp
[17:09] <davros> modem-router server-everything else
[17:10] <davros> this really should be this hard to set up lol
[17:12] <RoyK> http://i.imgur.com/HdGSa.png
[17:14] <oakbox> anyone with any info about changing ports when using ebox?
[17:22]  * RoyK has no idea
[17:22] <RoyK> I use the commandline for administrating servers :P
[17:24] <oakbox> :) well I do too, but was interested to see what this was like.  Looks like im not going to find out :D
[17:24] <adam_g> koolhead17: ping
[17:27] <BrixSat> hello i have a big problem
[17:27] <BrixSat> i have remover apache "apt-get remove apache2" and he still runs on the system after several reboots
[17:28] <BrixSat> :S  how come?
[17:28] <Pici> BrixSat: apache2 is a metapackage, you'd need to remove one of the packages it depends onm
[17:29] <BrixSat> how can i know that?
[17:29] <Pici> BrixSat: Its apache2.2-common
[17:30] <BrixSat> nop i had that removed also
[17:31] <BrixSat> apache utils :/
[17:31] <BrixSat> thanks
[18:10] <zul> jdstrand: hey i uploaded a new openstack-dashbaord can you review it please?
[18:12] <davros-> headache
[18:13] <cjs226> I'm using rsyslog's imfile to watch logs that are then forwarded to a central rsyslog system.  is it possible to have rsyslog/imfile not put a date/time stamp on each line (as the logs already have it)?
[18:19] <RoAkSoAx> adam_g: o/
[18:19] <RoAkSoAx> adam_g: any luck yesterda
[18:24] <adam_g> RoAkSoAx: the packages in the archive seemed to be in good shape after you had left
[18:24] <RoAkSoAx> adam_g: ok cool then
[18:24] <RoAkSoAx> adam_g: just uploaded one new update with improvements to the squid config
[18:24] <jdstrand> zul: looking
[18:25] <adam_g> RoAkSoAx: neat. have you gotten it going in the lab yet?
[18:27] <RoAkSoAx> adam_g: still no access
[18:27] <RoAkSoAx> adam_g: Daviey already took care of it though
[18:27] <RoAkSoAx> so it should just be matter of tie
[18:28] <adam_g> RoAkSoAx: took care of what? access or having orchestra there?
[18:31] <RoAkSoAx> adam_g: he filed a rt
[18:33] <adam_g> RoAkSoAx: oh. ive got access. i might see how far i get in the meantime
[18:34] <RoAkSoAx> adam_g: I'll walk yo through it if you need any help
[18:34] <RoAkSoAx> that's no prob at all
[18:37] <davros-> dhcp3 server? y?
[18:41] <RoyK> RoAkSoAx: what changes did you make?
[18:41] <RoAkSoAx> RoyK: to what?
[18:41] <RoyK> 20:24 < RoAkSoAx> adam_g: just uploaded one new update with improvements to the squid config
[18:42] <RoAkSoAx> RoyK: one was use aufs instead of ufs and the other one was related to the cache size i believe
[18:45] <RoyK> RoAkSoAx: sounds good, but I hope aufs is built in the ubuntu release? squid docs says only ufs is built by default
[18:47] <RoAkSoAx> RoyK: squid's upstream recommended the change ;)
[18:50] <_ruben> wondering how bug #135037 will progress, as collectl appeared to have landed in debian unstable
[18:56] <josePhoenix> Hello all
[18:56] <josePhoenix> Is it possible to install ubuntu server from an ubuntu desktop disk?
[18:56] <josePhoenix> Our data center manager keeps using the wrong ISO and I'd rather not bother him again
[19:00] <alamar> josePhoenix: you should try to fight the cause not the symptoms ;)
[19:01] <josePhoenix> Well I'm a student employee so I can't really affect that ;]
[19:02] <josePhoenix> My street cred over there is pretty low at the moment, anyway >.>
[19:37] <genii-around> josePhoenix: If you have the desktop disk booted up, you can go to terminal, prep and mount wherever the install is going, then use debootstrap
[19:39] <genii-around> Then you have a base cli box, can use tasksel to install the server components
[20:18] <tarvid> I would like to mount a USB drive which I think is CIFS
[20:18] <tarvid> dmesg shows no new output when I plug it in
[20:19] <giovani> tarvid: CIFS is a network protocol, your USB stick isn't CIFS
[20:19] <giovani> if dmesg shows no output after plugging it in, either your usb host adapter isn't working (or you don't have drivers loaded for it) or the usb stick is broken
[20:19]  * RoAkSoAx brb
[20:20] <tarvid> It works on a Buffalo router
[20:20] <tarvid> II told the router to format the drive CIFS
[20:21] <giovani> tarvid: CIFS is how the router/NAS is sharing the filesystem, but the filesystem itself is not CIFS
[20:21] <giovani> as I said, CIFS is a network protocol
[20:21] <tarvid> how do I detect the file system?
[20:21] <giovani> if there's no output on dmesg, then the usb bus hasn't even detected the usb stick, so you can't even begin to detect the filesystem
[20:22] <giovani> paste the full output of dmesg to http://pastebin.ubuntu.com
[20:24] <tarvid> I can  mount it on the router and access it from the Ubuntu box
[20:24] <giovani> tarvid: that's not what you're asking about though
[20:25] <tarvid> I'd like to mount it on the Ubuntu box which is my gateway
[20:25] <tarvid> the router is just for my wireless netwpork
[20:25] <giovani> you said you were trying to plug in the usb stick
[20:25] <giovani> not mount it remotely over CIFS
[20:25] <giovani> you're being very unclear at this point
[20:25] <tarvid> that is correct
[20:25] <tarvid> the Ubuntu box is on the public Internet, the router is behind it
[20:26] <giovani> unless you clear up the expalnation, I can't help you
[20:26] <tarvid> I'd like to be able to access the drive from the Internet side
[20:26] <tarvid> that is on the Ubuntu box
[20:28] <tarvid> I'll try again
[20:28] <tarvid> I have a 250GB drive on a Buffalo router
[20:28] <tarvid> I can access it over the network
[20:28] <tarvid> I'd like to plug that drive into an Ubuntu box and mount it
[20:30] <giovani> tarvid: ok, so plug in the usb drive to your ubuntu machine, and paste the dmesg output (after plugging in the usb drive) to http://pastebin.ubuntu.com
[20:33] <tarvid> http://pastebin.ubuntu.com/674120/
[20:33] <tarvid> there was no output
[20:40] <tarvid> giovani, plugged it back into the router and it says FAT
[20:41] <tarvid> so the problem is that Ubuntu doesn't recognize the USB to SATA bridge?
[20:42] <giovani> tarvid: that's not the full dmesg output
[20:43] <tarvid> no it is the last two lines
[20:43] <tarvid> there was no change after plugging in the drive
[20:43] <giovani> tarvid: what if the important output was before those two lines? ;)
[20:43] <giovani> tarvid: FAT is indeed a filesystem -- so that's the filesystem of the usb device
[20:43] <giovani> it's not about "detection" of the usb-sata bridge
[20:44] <giovani> either the usb port you're plugging it into is broken
[20:44] <giovani> or you don't have any drivers loaded for the usb host adapter
[20:44] <giovani> any other condition would result in dmesg output
[20:44] <tarvid> tried two ports but will pull the scanner which works and try that one
[21:10] <davros-> sometimes even "easy setups" make me feel like an idiot, who knows of an easy to understand guide on server set up? i tryed dhcp3-server today only ending in no connect to the server. dunno why i cant get this right lol
[21:11] <tarvid> giovani, may have been the unpowered usb hub
[21:13] <tarvid> http://pastebin.ubuntu.com/674145/
[21:14] <_ruben> unpowered usb hub + 2.5" "adapter-less" usb hdds tend to be a no go indeed
[21:14] <bluekelp1> why in 11.04 does "cat file.iso > /dev/cdrom" not work?  i have correct perms, nor does it work as root
[21:15] <bluekelp1> complains about read-only file system.  same if i use /dev/cdrw, /dev/sr0 or anything else.
[21:15] <tarvid> do I need another package to mount VFAT drives?
[21:16] <giovani> tarvid: that's quite possible -- usb hard drives tend to suck down a lot of juice
[21:16] <giovani> tarvid: nope, fat support should be there automatically -- just "mount /dev/blah /media/blah"
[21:18] <tarvid> mount: /dev/sdb1: can't read superblock
[21:19] <tarvid> could be Buffalo doesn't do it in  Ubuntu compatible way
[21:19] <patdk-lap> bluekelp, cause cdrom is a read only device
[21:19] <patdk-lap> you need to talk scsi to it, and need a program to convert that iso into a string of scsi commands
[21:20] <tarvid> /dev/sdb1   *           1       30401   244196000+   c  W95 FAT32 (LBA)
[21:20] <patdk-lap> mount -t vfat /dev/sdb1 /mnt
[21:20] <patdk-lap> are you sure your giving that usb drive a full 1amp of power?
[21:21] <tarvid> mount: wrong fs type, bad option, bad superblock on /dev/sdb1,
[21:22] <patdk-lap> maybe it was never formatted?
[21:22] <tarvid> now plugged into the usb port on the motherboard of an old dell
[21:22] <patdk-lap> what does blkid give you?
[21:22] <tarvid> /dev/sdb1: UUID="27aab788-3715-4969-8280-033c0cb73363" TYPE="xfs"
[21:22] <patdk-lap> normally the usb ports on the motherbord (back) are the only ones that will give a full amp
[21:22] <patdk-lap> well, it's xfs, not windows :)
[21:23] <patdk-lap> install xfs drivers
[21:23] <tarvid> /dev/sdb1   *           1       30401   244196000+   c  W95 FAT32 (LBA)
[21:23] <patdk-lap> the partition table means nothing
[21:23] <patdk-lap> that is just a guess
[21:24] <patdk-lap> apt-get install xfsprogs should probably do it
[21:24] <tarvid> apt-get install xfsprogs
[21:25] <tarvid> mount: /dev/sdb1: can't read superblock
[21:26] <patdk-lap> not sure if you need -t xfs
[21:26] <patdk-lap> or anything else on there, never used xfs
[21:26] <tarvid> root@ubuntu:/media# mount -t xfs /dev/sdb1 /media/usb - same thing
[21:30] <bluekelp1> patdk-lap: older ubuntu versions did this just fine. the OS takes care of that. that's the power of unix.
[21:31] <bluekelp1> patdk-lap: i am confused if something changed in the OS (only minor kernel rev diff) or what
[21:31] <patdk-lap> never heard of that
[21:32] <patdk-lap> dunno, google seems to say it's not possible
[21:34] <patdk-lap> I wouldn't even believe cat could keep up wit hthe burn speed, printing char be char to a block device is slow
[21:35] <tarvid> thanks for the help, I am going to back u7p that drive before I attempt xfs_repair
[21:40] <RoyK> RoAkSoAx: I can see that :)
[21:57] <FreezingDroid> apt-get install linux-source-3.0.3
[21:57] <FreezingDroid> Oops, wrong window
[21:57] <FreezingDroid> When I run "apt-get install linux-source-3.0.3" it says it can't find the package
[22:14] <lenios_> FreezingDroid, not surprising, try apt-cache search linux-source
[22:41] <kirkland> RoAkSoAx: hmm, is the LoadMonitor in PowerNap working correctly for you?
[22:42] <kirkland> RoAkSoAx: can you give it a try?
[22:47] <DanaG> Any of you guys know HP internal people?  I've found some firmware bugs in my Microserver that I'd like to tell somebody useful about.
[23:37] <FreezingDroid> How can I disable networking at boot?
[23:49] <Robinux> FreezingDroid, i think that is very basic and you might find tutorials in google, sorry i'm a *nix noob got no idea how
[23:51] <maccam94> aieeeeee, my raid appears to be broken >_< anyone here good at debugging raid, or can you point me to a channel for mdadm?
[23:53] <RoAkSoAx> kirkland: sure, what seems to be going wrong?
[23:54] <RoAkSoAx> kirkland: i think it is the "n" as number of CPU's
[23:58] <RoAkSoAx> kirkland: i think now powenap-now is broken :S