/srv/irclogs.ubuntu.com/2010/10/06/#ubuntu-server.txt

tsrkiarp: if you want to execute a command as root, use "sudo ...". If you want a root shell, use "sudo -i"00:00
iarptsrk: ah ha thanks, been a while since i've had to do this.00:01
_Neytiri_iarp you can seta passeword for root, althoe its not advised00:02
Corpsetsrk: ok so all of the systems now have the same local ip's. but none of of the systems connected to the modem can ping the systems that are connected to the wifi router.00:08
Corpsebut the modem shows those system in its routing table00:09
Corpseoops00:09
Fross-sorry that question from corpse was me00:11
cfairleshow do you increase the maximum number of open file descriptors for a "no-login" user? I have hard/soft limits for nofile in /etc/security/limits.conf, cat /proc/sys/fs/file-max/proc shows it in the millions, yet i stress test and my service can only open the same old 102400:17
cfairlesi can't even figure out how to check, ulimits doesn't really work unless you're in a shell00:18
keescfairles: for an upstart service, see "man 5 init" and add a "limit" line to the service's init file00:35
cfairleskees, hm. i use stop-start-daemon00:40
keescfairles: if it's a sysvinit script, just add the call to "ulimit" in the /etc/init.d/ script00:41
cfairleskees, ah00:41
cfairleskees, yeah, maybe00:41
cfairleserror setting limit, operation not permitted hrm00:43
cfairlesclose00:44
cfairlesI keep seeing "session required pam_limits.so", I don't see this in my /etc/pam.d/common-session though ...00:53
cfairleskeep seeing pam_limits.so mentioned in post about ulimits I should say00:53
=== unreal_ is now known as unreal
demonsporkWhere can I find a description of what the purpose of each of the different kernels available from the repository are?  I currently have a PAE kernel that I don't need (3GB of RAM is all that is supported by this server) so I am going to move to a different kernel and I don't know which one to choose01:38
blahdeblahdemonspork: I would love to hear an answer about that, too.  I've been unable to find any useful information about that.01:45
blahdeblahYesterday i asked: "Can anyone point me to documentation about the difference between linux-image-virtual and linux-image-generic, and whether or not VMware tools is necessary when running linux-image-virtual under VMware Server?  I've searched Google and come up with no rationale for the existence of linux-image-virtual, nor any explanation of the difference between it and linux-image-generic.  I can diff the kernel config fi01:46
blahdeblahI got no response so far.01:46
=== sailerboy is now known as zz_sailerboy
=== zz_sailerboy is now known as sailerboy
mobasheri'm creating separate volumes for boot, kernel, home and swap....what is recomended for each ?02:46
__Snooker__I usually use for an installation / boot 100M, / 7G / usr 10G / var 10G / 1G swap depending on the amount of memory and / home the leftovers.02:53
mobasherit's a 250gb HD small AMD box...with 2gb memory02:54
__Snooker__sorry for english because I'm using a translator ... I do not speak English but I'm trying to learn.02:55
mobasherno problem :) thanks for the help02:55
uvirtbotNew bug: #655442 in php5 "memory content leak when using invalid utf-8 with XMLWriter::writeAttribute" [Low,Confirmed] https://launchpad.net/bugs/65544202:56
mobasherdo i need to create seperate partitions for -> var (10gig) , usr(10gig) ?02:56
__Snooker__on my laptop I used 500G / boot 120M, / 10G / 10G usr, / var 6G / 1G swap and the rest divided between / home and / srv.02:57
__Snooker__recommend using lvm and store for future use 20G03:00
mobasherokay great thank you03:14
=== _Techie_ is now known as _TechAway_
uvirtbotNew bug: #586888 in upstart "euca_conf register-nodes Cannot find source keys directory" [Undecided,Invalid] https://launchpad.net/bugs/58688803:21
=== _TechAway_ is now known as _Techie_
mobasherdo i have to setup networking before i install xinit package ?04:05
__Snooker__mobasher, I think not ... you may need to install before. Then regardless of how it will work set04:25
=== _Techie_ is now known as _TechAway_
headacheI'm trying to install ubuntu-server 10.04 on my atom N450 motherboard with no luck.  It doesn't recognize the external USB CD-Rom and it can't find the driver for the onboard Ethernet.04:36
=== _TechAway_ is now known as _Techie_
=== sailerboy is now known as zz_sailerboy
=== zz_sailerboy is now known as sailerboy
=== sailerboy is now known as zz_sailerboy
Datzdemonspork: I've been looking for such a description myself, but have only found an articel on the difference between the -generic and -server kernel.07:01
DatzI don't know if you've seen it.07:02
_rubenand -virtual is a stripped down version (module wise mostly) of -server, to reduce disk and memory footprint ... the 32bit -server kernel has been "replaced" by the -generic-pae kernel since the differences were too subtle to keep both around07:09
_rubenthe few remaining differences (schedulers and the like) can be changed at runtime07:10
twbI don't know why people like headache are still trying to use optical media07:17
_rubenugh .. needa get my a bluetooth headset with proper noise cancelation .. talking on your cellphone in a dc aint fun :p07:24
_rubens/my/me07:24
twb_ruben: district of columbia?07:25
_rubenclose ;) .. nah, just a noisy serverroom in a datacenter07:25
twbOh gods, I hate trying to do that07:25
_rubenthink there was a thread on nanog about headsets that'd perform good in these circumstances, doubt any "cheap" ones were listed ;)07:26
twbActually it's worse at our prisons, because cells aren't allowed, and the on-site monkey's office is like a twenty-minute walk from the machine room, etc, etc07:27
twbs/cells/cellphones/, that is07:27
_rubenheh, no cells in a prison, that'd be odd indeed ;)07:27
twbActually they have "cottages"07:29
=== FireCrotch_ is now known as FireCrotch
mr_louHello all. Can anyone help me getting Freetype2 working on my recently installed Ubuntu Server? I've managed to get mySql and PHP up running, and GDlib also works, except I can't draw text, so I'm trying to install freetype without much luck.07:57
mr_louI have no experience with server installation as such, but my boss wants this solution I'm about to start developing, to be hosted internally. So Ubuntu Server it is. Only thing I'm missing is this freetype thingy, before I can get development started.07:58
mr_louSo far I've tried apt-get install most packages that has the word "freetype" or similar. No go.07:59
twbmr_lou: it's probably libxft, but you doubtless need php5-something08:11
mr_louIt is php5 something.08:12
* mr_lou tries libxft08:12
twbphp-image-text08:12
twbOr php5-gd, if you don't already have that08:12
mr_louAlready install that libxft apparently. I'll try with the dev version too.08:13
twbWrong.08:13
mr_louGDlib works fine. I can make images using e.g. imagecreatefrompng and such. Just can't draw on them using e.g. imagefttext08:13
twb-dev packages are only needed for linking; if you need them at runtime your application is broken.08:14
mr_louI see.08:15
twb18:12 <twb> php-image-text08:15
mr_louNo such package.08:15
twbActually ignore that.  php5-gd depends on libfreetyp6, so clearly it's the right package.08:15
mr_louThere's php-image-barcode though.08:15
twbIf it doesn't work and php5-gd is installed, I can't help -- it becomes a PHP issue, of which I remain happily ignorant.08:16
mr_louMust be something else. Since LAMP already sets up PHP5 + mySql + GDLib just fine, I'm betting this freetype thingy is also set up, and you're right that it could be a PHP thingy.08:17
mr_louBut the same code is running fine on 2 different external hosts.08:17
* mr_lou tries rebooting the server08:17
twb"Since LAMP already..." -- do you mean the checkbox during installation (tasksel)?08:18
mr_louyea... never tried a LAMP installation before that takes care of all those things.08:19
mr_louI know it's been around for ages, but as I said, I'm not a sysadm as such.08:19
mr_louBut pretty neat.08:19
mr_louAnd although phpMyAdmin version is only 3.2.something, it's still fine.08:19
twbOK, good.08:20
mr_loutwb: You don't like PHP? More of a Ruby guy then?08:26
twbHar fucking har.08:26
mr_louI see you have another religion then.08:27
mr_louWhich one?08:27
twbAs a sysadmin, I prefer libraries to be in C, with any glue on top in something quick-and-dirty like perl or python.08:27
mr_louSo python for webbased solution?08:28
twbAs a computer scientist, I'd really like a language with FP semantics and sexpr lexicography, but the real world is just too stupid for that.08:28
mr_louThe world is too stupid for many things.08:29
twbmr_lou: IMO the whole "web" platform should FOAD.  NeWS made sense, and the whole modern browser-as-a-platform phenomenon is an idiotic attempt to reinvent NeWS on top of totally inappropriate protocols.08:29
mr_louLuckily I don't have that many demands. :-)08:29
twbThis is, obviously, dismissing the higher goal of keeping users off the network, since as we all know, THEY are the ones that break it.08:31
mr_louI don't care about that. I'm happy doing web-solutions, so I'm not complaining. I believe it's true what they say about the future though. That apps and data of will be online.08:31
mr_louI doubt I'll use it myself like that though.08:31
mr_louI prefer my stuff to be local.08:31
twbmr_lou: yeah... so we're back to the original bloody batch processing paradigm with a layer on wank on top.08:31
mr_louyup08:32
mr_louAll new inventions are slower than the older ones.08:32
mr_louJust look at new televisions. Just switching channel on our brand new Sony flatscreen takes much longer than on our old CRT. :->08:32
mr_louomg08:37
mr_loutwb: Fixed it. You were right. It was a PHP thingy.08:37
mr_louStupid08:37
maedoxI have a weird index.cgi issue. They all now show as plaintext in the browser after I upgraded from Hardy LTS -> Lucid LTS. Everything checks out, +ExecCGI, perl -c = Syntax OK, files are executable, owned by www-data, nothing in the logs. Any ideas?08:37
mr_loutwb: Described here if you're curious under the headline "fontfile". http://dk2.php.net/manual/en/function.imagefttext.php08:38
twbmr_lou: freetype is usually used with fontconfig to find font files08:39
twbe.g. fc-match Monospace-24 ==> DejaVuSansMono.ttf: "DejaVu Sans Mono" "Book"08:40
mr_loumkay08:40
mr_louAdding this line worked: putenv('GDFONTPATH=' . realpath('.'));08:40
twbmr_lou: bleh.  So you're storing font files within the PHP code tree?08:40
mr_louYes08:41
twbTypical PHP suckiness08:41
twbIt ought to be utilizing /usr/share/fonts08:41
mr_louWell, initially I did it because it was hosted externally.08:41
mr_loutwb: Depends if you want it to be a solution that's easy to move or not. ;-)08:41
mr_louAny server-setup I can avoid at a later stage, is good.08:42
mr_louAnyway, coffee break. Thanks for the help twb.08:42
kinygos#join django09:37
kinygoslol..sorry...half asleep09:37
DaveWhiteHi guys, I'm running the latest beta of ubuntu svr on a laptop. The laptop screen blanks every 5 mins or so. Anyone know how I can change that?10:16
DaveWhiteI dont *think* its a BIOS setting10:16
twbDaveWhite: at the tty?10:17
twbIt's a tty setting.  Read the setterm(1) manpage10:17
DaveWhiteI tried that, but it didn't seem to make a difference.  Could it be that the settings aren't set immediately but only on the next session?10:18
twbsetterm affects the active tty only10:19
twbe.g. if you log into tty1, it won't affect tty210:19
twbAlso, if you're running screen, the escape codes won't propagate through it to fbcon10:19
twbOh, and they'll be lost when you reboot, and *possibly* when you log out10:19
DaveWhitenot a big deal to set them permanently, but I have to try it again to see if I'm not going crazy.  It might be a power setting on the laptop or something.10:20
DaveWhiteThanks for your help twb, at least I know I was on the right path.10:23
twbYes, hardware could also be doing it in some way you can't get at10:23
twbNote that there is blanking and there is powering down, and they're different10:23
DaveWhiteI just discovered that... I've set them BOTH to off for now, we'll see if that works10:24
twbokey dokey10:24
=== doko_ is now known as doko
=== _Techie_ is now known as _TechAway_
=== _TechAway_ is now known as _Techie_
=== _Techie_ is now known as _TechAway_
VoiDeTHey everyone, is it possible to downgrade a package? I believe an upgrade to openssl is now causing my lighttpd install fail on start11:13
twbVoiDeT: officially, no11:14
twbVoiDeT: unofficially, "good luck!"11:14
VoiDeThahaha awesome thanks twb11:15
VoiDeTis there a way to still use aptitude to upgrade lighttpd to 1.4.28 ?11:15
twbIt depends largely on how "clever" the packaging is.  For example, downgrading mg would work, downgrading mysql probably wouldn't.11:15
VoiDeTwoops11:15
twb21:15 <twb> It depends largely on how "clever" the packaging is.  For example, downgrading mg would work, downgrading mysql probably wouldn't.11:16
twblighttpd 1.4.26 is the newest release available in Ubuntu.11:16
twbThere may be unsupported third-party packages11:16
VoiDeTahh ok, i have .22 installed11:16
VoiDeTwhat sources should i be using to get to .2611:16
twbYou shouldn't11:16
VoiDeTim on karmic11:17
twbTrying to install packages out-of-band is a good way to fuck up your system.11:17
VoiDeTtrue, well at the moment my sites are down, so i figured digging the hole deeper couldn't hurt11:17
twbI guess...11:18
twbI'd try downgrading openssl or whatever first11:18
twbOr, you know, working out WHY it isn't starting, and fixing that11:19
VoiDeTyeh, ive been looking around on the net a bit11:19
VoiDeTand its a bug with the new openssl and lighttpd below 26 i think11:19
\shVoiDeT: which new openssl in karmic?11:39
\shthe latest openssl in karmic is 0.9.8g-16ubuntu3.2 (via security/updates)11:39
\shthat shouldn't crash your lighty...or you did an upgrade of openssl 0.9.8 to 1.0.0 by yourself, then you are alone11:40
VoiDeThmmm \sh weird, Im not too sure what could of happened here11:56
\shVoiDeT: so you have openssl 1.0.0 on the machine? I don't know what you did, but you did something wrong ;) there is no 1.0.0 release in all ubuntu releases till today...and it's a problem to upgrade to 1.0.0 without rewriting some parts of code in several apps to maintain backward compatiblity with older ssl clients11:59
\shmeeting brb11:59
VoiDeTyeh i for sure didnt do that11:59
VoiDeTi just upgraded to 10.04, issue fixed12:01
VoiDeThowever i see apache2 is running now, and i try apt-get remove apache2 and nothing found12:02
twbThat's probably because it's called apache2-mpm-worker or something12:11
hardfireopennebula vm is in save_stop state how do i delete it??12:54
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
hardfireopennebula vm is in save_stop state how do i delete it??12:57
jussihardfire: please dont repeat yourself12:57
patdk-wkbut he needs help :)12:58
_rubenhe did succeed at one thing: getting some attention ;)12:59
jussi_ruben: yeah, but can you imagine if everyone did that?12:59
jussi:D12:59
patdk-wkeveryone doesn't already?12:59
patdk-wkheh, I refuse to join #ubuntu cause that goes on constantly :(13:00
_ruben#ubuntu is good for keeping your connection alive ;)13:01
_rubenbut no, i dont endorse repeating or any other form of spamming13:01
xfafmorning13:17
=== xfaf is now known as zul
zulttx: did someone upload dovecot yet?13:22
ttxI saw it fixreleased13:23
ttxsigned by mvo13:24
zulk13:24
ttxDaviey: for the axis2c ftbfs, should we maverick-updates-it  ?13:27
ttxThat's the only remaining one on our plate, before ISO testing13:27
=== oubiwann-away is now known as oubiwann
Davieyttx: Well.. i think -updates makes sense13:33
Davieyit's not like fixing the FTBFS actually gives us anything better for release..13:33
Daviey... it's an -updates issue...  IMHO...13:33
Daviey(unless doko finds a fix sooner)13:33
dokosorry, not working on this currently13:33
=== ivoks-afk is now known as ivoks
Davieydoko: Oh.. ok.. no problem.. Thanks for letting us know.13:40
kshallidhello all13:53
kshallidis there any how to install and running xen-server on ubuntu-server 10.4 (Lucid)13:56
sorenNo.13:58
twbkshallid: you mean making Ubuntu a domU?  or a dom0?14:00
RoyKkshallid: it's possible, but I'd recommend against it - use kvm instead14:00
kshalliddom014:00
RoyKnot recommended14:00
RoyK!xen14:00
ubottuXEN is a virtual machine monitor for x86 that supports execution of multiple guest operating systems with unprecedented levels of performance and resource isolation. Information on installing it for Ubuntu can be found at https://help.ubuntu.com/community/Xen14:00
sorenNot supported. At all.14:00
twbkshallid: that's extremely non-trivial14:01
twbsoren: are Ubuntu kernels domU-capable by default, like Debian ones?14:01
kshallidtwb: that what i saw on all forums, so just want to ask14:01
RoyKkshallid: use kvm, that's simple, stable and supported14:01
sorentwb: Yes.14:01
twbGood-o, that's what I thought14:01
sorenThey have been for years.14:01
RoyKparavirtualising ubuntu under xen is a pita, and running it hwvirtualized is a pita i/o-wise14:02
kshallidRoyK: any referencies ?14:02
RoyKkshallid: references for what?14:02
kshallidkvm14:03
RoyK!kvm14:03
ubottukvm is the preferred virtualization approach in Ubuntu. For more information see https://help.ubuntu.com/community/KVM14:03
kshallidRoyK: ok thx14:03
ttxJamesPage: did your Hudson autotester go through todays ISO yet ?14:08
frankstervillemorning all14:13
twbI'd be enthusiastic about kvm if I had a single bloody host that had VT extensions14:14
frankstervilleI need a donut and cofee14:16
frankstervillebefore i can do anything  productive14:16
plovstwb virtuallbox can be ran headless as well14:16
frankstervillevb needs gui i thought?14:16
twbvbox can't be run headless unless you use the non-free version or are happy to have a host you can't connect to14:17
ttxsmoser: did you see with skaet for cloud image release procedure ?14:17
twbWhereas kvm can simply hook up the 80x25 VGA console and serial console to new PTYs, or to curses, or to stdio14:17
plovstwb afaik you can run headless, and use the guest to connect, remote desktop or ssh14:17
twbplovs: wrong14:18
twbThe RDP server is only available in the non-Free version14:18
smoseri sent her a mail last night pointing to https://wiki.ubuntu.com/UEC/Images/Publishing and info on acl for AMI pages on amazon. opened a RT for her to have access to nectarine (which is finished)14:18
smoserttx, ^14:18
twbSo if your headless VM falls over and goes into a fsck in single-user mode, you have no way to get into it14:18
plovstwb but it should be possible to use rdp build into the windows guest, no?14:19
plovsbut yes, kvm is "better"14:19
qman__that's assuming it works14:19
qman__when it breaks, you're screwed14:19
patdk-wkwhy not just run like xvnc or something?14:19
plovsyep14:19
twbplovs: if it was a windows guest running an RDP server, that would be just as inaccessible during a panic on the guest14:19
plovstwb yes, if it breaks, then your screwed14:20
twbYes, if nothing goes wrong, you are fine14:20
twbBut that's like putting a server in a remote rack without any kind of KVM-over-IP or LOM or what have you14:20
smosertwb, is there a way to get at serial console ?14:20
frankstervilleyou can still give yourself shell access for emergency14:20
twbsmoser: not according to the #vbox people14:21
qman__things go wrong14:21
qman__this is a given assumption when you work in the real world14:21
smoseryeah, then that really stinks.14:21
twbfranksterville: how?  The guest has no networking, and you have no local head because vbox is too cheap and stupid to support serial14:21
smoseron a related note, for the cloud images, i'm thinking it would be good to have a panic mode ssh server14:21
smoseror some way to get at the instance if in fact mount / fails (but you did get to the ramdisk or other early part of boot)14:22
frankstervilleoh u mean shell to the virtual..  gotcha14:22
frankstervilleuse vmware much more robust14:22
twbHar fucking har14:22
ttxsmoser: skaet is with me, having trouble unencrypting your email. Could you send it to me ?14:23
qman__KVM is the supported solution for a reason14:23
twbThe vmware hypervisor, maybe.  The gratis stuff like vmware server is a fucking joke14:23
plovshypervisor is great, the free server is awful14:23
frankstervillenever messed with kvm14:23
ttxsmoser: or send it in clear text if there isn't anything sensitive in it14:23
smoserttx, sure. i tihnk i did encrypt with "Kate Stewart (Canonical PGP key)" C18CFBA0 . maybe error on my part.14:24
smoserttx, there is sensitive14:24
frankstervillemost anything free is aweful14:24
smoserthe ami pages acl14:24
plovsfranksterville only if the free version is meant to advertise paid versions14:24
twbfranksterville: this *is* #UBUNTU-server14:24
ttxsmoser: ok, send it (encrypted) to me then14:25
smoserk14:25
frankstervilletwb:  and?14:25
twbfranksterville: Ubuntu is gratis14:25
frankstervilleI happen to have one,  I am allowed to learn here?14:25
frankstervillealot of the extended functionality comes at a price sometimes14:25
twbfranksterville: I mean, if free stuff is awful, why aren't you in #RHEL14:26
frankstervillenono I love free stuff14:26
frankstervillebut sometimes free isnt worth it14:26
frankstervilleubuntu is tho14:26
frankstervillebut i dont like VB14:26
twbMostly because they take Debian and break bits their core users don't care about, like NFS root... >duck<14:27
plovsfranksterville usually free means more work, vmware hypervisor is simpler to get working, but kvm takes more time but can mostly do the same14:27
frankstervilleguys im here mostly to learn, was just chiming in prematurely lol14:28
ttxsmoser: hang on, she did unencrypt it14:28
frankstervillewhy would one need a virtual with linux?14:28
ttxsmoser: so everything is fine14:28
smoserok14:28
smosermy stupid encryption setup i dont have copying myself14:28
smoserso i was going to have to type it again (ie, i can't read my sent-mail folder)14:28
ttxsmoser: hmm, in fact, she can't read it14:29
ttxsmoser: so we are still a go ;)14:29
smoserok. hold on.14:29
qman__franksterville, that's not important14:29
qman__someone needed it, so someone wrote it14:29
qman__and gave it to the community14:29
qman__if you take away all things that people allegedly don't "need", you don't leave much left14:30
frankstervillevalid point...14:31
frankstervillei did consider running a windows virtual just as a print server14:32
frankstervillesince then there has been alot of nix printer drivers added soz no need. nix can do it14:32
=== xfaf is now known as zul
frankstervilleMorning all14:47
twbfranksterville: in my case, virtualization is useful to delegate a subset of my overall resources to an administrative zone.14:49
frankstervilletwb: I figured you were avoiding having a bunch of boxes.  I am learning alot here14:50
twbe.g. the buildds get at most 50% of RAM and 25% of disk I/O; apache gets an IP address and 80% of the network I/O14:50
twbYeah, consolidation.14:51
frankstervillerather than carve up a ridiculas permission scheme14:51
elb0wAnyone use imsniff?14:52
twbfranksterville: it's only ridiculous until, say, you find out that e.g. your financials postgres database has lost the last week of data because /var/log and /var/lib/postgres share a filesystem, and DOS attacks filled that filesystem via /var/log/auth.log14:52
frankstervilletwb:  oh ^**%* yes that would be bad14:53
twbOr, say, you're hosting customers' services and want to charge them based on the bandwidth they consume14:53
frankstervilletwb:  i woek in a pretty small office environment,  dozen clients soz I hink in that context14:54
twbYou don't want bank.example.net to get zero bandwidth because your other customer porn.example.net was uploading a new video.14:54
frankstervillelololol14:54
plovsfranksterville we used to run our backup domaincontroller virtualized14:55
twbIt also makes backups and migrations easier14:55
plovsand two applicationservers14:55
frankstervilletwb: I use amazon s3 for backups as well as a local raid14:56
plovsthat is two less boxes less ports in the switch, less electricity etc14:56
frankstervilletwb: sounds like u have a much larger situation than i do14:56
frankstervillethe green aspect is huge14:57
twbfranksterville: well, my office network is actually a mess.  We have more mission-critical hosts than staff, and our most powerful box is running PPPoE and nothing else14:57
twbfranksterville: but I also babysit a bunch of customers, including a couple of multinationals.14:57
elb0wAnyone know any software for monitoring AIM for linux? My companies compliance needs something to monitor the devs14:57
frankstervilletwb:  mostly web services?14:58
twbNo, systems administration.14:58
twbelb0w: AIM as in the AOL IM protocol?14:58
frankstervilletwb: soz i get stuck i can hire you to fix it lol14:58
elb0wtwb, correct14:58
twbelb0w: ask "apt-cache search".  Probably libpurple (pidgin, finch, bitlbee) can speak it.14:59
twbfranksterville: or you could just ask here, if you're prepared to put up with me explaining how stupid you are when you do something dumb and need help fixing it15:00
frankstervilletwb:  well, that comes with doing something stupid.  On occation it will be so stupid that I am willing to pay for privacy LOL15:01
frankstervilletwb:  It took me 2 years to talk my company to ditch windows and now that they finally listened its my head15:02
plovsfranksterville you have replaced all your windows servers?15:03
frankstervilleyes15:03
frankstervillefile, print,  web15:03
plovswow, do you use centralized authentication? i quite liked AD15:04
frankstervillewindows makes me ill15:04
plovsAP+exchange+outlook is hard to replace15:04
frankstervillespent more time locking people out of everything so they couldnt mess it up15:04
twbplovs: I bet he doesn't15:04
frankstervilleI use OPen Dir15:05
twbYeah, developers are nearly as bad as engineers when it comes to fucking up their unix workstations15:05
frankstervillelol15:05
plovsand developers are harder to lock down15:05
frankstervillei am talking receptionists and costomer service reps15:05
twb"My pineal gland told me that upgrading GCC would make my fortran code marginally faster, so I tried to sudo make install..."15:06
frankstervillelolololol15:06
Pici!ot15:06
ubottu#ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks!15:06
plovsfranksterville is open dir an active directory replacement running on ubuntu?15:07
twbPici: sorry.15:08
frankstervillewhatever ubuntus stock AD replacement is15:08
twbfranksterville: there isn't one.15:09
frankstervillethere is a lugin15:09
frankstervilleplugin15:09
frankstervillei rem setiing it up15:09
twbOpenLDAP does some of it, and Samba4 does some, but it isn't production-ready15:09
frankstervillemy google fu is good15:09
frankstervilleyeyey LDAP15:09
frankstervillei used a tutorial top to bottom the first time and i try not to mess with anything15:10
twbplovs: I guess he's referring to Sun OpenDS (java) or Apple Open Directory (OS X)15:10
=== zz_sailerboy is now known as sailerboy
plovstwb ok, but those are not cheaper then AD, and ldap on ubuntu is not something i want to risk my job over :-(15:12
twbI run OpenLDAP on hardy, but I ran out of budget before I got SSL or Kerberos or NFSv4 working on top.15:13
frankstervilletwb: since i am noob and really shouldnt sudo anything i try to just let the thing run.  I only apt-get upgrade every 6 mo15:14
* plovs hopes samba4 will solve this hurdle15:14
frankstervillemy first streach i went 500 days without reboot15:14
frankstervillebut then kernal needed reboot15:14
frankstervillejust distro upgraded to 10.0415:15
frankstervillecant beleive it still works lol15:15
twbI believe d-r-u is recommended over dist-upgrade'ing15:15
frankstervilleagain google is my admin lol15:16
twb!do-release-upgrade15:16
twbHm, maybe I forget it's name15:16
PiciThere isn't a factoid for it.15:16
Pici!upgrade15:16
ubottuFor upgrading, see the instructions at https://help.ubuntu.com/community/UpgradeNotes - see also http://www.ubuntu.com/desktop/get-ubuntu/upgrade15:16
twbOkey dokey15:17
PiciBut yes, its the recommended way.  There are some quirks that d-r-u can fix that can't be handled by dpkg/apt.15:17
frankstervilledid these:  sudo apt-get install update-manager-core, sudo do-release-upgrade15:17
PiciThats fine :)15:18
frankstervillekept my ftp, dhcp, sambap, user configs15:18
plovsif possible, a clean install is best for servers imho, and just restore configs from backup later15:18
frankstervillei plan to do clean install in Dec15:19
frankstervillereplace HDs etc15:19
frankstervilleuse the leaf blower15:20
frankstervillewith todays internet speeds i was considering an instance on S315:20
frankstervilleand forget local15:20
smoserttx, so should we be starting iso testing ?15:42
smosershould i have tracker populated with 20101006 ?15:42
ttxsmoser: I'd rather wait for the server ISO generation and trigger the cloud image generation after that15:43
ttxshould arrive in a few15:44
smoserttx, where there packages spun explicitly for ?15:45
smoser(how about that for yoda speak)15:45
ttxsmoser: I don't think so15:45
ttxsmoser: but ideally we would take the same publisher run :)15:46
jeiworthinteresting, anyone using otrs as ticket system? i'd like to try the new 3.0b4 and funny enough it's available only in 2 different rpm falvours, for suse and redhat? anyway, using alien to convert shouldn't be a problem so can anyone recommend either flavour? i don't really think it matters but better ask.. ;)15:57
jeiworth...oO(hmm supose i could just install a centos vm and be done with it...)16:01
frankstervillelol ye i always cronge when using alwin16:01
frankstervillealien16:01
franksterville*16:01
plovsjeiworth better download the tar-ball and create a deb from it with checkinstall16:02
jeiworthplovs: that works with otrs? because it's not source code, it's well more like e.g. the joomla-tarball that you just extract into /var/www/ and take it from there...16:07
uvirtbotNew bug: #655772 in tomcat6 (main) "postinst script failed if tomcat6 user is present in the system" [Undecided,New] https://launchpad.net/bugs/65577216:07
jeiworthotrs is just a bit of a pita because you have to manually install all required dependancies and set up the db with sql-scripts etc...16:08
jeiworths/dependancies/dependencies16:08
plovsjeiworth you might mail the maintainer of otrs2 and ask if he is working on otrs3? it looks not taht  simpe to make a deb16:09
jeiworthplovs: hmm, otrs3 is still in beta, i am not sure but one can always ask ;) thanks16:10
coxnI'm looking at https://help.ubuntu.com/10.04/serverguide/C/jeos-and-vmbuilder.html and wondering what the best approach is to push an SSH key to the default user16:29
ttxsmoser: you can spin the cloud images -- server ISOs are being regenerated as we speak16:29
coxnahh! I see --ssh-key and --ssh-user-key now16:30
coxnnevermind16:30
=== jj-afk is now known as jjohansen
smoserttx, so, i can spin, yes16:43
smoserbut if there is no package difference from last nights' i'd just prefer to use last nights16:43
smoseras publish process is multi-hour16:43
ttxsmoser: any way to compare current status ?16:43
ttxsmoser: there were quite a few bugs squashed, some of them affecting us16:43
smoseri can hack somethign together. just go through manifest and check archive data.16:43
ttxsmoser: we had Bug 653362 and Bug 641259 fixed recently16:44
uvirtbotLaunchpad bug 653362 in dovecot "package mail-stack-delivery 1:1.2.12-1ubuntu7 failed to install/upgrade: subprocess new pre-installation script returned error exit status 1" [High,Fix released] https://launchpad.net/bugs/65336216:44
uvirtbotLaunchpad bug 641259 in grub2 "grub does not appear to load after maverick post-beta install" [Critical,Fix released] https://launchpad.net/bugs/64125916:44
smosergrub does affect me.16:45
smoserso i should get that16:45
ttxsmoser: so I'm pretty sure it would end up being different16:45
smoserok. respin.16:46
smoserkirkland, can you sponsor upload of https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/649591 to lucid17:00
uvirtbotLaunchpad bug 649591 in mountall "mountall spins eating cpu when 'nobootwait' option exists in fstab followed by a comma" [Critical,Fix released]17:00
=== [1]iclebyte is now known as iclebyte
RoAkSoAxkirkland: howdy!! I was wondering if the monitoring of a service you were talking about the other day was cloud related?17:43
ttxLooks like we'll have a respin17:46
kirklandRoAkSoAx: yeah, sort of ;-)17:47
SpamapSttx: release the hounds?!17:48
ttxyes, respin in progress17:48
RoAkSoAxkirkland: because to be able to provide HA, OCF Agents will have to be created to be able to monitor the service, which I believe would be kinda the same of what you were looking into...17:48
ttxzul, JamesPage ^17:48
RoyKttx: respin?17:49
zulttx: ack17:49
ttxRoyK: new Server ISOs candidates for final Maverick generated17:49
RoyKah17:49
RoyKok17:49
ttxRoyK: that affects testing17:49
ttx@ http://iso.qa.ubuntu.com/qatracker/build/ubuntuserver/all17:49
RoyKk17:49
ttxwe need to reset the testing efforts17:49
RoAkSoAxkirkland: so I was wondering if you planned already how to do that, or if you wanted that for HA clustering environments ... or that sort of stuff?17:50
=== luis__lopez is now known as luis_lopez
kirklandRoAkSoAx: yeah, i have a patch17:52
kirklandRoAkSoAx: let me show you ...17:52
kirklandRoAkSoAx: it would totally be useful, I think, for HA environments17:52
* SpamapS is quite interested as well17:54
kirklandRoAkSoAx: http://paste.ubuntu.com/507383/17:54
kirklandRoAkSoAx: this is the "quick and dirty" solution17:54
kirklandRoAkSoAx: patching /usr/sbin/service17:55
ttx20101006.3 is up17:55
kirklandRoAkSoAx: at UDS, i want to talk to keybuk and try to convince him to build this into upstart17:55
ttxRoll you r ISO testing engines, gentlemen17:55
kirklandRoAkSoAx: because upstart's current "status" action is pretty much worthless17:55
delimiteranyone know if there is a package for Lucid containing the Auth::GnuPG perl module?17:57
Picidelimiter: The closest I see is libcrypt-gpg-perl, but thats Crypt::GPG.  Also, I'm not a perl guy so I have no idea if thats way off.18:00
RoAkSoAxkirkland: haha indeed!! but for HA environments we could either use simple upstart status, or actually testing that the service is running such as doing requests to http services and stuff like that , which would be usefull in cloud environments18:01
SpamapSdelimiter: if nobody has needed it as a dependency, then its less likely it will be packaged. dh-make-perl usually does a pretty good job of making CPAN modules into .deb's ... You could even try to get it uploaded into debian, and then request a backport for lucid. ;)18:02
kirklandRoAkSoAx: with this patch, you could just use the service(8) command to ask for status18:02
kirklandRoAkSoAx: if packages have "smarter" ways of determining if the service is actually up, then those scripts just need to be installed in /usr/lib/sysvinit/status.d18:02
SpamapSkirkland: It needs to be called something other than status...18:02
kirklandRoAkSoAx: and exit 0 for success, non-zero for not18:02
SpamapSkirkland: status is "the service is running" .. it doesn't speak to the health of the service.18:03
kirklandSpamapS: you are my favorite bikeshedder of all time18:03
* kirkland hugs SpamapS 18:03
* SpamapS has a blackbelt in bikeshed18:03
smoserkirkland, did you see my 'please sponsor' request above18:03
smoserplease18:03
smoserwith a cherry on top18:03
kirklandsmoser: no, i'll do that now18:03
* kirkland gives 100% attention to smoser 18:03
RoAkSoAxkirkland: Yes indeed it would help for HA environments. For example, in HA, OCF resource agents support "start", "stop", "status", "monitor". The "status" action can simple check if the pid is running or use those scripts you talking about, however, the "monitor" action will actually check if the database is up and running and received request, or if HHTP server if receieving request, and so on18:04
Datzdelimiter: tried cpan?18:04
kirklandsmoser: hmm, did you use my nick in that request?18:04
smoseryes18:04
kirklandsmoser: i don't see it in my history18:04
delimiterDatz: I will if needed18:05
smoser[12:00] <smoser> kirkland, can you sponsor upload of https://bugs.launchpad.net/ubuntu/+source/mountall/+bug/649591 to lucid18:05
uvirtbotLaunchpad bug 649591 in mountall "mountall spins eating cpu when 'nobootwait' option exists in fstab followed by a comma" [Critical,Fix released]18:05
SpamapSkirkland: i'm actually planning on working w/ keybuk on some best practices for upstart jobs and on using upstart jobs in maintainer scripts... one of the issues is that start/stop's return codes are meaningless in upstart, you have to use the status command....18:05
RoAkSoAxkirkland: so probably, if your patch goes trhu, we might not even have to provide an OCF RA for UEC, and just use the actual upstart RA, which uses upstart to determine service status18:05
Datzdelimiter: ok, just doing aptitude search libcrypt-* I didn't see something too close18:05
smoseri have a response following that from uvirtbot, so it *did* get to the channel (i had questioned network here)18:05
kirklandsmoser: hrm18:05
kirklandsmoser: weird, not in my history18:05
SpamapSkirkland: so, letting the service define what it thinks status should return makes some sense, but I'd want to have that discussion at the same time.18:06
RoAkSoAxkirkland: and we will just simple provide those scripts you talking about by default for monitoring. But we'll hve to see how good that will work for HA Environments18:07
* SpamapS would like to note that while he is an excellent bike shedder, this actually is relevant and has nothing to do with the color of the shed. ;)18:07
SpamapSRoAkSoAx: I always liked the way heartbeat's scripts worked .. they were fine as init.d, but offered more if you needed it.18:08
* RoyK wants native ZFS for linux :þ18:08
keesSpamapS: actually, "status" was already doing smart checks. it's upstart that broke "status", so if you want a command for "is the process there", _it_ should be named something other than "status"18:08
SpamapSRoyK: excellent, maybe you can explain to me why ZFS is really as cool as they say it is.18:09
keesSpamapS: with sysvinit, "status" already has a meaning, and that includes smart checks18:09
ttx"status-that-works"18:09
RoyKSpamapS: scan through this one - it won't take long and it's quite desriptive http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfslast.pdf18:10
SpamapSkees: really, upstart's start/stop/status commmands are all just named too closely to sysvinit arguments.. when they don't really implement the same interface.18:10
keesttx: no, "status" should remain status. and upstart's nearly useless check should be named something else :)18:10
kirklandSpamapS: i previously considered calling it "status+", but kees provided some very compelling arguments otherwise, and i agree with him -- "status" should encompass all of that18:10
keesSpamapS: exactly. except that "start" and "stop" _do_ do the same thing (provided the upstart conf for the service was ported sanely)18:10
ttxhehe18:10
SpamapSkees: the return codes of start/stop cannot be duplicated from what I have seen.18:11
keesSpamapS: there is clearly a need for whatever upstart's "status" command does, but it should not be called "status" as it conflicts with the actual prior functionality of sysvinit "status", whereas start/stop don't.18:11
SpamapSkees: and restart is.. nearly impossible to do other than with $0 stop;$0 start18:11
kirklandsmoser: http://pastebin.ubuntu.com/507393/18:11
SpamapSkees: I think they all may benefit from wrappers.18:12
keesSpamapS: "start" needs to dtrt and give a sane exit code.18:12
keesSpamapS: that's likely. but in that case, I would argue all the commands should go away and we can rely on "service" again.18:12
SpamapSkees: the problem I've seen is that start really only returns whether or not it told the job to start.18:13
hggdhsmoser: are the UEC images ready?18:13
keesSpamapS: right; which is totally wrong.18:13
RoAkSoAxSpamapS: indeed, but currently is the same idea. Cluster can monitor a service either with the sysvinit Resource Agent, which uses the sysvinit scripts, or upstrat RA, or even legacy heartbeta RA's, and off course, the OCF RA's, which are now preferred if you actually need to do "in-depth" monitoring on the service to decide wether or not to failover:)18:13
RoAkSoAxSpamapS: and inded it was simple to actually use the current init.d script, but they don't provide the monitoring of the service that is needed in critical HA applications18:13
smoserhggdh, no. spinning.18:13
SpamapSkees: yeah, so we should have the 'service' command's start do   start && status to give the right return code.18:13
hggdhsmoser: roj, thank you18:14
smoserhggdh, will appear at http://uec-images.ubuntu.com/server/maverick/20101006.1 hopefully by 20:0018:14
ttxhggdh: he said 4 hours, 90 min ago. Calculate ETA.18:14
\shcan't we just revert upstart back to sysvinit for servers? ;) it would make things very much easier for all of us ;)18:14
ttx\sh: coming to UDS ?18:15
SpamapSkees: I look forward to having this discussion at UDS :)18:15
\shttx: no..it's US <- no way, and I don't have the time18:15
ttxwe plan a flash mob there.18:15
keesSpamapS: keybuk will just slap us all :)18:15
hggdh\sh: pity, I was looking forward to talk with you again :-(18:15
\shttx: oh well, should I send you our team internal clue bat? ;)18:15
SpamapSkees: maybe we should throw him off by starting off with a big group hug.18:16
ttx\sh: if it's accepted in hand luggage, yes18:16
keesSpamapS: hehe18:16
\shttx: hehe...it's a soft one, but hurts ;) so it looks like a normal baseball bat for kiddies :)18:17
\shhggdh: next time again :)18:17
hggdhindeed, next one should be in Europe :-)18:17
\shhggdh: well, I hope my company will sponsor a trip to XXXX again :)18:18
hggdhthey will, they will... have faith :-)18:19
SpamapS\sh: I think upstart can eventually be preferred for servers. We just need to push the servers' needs into upstart.18:19
\shbtw...does anyone know a good python implementation of the stomp protocol? python-stompy is not good enough, stomp.py  is crashing on me and carrot doesn't work with activemq because of no ampq implementation18:19
SpamapSI've oft wondered if we couldn't pipe the output of upstart -v into plymouth's status messages.18:20
ttxSpamapS: ahh! the voice of reason18:20
SpamapS\sh: stomp has problems in every language from what I've seen.18:20
ttxSpamapS: "well volunteered" as our fearless leader would say.18:21
\shSpamapS: if you can explain our foundations team, that some things which do work on desktops are not so good for servers? I mean, nothing against upstart or systemd, but it makes more problems on servers which is more a conservative work environment18:21
SpamapSttx: indeed! I'd love to grab upstart by the horns and get some of this stuff into it. :)18:21
ttxSpamapS: you might get that opportunity sooner than you'd think.18:21
\shSpamapS: I was hoping that I could use activemq (because this is our std broker) and python-carrot, but it looks like that activemq doesn't have any ampq implementation yet18:22
ttx\sh: I think they are aware of it. Just having resource issues18:22
SpamapS\sh: it also solves a lot of problems too. In production environments, for a long time, I've used daemontools to do what upstart does with respawn. The difference is, that one was written for servers, so the 'svc' command it uses provides predictible exit codes and doesn't try to be like sysvinit.18:22
SpamapSand daemontools has logging built in, which is another thing I'd like to add to upstart.18:23
\shttx: well, it looks like that most activemq users are java users...I will give python-activemq a try...or I have to tell our devs to switch from activemq to rabbitmq ;)18:23
SpamapSttx: if its not in the next 6 weeks, I'd be very sad. ;)18:23
ttxSpamapS: did I ever disappoint you ?18:23
\shSpamapS: yes...I used daemontools in the 1990ties...I think it was in combination with qmail or so18:24
SpamapS\sh: stomp is a really simple protocol.. is python-stompy written in all python or c+python ?18:24
SpamapSttx: once, but I forgave you because it was Bastille day.18:24
ttxah!18:25
SpamapSno frenchman is in his right mind on Bastille day18:25
\shSpamapS: both python libs are pure python18:25
SpamapS;)18:25
ttxDaviey: where are your network cables, dude18:25
\shwhereas stomp.py (http://code.google.com/p/stomppy/) is much better then python-stompy18:25
ttxNg: cables !18:26
SpamapS\sh: I was trying to use Stomp from PHP and C .. it didn't go well... for such a simple protocol, every implementation seems to be total crap.18:26
ttxNg: I can't leave this place before I did complete at least one ISO test :)18:26
\shbut eventually I'm crashing it because I push too fast into the queue or something else happens, which I can't debug right now, because of it reports only "Errno 32: broken pip"18:26
\sh+e18:26
SpamapSttx: should we begin iso tests now or wait for the respin?18:27
ttxit's respun already18:27
SpamapS\sh: the throttling that activemq does is very confusing for the libraries.18:27
ttxsee: <ttx> 20101006.3 is up18:27
ttxSpamapS: go wild !18:27
SpamapSttx: woot18:27
* SpamapS zsyncs like he just don't care18:27
\shSpamapS: yes..but actually I need a messaging solution, I need to create ssl keys+certs for hosts for puppet, which have to be delivered to a puppetmaster ( or more then one) and I came up with a nice solution (hopefully I'll blog about in the next few days when I find time)18:28
SpamapS\sh: oh you're not tied to activemq?18:29
SpamapS\sh: I am a huge fan of (and a contributor to) gearmand ;)  www.gearman.org18:30
\shSpamapS: well, we are using activemq in our product backend...and I wouldn't like to introduce another message broker18:30
SpamapS\sh: the difference in bloat vs. simplicity is staggering when you compare activemq to gearman18:30
kirklandcjwatson: so I uploaded smoser's mountall fix to lucid-proposed ....18:30
kirklandcjwatson: am I also supposed to push the merge to lp:ubuntu/lucid/mountall ?18:31
SpamapS\sh: ahh18:31
kirklandcjwatson: or do i just let launchpad sort that out?18:31
SpamapSkirkland: I believe launchpad's package importer does that18:31
smoserthe package importer does do it18:33
smoserbut in theory you can do it also18:33
smoserits supposed to handle noticing "already done"18:33
smoserbut i've seen it fail sometimes.18:33
smoserie, the fact that i had to add the previous security release myself18:34
cjwatsonkirkland: lp:ubuntu/lucid-proposed/mountall, I think - but it might not let you.  probably just let it do it.18:35
ttxClosing for the day, see you tomorrow18:35
kirklandcjwatson: ack;  will do;  i have had pushes rejected when i've tried to lp:ubuntu/lucid-proposed/*18:36
\shSpamapS: I'll have a look at gearman...eventually it's a solution for my problem :)18:36
SpamapS\sh: you can disable activemq's throttling too18:39
SpamapS\sh: last I checked, you had to disable it "instance wide" though.18:39
\shSpamapS: as said, I'll give python-activemq lib a try and if nothing helps I write my own message broker ;)18:40
* SpamapS watches his macbook struggle to keep up with 3 vms hitting the disk at once and wonders if he'd have better performance w/ an array of USB flash drives...18:40
alex88hi, i'm setting up key auth to remove pass auth into my server..i've created key pair in client, copied in server ~/.ssh/authorized_keys18:45
alex88now to set key auth as only login type in sshd_conf?18:46
RoyKalex88: vi sshd_config?18:49
alex88true..but, is there something to change?18:50
alex88i want to completely disable password auth for ssh18:50
RoyKfrom man sshd_config:        PasswordAuthentication           Specifies whether password authentication is allowed. The default is yes. This option applies to both protocol versions 1 and 2.18:51
alex88oh k, so PasswordAuthentication no..18:51
* RoyK kindly asks alex88 to RTFM :þ18:51
* alex88 will remember that next time18:52
RoyKjust remember to test key auth before you disable password auth :þ18:53
alex88already done.. now disabled and worked fine..thank you18:54
Guest66942Anyone know why when copying using NFS the load average would spike to 8?18:57
Guest66942home 192.168.1.1/24(rw,no_root_squash,async)18:58
Guest66942is the export18:58
Guest66942192.168.1.1:/public /public nfs rw,hard,rsize=32768,wsize=32768,timeo=14,intr 0 018:59
Guest66942Is the fstab18:59
Guest66942100 MB full duplex18:59
=== Guest66942 is now known as j3ckyl
kucumber_I get "broken pipe" when I leave my connection idle a while, is there a way to stop this?19:04
Brot1Hi, I'm using Ubuntu 10.04 LTS on a vServer. But there are some services not starting after a reboot. (e.g: cron, dovecot) what's wrong with this vServer or Ubuntu 10.04?19:04
kucumber_perhaps leave a torrent client running?19:04
RoyKBrot1: anything in the logs?19:07
j3ckylAny know why the load average would spike to 8 when transferring via NFS19:09
j3ckylexport is19:09
j3ckylrw,no_root_squash,async19:09
j3ckylfstab is19:09
j3ckylrw,hard,rsize=32768,wsize=32768,timeo=14,intr 0 019:09
j3ckylmedia is 100 Full Duplex19:09
RoyKj3ckyl: s/hard/soft/ ?19:10
Brot1j3ckyl, in which file should I look? I couldn't find something in /var/log/messager or /var/log/syslog19:10
RoyKBrot1: I guess that was to me - check /var/log/daemon.log first - also check that these services are set to autostart19:10
j3ckylIt's a dell dual pentium III with 2 gig memory running 10.04 LTS19:11
j3ckylload typcialy runs at .6019:11
j3ckylIt's a USB drive that is mounted, I am thinking the problem is i/o but iostat doesn't reflect a problem19:12
RoyKj3ckyl: pastebin `ps fax` and install sysstat (and enable it)19:12
Brot1j3ckyl, I don't know where I should like if cron is configured to autostart. but dovecot is enabled in /etc/default/dovecot19:13
RoyKj3ckyl: erm - usb is quite slow on the i/o, especially with that sort of hardware - probably usb1, which is dead slow19:13
Brot1j3ckyl, i read that this could be a problem with upstart and ubuntu 10.04?19:13
j3ckylWell, I know it's probably a io issue , I know USB 1 is slow19:14
RoyKMass storage usb on a PIII is asking for trouble19:14
j3ckylbut a load of 8? really?19:14
j3ckylis there an NFS mount export that can nice it?19:14
Brot1it's seams a little bit weird that cron isn't starting after startup?19:14
RoyKj3ckyl: with waits for i/o, the load is bound to be high19:14
j3ckylrw,hard,rsize=32768,wsize=32768,timeo=14,intr 0 019:15
j3ckylSo would going to lower chunk sizes help?19:15
RoyKj3ckyl: you said so, thrice, the problem is probably the i/o bottleneck to the usb device19:15
j3ckylYes, but it should be able to be throttled19:16
* RoyK hands j3ckyl a soldering iron and some usb2 chips19:16
j3ckylheh19:16
RoyKsorry about the sarcasm, but usb1 is NOT a good candidate for mass storage19:17
RoyKj3ckyl: better stick an usb2 card in the pci bus - it'll be way faster19:18
j3ckylYeah, but given that, in NFS you can control that to some extent19:18
RoyKnot really19:18
j3ckylI know I can remove async19:18
j3ckylI don't need a reason to check the bits19:18
RoyKstill, the load average will be reflected by the number of processes waiting for i/o19:18
j3ckylI can probably lower the chuck size19:19
RoyKit won't help much19:19
j3ckylGive it less to read at one time19:19
RoyKbut then, a high load average won't kill you19:19
j3ckylWell, at 8, it turns the cli into mud19:20
RoyKslow i/o => high load average19:20
RoyKit's one of Linux' infamous 'features'19:20
RoyKlinux doesn't deal well with slow i/o19:20
j3ckylbut, it's a transfer19:20
j3ckylthis is not a / drive19:20
j3ckylit's simply an ext4 that's for storage19:21
RoyKj3ckyl: there are several (kernel) processes waiting for i/o - that keeps parts of the system busy19:21
j3ckylso I should be able to control the feed using nfs to match the io speed19:21
j3ckylyes?19:21
RoyKbeleive me - get a new usb board or even a SATA disk instead19:21
RoyKor an old IDE drive19:21
RoyKI don't know how well the usb1 drivers handle DMA (or at all)19:22
j3ckylReally don't need that. It's a media drive that feeds mediatomb19:22
j3ckylDo I don't need io speed except for initial media transfers19:22
j3ckylI would just like to tune it better19:22
RoyKwell, it was only a mere suggestion - I've only worked with operations for 15 years or so...19:22
j3ckylI hear ya19:23
j3ckylI know there are a lot of NFS tweaks though19:23
j3ckylIt's defaintely not optimized19:23
RoyKit doesn't matter if there are nfs tweaks around if the block level sucks19:23
RoyKor block layer19:24
RoyKeven19:24
j3ckylI did have a cisco 5200, I could run weights red on nfs19:24
j3ckylerr weighted red19:24
j3ckyllimit the speed across line19:25
\shRoyK: even nfs from usb device is not that good, use local SAS storage or if you need more use a storage box as direct attached or actually use a SAN ;)19:25
j3ckylthat was kinda a last resort19:25
j3ckylLong long time ago when I was working for a financial, we use to run thinnet across a solaris star19:26
j3ckylall NFS mounts19:26
j3ckylThe primary server had similiar problems19:27
RoyK\sh: heh - I use zfs on osol/nexenta/something for nfs servers :þ19:27
=== _TechAway_ is now known as _Techie_
\shRoyK: I'm running here a 2x HP dl365 G5 with 10 nics, 2x 4nics as port channel bonds, bonded together as active/passive bonds...inside the hp dl365 there is an p800 smartarray and attached to this controller there are 2x msa 70 with sas hds :) rock'n'roll19:29
Brot1I think I found the bug I'm having with my installation: https://bugs.launchpad.net/ubuntu/+source/upstart/+bug/543506. But why the hell is this bug open since 2010-03-21??19:30
uvirtbotLaunchpad bug 543506 in upstart "Some services not started on boot, runlevel returns "unknown" (dup-of: 554172)" [High,Confirmed]19:30
uvirtbotLaunchpad bug 554172 in linux "system services using "console output" not starting at boot" [High,Confirmed]19:30
RoyK\sh: nice - I just ordered a couple of (net) 120TB systems with 10Gbps connectivity :D19:31
\shRoyK: netapps or hps or emcs? ;)19:32
RoyK\sh: nexentacore on supermicro hardware :)19:32
RoyKFAR cheaper19:32
RoyKand with SSD caching, it will probably do about the same performance-wise19:33
\shargl...supermicro19:33
RoyKnah - works well19:33
\shRoyK: http://www.welt.de/multimedia/archive/00251/Rechenzentrum_DW_Wi_251366p.jpg :) former company, 635 supermicro machines, 16 500GB sata hds, 2x dual core amd opteron cpus 16GB ram...I know all about supermicro boards :)19:36
RoyK\sh: I've only had a few of boxes running stably for a year or so19:41
\shRoyK: for the raid6 stuff we used, we had a areca raid controller inserted...and this version was very fast, but had a unreliable backplane...every day, at least 50 disks were reporting a failure19:42
RoyKouch19:42
kucumber_people, I can't for the life of me seem to get .htaccess working to password a folder on my server19:42
RoyKwe haven't had any problems with the backplanes19:42
RoyKkucumber_: AllowOverride AuthConfig19:42
=== ivoks is now known as ivoks-afk
kucumber_AllowOverride AuthConfig in the .htaccess file?19:44
RoyKno, in the apache config19:45
RoyKthat allows overriding authconfig in the directory given19:45
kucumber_ah - where might be the location?19:46
yann2hello, is /srv/ commonly used on ubuntu? I've rarely seen documentation referring to it19:46
uvirtbotNew bug: #655890 in mysql-5.1 (main) "net-device-up of mysql's upstart-script won't be triggered on OpenVZ VMs" [Undecided,New] https://launchpad.net/bugs/65589019:46
RoyKkucumber_: probably in <Directory>19:46
yann2is it good practice to put ftp files, webpages, etc in there?19:46
yann2may I get in trouble with apparmor? :)19:46
RoyKyann2: /var/www is mostly used for web stuff19:46
RoyKyann2: /srv is mostly a Solaris thing AFAIK19:47
yann2I know being confused by https://lists.ubuntu.com/archives/ubuntu-users/2009-March/176239.html19:47
kucumber_RoyK: <Directory> sorry, where is this - n00b here19:47
RoyKkucumber_: read the apache docs :þ19:47
yann2am working on a bazaar server and wondering where I should put the bazaar project files19:47
AmgineWhat's the best cantrip for archiving a remote folder and copying it to the local machine? scp -rp user@host:/path -| tar -cvf - | gzip -c backup ??19:47
\shrsync ?19:49
=== unreal_ is now known as unreal
* RoyK votes for rsync19:49
\shRoyK: /src is a debian thing, /opt is a solaris thing, and /var/www/ is mostly used on debian systems for files which are served via apache/lighty19:50
RoyK\sh: /srv is a solaris thing iirc19:50
RoyK/src is something else19:50
\shaeh /srv i mean...I never saw it on solaris these early days..19:51
\shand rsync with -e "ssh" is a good way to go :)19:52
RoyK\sh: you may be right - can't find /srv on these old sunos boxes...19:52
yann2so, shouldnt use /srv on ubuntu?19:52
yann2and use /var instead?19:53
RoyKyann2: yes19:53
RoAkSoAxkirkland: btw.. where you able to take a look to my PowerNAP additions?19:53
yann2ok, thanks19:53
\shyann2: /var/www is your way to deploy web stuff19:53
yann2and for a ftp server, for example, where to put the files served?19:54
yann2/var/ftp ?19:54
\shyann2: tbh, I didn't use ftp anymore since 199819:55
yann2ok so I have 10 projects with 10 bzr repositories on a vm that will only do version control where should I put them ? :)19:56
yann2I was thinking of /srv/bazaar, hence the question19:56
\shyann2: that you do...you need to set the correct user permissions then :)19:56
yann2yeah that'll be fun :)19:56
yann2thanks for your time19:57
alex88connection refused mean that server send a REJECT packet right? So it's not filtered20:00
alex88*dropped20:00
RoyKreject, yes20:02
alex88damn..probably my parallels firewall is conflicting with mine..because i'm on vps..20:02
alex88thanks RoyK20:02
RoyKalex88: either iptables -j REJECT or the host doesn't listen to that port (which will send the same ICMP message)20:07
alex88i've setup csf firewall, there are only DROP or ACCEPT20:08
alex88seems that parallels firewall check for open ports and the other are closed20:14
alex88debugging with tcpdump20:15
alex88how do i use tcpdump to extract syn packets received from a host?20:18
KB1JWQalex88: http://packetlife.net/blog/2008/oct/18/cheat-sheets-tcpdump-and-wireshark/20:24
alex88KB1JWQ: got it, it respond with reject..damn..20:31
alex88KB1JWQ: http://pastebin.com/HTNpbs6G can you have a look here? iptables rules20:32
* RoyK can't wait to get his 120TB boxes21:11
alex88there is a user "list" running some python scripts..is that normal?21:15
RoyKalex88: download chkrootkit and run it]21:16
RoyKs/\]//21:16
alex88it's runnin process: /usr/bin/python /usr/lib/mailman/bin/mailmanctl -s -q start21:17
alex88with child procs: var/lib/mailman/bin/qrunner --runner=ArchRunner, BounceRunner, CommandRunner, IncomingRunner, NewsRunner and others 321:18
RoyKmailman installed?21:19
alex88oh..it's http://www.gnu.org/software/mailman/index.html...21:19
alex88well, i've installed virtualmin.. but i haven't specified to install that too21:19
demonsporkI have had dpkg stop working 4 times now while installing various packages (called by apt-get) and the process refuses to die. I literally have to just let it sit for like 8 hours before it will disappear and then I can install stuff again.  I get a thing repeating in dmesg while dpkg is sitting there doing nothing: http://pastebin.com/umJbJU5c21:21
alex88sudo kill -kill dpkg-pid?21:22
demonsporkyeah, does nothing21:22
demonsporktried kill -921:22
demonsporknothing21:22
alex88same thing.. :/ semms like a segfault21:23
demonsporkso how do I resolve this?21:23
demonsporkit has only happened to dkpg, nothing else seems to be suffering21:23
alex88open a bug ticket?21:23
alex88i don't know what to do in those cases21:24
guntbertdemonspork: could it be that you have a failing drive? (just a guess)21:24
demonsporkwhat type of diagnostics can I run? This is a RAID 5 on an HP SmartArray 5i21:24
demonsporkI checked the diagnostics that the hpacucli gives on the drives, and the only drive with errors is drive 3, which isn't even built into the array, it is currently marked as a spare and won't even spin up until it is needed21:26
guntbertdemonspork: no idea to be honest, but what about a file system check? the lines with io... and wait... gave me the idea21:28
wmorriHi, I am wondering where the sendmail.mc file is stored?21:29
wmorriI am new to setting up a mail server with ubuntu21:32
guntbertwmorri: no need for sendmail - use postfix instead21:35
guntbertwmorri: see https://help.ubuntu.com/10.04/serverguide/C/email-services.html21:35
cfairlesAnyone know how to globally disable editing with "less"? I want to add it to /etc/sudoers with NOPASSWD but in a "read-only" mode21:40
demonsporkso how can I kill this dpkg process. It is driving me insane - I need to do some other stuff and I can't reboot21:48
guntbertdemonspork: you should try to find out what is the cause...21:49
demonsporkyeah, I want to use it with a trace, and dig through that trace/submit it21:50
demonsporkbut I can't do that until I can run it again21:50
demonsporkthis is getting extremely aggravating22:12
demonspork:(22:12
demonsporkhow can it be impossible to kill a process22:12
X-Sleepy-Xdemonspork: how are you trying to kill it?22:18
demonsporkkill -9, among other kill signals22:18
demonsporkit has no parent22:18
demonsporkit isn't a zombie22:18
X-Sleepy-Xhmm22:18
demonsporkit is just a dpkg process that won't die22:18
demonsporkthis is the 4th time it has happened22:18
demonsporkI usually just have to wait several hours22:19
X-Sleepy-Xweird22:19
demonsporkI have to leave now22:19
demonspork:(22:19
X-Sleepy-Xk22:19
demonsporkbe back in like 4 hours22:19
X-Sleepy-Xill be sleepin by then22:19
demonsporklol22:19
demonsporkanyone with suggestions, post it in here _AND_ pm it to me if you can22:20
hggdhdid we drop the option to reinstall GRUB from the ISO?22:42
hggdhmathiaz: the server ISO does not offer anymore rescue/Reinstall GRUB?23:03
mathiazhggdh: hm - I don't know23:03
mathiazhggdh: I haven't tested that lately23:03
mathiazhggdh: you may wanna ask cjwatson about that feature23:03
hggdhmathiaz: I cannot find it there on either amd64 or i386, and charlie-tca just confirmed to me that the alternate ISOs have it23:04
hggdhcjwatson: ^23:04
=== ivoks-afk is now known as ivoks
kucumber_I'm getting "broken pipe" when I leave my dedicated server on a while23:28
kucumber_how can I stop this/23:28
=== Amgine_ is now known as Amgine

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