/srv/irclogs.ubuntu.com/2009/03/27/#ubuntu-server.txt

Dammstupid question i'm sure, virsh is giving me an error 'network not found br0'... failed to start00:21
Dammyet ifconfig br0 shows the right stats00:21
unblessedTurniphow did you define your bridge in /etc/network/interfaces ?00:23
Dammlemme pastie00:24
Dammhttp://gist.github.com/8646100:24
Dammnot using nat here, just regular routing00:24
Dammhopefully that doesn't complicate things.00:24
Dammand eth0 is manual static with no settings00:24
Dammiface eth0 inet manual00:25
Dammrunning jaunty (apt-get update current)00:25
unblessedTurnipwhat is giving you the 'failed to start' ?00:27
Dammvirsh start 'dev'00:28
Dammor virsh start 'ubuntu'00:28
* Damm obviously will dig in the docs more00:28
Dammbecause clearly my network isn't what it's expecting00:28
unblessedTurnipso I'm assuming you want it to connect to a bridged interface of some defined name?00:30
Dammyep00:30
Dammideally eth000:31
unblessedTurnipwell, you're only bridge port is eth0; you don't want another one?00:31
unblessedTurnipas in:  bridge_ports eth0 virtual0?00:31
unblessedTurnipso there are two interfaces both using the defined address, netmask, etc\00:32
Dammnope not another00:33
Dammunless you can give me a reason00:33
* Damm has gone over the Ubuntu KVM docs quite well, and it's just not giving me the details i'm trying to find sadly.00:34
unblessedTurnipok so you want it for virtualization00:34
* Damm nods00:34
unblessedTurnipwell, the second port on the bridge will allow the virtualized OS to connect to the network as it's own entity00:35
unblessedTurnipno NAT traversal through the host00:35
Dammso basically, doing bridge_ports eth0 virtual0 virtual1/etc00:35
Dammwould be better00:35
Dammyour saying00:35
twbWould you also want proxy ARP?00:35
unblessedTurnipwell, it's how you make a second port on your bridge000:35
unblessedTurnipbesides eth000:35
Dammah right00:35
twbDamm: obviously a bridge of only one thing doesn't make much sense00:36
Dammtwb, well then please by all means point me somewhere I can fill in the blanks... because I don't want a 'answer'00:37
DammI want to learn.00:37
unblessedTurnipI set up virtualbox (open source edition) through https://help.ubuntu.com/community/VirtualBox#Networking00:40
unblessedTurnipit documented setting up the bridge, with the second or more bridge point creation00:40
unblessedTurnipit's followed by virtualbox-specific stuff after that though00:40
Damminteresting, yes.00:51
DammI guess I wasn't thinking that way when I read it, I was thinking it would attach to br0 (kvm) and like vmware allow multiple 'guests' to read that.00:57
unblessedTurnipso link helped?00:57
unblessedTurnipi need to find better documentation on configuring /etc/network/interfaces00:58
Dammthat's what I was thinking.00:58
DammI see a ton of arbitrary settings in these examples with no information on what they are related to00:58
Dammlike bridge_fd 9, bridge_hello 200:59
Dammbridge_stp makes sense to me thankfully00:59
unblessedTurnipwhere did you get those from anyhow?00:59
Dammhttps://help.ubuntu.com/community/KVM/Networking01:00
DammI am reading this now01:01
Dammand laughing at myself for following it01:01
* Damm shakes his head01:02
DammunblessedTurnip, my error has nothing to do with what you linked at all.01:02
Dammbut thank you for trying :)01:02
unblessedTurnipI thought it might be because the virtualizer expected a seperate bridge interface beyond br0, but oh well01:02
Dammno01:03
Dammthe instructions in that wiki tell you to modify the network 'name' to br001:03
Dammthe problem is we then do not define the network 'br0' in kvm01:03
Dammit's not looking for ifconfig br0, or eth0, or /dev01:03
Dammit's looking for an xml config for the network 'br0'01:03
unblessedTurnipoh01:03
Dammand thus the utter failure begins01:03
unblessedTurnipalright then :|01:04
Dammit's funny now yes?01:04
unblessedTurnipyea01:04
unblessedTurnipbest of luck with KVM01:05
Dammwell, once this is done and I document it... it's something for my company to go forward01:05
Dammand it's nice padding on the resume01:05
Dammdesigned and deployed a mixed architecture using kvm in a production enviroment, built monitoring systems around it, blah blah01:05
unblessedTurnipinteresting; i hope the monitoring tools are good :P01:06
DammThey will be.01:06
Dammas long as you can handle a wrapper to read the JSON01:06
Dammand that's trivial with perl or ruby or python01:06
unblessedTurnipi'll probably be the only guy at our network ops centre that could do that :P01:07
Dammbut now i'm going to shower feeling accomplished because I defeated a wiki!01:07
unblessedTurniphaha01:07
Dammoh I feel that way all the time01:07
Dammonly reason i'm looking at KVM right now is because Xen is on the deprecated list01:08
Dammwe're going to use Xen for a year or two, but I'd like to have all the tools and migration path for KVM set once we feel KVM is ready to use.01:08
twbDamm: do you have specific problems with kvm?01:08
Dammtwb, not anymore01:08
Damm:)01:08
twbDamm: I'm looking at migrating from vmware to openvz (for unix guests) and kvm (for windows guests).01:09
Dammpardon my french as i say this.01:09
twbSo if KVM "isn't ready" I'm very interested :-)01:09
Dammare you fucking insane about openvz?01:09
twbDamm: what's wrong with openvz?01:09
DammUnless you work for Cameron (spry) there's really no reason to use openvz01:10
* unblessedTurnip gooogle.com/search?q=openvz01:10
DammXen is a HUGE step up from Openvz01:10
Dammand going from vmware to openvz is like... a downgrade01:10
Dammmajorly01:10
twbIME vmware breaks everything.01:11
Dammopenvz failure 1, you cannot swapon a 'file' to add any swap other then was booted with.01:11
giovani3openvz is a mess01:11
giovani3memory management failure01:11
Dammthat's very painful and stupid, can't dd if=/dev/zero of=swap count=500;mkswap swap;swapon swap01:11
twbAs I control the dom0, I have no need to add swapfiles within a domu01:11
Dammright, but with openvz the memory management is fail01:11
Dammand I/O performance is fail01:11
Dammso unless you know who Cameron is or Sprynet01:12
Damm... I don't know why you'd touch openvz for a million dollars01:12
Damm(that's the company that started using openvz/championed it or whatever)01:12
unblessedTurnipdoes virtualbox still not provide 64-bit host virtualization?01:13
unblessedTurnipdisregard last;  Damm: what made you choose KVM as an upgrade path in particular?01:14
DammunblessedTurnip, based on kernel support and it being maintained by the 'mainline' kernel tree01:16
DammSo Ideally I won't have to worry much about tainted drivers, or drivers not working in kvm because of 'x' reason...01:17
Dammso only thing I need is qemu, kvm package, and libvirt or another way to manage the guests01:17
unblessedTurnipso the kqemu kernel module is included then?01:18
unblessedTurnipor is it required with KVM?01:18
Dammnot sure on that01:19
Dammbut it's in jaunty's repos01:19
Dammand for me I look for what's being supported by companies in the next 6months-1year.01:19
unblessedTurnipalright.  last time I played with it was like 7.10, and had to be built by hand01:19
Dammnah with jaunty it's insanely easy01:19
unblessedTurnipI'm back one step for the LTS01:20
Damminstall the meta package, and make sure you can load the kernel module kvm-intel01:20
Dammand configure networking and go01:20
Dammyeah i'm using the LTS with Xen01:20
Dammbut i'm also deploying couchdb + Chef for Management01:20
unblessedTurnipkqemu might be depricated in favor of kvm-intel module now01:20
* unblessedTurnip must research01:21
Dammso I made my chef server jaunty, and i'm gonna give my coworkers a taste of it while we test it01:21
Dammi believe so01:21
Dammkvm-intel is in the regular kernel images01:21
unblessedTurnipalright, interesting01:21
twbAFAICT kqemu is only for people who can't use VT -- either because the CPU doesn't support it, or because some other virtualization system on the same host is hogging it01:22
unblessedTurnipthat makes sense01:23
twbAnd kqemu has some annoying bugs -- like making qemu segfault regularly when you switch to the (qemu) console (alt+2), or making it impossible to allocate 2GiB of memory to the VM, or making any d-i image segfault shortly after it starts with an "unhandled opcode".01:23
unblessedTurnipfun times01:24
Damminteresting01:24
Dammso yeah I'm just trying to learn this and make it go01:25
unblessedTurnipbest of luck.  I gotta jet.01:26
Dammit's all using libvirt so that's always a win01:29
twbLast time I looked at libvirt was when it first entered Debian, and it was an alpha joke01:30
Dammtwb, i think it still is really.01:32
Dammand it really is a huge joke, but someone decided to take the joke seriously.01:32
Dammso now the joke is really on debian01:32
twbI expect libvirt will go nowhere until someone decides to sink money into it01:33
Dammtwb, sadly people are starting to support it in a joke way.01:34
twbShrug01:35
twbNot my problem.01:35
DammSee, that's where I differ.  It is your problem, my problem, anyone who ends up using it in the next 2-3 years should care.01:44
Dammthe problem is we are programmed to 'not care'.  I call it the Conditioning of Society.01:44
twbYou might as well call it the bystander effect.01:45
DammI call it being a cow in a herd.01:46
DammYou don't have to blend in, and accept things as they are.  Some of us do it because it's easier then the alternative.01:46
zoopsterso Damm what are you doing about the "joke" as you call it besides complaining about it on a public forum?02:08
Dammzoopster, myself? well one can start with documenting the experience, and providing the resulting configuration that worked for you so others can learn from your experience.02:29
Dammthat's for starters02:29
Dammnot document in 'in the drama' way like oh my god the horror... just improve on the documentation and the experience for the user (even if the user is a sysadmin)02:30
drewmeigs1hey, could anyone give me a little help with nagios?02:31
twb!anyone > drewmeigs102:32
ubottudrewmeigs1, please see my private message02:32
drewmeigs1i am trying to set up nrpe, but after typing "./configure", the guide says to type "make all" but there is no "make" nor are there rules for all. i was wondering how to get beyond this.02:34
Dammapt-get install nrpe02:34
Dammyou absolutely do not need to build nrpe from source, just nagios-plugins and nrpe from apt and then configure /etc/nagios/nrpe.cfg02:35
drewmeigs1ok, thank you so much. i guess i didn't realize it was in the repos. i really appreciate it.02:36
Dammaptitude can search, so does apt-cache02:37
drewmeigs1thank you02:38
Dammso02:44
Dammvnc-viewer working02:44
Dammgot my kvm running with networking via bridged02:44
Dammamazing what a little weed can do to fix your brain to finish the job02:44
* jmedina agree02:44
Sam-I-AmDamm: are you... the damm i know?02:57
DammSam-I-Am, OH my blessed bosum of love.02:57
Dammoh how I have missed you02:57
Sam-I-Amhaha02:57
Sam-I-Amguess so...02:57
twbSurely you mean bosom.02:57
Dammnope I don't02:57
Dammhe's not my type02:58
Sam-I-Amhaha02:58
twbDamm: you've never had a bosom-friend?02:58
twbKids in this century are so tame.02:58
Sam-I-Amso... really... you?02:58
Dammtwb, he's just so hairy.02:58
Dammj/k02:58
Sam-I-Amha02:58
DammSam-I-Am, really me yep02:58
Sam-I-Amwow02:58
Dammhow's Fort Collins treating you02:58
Sam-I-Amthats two people from the past i've met today02:58
Sam-I-Ampretty good02:58
Sam-I-Amexcept for the snow today02:59
DammI haven't seen / heard from Brian in ages02:59
twbFWIW google doesn't know what a "bosum" is.02:59
Dammtwb, you should teach it.02:59
twbDamm: I don't know what it is, either.02:59
DammI see yazzy now and then but he still ignores me02:59
Sam-I-Amha, another name from the past02:59
Dammtwb, let's just make it a fictional name and stop here.02:59
* Damm nods to Sam-I-Am.02:59
twbShrug.03:00
Sam-I-Amstill in #cisco ?03:00
* Damm is just showing off his KVM love to my boss03:00
Dammhe's digging it03:00
Dammnah, I still deal with cisco crap03:00
Dammoh brian? no clue03:00
Dammi get email from him randomly03:00
Sam-I-Amah03:00
Sam-I-Amwhat are you doing these days?03:00
DammSystems + Network Administrator for one of the most hated companies on the internet lately.03:01
Sam-I-Amhmm... level3?03:01
Dammmy company runs myluvcrush.com and iqquizapp and a fwe other sites03:01
Dammthat facebook junkies loathe and hate03:01
Sam-I-Amahh03:01
twbI was going to guess IANA03:01
Sam-I-Amheh03:02
Dammtwb, no... my woman works for a company that does phone calls for mobile messenger (which is the company behind those websites)03:02
Dammand they get roughly 15-25 death threats a day03:02
Dammseriously03:02
twbI expect the WTO gets more03:02
Sam-I-Amwow03:02
DammWe're just a banner company, if you have *.tattomedia.com in your block list for adblock or otherwise03:03
Dammwell you can thank me.03:03
twbI wouldn't know; my browsers don't implement iframes or images.03:03
Dammmainly because I had a discussion with a coworker about how we were loosing hits from adblock plus and such03:03
Dammso we worked around it, so that no matter what you get to see our ad.03:04
Sam-I-Amtwb: elinks person? :)03:04
Dammwell except twb.03:04
twbSam-I-Am: emacs-w3m03:04
Dammahh yeah he's safe.03:04
Dammwe have elinks customers03:04
twbI hate how the UI isn't consistent across pages in a GUI browser03:04
twbAnd I hate using the mouse03:04
Sam-I-Amdo you have foot pedals for emacs?03:04
Dammyou can blame the consistency crap on MS03:04
twbSam-I-Am: nope03:05
Sam-I-Ami'm an opera user... its not bad.03:05
twbDamm: no, I mean things like websites changing the colour of links03:05
twbDamm: or putting images on top of buttons so you can't tell they're buttons03:05
Dammtwb, well good news... web 2.0 has gotten rid of most of those annoying traits03:05
twbApart from Opera still using qt3 on Debian.03:05
Dammit has replaced it with more annoying traits03:05
twbDamm: oh yeah03:06
twbDamm: like I saw a router yesterday that draws the ENTIRE PAGE using ajax03:06
Dammoh that's easy03:06
twbDamm: for its management console, I mean03:06
Dammyou should see the pile of shit that Sun is trying to sell with their 'Unified Storage Solution'03:06
twbDamm: my point is that's pretty annoying if you don't implement js03:06
Dammit's a very annoying Tomcat webapp03:06
Dammthat has very little to offer.03:06
twbhaha, tomcat03:06
Dammwhy do I want to spend 68k on a Solaris 10 server03:07
Dammreally sun03:07
Dammget a new clue03:07
twbThose OWA clones are funny03:07
DammZimbra03:07
twbDamm: the smart people in sun work on zfs and stuff, not the wanky web space03:07
Dammyeah i had a job doing that once03:07
Damm... every time someone calls me up and asks if I want to do Zimbra03:07
DammI tell them unless your offering 100k to start, screw off.03:07
Sam-I-Amheh03:08
Sam-I-Ami've read a little about that03:08
twbDamm: which do you hate more: zimbra or scalix? ;-)03:08
Dammzimbra03:08
Dammtwb, friend of mine just decomissioned one of his ldap servers... to find out it was promoted as the ldap master and had 3 accounts still left on it03:08
Dammoh the horror of that when ldap replication suddenly broke on a cronjob on the weekend03:09
twbThe ubuntu partners team contacted me about getting zimbra packaged properly in Ubuntu03:09
Dammand then email stopped working03:09
twbI said "maybe, if I don't have to use launchpad"03:09
twb:-)03:09
Sam-I-Ami just posted some ldap-related bugs to launchpad03:10
twbI think I can safely say that I have *never* had a good experience with ldap.03:11
Sam-I-Amits definitely not the most straightforward thing03:12
twbIt's like domestic abuse03:12
twbEveryone hates it, and knows it's terrible, but we keep going back to it03:12
twbBecause the only alternatives are, like, NIS03:12
Dammthe problem with LDAP is what it is, and how people use it.03:12
Dammnss_ldap is horrible, you should use nss_ldapd if you don't... please shoot yourself now03:13
twbThey're both horrible03:13
Dammi can't say i have started to use launchpad yet... I'm sure i'll hate it03:13
DammI was hoping to get a landscape trial03:13
Damm... but I haven't gotten squat from registering for a trial03:13
twbYou can't even log into launchpad unless you are using a GUI browser :-/03:13
twbYeah, I think canonical forgot to set a budget for landscape03:13
Sam-I-Amheh, libnss on centos/rhel .. you know, "enterprise" .. causes the system to hang indefinitely if you configure it to use ldap.03:14
twbOr maybe it's just some intern that made the stub package :-)03:14
twbSam-I-Am: you probably want soft binding, then03:14
Sam-I-Amyeah, even then it hangs03:14
Sam-I-Amits a bug03:14
twbOw03:14
twbRHEL should just cash in their chips and tell people to use Ubuntu03:15
Sam-I-Amrh was like... yeah, we might fix that... been about 1.5 years since i think it was reported.  quick solution is downgrading libnss03:15
twbSorry guys, it's not 1995 anymore03:15
Sam-I-Ami'm trying to convince my boss we should go to ubuntu server from centos/rhel03:15
Sam-I-Amrhel is like the aix of linux03:16
twbSam-I-Am: you should point him at the policy manual and ask "so where is the equivalent quality assurance infrastructure on RHEL?"03:16
Sam-I-Amhmm, havent heard of that03:16
twbFFS, there isn't even any post-2000 documentation about the RPM format03:16
Sam-I-Amlol, rpm03:16
twbSam-I-Am: the policy manual is what allows us users to report bugs like "don't put shit in /opt you fucking idiot" to package maintainers03:17
twbAnd the policy manual means they can't argue.  Their package is just plain wrong03:17
twbCf. fedora directory server (har har).03:17
Sam-I-Ami havent tried fds03:18
twbIt is funny03:18
Sam-I-Amsmells like ldap with some twists03:18
twbLike a road accident03:18
twbSam-I-Am: it's a fork of openldap03:18
twbEr, I think03:18
twbIt might be a pure-java thing, I am confusing the two.03:18
ajmitchFDS is the old netscape directory server03:19
twbFair enough03:20
ajmitchpreviously AOL, etc03:20
ajmitchsome old stuff in there03:20
Dammah back03:26
DammSam-I-Am, i'm coming from RHEL03:26
Dammso having Landscape shuts up people03:26
Sam-I-Amheh03:26
Dammsigh, so no mysql 5.1 in jaunty03:27
Dammdamn i am not get any respect tonight03:27
DammI might as well just giveup and finish up some stupid xen crap03:27
twbDamm: you need to carry a broadsword03:27
twbNobody gives you shit then03:27
twbWell, maybe one guy does, but the rest learn from his mistake03:28
Sam-I-Amlol03:28
Dammtwb, oh rest assured no one in their right mind fucks with me.03:28
Dammsam has met me, he could prolly attest to my insanity atleast.03:28
Sam-I-Amha03:28
Sam-I-Amsure...03:28
twb"Hey, you in that tree up there!  Are you a motorcar?"03:28
twb"Yes, I am!"03:28
twb"What luck, so am I!"03:29
mrwesHow often does freshclam -d check for updates?03:30
Dammmy coworkers leave me alone03:30
Dammwhich is nice03:30
twbmrwes: too often?03:30
Dammmrwes, do you really depend on your freshness that much?03:30
Dammof your clams03:30
DammI suggest you to use some bleach on your clams03:30
twbclamav exists AFAICT to use up all your RAM and I/O03:30
mrweswell.... I looked in /etc/clamav/freshclam.conf and it appears to say 24 times a day03:31
twbmrwes: that wouldn't surprise me03:31
mrweswhy?03:31
mrwesheh03:31
Dammtwb, pretty much yep03:31
twbmrwes: because it sucks03:31
mrwessigh...03:31
Dammonly way to deal with clamav is to nuke it's databases every 50000 emails03:31
Dammotherwise it gets too bloated03:31
Dammand slow03:31
twbRather than deploying clamav, the "right" solution would be to scrap all your Windows workstations03:31
mrwestwb, I don't have that option03:32
twbBut that tends to cause a zombie rampage03:32
twbOnly wobbly windows will soothe them03:32
mrwesso...can I change that or not?03:32
twbmrwes: dunno, actually.  I don't have much direct experience with clamav (except for kill -9, of course.)03:32
Dammmrwes, buy some macs03:33
twbhaha03:33
Damm<-- is a machead now03:33
twbDamm: then install Ubuntu on them.  Woo!03:33
Dammsam would be so proud03:33
Sam-I-Amhaha03:33
mrwestwb: so why the smart ass comments then?03:33
mrwes:)03:33
twbmrwes: because I'm a smartass.03:33
mrwesblah03:33
twbAnd I'm bloody bored03:33
Dammmrwes, seriously you can't update clamav enough to protect you from the stupidity of windows users03:33
Dammmrwes, so updating the datafiles 24hours a day is excessive to most of us03:33
Dammperhaps it's not enough for you03:34
mrwesyah I need more03:34
mrwes48 hours a day maybe03:34
mrwesso...I take it I don't need a cron for freshclam...heh03:34
Dammyou do03:35
twbPut it in cron.hourly?03:35
Dammput it in cron.hourly03:35
Dammbut it won't save you from the windows users03:35
Dammas long as you can accept that, your fine.03:35
mrweshrmmm03:35
Dammlast time I used Zimbra my ClamAV process was sucking up 500-1024meg03:35
Dammminimum03:35
Dammresident.03:35
twbhehe03:35
mrweswhy do I need an hourly cron, when there is freshclam daemon running?03:36
twbDoes zimbra include clamav in it huge /opt mess?03:36
twbmrwes: ah, fair enough03:36
Dammyes twb03:36
twbDamm: yuk03:36
Dammmrwes, hrm, then i wonder why it's there03:36
Dammoh well03:36
twbI wish those jackasses would just use the stock postfix and such03:36
* Damm twitches03:37
* Damm takes his postfix-cure shots.03:37
Sam-I-Amlol03:37
twbhaha03:37
Dammnext time please warn me before you say that word.03:37
twbDamm: you are an exim4 weenie? ;-P03:37
Dammand no i'm not a sendmail man03:37
Dammyes I'm a exim weenie03:37
twbHaha03:37
Dammexim4 > *03:38
Dammand you know it03:38
Dammand exim doesn't cause STI's (massive dirty writes)03:38
DammI really feel sorry for anyone who uses *warning* Postfix... I mean look at Fastmail.fm03:39
DammI remember when they went from Sendmail to Postfix because of the dirty writes that postfix forces... their load went from 3.0 to 115.003:39
Dammwith the same amount of traffic03:39
Dammand we all know why postfix does it too, which doesn't make it any better.03:39
Sam-I-Ami havent had too much trouble with postfix03:40
DammSam-I-Am, postfix doesn't trust ext3/ext203:43
twbThat's good, cos ext4 has a default commit interval of 30 minutes :P03:43
Sam-I-Ami use xfs03:44
Dammtwb, the problem with ext4 is that even with ext4... unless you have NVRAM and a BBU hooked up, it's still fail03:44
Dammif you don't understand why I'll save you from the rant... because you'll only make your ears bleed03:44
twbYeah, ext4 is funny03:44
Dammthe truth is all filesystems in linux are in the same fail03:45
Dammonce we can get to the VM and fix that hurdle03:45
Dammfilesystems can be stable again03:45
twbThough I can't remember when I last saw someone spell UPS as BBU03:45
zoopsterDamm, twb - you guys are fairly stupid apparently03:45
Sam-I-Amexcept xfs :)03:45
zoopstertelling a guy to put freshclam in cron?03:45
zoopsterwtf?03:45
Dammzoopster, I haven't touched clamav in years03:46
Dammso really03:46
Dammno thanks03:46
twbzoopster: actually, I asked a question.03:46
Dammand I always left a ? on it...03:46
DammSam-I-Am, unless you have a BBU with 512meg of cache hooked up to XFS... I wouldn't trust it03:47
Dammalthought XFS is better if you store the journal on another disk...03:47
zoopsterso that ? protects your id10t-ness?03:47
Dammzoopster, do you have a reason to be calling me an idiot?03:47
zoopsterYes03:48
Dammzoopster, I think the freenode gods would like it if you stfu already with your 'flaming idiot' comments.03:48
Dammhowever, if you'd like I'll give you a flash light and a plunger03:48
Dammyou know how to use those right?03:48
zoopsterand they don't care for your attitude and language either03:48
* Damm smiles03:49
DammIt's nice knowing that no matter where I go, I can find someone like that :)03:49
zoopsteryou always keep those tools around for your use, I take it03:49
zoopsterwith an attitude like that...it's no wonder03:49
ScottKzoopster: Your communication style is really inappropriate here.03:59
zoopsterMine? Scrollback a bit.04:00
ScottKzoopster: I think I read back enough.04:03
ScottKzoopster: There are better ways to communicate someone is not correct than calling them an idiot.04:03
zoopsterScottK: sorry, but after they lambasted several asking simple questions I had enough.04:03
ScottKOK.  Maybe then I need to go back farther then.04:04
Dammperhaps it was inappropriate to talk badly about ClamAV...04:04
zoopsterIt went on for several hours04:04
Dammokay then I clearly was not here then.04:06
zoopsterI'm not going to argue about it, I was wrong for calling Damm an idiot and I can tell that several were not too keen on the commentary that went on since I came in nearly 2.5 hours ago04:07
twbScottK: it would be reasonable to point out that Damm and I wandered wildly off-topic and were generally grumbling instead of helping people.04:18
Dammtwb, i'm guessing that was pretty unrelated.04:19
Dammhis anger seemed more pointed at something else04:19
twbDamm: granted.04:20
Dammtwb, usually when someone goes off like that... there's a reason, he was upset because of someone's behavior towards him.04:20
Dammdoesn't make his behavior any more justifiable04:20
Dammjust puts it in better perspective.04:20
ScottKtwb and Damm: I did just go back and read the last several hours of scrollback and you're both about 90% off topic for this channel.04:27
ScottKThis channel is for development and support of Ubuntu server.04:27
DammScottK, I presume then KVM and Ubuntu server is OT?04:27
Dammbecause that's how I joined04:28
ScottKDamm: Not at all.04:28
Dammas far as ClamAV I tried to be more factual then personal hatred of it.04:28
Dammas far as the other OT that's taken out of channel04:29
Damm:)04:29
ScottKAlso freshclam doesn't need a cron job.  Freshclam runs a daemon and the number of times per day it checks is managed via /etc/clamav/freshclam.conf.04:29
DammI wasn't aware of that, last time I was in Ubuntu LTS it did :(04:30
ScottKSo if you were aiming for factual, that didn't make it.04:30
Dammnah, that was wrong.04:30
DammI can admit that, and I wasn't positive if it did work in cron or otherwise.04:30
ScottKDamm: Oddly enough we've never made an LTS release that did that.04:30
FlannelDamm: One of the guidelines in Ubuntu channels is "When helping, be helpful."  Comments that aren't only contribute to noise, and make you seem pretentious.04:30
DammFlannel, thank you for that.  However one person at a time please :)04:31
DammScottK, well this release enabled it both in cronjob and otherwise.  I believe it had a dialog that asked me if i wanted to run Freshclam and said yes, and it shoved that in also.04:32
Dammbut that is over 2 years ago, so I just know I had both running from Ubuntu, nothing more.04:32
Dammso trying to pull facts out of 2 years ago when the servers are no more, is pointless.04:32
Dammand I will stop here.04:32
ScottKFair enough.  I don't want to run anyone off.04:33
DammNor do I, I just had my battle and won with KVM on Jaunty so I was glowing a little so it was my semi-celebration.04:33
Dammwhich is on my list now to help out with that documentation on the wiki04:35
Damm:)04:35
ScottKThat's good.  Docs always need updating.04:36
DammWell documenting libvirt/kvm is always a challenge as it seems different situations permitting it can vary on configuration04:36
DeiHello, anyone here familiar with ISPCONFIG?05:13
DeiHello, anyone here familiar with ISPCONFIG?05:30
oh_noeshow do I increase the number of open files a non root user can have?  Currently it's 102405:30
twboh_noes: ulimit?05:31
twboh_noes: a.k.a /etc/limit, I think05:32
jmarsden_oh_noes: /etc/security/limits.conf.  Add a line that says    *   hard   nofiles    204805:35
jmarsden_Then start a new login shell for the user concerned and ulimit -n should then say 2048.05:36
=== jmarsden_ is now known as jmarsden
oh_noesthanks I added it but instesd of *, it was for a specific05:37
oh_noesuser*05:37
jmarsdenSure, that should work too :)05:38
oh_noesI also needed to add a pam line to /etc/pam.d/common-session to actually make it work.  Which I found interesting05:38
oh_noesdidnt work without session required pam_limits.so05:38
Deianyone just familiar with DNS?05:39
DeiI want to run name servers under the same domain I will be hosting a website05:40
Deicant quite figure out what to do05:40
jmarsdenDei: what you call your nameserver hosts is pretty much irrelevant... ns1.example.com and ns2.example.com naming is common, but not needed... what are you really stuck on?05:41
Deiwell.. with my domain registrar, I added the two aliases i would be using for the name servers05:43
Deii was able to ping them previously.. but for some reason now I cant05:44
Deithat wouldnt be dependant on my system settings though, would it?05:44
jmarsdenWait... you told the registrar DNS for your domain is at ns1.whatever.com and ns2.whatever.com and you provided Ip addresses for each of them, right?  And you set up the server at the first IP as a master DNS server, and the other one as a slave?  and now you can't ping eitehr of them?05:45
jmarsdenCan you still ping them by IP address?  ping 1.2.3.4 or similar?05:46
Deiyeah. I just cleared out my configuration now...05:46
DeiI used bserv and cserv.loyalreliable.com05:46
Deiand they actually both pointed to the same IP Address05:46
Deibut since cserv and bserv are glued by my domain registar... it seems like it should still be pingable05:47
Deii can still ping the ip05:47
Deiwhat!!! weird...05:48
Deii just cleared my configuration 2 minutes ago05:48
Deiand now they are pinging again..05:48
jmarsdenI was about to say, dig bserv.loyalreliable.com works for me from here...05:49
Deiwell I cant be mad.05:49
DeiI was using this ISPCONFIG program... but I think i am going to abandon it05:49
jmarsdendig @cserv.loyalreliable.com bserv.loyalreliable.com.  gets me a REFUSED back...05:49
Deii just cleared my config when I uninstalled ISPconfig05:50
jmarsdenso cserv is not really giving out info to the general public (me) for the loyalreliable.com domain yet.05:50
Deihm05:51
jmarsdenOK, so now just create working /etc/named.conf files for each DNS server and a zone file for loyalreliable.com on the master, and you're all set... right?05:51
Deii suppose05:51
DeiI dont know how to do that yet though05:51
jmarsdenThen why are you trying to run DNS servers?  Learn on a test LAN, not on the public Internet :)  Until you learn, let your ISP handle DNS duties...05:52
Deilol05:52
Deino time to learn05:52
Deionly time to make it work05:52
Deiwould I have to edit my named.conf from /var/named/chroot/etc/named.conf?05:53
jmarsdenRead http://www.langfeldt.net/DNS-HOWTO/BIND-9/ and http://www.howtoforge.com/traditional_dns_howto and that should help.  And no, you can edit /etc/named/named.conf unless you have done something odd.05:55
Deii dont think i'm too odd05:56
jmarsdenHmmm, I just installed bind9 on Intrepid 8.10 desktop here and it is using /etc/bind/named.conf ...06:00
Deiyeah06:04
DeiI'm actually running fedora lol06:04
Deibut having trouble finding people to help06:04
Deiubuntu is on my laptop though ;]06:04
jmarsdenFedora is not recommended as a server OS... use CentOS if you must go the way of RPM on your servers...06:05
Deihm06:05
Deimaybe i'll put Ubuntu Server on06:05
Deistart with a fresh pallet06:05
jmarsdenThat would make this a better place to ask your questions :)06:05
Deilol06:05
jmarsdenhttps://help.ubuntu.com/8.10/serverguide/C/ is a good starting point if you are new to Ubuntu Server.  And be sure you select the "DNS Server" task from the task list during the install... so you'll have the relevant software installed for you.06:09
Deiyeah06:09
DeiI might go ahead and put Ubuntu Server on there06:09
Deiyou know how you set the host name06:09
Deidoes that actually have any affect06:10
Deii.e. am I required to have that matching06:10
jmarsdenNot for DNS service to work, no.06:12
Deiwhat cases would that be necessary?06:12
Deiif you had a large internal network?06:12
Deiwith an internal DNS06:13
jmarsdenWeb hosting with virtual web hosts, email unless you mess in extra detail with config files... DNS requests go to an IP address and a well known port number, so you can name the server host(s) whatever legal hostname you choose.06:14
Deihm06:15
DeiI'm going to be doing vhosts06:15
jmarsdenMost people name the host whatever fits their naming scheme, but register aliases like ns1 and ns2 for DNS server names, so they can move DNS around among their servers if they want to.06:15
Deiim going to run my primary and secondary dns on the same system ;o06:16
Deiand then hopefully host 100 sites06:16
jmarsdenYou are nuts.  Or your customers are, to trust you, if you only run one DNS server... at minimum use a free secondary DNS host like editdns or granitecanyon or whatever...!06:18
Deithats what ive seen recommended06:19
Deii'll check editdns06:19
DeiI mean..06:19
DeiI would run 2 servers.. but we would be  behind the same internet connection06:20
Deiso I didnt see a purpose.. baring Hardware failure06:20
jmarsdenYour two DNS servers are supposed to be on separate subnets on different upstream connections...06:23
jmarsdenYou can get a small virtual private server for this kind of use for about US$15/month if you don't want to use a free secondary.06:23
DeiI'm taking a look at opendns here now06:24
Deii just assumed06:25
Deiif dns and web are on the same server06:25
DeiDNS wouldnt be down unless Web is down06:25
Deiand if Web is down... then why would DNS still need to be up06:25
DammIt's fairly easy and inexpensive to keep a DNS server on a secondary server06:25
DammI'm not sure if I share the same views as a different subnet/upstream.  However, I do share the views about having a secondary DNS server that's not running on your main websites box06:26
DammI know certain NIC's love to make you do crazy things (like DENIC)06:26
Deii kind of get it06:26
Deibut if Web is down, then what benefit would it be to keep DNS working06:27
Deiunless we had backup webservers06:27
jmarsdenDei: So you can quickly get a VPS from somewhere else and change your DNS to point all your customers to the new host!06:27
Deihm06:27
Deiok ok06:28
DammDei, mainly it's nice to have DNS on a secondary server so that when your website is getting pounded, your dns does not suffer.06:28
Dammthat's one of the biggest benefits, a low TTL to move it to another IP is also good06:28
Damm:)06:28
Deinow i think im getting it06:28
Deifor instance06:28
Deiif we had a disaster06:29
Deiand web would be down for a week06:29
DammDei, I always plan for failure... and hope for success.06:29
Deiyeah06:29
Dammthat way when the worst happens, you know what to do and handle it.06:29
Deii'll start doing the same06:30
Deisounds like good practice06:30
Deido you guys know of any shell providers06:30
Dammto stray OT a little, It's better to realize your failure points, and address them now when your smaller.  Then when your trying to grow leaps and bounds, and you can't get ahead because you didn't spend the time earlier.06:30
Deior VPS... if thats the same thing or not I do not know06:31
DammHonestly, I'm lazy.  I use Akamai for my DNS Needs.  I have Powerdns setup using MySQL for a backend, it just transfers my zone every 30minutes and deploys it on their DNS servers.06:31
Dammnot exactly cheap06:31
Dammbut you can get a Slicehost.com account for 10$/month06:31
Dammand they're okay.  There's some latency issues at odd hours, but overall it's been reliable.06:31
Damm</OT>06:31
Deilol06:31
Deiwe are the topic06:31
jmarsdenDei: slicehost, linode, johncompanies ... and yes this is all OT for #ubuntu-server06:32
twbjmarsden: is there a channel for that?06:32
jmarsdenI'm not sure, on freenode... which is basically all about open source software...06:33
Deihm... Akamai with PowerDNS?06:33
Deiit seems like bind might be easier initially, since I wont have to bother with SQL06:35
DammDei, it's OT... if you wish to discuss that conversation further you can /query me.06:36
twbjmarsden: well, is there an #ubuntu-offtopic or -chat or something?06:36
twbjmarsden: my point is it's better to direct people elsewhere for OT than just to tell them to shut up (paraphrasing).06:36
jmarsdenThere is #ubuntu-offtopic, yes.06:37
jmarsdenI do not see any channels specifically about finding good VPS or shell host providers here on Freenode, which is what I thought you were asking.06:38
twbjmarsden: that was my initial question, yes06:43
twbFailing that, directing people to a generic "noise" channel seems advisable06:43
jmarsdenTrue... in this instance, by the time I had searched the channel list for a few appropriate keywords, they'd apparently already taken it to private messages :)06:44
Dei:)06:46
_law_hi guys i wanna ask that how to list the package that installed in ubuntu server06:54
friartuck_law_ dpkg -l | grep ii | grep foo06:56
_law_friartuck, ii  n foo r the name of the package?06:57
friartuck_law_ dpkg -l | grep ii  #to list all installed pakages. make sense?06:57
_law_ooo06:58
_law_ok i try it now06:58
friartuckfoo is case sensitive06:58
friartuck^whatever your package name...foo is example :)06:58
uvirtbotfriartuck: Error: "whatever" is not a valid command.06:58
_law_thx friartuck06:59
_law_:)06:59
_law_now i have another question06:59
_law_in my box i have libtomcat6-java, tomcat6, tomcat6-common installed , but when i tried to deploy  a war file in the tomcat webapps it won't be deployed, is there any other tomcat package that i have to install, to make it works?07:01
_law_in my box i have libtomcat6-java, tomcat6, tomcat6-common installed , but when i tried to deploy  a .war file in the tomcat webapps it won't be deployed, is there any other tomcat package that i have to install, to make it works?07:02
friartuck_law_ I'm not tomcat pro...have you looked here? https://help.ubuntu.com/8.10/serverguide/C/tomcat.html07:03
_law_ok friartuck, thx07:03
_law_hmm i think i already installed the needed tomcat package , but still i can't deploy the hudson.war07:07
_law_XD07:14
_law_guys i want to deploy a .war file in tomcat n i have installed java, libtomcat6-java, tomcat6, tomcat6-common. but the war file can't be deployed. what should i do?07:16
twb_law_: is there any error message?07:17
_law_ The requested resource (/hudson) is not available.07:18
twbBummer.07:18
twbI don't do tomcat, so that's about all I can suggest, sorry.07:18
_law_it seems the hudson.war not deployed07:18
_law_Bummer?07:18
_law_what's that?07:19
twbIt's a surfer term meaning "bad"07:19
_law_twb07:19
ttx_law_: what release ? intrepid ?07:19
_law_that's ok07:19
_law_ttx it's intrepid07:20
krautmoin07:20
jmarsden_law_: You might want to try asking in #tomcat ?07:20
_law_oh thx jmarsden07:20
ttx_law_: what are you doing exactly to deploy07:20
_law_just as usual put the war file in the webapps folder then restart tomcat07:21
ttx_law_: it may well be related to our way of doing things... so better ask here (to me) first07:21
ttxwhich webapps folder07:21
_law_tomcat07:21
ttx/var/lib/tomcat6/webapps ?07:21
ttx/usr/share/tomcat6/webapps ?07:21
_law_'/usr/share/tomcat6/webapps '07:21
ttx_law_: CATALINA_BASE is /var/lib/tomcat6/webapps07:22
ttx_law_: so you should deploy webapps there07:22
ttx_law_: otherwise you should have a deploy descriptor in /etc/tomcat6/Catalina/localhost07:22
Damm_law_, if you can't deploy a WAR you should find out why you can't deploy it07:22
_law_ in my box i only install libtomcat6-java, tomcat6, tomcat6-common07:22
Dammbecause more then likely tossing it in there, will not guarantee it working07:22
_law_ttx i'll try it now07:23
Damm... if you go to the /manager ui, and you can't deploy a WAR that way, shoving it in /var/lib/tomcat6/webapps won't make it run07:23
Dammbut ensure you restart tomcat6 after you put the WAR there07:23
Dammand best of luck :)07:23
ttxDamm: in fact we do autodeploy in Jaunty, so he wouldn't really need to restart :)07:24
ttxwith Intrepid... I think it would work as well.07:25
Dammttx, neat.  Well gosh dangit it's been awhile sinc eI ran tomcat607:25
ttx(for war dropped in /var/lib/tomcat6/webapps)07:25
Dammthanks for letting me know though so i know in the future :)07:25
Dammbut I promise I'll never install tomcat ever again in my life.. </OT>07:26
ttxDamm: never say never...07:26
_law_great ttx i put the war in '/var/lib/tomcat6/webapps' n it's deployed :D07:26
Dammttx, although to be more on topic... i'm kinda suprised that it's not suggested to use jetty07:28
Dammor tomcat6 being deprecated for jetty07:28
_law_hmm i thought i must put in '/usr/share/tomcat6/webapps'07:28
Damm_law_, nope, that's different spot07:28
Damm:)07:28
ttx_law_: we are using a CATALINA_HOME / CATALINA_BASE deployment, like descibed in tomcat RUNNING.txt doc07:28
ttxCATALINA_HOME (/usr/share/tomcat6) contains binaries07:28
_law_so to deploy must pit in 'var/lib/tomcat6/webapps' i got it now07:28
_law_put07:28
ttxCATALINA_BASE (/var/lib/tomcat6) contains instance-specific stuff07:28
_law_thx ttx, Damm07:28
ttxyou can use package tomcat6-user to deploy more (private) instances07:28
ttxdifferent CATALINA_BASE, same CATALINA_HOME07:29
ttxDamm: why jetty ? We don't even have jetty6 packaged ?07:29
_law_ttx after i put in the '/var/lib/tomcat6/webapps ' i must restart thr tomcat 1st , if not it won't deploy  any war07:30
ttx_law_: possible, autodeploy is a new feature in Jaunty07:30
_law_oo07:31
_law_ic07:32
_law_hmmm ttx07:32
_law_u ever use hudson07:33
ttxsorry, no. My knowledge stops at tomcat6 packaging.07:33
_law_now i'm trying to deploy the hudson.war then it deployed n created the folder named hudson but when iwant to acces it via http://localhost:8080/hudson07:34
_law_i get http 40407:34
_law_description The requested resource () is not available.07:34
_law_but the other war works07:35
ttx_law_: I suppose it needs some more precise URL, like http://localhost:8080/hudson/html/index.jsp07:35
ttx(wild guess)07:35
Dammttx, no clue, I'll be honest it's been about 2years since I ran Ubuntu, and I started running it again this week07:39
Dammso I have alot of catching up to do07:39
* Damm has been sitting with RHEL for Production and Gentoo for development.07:39
DammI believe that is the full yin and yang cycle </OT>07:40
_law_oo07:40
_law_i try it now07:41
_law_hmm it's not working XD07:46
Damm_law_, yep it's there.  afaik it was basically licensing that forced the tomcat/jetty hand if you were curious.07:46
Dammit's a bit different of a setup though i believe07:46
_law_hmmm07:46
_law_i 've deployed hudson.war in windows tomcat n it just simply put in webapps then when i access it via web browser it can be accessde07:48
_law_but in ubuntu sever is not working XD07:49
_law_guys which file in /etc/default to edit if i want to disabled tomcat  security manager?08:02
ttx/etc/default/tomcat6 -- TOMCAT6_SECURITY=no08:03
_law_oh thx ttx :)08:03
ttx_law_: not recommended except for testing/debugging, of course08:03
_law_hmm the in the hudson webpage tell to do that so i try it now08:04
ttx_law_: well, it's difficult to get security profiles right and they are an endless source of funky errors.08:05
_law_ic08:05
_law_ok now i'm trying to open the deployed hudson again XD08:06
_law_hmm it works but08:06
Dammbut?08:07
_law_have other  error XD08:07
_law_the hudson now canbe accessed but on the page is written08:07
_law_Unable to create the home directory '/usr/share/tomcat6/.hudson'. This is most likely a permission problem.08:07
Dammtomcat may not be able to write there08:08
_law_hmm ya i guess so08:08
ttx_law_: ah. application makes unreasonable assumptions on how unsecure your setup could be08:08
Dammthat's the common problem with some WARS that fail to install, they do something funky with $datadir08:08
_law_wat so u mean ttx?08:08
ttxwell, it wants to create a directory under $CATALINA_HOME with the rights of the webapp. We usually confer limited rights to webapps, and those don't include changing stuff in the main directories08:10
_law_then wat should i do XD08:10
Dammttx, i ran into a blog that did something worse... trying to write to /home/tomcat by default :(08:11
ttx_law_: any way to change that directory location ? If not try creating it manually and make it owned by the tomcat6 user08:11
Dammttx, he has to unzip the WAR and modify the xmlfile that defines that location08:11
Dammand then re-pack it08:11
ttxDamm: convenient :)08:11
Dammif you prefer to not do that, unzip the WAR, and modify the xml file08:11
Dammand then login to the manager and tell it to start it08:12
Dammand it should start then08:12
_law_hmmm so  which is te easiest way?08:12
_law_:D08:12
Damm_law_, define easy?08:13
Dammin less then 10 steps? cd /var/lib/tomcat6/hudson08:13
Dammit should be under WEB-INF08:13
_law_hmm08:15
Dammi think08:16
* Damm is looking at the WAR now08:16
Dammit may be the ${basedir} crud in META-INF/tab/tab/pom.xml08:17
Dammbut doesn't click in the brain08:17
* Damm looks further08:17
Dammfound it08:18
Dammload up WEB-INF/web.xml08:19
Dammline 141 or so08:19
_law_then?08:19
Dammif HUDSON_HOME is not defined it defaults to your home directory08:19
Dammand guess what the tomcat users home directory is?08:19
_law_what?08:19
Damm... if you guessed /usr/share/tomcat6 you win a cookie08:19
_law_oh08:20
Damm    <env-entry-value></env-entry-value>08:20
Dammput a value in that.08:20
_law_wait i open it now08:21
_law_aaaaaaaa , i'm using nano how to find the line 141 easily XD08:22
jmarsdennano +141 filename08:22
_law_oh i just knw that   tips thanx very much08:23
_law_u want me put wat value ?08:24
_law_oh08:24
_law_someone in #tomcat give me the answer08:25
Dammwhat was the answer he gave you?08:27
Dammset HUDSON_HOME?08:27
_law_still chatt with him XD08:27
_law_hmmm they tell me to set HUDSON_HOME to the dir that tomcat user have full privillge  in it08:31
ttxHm. I would rather create a directory in which the tomcat user has full privilege. a tomcat6:tomcat6 /var/lib/hudson for example08:32
_law_ttx, how do iknow that some user has full privilege in any dir?08:33
ttx_law_: by looking at the owner/group of a directory. sudo mkdir /var/lib/tomcat6/hudson && sudo chmod tomcat6:tomcat6 /var/lib/tomcat6/hudson08:35
_law_oo08:36
_law_thx08:36
_law_i try it now08:36
Dammit's trying to write to /usr/share/tomcat608:38
Dammwhich if you check /etc/passwd should be your homedir in the gecos08:39
_law_ gecos?08:39
_law_hmm wat is the corect form for chmod08:46
_law_i'm getting invalid error mode08:47
Dammbecause chmod doesn't change user/group08:47
Dammthat's chown08:47
_law_ooo08:47
_law_ok i got it08:47
Dammchmod only accepts numbers, such as chmod 074008:47
ttxah hm, yes, sorry.08:47
ttxtypo up there08:47
_law_ok nvm08:47
_law_;)08:48
uvirtbotNew bug: #349014 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 None [modified: /var/lib/dpkg/info/mysql-server-5.0.list] failed to install/upgrade: Unterprozess pre-installation script mit Signal (Broken pipe) get?tet" [Undecided,New] https://launchpad.net/bugs/34901408:51
* Damm needs to find his mysql 5.1 debs08:51
_law_it's not working :(09:01
_law_hmm i'm  tring to export the hudson home again coz it seems the hudson home is not changing09:04
Dammit won't because hudson home is tomcat's home directory09:09
_law_no09:10
_law_as root09:10
Dammuntil you change the file I mentioned, the line I mentioned... you will not win without just doing a horrible chmod -r tomcat:tomcat /usr/share/tomcat609:10
Dammyou don't run tomcat as root09:10
_law_i mean  as root i have done  export hudson home to  xxx09:10
_law_then i restart tomcat an acces via web browser  n it success  w09:11
_law_but09:11
_law_when i restart my servere09:11
_law_my server09:11
Dammyou would have to export HUDSON_HOME in your tomcat startup script09:11
Dammin the same line that starts the tomcat instance09:12
_law_n i just go straight access  the hudson wb it gets the same error again09:12
DammHUDSON_HOME=/tmp /usr/libexec/tomcat609:12
Damm(example, not accurate)09:12
Dammand i've said my peace and how to fix it, good luck.09:12
_law_hmm u mean i need to  export hudson home by adding line in /etc/init.d/tomcat6?09:13
DammI would rather you just fix web.xml09:13
Dammand slap the maintainer of hudson for making you do it09:13
_law_haha09:14
Dammassuming that CATALINA_HOME is writable is bad dumb, stupid.09:14
_law_maybe the maintainer only test it on windows09:14
Dammwrite to where you install the war, or give it a configuration option to set it... so it doesn't make you do this09:14
Dammbut this is an old java issue09:14
Dammthat won't get fixed by us talking09:15
_law_hey if wanna edit the web.xml?09:15
_law_wat should i do?09:15
Dammusually I just do mkdir -p /var/lib/tomcat6/webapps/hudson/data09:16
Dammfor example09:16
Dammand then set in that file that folder09:16
Damm(and make sure tomcat/tomcat owns it)09:16
_law_ooo09:17
matttevening all09:17
_law_hmm i already done editting the tomcat startup script now try to reboot server09:17
_law_hello mattt :)09:17
Dammyou do have a pension for punishment _law_09:18
* mattt feels sick at the sound of tomcat09:18
_law_a pension for punishment? wat do u mean? Damm09:18
Damm_law_, you are picking the most painful ways of resolving this issue.09:19
Dammwhy is that?09:19
_law_hmm did i?09:19
Dammediting /etc/init.d/tomcat6 should be your last resort09:19
Dammvery last09:19
_law_hmm i already done it though09:20
_law_ohh noooo09:21
twbDamm: s/pension/penchant/09:21
_law_my tomcat not starting now09:21
Dammthat's a shocker09:21
_law_'/etc/init.d/tomcat6: 29: /var/lib/tomcat6/hudson: Permission denied'09:22
=== Zerqent_ is now known as Zerqent
_law_i just at the HUDSON_HOME= xxxx09:22
_law_XD09:22
Dammoh how that so fails09:23
Dammheh09:23
_law_help09:23
_law_how to fix it then?09:23
_law_XD09:23
_law_i've wasting whole day 4 setting hudson in ubuntu server09:24
DammI'd suggest start by scrolling up09:24
_law_scrolling up?09:25
_law_u mean undo all i've done?09:25
_law_what shoul i do then/09:26
_law_?09:32
DammNot sure what your expecting me to say.09:33
_law_hmm now i'm trying to set the env variavle in my .bascrh09:34
_law_u think that will work? Damm?09:35
Dammnope09:35
Dammyou are so cold it's not even funny.09:35
_law_why?09:35
_law_so the last step i need is to set the hudson home permanently09:36
_law_if i do it by execute export HUDSON_HOME=xxxx09:37
_law_it oly works 4 that session only XD09:37
Dammyou can export whatever you want09:37
Dammit only works in that shell, and once setuid or su is called09:37
Dammthat enviroment is not inherited09:38
Damm(unless you tell it to)09:38
_law_so what should  ido?09:38
Dammthere's a file I mentioned about 5x if you scroll up09:38
DammI even mentioned about what line to edit09:38
shally87hi..09:38
Dammand now I'm 100% done.09:38
Dammhi shally8709:38
_law_hi too09:39
shally87I would like to ask hod do i access my lamp server in vbox?09:39
shally87i do port forward but there is nothing happen09:39
shally87was using router dlink model dsl-500t09:39
shally87and i follow  the instruction here http://portforward.com/english/routers/port_forwarding/Dlink/DSL-500T/HTTP.htm09:39
matttshally87: IIRC, if you forward the ports while the VM is running you need to reboot?09:40
shally87reboot the vm..09:41
shally87ok tq..09:41
matttwait!09:41
matttsorry09:41
mattti thought you meant forward ports using VBoxManage09:41
_law_Damm u mean edit the line 14109:42
_law_i'm doing it now09:42
krautmy open-iscsi daemon is still flooding the filer with message like this: Fri Mar 27 10:36:20 CET [is@iscsi.notice:notice]: ISCSI: New session from initiator iqn.1993-08.org.debian:01:c3f22ca89d75 at IP addr XXX09:42
krautdoes anybody know why?09:42
shally87ok09:43
shally87i use router to forward?09:44
shally87i use router to forward..09:44
shally87ok my condition is like this;09:45
shally87i got 1 cpu which i run a vbox inside...09:45
shally87and i have lamp server running09:45
shally87and a router outside with a dynamic ip..09:45
shally87so i want to access the lamp server by typing the dynamic ip09:45
shally87how to do that??09:45
shally87I found the port forward but it is not working09:46
shally87and my lamp server has it's own ip09:46
shally87which i not using NAT09:46
Deiyou could enable the DMZ for a second just to test the forwarding09:47
Deiotherwise it must be an issue with the port forwarding; such as correct port# or tcp/udp09:48
shally87hmm09:49
shally87if i allow dmz, this means i only able to forward 1 vm..09:49
shally87any difference between tcp and udp?09:50
Dammhttp?09:52
shally87hmm09:53
shally87brb09:53
tjaaltonkirkland: seems that update-motd is racy, sometimes I get motd.tail twice09:57
simplexiohas nayone idea why my server now and then fails to answer ssh.10:00
simplexioReceived disconnect: 2: server_input_channel_req: unknown channel -110:01
simplexiousually first connect from remote server fails at morning. second try works. server is "home" server. i have something like 6 connections allways open and i open one at every mornign10:02
simplexioand connection is coming from "far away", nwer got that when connecting from desktop which is one hop away10:03
krautmy open-iscsi daemon is still flooding the filer with message like this: Fri Mar 27 10:36:20 CET [is@iscsi.notice:notice]: ISCSI: New session from initiator iqn.1993-08.org.debian:01:c3f22ca89d75 at IP addr XXX10:05
krautdoes anybody know why?10:05
shally87hi again10:06
shally87i try but nothing works10:06
shally87any specific channel for port forwarding?10:06
_law_ok bye all go home time10:08
_law_thx 4 helping10:08
krautubuntu and iscsi is teh sucks!10:19
Ethosit's good10:23
krautit's not working10:23
Ethosit's not hard?10:23
krautand if you restart the iscsi intiator, nothing happens10:23
Ethosinstall it and connect10:23
krautand now my system hangs again10:23
Ethosuser error10:24
Ethosworks perfect for me over ssh10:24
krautuser error, nice answer... really!10:24
EthosIt's true10:24
EthosI know tonnes of people that use it10:24
krautand why the hell is it flooding the filer with messages like this: Fri Mar 27 10:36:20 CET [is@iscsi.notice:notice]: ISCSI: New session from initiator iqn.1993-08.org.debian:01:c3f22ca89d75 at IP addr XXX10:24
EthosNo idea10:24
EthosSounds like you cocked it up? lol10:24
krautwe have tons of centos-systems wich are running like a charm10:24
krauttotally... do you have any other useless comments?10:25
EthosDo you?10:25
=== dazman_ is now known as dazman
domasgoddamnit, us.archive.ubuntu.com is soooo slow, people should learn from european mirrors  :)12:19
Jeeves_domas: The U.S. Should learn from the rest of the world in lots of situations :)12:38
ScottKJeeves_: Could we keep this about Ubuntu Servers please?12:38
Jeeves_ScottK: I was not interested in a useless discussion about the US. it was just a remark.12:39
ScottKJeeves_: OK.  I'm not either and I really don't appreciate it.12:40
Jeeves_ScottK: ok .....12:41
domaswe have local hardy mirror, so I somehow never noticed problems =)12:42
aciculathought ubuntu already defaulted to a local mirror when installing12:43
domaswell, by "local", I mean "one in LAN"12:44
Jeeves_domas: Join #ubuntu-mirrors12:45
Jeeves_we can make jokes about the us there too :)12:45
domasI just pressed 'ok' too fast when doing netinstall12:46
domasI'm testing a nehalem box12:46
domaswanna see how much difference sse4.2 optimized kernels/software can make12:46
aciculadepends on what you are doing iirc12:49
aciculasome benches so little improvement, some show a lot12:49
acicula*show12:49
aciculathough i'm guessing your playing with the server variant?12:50
domasye12:50
aciculadoesnt it come with more cache then the i7?12:50
domashttp://p.defau.lt/?6owFTijFM99gLtSMBDcdqA12:51
aciculaheh that's an awesome domain12:51
giovaninot quite as cool as the cook islands :)12:52
aciculadual socket system?12:52
domasye12:52
aciculanice12:52
domasI wanted to get fau.lt though12:52
domasbut some squatters had it :)12:52
* acicula scratches head over what country goes with lt12:53
giovaniLithuania?12:53
giovanithat's all I can think of without looking it up12:53
domasthats correct :)12:53
domasI always like to do-release-upgrade over the atlantic12:55
giovanigetting ready for jaunty? :)12:55
domasshiiiit, sshd didn't come up after restart12:56
domasbad part - I didn't set root password12:56
domasso my ssh keys don't really work12:57
aciculaheu12:57
aciculadont need a password if you have a key?12:57
domaswho needs passwords12:58
aciculaare you using services from hostex?12:59
domassome, why?13:00
aciculajust curious about their service, but cant really make heads or tails of their page13:00
aciculawas wondering if you knew of an english version13:00
domasyou need hosting in lithuania? :)13:01
domasinfo@hostex.lt would work, I guess13:01
domasthey run main datacenters here13:02
domaswhy can't I get into grub :)13:03
quizmehas anybody upgraded to ruby 1.9.1 ?13:03
domaswoo, success13:03
aciculadomas: not specifically in lith, but somewhere in the eu is fine if connection is decent13:03
aciculadomas: gratz :)13:03
quizmedo i have to reinstall ruby gems if i just upgraded to ruby 1.9.1 ?13:03
domassuccess was mostly for getting into grub screen13:05
aciculawell you are halfway there then13:05
domassomewhat difficult with text and background having same color13:05
acicula:/13:05
domasdamn, missed again13:06
domaswhy the heck doesn't ssh come up :)13:06
aciculanetwork started?13:06
domasyup13:07
domasresponds to ping :)13:07
aciculacan do a local logon?13:07
domasno, there's no password13:07
domashave to reset it :)13:07
aciculaboot in single user mode13:07
domasI tried init=/bin/sh, probably too old trick13:08
aciculano user with admin rights set either?13:08
aciculainit=S i think13:08
aciculanot sure13:08
domasghm, what is 'recovery mode'13:08
domaswhat happens if I boot in 'recovery mode'? :) never tried that13:08
aciculaerr that lets you drop to a shell too13:08
aciculadunno if you need a pass13:08
aciculahey these guys are pretty cheap too, whats your experience with them13:09
domasI used to run systems dept. for that company once upon a time :)13:09
aciculaah13:10
domasanyway, it has good connectivity to .lt13:10
domasand as .lt is in europe's ass13:10
aciculai know :)13:10
domasit probably isn't good for european hosting13:10
domasI use server4you.de myself13:10
aciculawell i'm mostly using my vps to dial out, not so much incomming traffic so13:10
aciculadomas: they look pretty nice as well, should've searched better before i guess13:12
domasarghhhh13:13
domashttp://p.defau.lt/?QjLfEsw_0yGjAp582inyLQ13:13
acicularoot13:14
aciculadrop to shell?13:14
aciculaohcrap13:14
acicula:D13:14
aciculahttp://www.cyberciti.biz/faq/grub-boot-into-single-user-mode/13:14
aciculatl;dr boot grub edit kernel line, add single13:15
aciculawait, that also drops you into giving the password13:15
aciculaboot from cd and chroot into the server?13:15
aciculamaybe you can override the init?13:16
domasthats what I tried at first :)13:17
domasso sad :)13:19
anelephantHI, I have a problem with a bin9 server. It seems to resolv internet querys well. However I have some problem with some xp machines that is not able to use it. When I do nslookup it gives error message: server failed13:22
anelephantanyone have any smart Ideas?13:23
aciculawhat does the log say13:24
domaslol13:27
domasI just had lots of amusement in #ubuntu13:27
anelephantI haven't set up a log, I'll do that now.  named-checkzone works out fine on both reverse and forward zones, and there is net access on all machines however some machines are not able to access other machines by name, only by IP. I'll get back to you with the results from the log.13:29
domasthis is epic13:34
domashttp://p.defau.lt/?kuELtwBBr6cZKpr8mR7G2g13:34
aciculalol, read the first line, dont need to read the rest13:39
aciculaboot something and chroot13:40
aciculaadd a user :P13:40
aciculaif you boot in single user mode, wont pressing enter for a password work, since there isnt a root password?13:41
anelephantso I seem to have been able to find the problem with my bind9 server. when The server tries to load the zone file it gets : permission denied. Now I guess I am sounding noobish but how do I set the permissions for the file so that bind can access it?13:52
zulanelephant: chown13:53
anelephantyea, but what permissions should the file have?13:54
aciculawell read as the user or group,13:56
anelephantok, thanks acicula!13:56
domasok, hahaha, apparently init=/bin/dash is also correct way, it just doesn't print you shell13:56
domasbut listens for commands13:56
aciculaso you gots root back13:57
aciculat00t13:57
domaswell, it doesn't have terminal initialized, just pure stdin/stdout13:59
domasso, 'passwd' doesn't work :)13:59
acicula/sbin/passwd14:00
aciculaprobably have no path set?14:00
domaspasswrd uses terminal i/o, not stdin14:01
aciculacan use useradd with options to add a user and add it to the admin group perhaps?14:02
domasusermod -p works14:04
domasoh well, it works now14:04
aciculait's not added to the admin group by default14:05
aciculaso you have to specify or change that14:05
domasI just set the password :)14:18
incorrectI am wondering what the best method of setting up samba is,  I feel i should use pam authentication14:25
incorrectif I use ldap then it seems a use has to maintain two passwords14:25
infinitySamba can't auth against PAM, but you can go the other direction.14:25
infinitylibpam-smb allows all your other PAM-using services to authenticate against Samba.14:26
incorrectI am sure i once had use pam to get its user db14:26
infinity(You can't do it the other way because SMB clients send passwords pre-encrypted, and Samba passing an encrypted password to PAM would do no good)14:26
kirklandtjaalton: hmm, i just took a quick look at the code, and i don't see the race14:26
kirklandtjaalton: please file a bug, and give as much information as you can about what situations you see the race14:27
incorrectok so what ever protocols can i use to serve home directories to linux,macs and windows?14:29
tjaaltonkirkland: does it run twice at *:00 ?14:30
giovaniincorrect: well ... windows likes SMB/CIFS14:30
tjaaltonkirkland: maybe I'm reading the cronjob wrong, but it appears so14:30
giovanilinux/mac can handle SMB/CIFS with samba14:30
giovanilinux/mac can handle NFS more easily though14:30
giovaniwindows can handle NFS with some software14:30
incorrectis there anything else14:31
giovanitheoretically, sure14:31
giovanithose are the big ones14:31
giovaniunlikely the other options would work well14:31
incorrectwhat about webdav?14:31
giovaniit's not a filesystem replacement, but it's a way of sharing files, sure14:31
giovanilike ftp is14:31
incorrectprobably samba is the best method14:32
giovanijust depends on your needs14:32
geniiI have to sat that the unix tools for windows really really suck, however14:33
geniisat -> say14:33
giovaniindeed, but they're not the only solution14:34
giovaniso you're not forced to use them14:34
incorrectok i will get samba going14:34
kirklandtjaalton: can you pastebin your cronjob?14:36
kirklandtjaalton: i'm running update-motd from HEAD, which isn't in jaunty14:36
kirklandtjaalton: (inotify-based update-motd :-)14:36
tjaaltonkirkland: it's what's in jaunty14:37
tjaaltonhave to go now.. ->14:37
anelephantHi I have been struggeling with my bind server giving permission denied on my zone files, Ive tried making root owner and bind owner but it doesn't seem to work.. Any ideas?14:49
sommeranelephant: check /var/log/syslog for apparmor entries... have you changed the default location of your zone files?14:55
NEWzillai love the debian way to manage apache...  thanks guys!14:59
NEWzillathe sites-enable sites-disable and the a2en* commands. nice..14:59
giovaniNEWzilla: we love it too :)15:04
=== hessml|away is now known as hessml|away|away
ScottKkirkland: I like the packages to be updated count on login in Jaunty.  That was you that did that, right?15:18
kirklandScottK: ack ;-)15:19
ScottKSo thanks for that.15:19
kirklandScottK: if you want to see that number tracked on an hourly basis, run the fancy new screen-profiles15:20
jpdskirkland: Is it a known bug that screen-profiles does not work with screen's 'altscreen on' option?15:21
kirklandjpds: not sure...  i dunno what altscreen does... /me checks the manpage15:21
jpdskirkland: It clears up any output screen gives on closing/detach.15:22
jpdsSo instead of seeing backlog, you just see [screen detached].15:22
kirklandjpds: so if you put that in your .screenrc15:23
jpdsIt doesn't work.15:23
kirklandjpds: and you're running screen-profiles, that option is not respected?15:23
* kirkland tests15:23
jpdsYeah. :(15:23
kirkland        altscreen on|off15:24
kirkland 15:24
kirkland        If set to on, "alternate screen" support is enabled in  virtual  termi‐15:24
kirkland        nals, just like in xterm.  Initial setting is ‘off’.15:24
kirklandthat's a terrible explanation in man15:24
jpdskirkland: You can test it using my old screenrc: http://ryanak.ca/~jpds/screenrc15:27
kirklandjpds: yeah, i've reproduced the problem15:27
kirklandjpds: please open a bug15:27
kirklandjpds: you can mark it 'confirmed', and priority 'medium'15:27
kirklandjpds: i'm working on a couple of critical mdadm and kvm issues at the moment, but i'd really like to get this fixed15:27
kirklandjpds: in the case where you can figure out the problem, i'm definitely all ears, and will gladly merge a fix ;-)15:28
Tuxist1hi15:29
Tuxist1I have problem with kerberos ,pam and nfs when I mount the nfs volume I can't login into my kerberos user with pam15:30
jahorhi anyone know some resource (wiki, web etc) about documenting network infrastructures and server environment ? in last days i create doc for one of our larger deployments with more servers and many services and i could not find a sane way to document dependencies betwen components (my idea is keep all in one wiki)15:33
jpdskirkland: Bug filed, I'll take a look into the source too.15:33
kirklandjpds: thanks a lot15:34
jahorbtw anyone know about some tool like lintian for checking server configuration (something like checking all disk partitions are in nagios configuration, regexp based check of some config files etc)15:34
kirklandjpds: i suggest removing chunks out of your screen-profiles profile15:34
kirklandjpds: until you get it down to the point where altscreen works again15:35
kirklandjpds: and then we can identify the conflicting option15:35
kirklandjpds: does that make sense?15:35
kirklandjpds: okay, i found the problem-setting15:37
kirklandjpds: termcapinfo xterm* ti@:te@15:37
jpdskirkland: Yep, will do... thought it might have been that.15:37
kirklandjpds: perhaps you can do a bit of research and find out how to get altscreen and termcapinfo compatible with one another?15:37
kirklandjpds: i would be so appreciative ;-)15:38
jpdskirkland: Sure.15:38
kirklandjpds: cheers, dude!15:38
mathiazkirkland: I'm running screen-profile 1.40 on my hardy server.15:39
mathiazkirkland: the number of updates is incorrect.15:40
mathiazkirkland: how can I fix that?15:40
kirklandmathiaz: \o/15:40
kirklandmathiaz: hit F5-enter15:40
kirklandmathiaz: that'll refresh all of your status indicators15:40
mathiazkirkland: nope - still wrong15:40
kirklandmathiaz: okay, then run apt-get update15:40
kirklandmathiaz: and then F5-enter15:40
mathiazkirkland: apt-get update; apt-get dist-upgrade shows nothing15:40
kirklandmathiaz: oh, hardy ....15:41
kirklandmathiaz: hardy doesn't have the hook to update /var/run/updates-available on upgrade15:41
kirklandmathiaz: rm ~/.screen-profiles/updates-available15:41
kirklandmathiaz: then F5-enter15:41
kirklandmathiaz: it would pick up the change in an hour15:41
kirklandmathiaz: within an hour15:41
kirklandmathiaz: jaunty is basically instant15:42
mathiazkirkland: great - thanks.15:42
mathiazkirkland: also - in the status bar, Ubuntu 8.04 is written15:42
mathiazkirkland: I used to have Ubuntu 8.04.215:42
kirklandmathiaz: hmm15:42
kirklandmathiaz: let me check something15:42
kirklandmathiaz: that's something to do with lsb-release15:43
mathiazkirkland: I was running 1.15 and 8.04.2 was shown15:43
kirklandlsb_release15:43
mathiazkirkland: 1.40 shows 8.0415:43
kirklandmathiaz: yeah, i used to grep that out of /etc/issue15:43
kirklandmathiaz: now i'm using lsb_release properly15:43
mathiazkirkland: right - you're using -i -r15:44
mathiazkirkland: why not using -d for description?15:44
kirklandmathiaz: i think i got something weird on Debian or elsewhere when i used -d15:45
kirklandlet me check ...15:45
kirklandmathiaz: had to look it up ....15:48
kirklandmathiaz: lsb_release -d on debian says: "Debian GNU/Linux 5.0 (lenny)"15:48
kirklandmathiaz: someone from debian complained that that was too many chars15:48
kirklandmathiaz: i can special-case it for us15:49
mathiazkirkland: hm - it's just cosmetic I think15:50
mathiazkirkland: if it requires too much code it may not be worth15:51
kirklandmathiaz: it'll be trivial to fix15:51
kirklandmathiaz: if you open a bug, i'll fix it ;-)15:51
sbeattiekirkland: heh, on my opensuse server (that will get replaced soonish), it shows up as '"openSUSE 10.3 (i586)"' (double-quotes included)15:54
kirklandsbeattie: yeah, i'm going to special case it15:56
sbeattieOh, that was with -d15:56
kirklandsbeattie: distros that have concise+informative -d, and others that need to be -r -i15:56
kirklandmathiaz: this status notification does not run frequently, so we can do more work in it15:56
kirklandmathiaz: as opposed to the load and mem ones, which run every 2 seconds... those have to be *fast*15:57
=== Ethos is now known as betterthanrys
=== betterthanrys is now known as rysprick
=== rysprick is now known as Ethos
mathiazdantalizing: what's the state of openvz in jaunty?16:42
jpdskirkland: There doesn't seem to be a way to make termcapinfo and altscreen play together.16:43
kirklandjpds: bummer ...16:43
jpdskirkland: Also altscreen only wipes the screen for stuff like vim16:44
kirklandjpds: is this documented anywhere?16:44
kirklandjpds: ie, did you find others hitting this issue?16:44
jpdsRemoving the termcapinfo wipes the screen on detach/close.16:44
kirklandjpds: but not stuff like .... what?16:44
kirklandjpds: i was using "ls -al" in my tests16:44
kirklandjpds: and it was wiping that16:44
jpdskirkland: No, I asked in #screen16:44
kirklandjpds: is there some way we can modify the termcapinfo to play nice?16:44
jpdsNot that they told me of :(16:45
kirklandjpds: is there an open bug against screen?16:45
kirklandjpds: can we open one against screen?16:45
kirklandjpds: or is this "by design"?16:45
kirklandjpds: we're carrying a couple of trivial patches against screen, both of which have been accepted upstream, i think16:46
jpdskirkland: My guess is that it's by design.16:48
scope006can ayone point me in the right direction for some best practices on keeping logs well managed and under control in ubuntu server?16:48
scope006i want to have some control over how long i keep various old logs files etc16:48
mathiazjdstrand: have you tried to use virt-manager + kqemu on jaunty?16:49
kirklandjpds: okay, leave the bug open, paste your findings or irc log16:50
kirklandjpds: i'll take a look at the screen source at some point when things settle a little bit16:50
kirklandjpds: i'll see if i can find something that work s;-)16:50
kirklandmathiaz: thanks for bringing up the updates-refresh question ...16:52
kirklandmathiaz: i just verified that it's working properly on jaunty, where apt upgrade is properly hooked to update /var/run/updates-available16:52
jdstrandmathiaz: not for a while, no16:57
jmedinascope006: I like to use remote syslog servers, I have used syslog-ng for log rotation and archiving16:58
jmedinathere are some web interfaces for searching in the logs16:58
jmedinasyslog-ng can archivo logs in database so you can use syslog-ng php  or something16:59
scope006jmedina syslog-ng... ok cool ill look into that16:59
jmedinaI think there is a new syslog daemon, it is used in fedora16:59
scope006im also looking at the logrotate.conf file atm as well to see what is setup out of the box16:59
jmedinasyslog-ng can rotate logs by itself16:59
scope006hmmm17:00
scope006interesting17:00
jmedinabut most important, be sure you understand log facilities and priorities17:00
jmedinayou can use sysklogd to send logs to a remote syslog-ng17:00
jmedinasysklogd only uses UDP17:01
uvirtbotNew bug: #343357 in samba (main) "Errors on file append on CIFS mounted Apple Time Capsule" [Undecided,Invalid] https://launchpad.net/bugs/34335717:01
jmedinasyslog-ng can use udp + tcp17:01
giovanisyslog over tcp typically isn't used17:01
jmedinaI like syslog-ng because has a log of filtering capabilities17:01
scope006interesting17:01
jmedinagiovani: yeap, it is just an option, some poeple think it is good17:02
scope006im going to do some reading up on it then17:02
giovanijmedina: yep, it has its uses -- high-volume logging, where order and delivery are critical, tcp should be used17:02
scope006right now i haven't tweaked any rotation/pruning17:02
scope006just using logwatch to email me changes each morning17:02
giovanibut low-volume, or sporadic logging (like say, from a voip handset) should always be udp -- tcp adds too much overhead17:02
jmedinagiovani: that is a a good use17:02
jpdsAnyone know why apparmor is just failing for me? http://paste.ubuntu.com/139077/17:03
scope006and am using a custom script to rotate my apache logs when i want it to happen and then issue a graceful restart17:03
jmedinathere is good web interface I dont remember, it used to be in sourceforge banners17:03
jmedina:S forgot the name :S17:03
jpdsAlso, I'm getting errors from a null-complain-profile - no idea where that is coming from though.17:03
scope006giovani that makes sense17:03
sbeattiejpds: cat /proc/self/attr/confined ; you're likely working under a shell that got an apparmor complain profile attached to it.17:04
sbeattie(it won't let you load policy in that case)17:04
jpdssbeattie: Oh, right! That file doesn't exist either..17:05
sbeattiethere's an upstream fix that reports a better error message, but that didn't make it into jaunty.17:05
dantalizingmathiaz: we werent able to get any focus on jaunty from openvz17:05
sbeattiejpds: duh, sorry, tired, /proc/self/attr/current17:05
dantalizingmathiaz: but we're going to have for karmic in prep for the next lts17:06
jpdssbeattie: "null-complain-profile (complain)"17:06
jpdssbeattie: Must be the usr.sbin.sshd profile I added.17:06
mathiazdantalizing: sounds like a good plan to me.17:06
sbeattiejpds: yes, that would do it.17:06
mathiazdantalizing: any info on whether openvz will be included upstream?17:07
jpdssbeattie: OK, thanks a lot.17:07
sbeattiejpds: you should be able to do 'sudo sh -c "echo -n unconfined > /proc/$$/attr/current"' to let your current shell reload policy17:09
scope006jmedina:  it looks like out of the box logrotate does a lot of default archiving and "pruning" for you with various logs17:10
PubnumHowdy17:10
Pubnumcetan_hota: care to take the floor?17:10
cetan_hotaAfternoon all. Having an issue with 9.04 mounting an iso image from VMware. If I attempt to mount the iso image thats on the host in my 9.04 guest, all that happens is the File Bowser opens over and over..17:11
Pubnumand over and over...17:11
PubnumI am a confirmed second victim of this issue17:11
dantalizingmathiaz: not that i'm aware of .. iirc the latest kernel they're supporting is 2.6.2617:12
cetan_hotaI can move a iso image into the guest and mount it without issue.17:12
jpdssbeattie: Does $$ get autoreplaced? Setting it to the shell's PID doesn't let me reload profiles.17:12
sbeattie$$ should be the shell's pid as well, but hrm.17:13
sbeattiewhat does it contain after you do that?17:13
jpdssbeattie: Same, null- ....17:14
uvirtbotNew bug: #349743 in postfix (main) "package postfix 2.5.5-1.1 failed to install/upgrade: " [Undecided,New] https://launchpad.net/bugs/34974317:15
sbeattiejpds: duh, sorry again; try 'sudo sh -c "echo -n setprofile unconfined > /proc/$$/attr/current"'17:17
sbeattie(note the added setprofile statement)17:17
jpdssbeattie: It doesn't seem to be able to write to the file.17:19
lamontmathiaz_: around?17:53
fevelhello19:02
feveldoes anyone know the software heartbeat?19:03
RoAkSoAxfelipe_, i do19:07
jmedinaanyone here using openvpn 2.1 with UP/DOWN scripts or plugins?19:10
jmedinaprobably using script-security option19:10
jmedinaI think I found a bug in openvpn iniscript in intrepid19:11
RoAkSoAxjmedina, you could check in launchpad if the bug is reported, or you could report it yourself19:13
jmedinaRoAkSoAx: thanks I'll do19:14
RoAkSoAxnp :)19:14
=== ScottK2 is now known as ScottK-desktop
uvirtbotNew bug: #343046 in mailman (main) "list_lists crashed with ImportError in <module>() no module names email.messages" [High,Confirmed] https://launchpad.net/bugs/34304619:31
=== hessml|away|away is now known as hessml|away
=== hessml|away is now known as hessml|away|away
=== hessml|away|away is now known as hessml|away
mattofakhi all; i'm attempting to setup media wiki to authenticate against my AD server, i think I have it mostly figured out, but does anyone know how to install a new root CA for OpenSSL so that LDAPS works?21:05
mathiazmattofak: you wanna look at the ca-certificates package and its update-ca-certificates command21:40
mathiazmattofak: once you've added the new root CA to the ca-certificates infrastructure, you'd have to configure you media wiki system to use the ca certificates.21:41
mattofakmathiaz: I'm in the process of writing those config files now, but wouldnt i just tell it to use an LDAPS bind, and then OpenSSL takes care of the rest so long as i have the root cert installed21:42
mathiazmattofak: you have to configure the ldap client to trust the ca certificates ca21:43
mathiazmattofak: and starting from hardy, libldap (openldap) is using gnutls rather than openssl.21:43
mathiazmattofak: the system-wide configuration file for the ldap client library is /etc/ldap/ldap.conf21:44
mathiazmattofak: this is where you set the TLS_CACERT option to the list of ca certificates that should trusted.21:44
mathiazmattofak: this is where you set the TLS_CACERT option to point to a file holding all the ca certificates that should be trusted.21:45
mattofakok, i see where you're going with that21:46
mattofakmathiaz: it appears i have some problems in media wiki itself, so i need to work that out before i can see if LDAPS works, but that you for setting on the right path21:55
PotterT|VFI am trying to use a vpn script created for redhat variants (using if-up/if-down and ifcfg-vpn0)   any one know of any easy changes that could be done to adapt it for ubuntu server?21:57
PotterT|VFor debian servers in general i guess21:57
uvirtbotNew bug: #349919 in openssh (main) "ssh client sometimes hangs" [Undecided,New] https://launchpad.net/bugs/34991922:01
jahorhello, anyone know about some tool like lintian for checking server configuration (something like checking all disk partitions are in nagios configuration, regexp based check of some config files etc)22:01
=== hessml|away is now known as hessml|away|away
thierry_hi, I'm new to the server world, I'd like to know if you could point me some ressource on how to set up a ubuntu server on a home network so that it will be visible from outside this network too22:29
Deepswww.portforward.com22:30
thierry_(I already have ubuntu server installed, I'm just clueless on how to make it work with a domain name, ssh, etc...)22:30
friartuckthierry_ you could start here: https://help.ubuntu.com/8.10/serverguide/C/index.html22:32
thierry_friartuck : yes I was looking at it before asking my quesion, it seems handy but I also lack the theory to understand stuff like "Why should I need a static IP" or "What is a subnet mask?"22:33
friartuckthierry_ this is a chat-room chief. you need a book. running a server is not a 5 minute discussion.22:34
thierry_friartuck : alright, then could you point me any good book?22:35
thierry_friartuck : I mainly try to set up my server to learn while doing it so reading books on the subject would be great I think22:36
friartuckthierry_ here's a start http://www.amazon.com/Beginning-Ubuntu-Server-Administration-Professional/dp/1590599233 . that publisher is Apress. another good publisher is http://oreilly.com22:38
thierry_friartuck : I did a fast search this morning on oreilly and found mainly stuff about windows server... do you have some title related to unix server? I know that at some point I should look at Apache, but before that?22:40
thierry_friartuck : and by the way the book you first proposed seems awesome, I'll buy it22:42
jmedinaI always recomend read official documentation, then go to you rdistribution and lear here things are located22:43
jmedinabut for background always reading official documentation22:44
jmedinafor DNS bind there is https://www.isc.org/software/bind/documentation22:44
jmedinawith a good howto and good backgrond about DNS system22:44
jmedinafor apache http://httpd.apache.org/docs/22:44
jmedinawith alot of howtos and good references22:44
jmedinaand for other proyects it the same22:45
friartuckjmedina true, he's asking what a static IP is though...hence pointing to some books22:45
jmedinaI like Oreily TCP/IP Network Administration22:46
jmedinait is based on linux good example and good tcp/ip background22:46
thierry_k I'll look at that22:46
jmedinaI learn TCP/IP from that book22:46
jmedinaI think first release was based on solaris and slackware22:46
jmedinanow is more redhat but theory and exercices are very good, good diagrams22:47
thierry_just so you know, I'm already fluent in C++/C, perl and many other langage (I even did google summer of code last summer) but I'm total newbie concerning servers22:47
thierry_jmedina , friartuck : thanks a lot for the references, I have to go22:49
PC_NerdHi,  tcpdump to a specified file makes the file an "application/octet-stream", so how can I then open that for reading || what is that file containing? ( I'm trying to "catch" all packets through my local server)23:26
=== hessml|away|away is now known as hessml|away
friartuckPC_Nerd tcpdump uses pcap file format. you can use wireshark to open pcap files.23:28
PC_Nerdok thanks!23:28
olcafoI find it fun to read with vim. ;)23:29
friartuckolcafo hm, never tried that.23:29
PC_Nerdof course "cat networklog" tends to screw up doesnt it ( mime)! lol23:30
olcafojust the other day I made a file and did a search with vim to revael that a client's website login wasnt' secure... worked like a charm.23:30
friartuckolcafo just tried that...I wouldn't say it "works like a charm".23:32
olcafo*shrug*23:33
olcafoa, right. that's right, after tinkering around I used wireshark to create the file and then browsed it with vim.23:37
friartuckha ha.23:37
olcafothings start to slip out of memory these days.23:37
friartuckanyone do away with tapes? disk-to-disk or sending hdd offsite?23:39
PC_Nerdis there a good packet sniffer (open source23:39
olcafoI was just looking into that for a client a few weeks back.23:39
PC_Nerdthat would allow me to write the packet info to a file for other programs to read ( but not in pcap file format) - txt or something similar23:40
PC_Nerd* want to be able to log how much traffic goes through given ports etc....23:40
friartuckPC_Nerd um, maybe you should look at cacti for historical trending. paketsniffers aren't really good for that. if I understand you.23:41
olcafofriartuck, offsite backups over the internet make a lot of sence for small companies who don't change many files during the day.23:41
PC_Nerdok, nagios is too "complex" for my liking, and I want to be able to put all the data in my own application (which is graphs etc on a web page).....  does cacti do that and if not what might?23:42
friartuckPC_Nerd cacti and nagios are not the same animal. nagios is up/down monitoring, cacti is historical trending. mrtg will allow you to put graphs where you want but requires heavy html knowledge.23:43
olcafofiartuck, the solution we came up with was quite simple: take a snapshot and send it offsite, after that you just run a script that makes a copy of the changed data during the day, put it all in an encrypted zip file and ftp it to the backup server.23:44
olcafoand sycn it back up offcourse.23:44
PC_NerdI know html very well.... but I want a raw data output ( like a csv or plain text) so that multiple applications can read from the same source.23:44
PC_NerdI specifically  dont want to just read a graph into html, because I will be comparing network data/bandwidth to other stats from apache and other server apps.23:45
friartuckPC_Nerd mrtg and cacti use rrd database. you should look into that.23:45
PC_Nerdthanks, will do23:46
friartuckolcafo yeah, I guess that's only a bitch if you have to do a full restore.23:47
olcafofriartuck: even then, this perticular site only hase about 20GB of data (small office!), we keep the zip files on the server for a couple of weeks for versioning. the only thing I haven't figured out is how to properly backup Exchange (cheaply that is).23:49
friartuckolcafo nice. I'm looking for a 5-10TB solution. probably go with hot-swap drives and special transport caddy's. just don't like tapes...23:51
olcafofriartuck: one of my sites has 10TB data storage NASs, the data there is static enought that we only back it up to take quarterly (DLT S4 1.6TB tapes). But yeah, pain in the ass.23:54
olcafo*tape, not take23:54
olcafobacking that much data offsite is not really an affordable option without tapes.23:55
Deepsfaster net connection? :D23:55
olcafoDeeps: haha. this sites' only internet option is 5Mbs!23:56
olcafobad location.23:56
friartuckha ha...sir...you need a ds3 so I don't have to deal with tapes. heh heh.23:57
jmarsdenolcafo: You can use the old ExMerge program to export Exchange email into PST files and automate that; it's not 100% "proper", but it is definitely "cheap"... combine that with a scheduled ntbackup of the whole Exchange db and you're reasonably OK in a small office setting, I would think?23:58

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