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

kirklandlifeless: actually, I got that from Spads, when I asked for the squid config Canonical IS uses at UDS00:00
lifelessoh man00:00
lifelesschinese whispers.00:00
kirklandlifeless: we'd love your input/review on this00:00
kirklandlifeless: this is the squid.conf we're using in the Orchestra server00:01
lifelesskirkland: if you need 1/2 GB of hot objects, you should be doing, I dunno, 100MB sustained traffic ?00:01
lifelessmaybe more00:01
lifelessthats per-sec of course00:01
kirklandlifeless: this is the ubuntu network installation server00:01
kirklandlifeless: i'd expect we'd be installing maybe 100+ ubuntu servers simultaneously00:02
lifelessthat is unrelated :)00:02
deltree_is ubuntu server slower if I run it with the desktop gui?00:02
lifelessok00:02
lifelesslet me break out the aspects for you00:02
kirklandlifeless: so i figured there'd be a good 500MB of packages required to install each00:02
lifelesson a miss squid:00:02
lifeless - writes the response to disk (without blocking)00:03
lifeless - forwards it to the client00: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
lifelessthe knob to control window-or-whole thing is00:03
lifelessmaximum_object_size_in_memory00:03
lifelesswith (last I checked) this default:00:03
lifeless# maximum_object_size_in_memory 512 KB00:03
lifeless(because something like 90% of objects on the net are < 512KB)00:04
lifelesson a hit squid:00:04
kirklandlifeless: ah00:04
lifeless - either reads from memory (if it can ,possibly joining onto an existing download that is happening)00:04
kirklandlifeless: okay, that part makes sense00:04
lifeless - or reads from disk *and does NOT* copy it into the in memory buffer00:04
lifelessthe second part is considering a minor bug: you cannot seed a hot object by getting cache hits.00:05
lifelessit plays merry hell with really high volume reverse proxies00:05
lifelessones up in the many-thousand-hits-per-second category.00:06
lifelessso, that 512MB seting you have, by default, will only cache the smallest of debs00:06
kirklandlifeless: heh, okay, thanks for that00:06
kirklandRoAkSoAx: wanna commit that fix too?00:06
SpamapSdeltree_: it will use up some RAM that could better be used caching data.00:07
RoAkSoAxkirkland: yup00:07
kirklandRoAkSoAx: change that back to 512KB?00:07
lifelessand, given we basically depend on the OS cache for most hits anyway, is unlikely to have a significant impact for you.00:07
lifelesskirkland: whoa00:07
lifelesskirkland: you're confused - two related settings00:07
deltree_SpamapS: ok, just making sure00:07
lifelessthe cache_mem setting defaults to 256MB.00:07
lifelesskirkland: RoAkSoAx: just delete the setting.00:07
kirklandlifeless: okay, thanks00:07
lifelesskirkland: the *policy* knob for what things can go into that memory cache defaults to 512KB00:07
kirklandlifeless: as for a disk cache, what's  your recommendation?00:08
lifelesskirkland: aufs.00:08
kirklandlifeless: size wize00:08
lifelesskirkland: if you want this thing to be snappy, make it 2/3rds your physical RAM00:08
RoAkSoAxlifeless: so I remove the cache_mem line and s/ufs/aufs00:08
lifelesskirkland: that will allow space for metadata lots etc and guarantee nothing needs disk UI00:09
lifeless*IO*00:09
lifelessRoAkSoAx: yes please00:09
SpamapSkirkland: wouldn't you want the cache size to be "big enough to keep all desired releases on disk" ?00:09
lifelesskirkland: if you want to optimise to avoid network downloads, set it to big enough to ..00:09
kirklandSpamapS: that's what I was thinking00:09
lifelesswhat SpamapS just said.00:09
kirklandokay, good00:09
lifelessnote that you need 14 MB of memory per 1 GB on disk for 64-bit Squid00:09
lifelesshttp://wiki.squid-cache.org/SquidFaq/SquidMemory00:09
kirklandyeah the goal here is to minimize impact on the wan00:10
lifelessthat comes from the OS00:10
RoAkSoAxkirkland: i guess we will need to do some debconf stuff to set add the "lan" we will be using automatically as well00:10
SpamapSkirkland: the goal would also be to be able to handle 1000 servers installing at one time.. :)00:11
lifelessso, you have what 40GB at the moment? that should be fine.00:11
lifelessSpamapS: thats primarily achieve by a) using aufs and b) having a tonne of memory on the machine.00:12
lifelessSpamapS: enough for socket buffers + os page cache for all the debs being downloaded.00:12
kirklandlifeless: right, we'll recommend that the orchestra server be a fairly beefy machine, and note that the lack thereof will impact provisioning results00:13
kirklandokay, i gotta take a break;  been a 12+ hour day00:13
kirklandi'm off for a bit to hang out with the wife00:13
SpamapSlifeless: 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
kirklandlifeless: you're awesome, man, thanks so much!!!!!00:13
SpamapSlifeless: 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:13
lifelesskirkland: anytime00:14
lifelessRoAkSoAx: yes, or edit the local_network acl00:14
lifelessSpamapS: yah, memory memory memory :)00:14
SpamapSIf some got behind, they'd slow the others down.. and eventually they'd all be downloading the same data.00:14
lifelessSpamapS: Back in the bad old days I was workin (shudder) yum00:14
RoAkSoAxlifeless: cool! thanks for taking the time to take a look at it ! really appreciate it00:14
lifelessand it was crystal clear whenever something was missing from the cache, all the machines would grind to a goslo00:15
lifelessRoAkSoAx: no worries; feel free to ask anytime00:15
RoAkSoAxlifeless: will do, thanks00:15
=== Brumle__ is now known as Brumle
uvirtbotNew bug: #832447 in amavisd-new (main) "package amavisd-new-postfix 1:2.6.5-0ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1  happens on every update" [Undecided,New] https://launchpad.net/bugs/83244701:01
uvirtbotNew bug: #362579 in open-vm-tools (multiverse) "Compilation of vmhgfs module fails on amd64" [Undecided,Won't fix] https://launchpad.net/bugs/36257901:02
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:10
smosersoren, i did not really look much, so just didn't see it. that probably is "the right way" to do that.01:13
smoseri sent it upstream, we'll see what they say there.01:15
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 exist01:31
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 file02:11
=== ScottK2 is now known as ScottK
SpamapSdeltree_: did you try asking in a rails channel? They might have better info for you.03:31
deltree_I have03: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 gems03:32
deltree_then they left03:32
SpamapSew03:32
SpamapSWhen you wrote your code, what did you use to develop it?03:33
deltree_I haven't built a rails app yet03:36
SpamapSOh, just playing?03:37
deltree_I write mostly in php & asp.net mvc (yes)03:37
SpamapSwhat version of Ubuntu ?03:37
deltree_10.0403:37
deltree_I'm doing it all on virtual machines, so when I mess something up, I just start over03:37
deltree_so don't get scared if I do something stupid, I can back it up and try again03:38
SpamapSthats a great way to learn03:38
deltree_but please, a little guidance would go a long way03:38
deltree_I'm pretty new to linux too03:38
deltree_I figured out how to give my server a gui03:38
deltree_and that has made things easier for figuring out what I'm doing03:38
SpamapSa gui?03:38
deltree_ubuntu desktop03:39
deltree_gnome03:39
SpamapSThats ultimately going to hinder your learning more than you might think.03:39
SpamapSLearn to use SSH, learn to *love* SSH03:39
SpamapSYou 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 files03:39
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 box03:40
deltree_just while I figure out setup03:40
SpamapSOk. Just a suggestion.. ditch the GUI03:41
deltree_will do03:41
deltree_it wasn't helping anyway03:41
deltree_I spent most of my time in the terminal03:41
SpamapSSo 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 working03:41
SpamapSlike, you're taking on a whole new OS, and a new language, at one time?03:41
SpamapSjust 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 much03:42
deltree_in addition, I came across an app in Perl, which meant more IIS troubles03:43
SpamapShah03:43
SpamapSOk well Ruby is kind of borked in 10.0403:43
SpamapS11.10 will have a MUCH better Ruby03: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 eyes03:43
SpamapSwith a non broken rubygems03:44
deltree_10.04 is LTS, and since I'm considering moving my server to it, I need the LTS version03:44
SpamapSAre you sure?03:44
deltree_no03:44
deltree_actually03:44
SpamapS18 months is a long time for an experimental box03:44
qman__I have to agree, this is one of the few cases where non-LTS makes more sense03:45
SpamapSWhich 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 one03:45
SpamapSplus 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 anyway03:45
deltree_always new03:46
SpamapSanyway, wife is waiting for me.. time to head out03:46
deltree_I'm more likely to automate os upgrades than to use old software03:46
SpamapSdeltree_: 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 Ruby03:47
SpamapSdeltree_: we will be *forever* indebted to you for any bug reports you might have. :)03:47
SpamapS11.04 is a *little* better03:47
deltree_I would, but I'm clueless with linux anyway03:47
SpamapSAnd you can always update to 11.10 after October and once you feel comfortable.03:47
deltree_I can open up a web browser and gksudo nautilus, that's my latest "whoohooo"03:48
SpamapSlol.. scary03:48
SpamapSwell glad to see you're on the right path. :)03:48
deltree_lol03:48
SpamapSgood luck w/ rails and ruby.. gone...03:48
* SpamapS disappears03:48
deltree_so no one has gotten passenger to work in standalone on 10.04?03:48
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.1003:53
DanaGweird... 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/games03:54
=== otubo is now known as otubo[AFK]
=== bkerensa_ is now known as bkerensa|laptop
=== bkerensa is now known as register
=== register is now known as bkerensa
=== bkerensa|laptop is now known as bkerensa_
=== SWAT__ is now known as SWAT
=== smb` is now known as smb
=== rickspencer3_ is now known as rickspencer3
DavieyBeta freeze is tomorrow... oh joy.08:47
twbDanaG: that happens to me all the goddamn time (lucid)08:48
twbDanaG: 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
twbI haven't been annoyed enough to actually track it down.  It's probably when you ssh root@foo -t sh or something08:49
lynxmanDaviey: the beta freeze will only block new packages from landing the archive right?09:54
Davieylynxman: No, the beta freeze means the archive is on manual approve.09:59
Davieyso all uploads get wedged09:59
Davieyhttps://wiki.ubuntu.com/BetaFreeze09:59
ersiSo Now would not be the greatest time to get into packaging? :-P09:59
lynxmanDaviey: heh, better get those bugs smashed then10:00
bericHi, 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:05
Davieyersi: packaging NEW stuff.. no, bad time :)... although NEW packages for Debian still makes sense, that we'll sync in next cycle :)10:11
Davieyersi: fixing packaging issues, yes still a good time :)10:11
ersi;)10:25
=== himcesjf1 is now known as himcesjf
koolhead11#ubuntu-cloud11:05
* RoyK hands koolhead11 a /j11:16
koolhead11RoyK, :)11:20
=== otubo[AFK] is now known as otubo
ubunteohow to install packages from CDrom after installation ?11:23
ubunteosome said https://help.ubuntu.com/8.04/add-applications/C/offline.html but how about on the server ??11:25
ubunteoin etc/apt/sources.list , I edited with # on deb http://........ and left only two cdrom lines on top.  but still not ok yet11:26
_rubenthat oughta work i'd say11:27
_rubendid you run sudo apt-get update after editing sources.list?11:27
_rubenand you did uncomment (iirc it's commented by default) the cdrom lines i guess :)11:28
trapmaxhttp://www.grimrock.net/11:28
trapmaxsry. wrong window11:28
ubunteo_ruben: no. I just left only cdrom lines. and rebooted11:29
sorenubunteo: Look at apt-cdrom.11:29
sorenubunteo: It does what you need.11:29
ubunteosoren: do I have to install aptoncd package?11:31
_rubenubunteo: a reboot wouldn't change a thing ;)11:31
ubunteosoren: As I have no internet with my server, how can I do ?11:31
_rubenubunteo: what happens when you run sudo apt-get update ?11:32
ubunteo_ruben: so running sudo apt-get update could help ?11:32
DavieyIf you are relying on a CD, you are probably doing it wrong.11:32
_rubenyes, 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 internet11:32
_rubenubunteo: it uses the contents of the sources.list ;)11:32
ubunteoDaviey: I don't wish to rely on CDs only but having internet at home is really damn expensive here in my country11:33
_rubennot everything is available on the standard -server install cd tho...11:33
ubunteo_ruben: yes. I see. I know I can install mail server and Postgre sql server role from installer CD11: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 CD11:34
_rubenubunteo: after editing the sources.list and running apt-get update, it shoudl11:35
_rubenDaviey: 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 internet11:35
_rubenDaviey: i netinstall my box anyways :)11:35
sorenubunteo: No, you use apt-cdrom.11:35
sorenIn a terminal, type: apt-cdrom11:36
ubunteosoren: do you mean, apt-get update won't fix ?11:36
sorenNo.11:36
ubunteosoren: apt-cdrom is default package like nano installed by default during installation ?11:36
sorenJust try it.11:36
sorenIt's free.11:37
ubunteosoren: I see. but my server is without internet11:37
sorenYes?11:37
sorenLook, it's not that hard.11:37
sorenType "apt-cdrom" and hit return.11:37
sorenIt'll take only a fraction of the time we've wasted on this discussion.11:38
Daviey_ruben: good stuff.11:39
ubunteosoren: How can I accomplish ?11:40
sorenFirst, you open a terminal.11:40
ubunteosoren: what do I do next without internet on myserver to install apt-cdrom ?11:40
sorenThen you hit the key on your keyboard marked with an "A".11:40
sorenThen you hit the key on your keyboard marked with an "P".11:40
sorenNeed I really go on?=11:40
sorenIt's already installed.11:41
sorenYou would have known this if you'd just bothered to try. It's not that hard. Just type on the keyboard.11:41
ubunteosoren: I am on server. no need to open terminal bro.11:49
ubunteosoren:  I am just confused. one said apt-get update will fix. you said to use apt-cdrom . what do I do ?11:52
sorenubunteo: You stop asking questions and try both and see which one works.11:52
ubunteosoren: I wish I could but my server is at home. and I am now at work with windows XP. easier said than done11:53
sorenSee, you could have mentioned that.11:53
ubunteosoren: according to office policy, only windows XP is allowed at work11:53
sorenThen 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
sorenubunteo: What are you trying to install anyway?11:54
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:57
soren"apt-get update" deals with dynamic sources. cdrom's are not in that category. apt-cdrom fills the gap.11:58
ubunteosoren: dear bro, is there any official documenation for apt-doc ?11:58
sorenapt-doc?11:58
ubunteosoren: sorry. apt-cdrom11:59
sorenThere's a man page.11:59
sorenIt's also online. http://manpages.ubuntu.com/manpages/oneiric/man8/apt-cdrom.8.html12:00
sorenSearching for "apt-cdrom" on your favourite search engine would probably also be helpful.12:01
sorenIf office policy permits.12:01
ubunteosoren:  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  - ??? option12:02
sorenI think my quota for how much time I want to spend on this is up now.12:02
sorenRead the last 4-5 things I said.12:02
sorenIf that doesn't answer all your questions, there's nothing else I can do.12:03
ubunteosoren:  I don't bother you , bro. you can ignore my post. there are so many who wants to volunteer in the world.12:06
sorenI'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:08
ubunteosoren:  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:10
ubunteosoren:The reason why newbies come here to seek for help on IRC is that is quicker than launchpad to get interactive answer.12:11
ubunteosoren: have a nice day ! thanks anyway.12:12
sorenI'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:12
ubunteosoren: it is good for you to take it easy to ignore my newbie questions.12:13
Davieylynxman: What is the status of bug #822142 , the merge proposal you quoted seems dead?12:14
uvirtbotLaunchpad bug 822142 in openvswitch "package openvswitch-controller 1.1.0~pre2.g2.ea763e0e-1ubuntu2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Medium,In progress] https://launchpad.net/bugs/82214212:14
sorenubunteo: Let me part this conversion with a single word: apt-cdrom12:14
sorenHave a magnificent day.12:14
ubunteosoren: 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
lynxmanDaviey: 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:14
lynxmanDaviey: will be dealt with today12:15
Davieyubunteo: 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
Davieylynxman: rocking!12:16
lynxmanubunteo: You keep doing the same, ignoring people answers and asking new questions, the same happened to me when I tried to help you :)12:18
sorenAw.12:19
lynxmanubunteo: 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:19
ersiI think something was "lost in translation" in that session unfortunally.12:22
sorenersi: Oh, wow. I think he's been here before under a different name.12:23
* soren tries to remember12:23
lynxmansoren: He has been as ubunteo before as well12:24
sorenlynxman: This was like 4 years ago.12:26
sorenhttps://lists.ubuntu.com/archives/ubuntu-server/2007-October/000881.html12:26
sorenFrom Myanmar as well.12:26
sorenrimriaz, I think was his irc nick.12:27
* soren searches for that.12:27
lynxmansoren: wow, classy email :D12:27
patdk-wkheh, some people we are better without12:29
_rubenwow, nice!12:30
lynxmanpatdk-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:32
patdk-wkI would disagree with that to a point12:33
patdk-wkeveryone has their own tastes, there is no way everyone would be happy using ubuntu12:33
lynxmanpatdk-wk: yeah it's a wishful thinking isn't it :)12:33
zulmorning12:33
nigelbDaviey: Thanks for the preseeing tip a while back.12:34
nigelbI just rolled that into production :)12:34
patdk-wkI went with slackware for a long time, cause I didn't care about security patchs, at home12:34
patdk-wkbut in the workplace, used rhel, and hated everytime I updated it, it wiped my configs, or configs came back I had removed12:34
patdk-wkhaven't had any issues with ubuntu's updates, so I'm happy :)12:34
lynxmanpatdk-wk: I've used a bit of everything, Slackware back in the time, RHEL, Debian, Ubuntu12:38
lynxmanpatdk-wk: I'd just like people to find Ubuntu useful of course, and consider it a choice :)12:38
dschuetti 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:01
sorendschuett: Yes.13:02
zuldie gtk-window-list die!13:02
sorendschuett: You've not rebooted.13:02
koolhead11hi soren13:02
sorendschuett: "ifdown eth0" doesn't remember anything. It looks in /e/n/interfaces to find out how eth0 was configured.13:03
sorendschuett: ...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:03
dschuettsoren: I have rebooted twice13:04
sorendschuett: 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
sorendschuett: WEll, the dhcp client didn't start itself, that's for sure.13:04
sorendschuett: Pastebin your /etc/network/interfaces.13:05
Davieynigelb: ahh, yes.. was wondering what you were talking about :)13:34
nigelbDaviey: hehe :)13:34
nigelbI have to bite the bullent and learn puppet for the long run though.13:34
=== [1]MarcelT3 is now known as MarcelT3
_rubenaww .. collectd's cpu plugin only does jiffies and doesn't attempt to turn it into percentages or anything :/13:52
openeyeHello people14:01
TheEvilPhoenix!hi | openeye14:01
TheEvilPhoenixehh ubottu fail14:02
TheEvilPhoenixanyways, greetings14:02
openeyeHallo Theevilone! Can someone help me out for a second, i need to find smtpd_recipient_restrictions in the postfix master.cf?14:02
openeyeit is not there14:03
lynxmanopeneye: it should be in main.cf not master.cf as far as I can recall14:05
openeyeindeed14:06
openeyeindeed14:06
openeyethat is the place where i am now14:06
openeyeif it is not there, i can just add it?14:07
uvirtbotNew bug: #828424 in samba (main) "package samba 2:3.5.8~dfsg-1ubuntu2.3 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/82842414:07
lynxmanopeneye: 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 process14:08
openeyei need to add spf14:08
openeyecheck_policy_service unix:private/policy-spf14:08
lynxmanopeneye: that should go in main.cf I reckon14:08
openeyethat is where i am14:09
lynxmanopeneye: then add it there :o)14:09
patdk-wkwell depends14:09
patdk-wkyou add it to master.cf if your doing something like, overriding the defaults for the submission service14:10
patdk-wkbut spf would be on the main port, not an override, so main.cf14:10
openeyeok perfect thank you!14:10
lynxmanpatdk-wk: that's why I was suggesting main.cf as well14:10
patdk-wkbut why, is also important, or they will just ask again :)14:11
openeyeThank you all14:11
lynxmanpatdk-wk: indeed14:12
smoserzul, could you take a quick look at https://code.launchpad.net/~ephess/ubuntu/lucid/php5/fix-for-651049/+merge/7111214:15
zulphp whats that? ;)14:15
ersiIt's those funny guys who likes to get the same salt for every hash14:17
zulsmoser: commented as well14:17
b0gatyrmorning 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/Tc5Ns4GY14:18
smosercould / would you consider sponsering that ?14:18
b0gatyrif I do svstat /etc/service/dstpd I see it up and running14:18
b0gatyrcan anyone shed some light?14:18
zulsmoser: yeah once the changelog is fixed14:18
ubunteohi14:18
ersiHi again14:19
ubunteohi all , we have ISP that offer us to use proxy address to use web14:19
ubunteohow can we configure that ISP connection on squid to share this connection to all clients ?14:20
ubunteohow to install deb file package on server ?14:24
=== zyga is now known as zyga-afk
=== giovani_ is now known as giovani
ubunteohi14:29
moonpupanyone know how to drop all outgoing ssh traffic regardless of port using iptables? meaning the default 22 or some other random high port?14:30
lynxmanmoonpup: that would require deep packet inspection14:31
moonpuplynxman: that's what i thought...14:31
lynxmanmoonpup: Don't think iptables can do it unless you can specify using the type module14:31
lynxmanmoonpup: but that just cover some pretty basic scenarios14:32
moonpuplynxman: what about tcpwrappers?14:32
* lynxman has a look..14:32
lynxmanmoonpup: tcp wrappers will just affect how your sshd daemon accepts connections14:33
lynxmanmoonpup: was having a look to see if there's some magical iptables modules :)14:33
moonpuplynxman: hmmm... thanks for checking. I'll keep digging14:34
lynxmanooh look at his14:34
lynxmanmoonpup: http://l7-filter.sourceforge.net/14:34
lynxmanthere was a magical module :D14:34
TheEvilPhoenixwell can't you use a combination of conntrack and OUTPUT filters?14:34
lynxmanTheEvilPhoenix: if it uses non standard ports nope14:35
lynxmanTheEvilPhoenix: that'd solve it for port 2214:35
moonpuplynxman: i've heard of that before... need to read up on it again... thanks14:35
TheEvilPhoenix-m conntrack --ctstate ESTABLISHED,RELATED -j ACCEPT14:35
lynxmanTheEvilPhoenix: but if they use port 10022 that's another issue14:35
TheEvilPhoenix-p tcp --dport <nonstandardport> -j DROP14:35
TheEvilPhoenixlynxman:  two rules14:35
TheEvilPhoenixoine to allow established and its related in any port, the other to block all other traffic on said port14:35
TheEvilPhoenixor in this case it might be --sport14:35
lynxmanTheEvilPhoenix: that's way too broad14:35
TheEvilPhoenixor w/e it is14:35
TheEvilPhoenixhavent dug into iptables output yet :P14:36
TheEvilPhoenixs/yet/much/14:36
lynxmanTheEvilPhoenix: I wouldn't feel comfortable using such a rule myself, you'd block a hell of peripheral traffic :)14:36
lynxmanTheEvilPhoenix: iptables is fun :)14:36
moonpuplynxman: yes, true14:36
TheEvilPhoenixheh14:36
TheEvilPhoenixiptables is fun, but sometimes its a PITA14:36
TheEvilPhoenixlike one time i fubar'd the INPUT filters on a VPS14:36
TheEvilPhoenixended up blocking all external traffic14:36
lynxmanTheEvilPhoenix: that too, but not more than ipf, although sometimes I miss rule numbering which is not quite implicit in iptables14:37
TheEvilPhoenixbefore i had put in a -m state rule to allow my traffic :P14:37
TheEvilPhoenixheh14:37
lynxmanTheEvilPhoenix: tehee :)14:37
moonpuplynxman: l7 may be the ticket, thanks14:37
lynxmanmoonpup: perfect :)14:38
lynxmanadam_g: ping14:39
moonpuplynxman: not sure the l7 project is currently active, info is years old.. :(14:40
lynxmanmoonpup: eek14:40
* moonpup still reading website14:41
TheEvilPhoenixoop time to get ready for class *disappears*14:41
patdk-wkI think ipp2p is uptodate14:41
lynxmanmoonpup: looks like people are still using it, found an article in linux.com explaining how to do it in CentOS 514:41
lynxmanpatdk-wk: ooh cool14:42
patdk-wkor well, has been renamed, to opendpi now14:42
moonpupwhat's opendpi?14:42
lynxmanhttp://www.opendpi.org14:42
patdk-wkopen-deep-packet-inspection, new version of ipp2p14:42
patdk-wkit was meant as a l7 replacement14:43
moonpupthanks guys... great find14:43
patdk-wkbe very careful will that though14:43
patdk-wkcause all packets hitting that rule, will be very cpu heavy14:43
DavieyRoAkSoAx: I'm getting quite confused what needs to be seeded for powernap14:43
newbie|2Howdy.  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
DavieyRoAkSoAx: powernap-server seemed to include the whole shebang, but added a new Dep.14:44
newbie|2Ack. What is the command to change my name?14:44
moonpuppatdk-wk: will do, thanks14:44
DavieyRoAkSoAx: python-scapy, via powerwake-common14:44
RoAkSoAxDaviey: yes14:47
RoAkSoAxbahh it is in universe :S14:48
newbie|2Anyhow.  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:48
DavieyRoAkSoAx: but it's NEVER been in main afaiks.. so how has this happend?14:49
newbie|2Or 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
b0gatyrhi guys, does ubuntu use init or upstart14:49
RoAkSoAxDaviey: I added it as the14:49
DavieyRoAkSoAx: ah, recently?14:49
RoAkSoAxDaviey: I added it as the "PowerNap" server uses a ARP monitoring system that access the network through python-scapy14:50
uvirtbotNew bug: #829909 in mysql-5.1 (main) "package mysql-server-5.1 5.1.54-1ubuntu4 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/82990914:50
RoAkSoAxDaviey: the thing that it wasn't release until recently due to that those changes are just a "preview"14:51
Picinewbie|2: Jaunty hasn't been supported snce October of 2010....14:51
RoAkSoAxkirkland: ^^14:51
RoAkSoAx.wub 1914:51
DavieyRoAkSoAx: ah, did that dep land before or after FF?14:51
* Combatjuan was formerly known as 'newbie|2'14:52
RoAkSoAxDaviey: can't remember, I didn't do the upload as things were in trunk without being released14:52
PiciCombatjuan:  Jaunty hasn't been supported snce October of 2010....14:52
RoAkSoAxDaviey: let me think about it and I might disable that feature and just keep it in PPA for this release14:52
RoAkSoAxso that we dont have to demote powernap14:52
CombatjuanPici: I'm woefully aware of this.  And while I'm working on moving to an LTS, reality constrains me.14:53
DavieyRoAkSoAx: can you make the dep optionl and add it to suggests for this release?14:53
PiciCombatjuan: ah :(14:53
RoAkSoAxDaviey: yes, better yet ;)14:53
Davieysuper!14:53
CombatjuanPici: 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
Daviey2006!14:54
CombatjuanDaviey: You win the legacy wars.14:55
DavieyCombatjuan: Well in reality it only wentEoL in April this year.14:55
openeyecan someone tell me how i can add adsp on postfix? Because google gives me nothing :|14:55
Davieyor was it jJune?14:56
Davieymeh14:56
=== himcesjf1 is now known as himcesjf
lynxmanopeneye: adsp?15:05
patdk-wkgood question, never heard of adsp15:06
lynxmanpatdk-wk: me neither15:06
patdk-wkaccording to *wikipedia* if you can ever trust them, it's a new name for dkim15:06
zulDaviey: how retro15:06
patdk-wkor an extention15:06
patdk-wkya, new addon to dkim15:07
lynxmanpatdk-wk: fancy stuff15:07
patdk-wkthat didn't explain crap for me, off the the rfc :)15:09
* lynxman has always been a bit wary of the effectivity of both SPF and DKIM15:10
patdk-wkspf is only effective if you can use -all :)15:10
lynxmanpatdk-wk: I use ~all to do a soft fail, helps spamassassin15:10
patdk-wkdkim would be great, if people like gmail and yahoo, didn't sign all the spam they send15:10
allegremhi !15:10
allegremI've got a little problem with Apache15:10
lynxmanpatdk-wk: that's why I'm wary of it :)15:10
allegremis there anybody ready to help me right now ?15:11
patdk-wklynxman, soft fail only helps if not all your servers are listed in the spf record15:11
lynxmanpatdk-wk: I'm not worried about mine, I'm worried about others15:11
lynxmanpatdk-wk: specially sites that insist in sending you confirmation emails using your email address as from (been there, suffered that)15:11
=== zyga-afk is now known as zyga-ouch
openeyei am sorry15:12
openeyewas smoking15:12
openeyeyes adsp is that addon for mailservers15:12
openeyehttp://en.wikipedia.org/wiki/Author_Domain_Signing_Practices15:13
allegremallo ??15:14
openeyeoeps, i whois'ed you zyga15:14
openeyeallo!15:14
allegremCould you please help me15:14
allegremI've got a problem with apache15:14
allegremand ecryptfs certainly15:15
openeyei am sorry man, i would love to, but i am under pressure myself15:15
openeyei have to install this crap for a new job15:15
Pici!ask15:16
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-)15:16
patdk-wklynxman, heh, haven't had that issue, I reject all that have my address in from15:16
lynxmanpatdk-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 ~all15:16
allegremubottu: that was for me ?15:16
ubottuallegrem: I am only a bot, please don't think I'm intelligent :)15:16
allegremubottu: thanks bot ;)15:17
ubottuallegrem: I am only a bot, please don't think I'm intelligent :)15:17
openeyelynxman, can you provide me with a good tut or source to install it?15:17
lynxmanpatdk-wk: it makes SPF slightly less effective but it hands it over to spamassassin who notices the soft fail15:17
lynxmanopeneye: I wish, never installed it, you're too advanced to my time ;)15:17
openeyewhut? I am just a junior :|15:17
patdk-wkI don't think anything even supports adsp yet15:17
patdk-wkit looks like senderid come to dkim to me15:18
openeyehmm15:18
lynxmanopeneye: try with DKIM, that's more documented, as patdk-wk says it's way too new15:18
openeyeyes, i am trying to get that installed also15:18
patdk-wklooks like opendkim supports it, but no instructions on how to use it15:21
openeyeindeed15:21
patdk-wkI wouldn't bother too much about it15:21
openeyeI have searched the nets the last 20 minutes for it, nowhere to be find15:21
patdk-wkas it's unlikely anyone else is even checking adsp15:21
openeyefound15:21
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 without15:22
allegremlogging 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:22
kirklandallegrem: there's no way to do this securely15:23
allegremreally ??15:23
kirklandallegrem: encrypted home requires a human to enter a "secret" of some kind to decrypt home15:23
kirklandallegrem: typically you do that when you login, and enter your passphrase15:23
allegremisn't there any way to load the password from my usb key ?15:24
allegremcrypsetup can do that15:24
kirklandallegrem: the closest you could do would be to rm ~/.ecryptfs/auto-umount15:24
kirklandallegrem: and login manually once per boot, which would get the filesystem mounted15:24
patdk-wkwhy not just put the rails app outside of your homedir?15:24
kirklandallegrem: and removing that flag would prevent it from being unmounted at reboot15:24
allegremI can't login manually15:24
allegremwait15:25
kirklandallegrem: then you can't use ecryptfs-encrypted-home15:25
kirklandallegrem: sorry15:25
allegremyou mean that if I rm this file15:25
allegremI juste have to log in once15:25
allegremand then if I reboot the server15:25
allegremecryptfs will never ask my password again ?15:25
patdk-wkthings that should not be used with encryptfs, servers (apache, samba, ..., mail), cron15:25
kirklandallegrem: no, you have to login once-per-boot15:26
kirklandallegrem: keys are stored in memory, and forgotten at reboot15:26
allegremso it's not good ...15:26
allegrembut patdk-wk had a great idea15:26
allegremif I put it in /var/www it would work ?15:27
kirklandallegrem: right -- move it outside of your $HOME and you're all good15:27
allegrem(and what about /root dir ?)15:27
kirklandallegrem: you could even symlink it into your home, for convenience15:27
allegremis it a good idea or not ?15:27
patdk-wkhmm, apache shouldn't be able to read from /root at all15:28
allegremok15:28
allegremlet's take /var/www15:28
allegremand if I just link my current location in home dir to /var/www, I won't have to re setup everything, will I ?15:28
allegremI mean : ln -s /home/myuser/path-to-my-app/myapp /var/www/myapp15:30
patdk-wkthat is backwards15:30
allegremand capistrano still works ?15:30
allegremI'm sorry I'm French : does backwards means drawbacks ?15:32
allegremnever mind15:32
allegremyou mean the command is ln -s /var/www/myapp /home/myuser/path-to-my-app/myapp ?15:33
patdk-wkyep15:33
allegremok15:33
allegremand what about capistrano ?15:33
lynxmanallegrem: backwards == pas droit mais le contraire15:33
allegremdoes he like links ?15:33
patdk-wkno idea what capistrano is15:33
lynxmanallegrem: you should have no issue defining a new APPHOME variable or such in Capistrano and deploying to a new place15:34
lynxmanallegrem: 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 clean15:34
allegremlynxman: the perfect translation is "à l'envers" ;)15:34
lynxmanallegrem: oui mais mon Francais ecrit est minable :)15:34
allegremcapistrano is a tool to deploy Rails app remotely15:34
allegremlynxman: I'm doing that right now15:35
lynxmanallegrem: superb15:35
RoAkSoAxDaviey: done15:40
DavieyRoAkSoAx: powerwake Dep issue?15:44
RoAkSoAxDaviey: yes sir15:44
DavieyRoAkSoAx: okay, will hold out until it's accepted.15:45
RoAkSoAxDaviey: ;)15:48
DavieyRoAkSoAx: Just Suggesting it?  No patch?  Doesn't that cause some pain?15:49
Davieyas in, a conditional import?15:50
robbiewDaviey: 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:56
robbiewhttps://bugs.launchpad.net/ubuntu/+source/ubuntu-docs/+bug/589057/15:57
uvirtbotLaunchpad bug 589057 in ubuntu-docs "help.ubuntu.com still uses old logo/branding" [Medium,Confirmed]15:57
allegremokay it works ;)15:59
allegremthanks a lot guys !!15:59
RoAkSoAxDaviey: yes, I'll do that in trunk16:02
RoAkSoAxand cut another release16:02
RoAkSoAxDaviey: this is just a quick fix ;)16:02
openeyeow man, this spf is not working @ all. DKIM works fine, but this spf and adsp doesn't run16:05
DavieyRoAkSoAx: ah cool16:05
openeyenot cool16:08
SmokeyDhey 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 / partition16:13
SmokeyDI 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 drive16:14
SmokeyDI successfully updated the ramdisk with initramfs-tools, to include the dm_crypt and sha256_generic modules and stuff16:14
SmokeyDbut now I want to install grub again, and I get an error "grub-probe: error: cannot find a device for /."16:14
SmokeyDwhen I run update-grub16:15
SmokeyDany ideas?16:15
openeyeis it mounted?16:15
SmokeyDopeneye, 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 /mnt16:16
SmokeyDso it is indeed mounted16:16
openeyei was just asking buddy, no offense intended16:17
SmokeyDopeneye, ok :) None taken of course16:17
lynxmanallegrem: wohooo16:20
=== himcesjf1 is now known as himcesjf
openeyegood evening everybody16:39
oakboxHi 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?16:56
davrosshould my network go in this order? modem-wireless router-server-switch? or modem-server-wirelessrouter if setting up dhcp ?17:04
RoyKdavros: which box is running the dhcp server?17:06
davroswell right now its the wireless router17:06
RoyKthen that should be started early17:06
davrosi'm guessing tho the server could do dhcp17:07
RoyKsince some dhcp clients won't retry after the initial timeout (iirc linux dhcp client might not retry after a timeout)17:07
RoyKit really doesn't matter - since the wireless router is important for everything else to work, it might as well run dhcp17:08
davrosmodem-router server-everything else17:09
davrosthis really should be this hard to set up lol17:10
RoyKhttp://i.imgur.com/HdGSa.png17:12
oakboxanyone with any info about changing ports when using ebox?17:14
* RoyK has no idea17:22
RoyKI use the commandline for administrating servers :P17:22
oakbox:) well I do too, but was interested to see what this was like.  Looks like im not going to find out :D17:24
adam_gkoolhead17: ping17:24
BrixSathello i have a big problem17:27
BrixSati have remover apache "apt-get remove apache2" and he still runs on the system after several reboots17:27
BrixSat:S  how come?17:28
PiciBrixSat: apache2 is a metapackage, you'd need to remove one of the packages it depends onm17:28
BrixSathow can i know that?17:29
PiciBrixSat: Its apache2.2-common17:29
BrixSatnop i had that removed also17:30
BrixSatapache utils :/17:31
BrixSatthanks17:31
=== zyga-ouch is now known as zyga
uvirtbotNew bug: #570950 in cloud-init "[ec2-test] ud-multipart-01 test failed on included files" [Low,Triaged] https://launchpad.net/bugs/57095017:49
zuljdstrand: hey i uploaded a new openstack-dashbaord can you review it please?18:10
davros-headache18:12
cjs226I'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:13
RoAkSoAxadam_g: o/18:19
RoAkSoAxadam_g: any luck yesterda18:19
adam_gRoAkSoAx: the packages in the archive seemed to be in good shape after you had left18:24
RoAkSoAxadam_g: ok cool then18:24
RoAkSoAxadam_g: just uploaded one new update with improvements to the squid config18:24
jdstrandzul: looking18:24
adam_gRoAkSoAx: neat. have you gotten it going in the lab yet?18:25
RoAkSoAxadam_g: still no access18:27
RoAkSoAxadam_g: Daviey already took care of it though18:27
RoAkSoAxso it should just be matter of tie18:27
adam_gRoAkSoAx: took care of what? access or having orchestra there?18:28
RoAkSoAxadam_g: he filed a rt18:31
adam_gRoAkSoAx: oh. ive got access. i might see how far i get in the meantime18:33
RoAkSoAxadam_g: I'll walk yo through it if you need any help18:34
RoAkSoAxthat's no prob at all18:34
davros-dhcp3 server? y?18:37
RoyKRoAkSoAx: what changes did you make?18:41
RoAkSoAxRoyK: to what?18:41
RoyK20:24 < RoAkSoAx> adam_g: just uploaded one new update with improvements to the squid config18:41
RoAkSoAxRoyK: one was use aufs instead of ufs and the other one was related to the cache size i believe18:42
RoyKRoAkSoAx: sounds good, but I hope aufs is built in the ubuntu release? squid docs says only ufs is built by default18:45
RoAkSoAxRoyK: squid's upstream recommended the change ;)18:47
_rubenwondering how bug #135037 will progress, as collectl appeared to have landed in debian unstable18:50
uvirtbotLaunchpad bug 135037 in ubuntu "[needs-packaging] collectl" [Wishlist,In progress] https://launchpad.net/bugs/13503718:50
josePhoenixHello all18:56
josePhoenixIs it possible to install ubuntu server from an ubuntu desktop disk?18:56
josePhoenixOur data center manager keeps using the wrong ISO and I'd rather not bother him again18:56
alamarjosePhoenix: you should try to fight the cause not the symptoms ;)19:00
josePhoenixWell I'm a student employee so I can't really affect that ;]19:01
josePhoenixMy street cred over there is pretty low at the moment, anyway >.>19:02
=== med_out is now known as medberry
=== otubo is now known as otubo[AFK]
genii-aroundjosePhoenix: If you have the desktop disk booted up, you can go to terminal, prep and mount wherever the install is going, then use debootstrap19:37
genii-aroundThen you have a base cli box, can use tasksel to install the server components19:39
tarvidI would like to mount a USB drive which I think is CIFS20:18
tarviddmesg shows no new output when I plug it in20:18
giovanitarvid: CIFS is a network protocol, your USB stick isn't CIFS20:19
giovaniif 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 broken20:19
* RoAkSoAx brb20:19
tarvidIt works on a Buffalo router20:20
tarvidII told the router to format the drive CIFS20:20
giovanitarvid: CIFS is how the router/NAS is sharing the filesystem, but the filesystem itself is not CIFS20:21
giovanias I said, CIFS is a network protocol20:21
tarvidhow do I detect the file system?20:21
giovaniif 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 filesystem20:21
giovanipaste the full output of dmesg to http://pastebin.ubuntu.com20:22
tarvidI can  mount it on the router and access it from the Ubuntu box20:24
giovanitarvid: that's not what you're asking about though20:24
tarvidI'd like to mount it on the Ubuntu box which is my gateway20:25
tarvidthe router is just for my wireless netwpork20:25
giovaniyou said you were trying to plug in the usb stick20:25
giovaninot mount it remotely over CIFS20:25
giovaniyou're being very unclear at this point20:25
tarvidthat is correct20:25
tarvidthe Ubuntu box is on the public Internet, the router is behind it20:25
giovaniunless you clear up the expalnation, I can't help you20:26
tarvidI'd like to be able to access the drive from the Internet side20:26
tarvidthat is on the Ubuntu box20:26
tarvidI'll try again20:28
tarvidI have a 250GB drive on a Buffalo router20:28
tarvidI can access it over the network20:28
tarvidI'd like to plug that drive into an Ubuntu box and mount it20:28
giovanitarvid: 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.com20:30
tarvidhttp://pastebin.ubuntu.com/674120/20:33
tarvidthere was no output20:33
tarvidgiovani, plugged it back into the router and it says FAT20:40
tarvidso the problem is that Ubuntu doesn't recognize the USB to SATA bridge?20:41
giovanitarvid: that's not the full dmesg output20:42
tarvidno it is the last two lines20:43
tarvidthere was no change after plugging in the drive20:43
giovanitarvid: what if the important output was before those two lines? ;)20:43
giovanitarvid: FAT is indeed a filesystem -- so that's the filesystem of the usb device20:43
giovaniit's not about "detection" of the usb-sata bridge20:43
giovanieither the usb port you're plugging it into is broken20:44
giovanior you don't have any drivers loaded for the usb host adapter20:44
giovaniany other condition would result in dmesg output20:44
tarvidtried two ports but will pull the scanner which works and try that one20:44
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 lol21:10
tarvidgiovani, may have been the unpowered usb hub21:11
tarvidhttp://pastebin.ubuntu.com/674145/21:13
_rubenunpowered usb hub + 2.5" "adapter-less" usb hdds tend to be a no go indeed21:14
bluekelp1why in 11.04 does "cat file.iso > /dev/cdrom" not work?  i have correct perms, nor does it work as root21:14
bluekelp1complains about read-only file system.  same if i use /dev/cdrw, /dev/sr0 or anything else.21:15
tarviddo I need another package to mount VFAT drives?21:15
giovanitarvid: that's quite possible -- usb hard drives tend to suck down a lot of juice21:16
giovanitarvid: nope, fat support should be there automatically -- just "mount /dev/blah /media/blah"21:16
tarvidmount: /dev/sdb1: can't read superblock21:18
tarvidcould be Buffalo doesn't do it in  Ubuntu compatible way21:19
patdk-lapbluekelp, cause cdrom is a read only device21:19
patdk-lapyou need to talk scsi to it, and need a program to convert that iso into a string of scsi commands21:19
tarvid/dev/sdb1   *           1       30401   244196000+   c  W95 FAT32 (LBA)21:20
patdk-lapmount -t vfat /dev/sdb1 /mnt21:20
patdk-lapare you sure your giving that usb drive a full 1amp of power?21:20
tarvidmount: wrong fs type, bad option, bad superblock on /dev/sdb1,21:21
patdk-lapmaybe it was never formatted?21:22
tarvidnow plugged into the usb port on the motherboard of an old dell21:22
patdk-lapwhat does blkid give you?21:22
tarvid/dev/sdb1: UUID="27aab788-3715-4969-8280-033c0cb73363" TYPE="xfs"21:22
patdk-lapnormally the usb ports on the motherbord (back) are the only ones that will give a full amp21:22
patdk-lapwell, it's xfs, not windows :)21:22
patdk-lapinstall xfs drivers21:23
tarvid/dev/sdb1   *           1       30401   244196000+   c  W95 FAT32 (LBA)21:23
patdk-lapthe partition table means nothing21:23
patdk-lapthat is just a guess21:23
patdk-lapapt-get install xfsprogs should probably do it21:24
tarvidapt-get install xfsprogs21:24
tarvidmount: /dev/sdb1: can't read superblock21:25
patdk-lapnot sure if you need -t xfs21:26
patdk-lapor anything else on there, never used xfs21:26
tarvidroot@ubuntu:/media# mount -t xfs /dev/sdb1 /media/usb - same thing21:26
bluekelp1patdk-lap: older ubuntu versions did this just fine. the OS takes care of that. that's the power of unix.21:30
bluekelp1patdk-lap: i am confused if something changed in the OS (only minor kernel rev diff) or what21:31
patdk-lapnever heard of that21:31
patdk-lapdunno, google seems to say it's not possible21:32
patdk-lapI wouldn't even believe cat could keep up wit hthe burn speed, printing char be char to a block device is slow21:34
tarvidthanks for the help, I am going to back u7p that drive before I attempt xfs_repair21:35
RoyKRoAkSoAx: I can see that :)21:40
FreezingDroidapt-get install linux-source-3.0.321:57
FreezingDroidOops, wrong window21:57
FreezingDroidWhen I run "apt-get install linux-source-3.0.3" it says it can't find the package21:57
lenios_FreezingDroid, not surprising, try apt-cache search linux-source22:14
uvirtbotNew bug: #833404 in samba (main) "cifs automount crash (guess, its the same from commandline)" [Undecided,New] https://launchpad.net/bugs/83340422:21
kirklandRoAkSoAx: hmm, is the LoadMonitor in PowerNap working correctly for you?22:41
kirklandRoAkSoAx: can you give it a try?22:42
DanaGAny 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.22:47
=== skrewler_ is now known as skrewler
=== medberry is now known as med_out
FreezingDroidHow can I disable networking at boot?23:37
RobinuxFreezingDroid, i think that is very basic and you might find tutorials in google, sorry i'm a *nix noob got no idea how23:49
=== Robinux is now known as sw0rdfish
maccam94aieeeeee, my raid appears to be broken >_< anyone here good at debugging raid, or can you point me to a channel for mdadm?23:51
RoAkSoAxkirkland: sure, what seems to be going wrong?23:53
RoAkSoAxkirkland: i think it is the "n" as number of CPU's23:54
RoAkSoAxkirkland: i think now powenap-now is broken :S23:58

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