/srv/irclogs.ubuntu.com/2010/05/15/#ubuntu-server.txt

=== twister_ is now known as twister
gregcoithow can I force /etc/rc4.d/S99* to wait for S98 scripts to finish before firing off on boot?01:22
gregcoitwould there be a better place to ask an upstart-related question?01:25
gregcoitnm, there is an #upstart channel....01:26
=== twister_ is now known as twister
=== unreal_ is now known as unreal
therian1hey guys, anyone know a command to probe your local network?02:13
therian1thanks02:13
qman__you'll have to be more specific02:14
therian1for command line02:14
therian1i want to ssh into my box at work02:14
therian1then into another box02:14
therian1but i dont know its ip02:14
qman__nmap is the best port scanner I know of02:14
qman__it isn't included by default, you will have to install it02:15
therian1thanks qman__ ill try it02:15
qman__the command you'll want to use should look like02:16
qman__sudo nmap -sS -p 20 192.168.1.0/2402:16
qman__err, -p 2202:16
qman__and obviously use your network range02:16
therian1thank you qman_02:17
therian1Error #487: Your port specifications are illegal.02:18
qman__that exact command works here02:19
therian1hmm02:19
therian1oh my bad02:19
therian1i forgot the -p 2202:19
therian1i changed the /24 lol02:19
qman__heh, yeah, that's CIDR notation02:20
therian1thanks qman__ worked great02:21
therian1now i just have to figure out which ones mine lol02:21
therian1is there a way to resolve host names?02:22
qman__well, you could reverse dig each one02:22
qman__there might be an option for that in nmap, but there's a lot of them02:23
qman__prepare to read the manual for a while02:23
therian1could you briefly explain reverse dig please?02:24
resnojust did a fresh install and my nic isnt working, at all. i cant get it in ifconfig02:24
qman__dig -x 1.2.3.402:25
therian1thanks qman__ :002:25
therian1:)*02:25
nerdy_kidso i am a total newb at this, i have a basicly non configured apache server running on one pc and thats all i can handle.  I am curious as how i would go about getting more then one server serving data, sort of like dual core only with servers.02:38
resnodual core with servers?02:39
nerdy_kidi mean like so when i request a file from an IP, that multiple servers serve the data back to the requester02:40
nerdy_kidresno ^^02:41
resnonerdy_kid: im not sure what you are trying to do. so im hoping someone smarter will respond02:42
resnoare you saying multiple phyisical servers?02:42
nerdy_kidresno yeah serving the same IP02:43
resnoyou mean like doing load balancing?02:44
nerdy_kidresno yesss02:44
nerdy_kidexactly :)02:44
resnooh, i havent done anything with that. ive been meaning to try it out, but havent yet02:44
nerdy_kidis it a largly complex thing to do?02:45
resnoi havent done anything with it, so you are asking the wrong person. google or #apache2 would be a good place to start02:45
nerdy_kidresno ok thanks :) at least now i know what it is called :)02:46
resnosure, thatll give you something to search for02:46
nerdy_kidresno yeah thanks :D02:46
=== twister_ is now known as twister
fried_pe1guinah, much better03:00
therian1anyone know how to output to file with wget?03:00
fried_pe1guinwhat are you looking to output?03:02
therian1im wgetting a page, then comparing it to another file03:03
therian1i want wget to output to a file03:03
therian1i tried wget -o file03:03
therian1but no workie03:03
fried_pe1guinjust tried wget sitename >> file and (|) file with no success either03:04
fried_pe1guinwhat about wget file && diff?03:05
therian1fried_pe1guin: i did try that03:06
fried_pe1guinkvm question: do I want VT support enabled in the bios for kvm?03:06
therian1ah got it to work03:06
therian1silly me03:06
=== fried_pe1guin is now known as fried_penguin
therian1big O not little o03:06
therian1ok i found the problem, there is a & in the url03:18
therian1so when ever i try to run wget it tries to run everything after the & as another command03:18
therian1anyway to get it to stop that?03:18
ziesemer_Put it in quotes.03:19
ziesemer_The whole URL.03:19
therian1thanks ziesemer_03:20
ziesemer_Single will work best.03:20
therian1awesome thanks ziesemer_03:21
therian1worked like a charm ;p03:23
therian1still dont see how charms work tho...03:23
therian1anyone use google reader?03:29
=== gospch_ is now known as gospch
qman__fried_penguin, yes04:19
uvirtbotNew bug: #580800 in postfix (main) "package postfix 2.7.0-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 75" [Undecided,New] https://launchpad.net/bugs/58080004:31
dominicdinadaneed a hand with fstab04:31
=== therian1 is now known as mellisagibson
=== mellisagibson is now known as therian_
enavqman__ my SFTP apparently is working good06:46
enavi need a little orientation  this article http://is.gd/c9lXs  have several times this "chroot()"   what is that is a function???06:48
hinkIs it possible to have primary and backup ubuntu repos? i.e. update from the local mirror .... if the local mirror fails to respond, try ubuntus mirror06:53
uvirtbotNew bug: #580819 in clamav (main) "package clamav-base 0.96 dfsg-2ubuntu1.2 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/58081908:11
enavthe good of filezilla is that its shows you with messages what is exactlyy happening woth your connection08:13
enavouch!!! wrong chat08:14
joschiI installed the package09:15
joschiI installed the package 'postgresql', purged it, an reinstalled it09:15
joschinow the configuration files in /etc/postgresql are missing09:15
joschihow can I regenerate them?09:15
joschior how can I make aptitude install them again?09:16
RoyKshould be there when you reinstalled09:28
joschiRoyK: the truth is much, much uglier >(09:33
joschiI had to purge the postgresql packages (and its dependencies), the needed to manually delete /etc/postgresql, /etc/postgresql-common, delete the user and the group 'postgresql' and run 'dpkg -P' on all the postgresql packages09:34
joschithen, and only then, a new installation of postgresql-8.4 would create the files in /etc/postgresql09:34
RoyKwhat about postgresql-common or whatever it's named?09:47
RoyKhttp://karlsbakk.net/top-16.png <-- nice09:48
joschiRoyK: /etc/postgresql-common or the package postgresql-common? anyway the directory /etc/postgresql-common was recreated as it should be without the "purging stunt". just /etc/postgresql was the problem09:55
RoyKjoschi: which distro version is this?09:57
joschikarmic09:59
joschiRoyK: https://bugs.launchpad.net/ubuntu/+source/postgresql-8.2/+bug/108296 suggests that this problem exists for a long time now...09:59
uvirtbotLaunchpad bug 108296 in postgresql-common "missing /etc/postgresql/ after uninstall/reinstall" [Undecided,Invalid]09:59
RoyKjoschi: I can upload the default /etc/postgresql* files somewhere, for lucid, but I don't have access to any Karmic boxes from here10:01
joschiRoyK: thank you but that's not necessary10:01
RoyKk10:01
joschiRoyK: after purging everything related to postgresql (e. g. manually removing the user and the group "postgres"), aptitude recreated the directory10:02
RoyKok10:02
joschiRoyK: but I find it quite disturbing that this bug (?) survived since april 200710:02
RoyKit's flagged invalid10:03
joschiyes, I know. even more disturbing IMHO10:03
joschijust tried it on a lucid test machine. problem still occurs. :(10:05
RoyKthat's a bitch10:12
RoyKtry reopening the bug10:12
joschiRoyK: yep, just reopened it/expanded it to cover postgresql-8.410:16
elnurA question about BIND9. Is using wildcard (*) for all subdomains a bad idea? Should I define a line for every subdomain I have?10:30
imjustmatthewelnur: I explicitly define each subdomain10:31
imjustmatthewelnur: though I don't know why wildcard would be bad10:31
elnurimjustmatthew, then why do you define them explicitly? what is your reasoning?10:32
imjustmatthewI define them each explicitly to make it easier for me to maintain my config files10:34
imjustmatthewsome of them are shared accross servers since some are fron-facing DNS and some are LAN facing10:34
imjustmatthewthat sentence had to many somes...10:34
imjustmatthewsome of the subdomain configs are shared accross servers since some of the servers are front-facing DNS and some are LAN facing10:35
elnurimjustmatthew, and how does that affect to your choice? I don't get it10:35
elnurThe only problem I know with explicitly defining every subdomain is that you have to wait while global DNS records update for every subdomain you add.10:36
imjustmatthewI've never had a problem with that, but yes, you are right that could be a downside if you change the records frequently10:39
elnurimjustmatthew, ok. thanks for your help10:41
JanCputting them in explicitly (and removing them when not used anymore) might be useful to remember what you actually use  ;)10:43
uvirtbotNew bug: #580891 in samba (main) "samba filenames wrong" [Undecided,New] https://launchpad.net/bugs/58089111:01
RoyKhow many cpu cores does ubuntu server support?11:44
RoyKas in out of the box11:44
TweedaRoyK, that's likely limited to the 2.6.32 kernel which is likely significantly higher than you'll find available via Intel and AMD processors and related mainboards.11:53
RoyKwhat is that? 64? 256?11:53
Tweedathe out of the box ubuntu 10.04 server kernel looks like CONFIG_NR_CPUS=6412:01
RoyKshould suffice even for a quad 12-core12:15
penguin42should only be a problem for those lucky guys with an 8 socket system12:19
resnoi am trying to setup a virtual server and am looking for suggestions on what to use.12:37
resnoxen, kvm or vmware12:37
andolresno: Well, unless you have any specific preferenses or reasons, go with KVM. If nothing else because that's what has been closest integrated into Ubuntu.12:42
RoyKpenguin42: those opterons are only made for quad usage anyway - not enough hypertransport links for more12:42
resnoandol: ive heard that it doesnt work on every platform. how can i check to see if itll work?12:43
resnoim not running a desktop as a server12:43
resnoim running a desktop as a server12:44
Tweedaresno: egrep '(vmx|svm)' --color=always /proc/cpuinfo12:45
Tweedaif you get output, your cpu supports kvm12:45
* resno crosses fingers12:45
resnono such luck12:46
resnoso whats the next best option?12:46
Tweedayou're stuck with xen12:46
andolresno: Are we talking about always-availible servers, or just something to use for testing and/or development?12:47
resnoandol: it will be always on. running services for my home network12:47
resnoTweeda: and xen is hacky setup from what ive tried on the ubuntu docs12:48
resnos/docs/wiki/12:48
Tweedaresno: agreed.  I run centos5 for my last remaining Xen host12:48
resnoTweeda: is it easier to setup in centos?12:49
TweedaA Xen host?  Yes, it's available as an optional kernel and from the same codebase redhat supports commercially.  It works.12:50
TweedaSetting up a Xen host (Dom0) in Ubuntu is a bit of work as resno related12:51
andolresno: Also note that Debian has a pretty good Xen integration.12:52
andolresno: http://wiki.debian.org/Xen12:53
Tweedamight also look at a cpu upgrade :)12:53
* Tweeda hasn't tried debian Dom012:53
resnoTweeda: maybe, i doubt ill need a better cpu. ill only need more hard drive space :)12:54
Tweedaresno, oh, before you take the xen plunge, you might want to check settings in your bios.  Often, the factory settings disable virtualization support on the cpu.12:54
resnodebian has its own version naming conventions, ):12:55
andolTweeda: We run our fair share of that at work.12:55
Tweedaandol, then debian would probably be closer to home than centos.12:56
andolTweeda: My thought exactly :)12:56
andolresno: But as Tweeda say, first take a peak at your BIOS settings, and see if there's an option to enable hardware virtualization, or so.12:57
TweedaI'd still rather pick up a cpu that supports virt and run kvm12:57
resnoTweeda: what cpus support it?12:57
Tweedamost new cpus.  it's usually listed in the tech specs.  well, tech specs worth their salt.12:58
TweedaI run kvm on really cheap amd cpus with little fuss12:58
resnowhat do you consider "new cpus"?12:58
Tweedalast few years12:59
andolresno: As a very general rule of thumb, if the cpu is 64-bit, it likely also has hardware virtuzliation support.12:59
penguin42RoyK: Oh didn't know the 12 cores were limited to 4 sockets; still you can do 8 socket on Nehalem-Ex and I think thats hyperthread, so you cang et 8x8x2->128 threads12:59
penguin42andol: Except the bottom end ones - like this lapto12:59
penguin42p12:59
RoyKpenguin42: I guess 48 cores will suffice for most use :þ13:01
Tweedaresno, what CPU are you running?13:02
RoyKany suggestions for which benchmark suite I should use to benchmark a 16-core system?13:02
RoyKI'm curious about memory bandwidth - it's an amd system, so it should be good, but it'd be nice to see the actual numbers13:02
resnoTweeda: p413:02
penguin42RoyK: It really depends what you want to do with it; I'm always a slave for compile times - make -j  is always fun :-)   But are you a databasey person or a supercomputery maths person?13:05
RoyKthis system is meant for doing modelling13:05
penguin42well then give it one hell of a model13:05
RoyKvolcanic ash chewing :þ13:05
penguin42RoyK: You might better fan filters for that :-)13:06
RoyKhehe13:06
RoyKafter Eyjafjallajökull started farting, we've had a lot to do at work13:06
mcasRoyK: what do you work ;-)13:14
RoyKnilu.no13:14
mcasah ok :-)13:17
RoyKthat new 16-core machine has something like the same cpu power as the other eight boxes they've using for models so far :)13:18
RoyK64 gigs of ram should probably suffice even for this :þ13:28
RoyKhow do I disable samba on lucid?15:04
RoyKdoesn't seem to be anything under /etc/rc2.d15:04
NativeAngelshello has anyone here used a sunfire v10015:05
RoyKnot with ubuntu....15:06
NativeAngelsbut you have used one15:06
TweedaRoyK: /etc/init.d/samba4?15:06
RoyKI think we have a few running s1015:06
RoyKTweeda: samba4?15:07
RoyKTweeda: anyway, the init.d script isn't run directly, mostly from /etc/rc2.d15:07
NativeAngelsive  been given 3 and i need to know how to set them up15:07
ivoksNativeAngels: i have couple of sunfires, why?15:08
TweedaRoyK, I use rcconf, so if /etc/init.d/samba4 exists: rcconf --off samba415:08
ivoksNativeAngels: that's sparc, right?15:08
NativeAngelsive never used rackmounts before15:08
NativeAngelsbut always wanted a rackmount15:09
RoyKNativeAngels: the problem isn't that they're rackmounted, but iirc they don't have a graphics card15:09
NativeAngelsand someone was giving them away15:09
RoyKyou may have to add a graphics card or install using a serial console15:09
ivoksserial console, of course15:10
NativeAngelsok15:10
NativeAngelsand how do i do this15:10
ivoksbut, if it's a sparc, lucid won't work at all15:10
ivokssparc is being removed even from ports archives15:10
RoyKit's sparc15:10
NativeAngelsi also go given a sun ultra 515:11
RoyKoh15:11
RoyKthrow that away15:11
RoyKATA3 controller and not very fast cpu15:11
NativeAngelsive been reading a few sites on the v100 it was saying about a console cable15:12
ivoksyeah... if no one steps up to mainatain sparc arch in lucid, it will die by feature freeze15:13
ivoksNativeAngels: yes, you need console cable15:13
NativeAngelswhere can i get these from15:13
knutmithuthello.. i'm having problems with the kerberos authentication.. i dont know how to access home folders using kerberos and nfsv415:13
NativeAngelswould the likes of pc world have one ?15:14
knutmithuti've already added the user to the kerberos principals and received a ticket, but can't cd to ~15:14
ivoksiirc, sun machines have special version :)15:14
ivoksbut i might be wrong15:14
* incorrect goes to his garage and returns with a hand full of cables for NativeAngels 15:14
incorrectpc world won't but most geeks will have a garage full of them15:16
RoyKNativeAngels: I guess you can find the pinout somewhere on the web - get a serial cable, clip it, fasten the correct cables to an RJ45 plug15:16
RoyKNativeAngels: or you might want to call Sun^WOracle and buy one from them, it probably won't cost more than $200 or so15:17
NativeAngelseeks15:17
JeniczekHi there15:17
JeniczekDId anyone solved the kjournald2 ext4 problem or is there a known fix for this?15:18
NativeAngelsare you in the uk incorrect15:18
RoyKhttp://www.sunhelp.org/unix-serial-port-resources/serial-pinouts/15:18
incorrectNativeAngels, yes15:18
NativeAngelsdo you have any of these cables ?15:18
JeniczekAm now unpacking 240k email for setting up a mailserver and I can see, that every 5seconds or so it waits unitl some kjournald writeouts15:18
incorrectNativeAngels, i have boxes and boxes of stuff15:19
NativeAngelsme to15:19
NativeAngelsbut not them15:19
incorrectbest thing to do is subscribe to a local recycle mailing list15:19
RoyKNativeAngels: http://www.sunhelp.org/unix-serial-port-resources/serial-pinouts/15:19
incorrector make it as RoyK points out15:19
incorrectmore fun to make it15:19
RoyKsoldering a D-sub is a bitch, but just using an already soldered serial cable is trivial15:20
incorrecta 9pin is easy15:21
incorrecta 15pin vga is hard(er)15:21
Jeniczekso no one know ?15:21
Jeniczekeverybody running ext4 without a problem?15:22
JeniczekI just wonder, becasue google showed me hundreds of fucked up ppl15:22
RoyKI just installed my first box with ext415:23
RoyKworks so far, although I haven't been micromonitoring it15:23
incorrectJeniczek, for a year15:23
incorrecti have 30 servers on ext415:23
incorrectits xfs i've had problems with15:24
Jeniczekwell, I am not a LInux guru, but If i clearly see, that unpacking 100gig archive takes more than hour and I cann see taht every 5 seconds kjournald2 and pdflush blocks the unzipping process15:24
RoyKincorrect: out of interest - what problems?15:24
Jeniczekthen I know it is fucked up :(15:24
Jeniczekhttp://bbs.archlinux.org/viewtopic.php?id=8495315:25
RoyKJeniczek: bad hardware?15:25
Jeniczekhttps://bugs.launchpad.net/ubuntu/+bug/44244315:25
uvirtbotLaunchpad bug 442443 in ubuntu "kjournald2 writes to disk about every 10 seconds" [Undecided,New]15:25
Jeniczekand so on and so on15:25
incorrectRoyK, just file corruption15:25
RoyKincorrect: that's quite bad15:26
Jeniczekwell, its a 1200Euros PCIE card15:26
Jeniczekand I havent got any issues on ext3 afaik15:26
RoyKincorrect: I was using xfs a lot earlier, never seen anything like corruption, though15:26
incorrectlet me see iotop doesn't show that for me15:26
Jeniczekand as I can see a lot of ppl around having that problem15:26
RoyKJeniczek: how much data is on that?15:26
Jeniczekso its definately on my side15:26
incorrectmy ext4 system is fine15:27
ivoksJeniczek: upgrade from ext3 to ext4?15:27
JeniczekRoyK 3 RAIDs, 1 74gig RAID1, 1 2.3TB RAID5 and 1 3TB RAID515:27
Jeniczekno15:27
Jeniczekclean install15:27
RoyKif you can handle the downtime, downgrade to ext3, that works15:27
incorrectmy 15tb array doesn't have problems on ext415:27
RoyKbut moving 5TB+ will take some time15:27
Jeniczekwell I dunno how to downgrade to ext3 from ext4 workin system15:28
* RoyK uses zfs for storage15:28
Jeniczekthe RAID is now almost empty15:28
Jeniczekam now fillin it up15:28
RoyKyou can't downgrade, only mkfs15:28
Jeniczekso if it really is ext4 issue, than now is the rigt time to do it15:28
Jeniczekhm15:28
RoyKwhat will ext4 help?15:28
RoyKover ext3?15:28
RoyKext3 is pretty rock stable15:29
Jeniczekdunno, ext4 was the default15:29
Jeniczekso i chose it15:29
RoyKI'd say recreate the filesystems15:29
RoyKmove the data15:29
RoyKwait for someone to fix the bugs15:29
incorrectother way round15:29
incorrectmove data then recreate fs;)15:29
Jeniczekcan you help me with the recreate command?15:30
RoyKobviously, yes15:30
Jeniczekam in a biiig hurry, I got one hour :(15:30
ivoksmkfs.ext3 :D15:30
RoyKJeniczek: move the data to somewhere, mkfs -t ext3 on the now unused fs, move the data back, etc15:30
Jeniczekwell, ill man mkfs then15:30
ivoksi still don't understand what's the problem15:30
incorrectrsync localfile/* remotehost:/somewhere/15:30
RoyKivoks: bad i/o performance15:30
ivoksthe fact that kernel is flushing data to disk?15:30
incorrectmkfs.ext3 /dev/something or other15:30
incorrectrsync remotehost:/somewhere/ localfile/*15:31
incorrectoh wait i forgot to unmount and mount15:31
RoyKrsync -a15:31
Jeniczekthe problem is, than right now am unzipping the 100GIG archive, and every 5 to 10 seconds a kjournald2 and pdflush stops the whole unzip process, does somethin, and then it keeps goin15:31
ivoksyeah, it's flushing data to the disk :)15:31
RoyKJeniczek: are any of those filesystems empty?15:31
Jeniczeknope15:32
Jeniczekbut not full so much15:32
Jeniczekthe mail raid5 is almost empty15:32
Jeniczekam now setting it up15:32
RoyKJeniczek: then move the data around to empty one15:32
RoyKthen recreate an ext3 fs on that15:32
RoyKthen check if you see the same behaviour on ext315:32
Jeniczek/dev/sdc1 1.4T 215G 1.1T 17% /var/mail15:32
Jeniczek/dev/sdd1 2.7T 48G 2.6T 2% /var/storage15:32
ivoksbut it would still need to flush data to the disk15:32
RoyKif you do, it's not an ext4 problem15:32
ivoksotherwise, there wouldn't be anything on the disk :)15:33
RoyKjust move the storage over to mail15:33
ivoksext3 does it every 3 seconds15:33
Jeniczekwell, i need to move the mail to the storage15:33
ivoksext4 every 5 or 1015:33
Jeniczekivoks so what do you think that causes this problem?15:33
RoyKJeniczek: there's more than four times as much on mail as there is on storage15:33
ivoksthese aren't problems15:33
ivoksthat's how systems work15:34
ivokspile up data in memory15:34
ivoksand then flush it onto disk15:34
Jeniczekso why is it so slow?15:34
RoyKwhat sort of drives?15:34
RoyKhow many?15:34
ivokscache on your raid card?15:34
RoyKhardware or software raid?15:34
Jeniczekhardware15:34
ivoksdid you enable cache on it?15:34
Jeniczek256MB, BBU included, 3ware 965015:34
Jeniczek12Ports15:35
ivoksthere's tw_cli utility15:35
RoyKis the write cache enabled?15:35
ivoksdownload it and enable write cache15:35
Jeniczekhow can I found it out?15:35
ivokstw_cli15:35
RoyKeither with tw_cli or rebooting into 3wares bios15:35
incorrectoh god not a 3ware15:35
JeniczekI have installed the 3ware utlilty which set ups some kind of web server and allow me to connect to a WEb based gui to control those raids15:35
RoyKwhat's wrong with 3ware?15:35
incorrecti found my 3ware controller was slower than software raid515:35
RoyKI've used 3ware for years - works well15:35
ivoksJeniczek: you can use that too15:35
ivoks3ware rulez15:36
ivoksxfs too15:36
RoyKincorrect: software raid usually beats it all15:36
ivoksxfs on 3ware = success :)15:36
Jeniczekwhat i have heard, 3ware is a good raid card15:36
RoyKit is15:36
Jeniczekokey15:36
incorrectnot in my experience15:36
Jeniczekso what should I do now?15:36
Jeniczekabout the cache15:36
incorrectmy PERC6's blew the 3wares away15:36
Jeniczekfuck dell :P15:36
RoyKif you can reboot the box, do so, hit alt+3 during boot15:36
RoyKcheck if write cache is enabled15:37
RoyKit normally is15:37
JeniczekRoyK I can reboot it, but am not in the same city the box is atm, and i dont have a KVM15:37
Jeniczekso I can get into Alt 315:37
RoyKok15:37
ivoksJeniczek: you said you installed web utility?15:37
Jeniczekbut I can get to the web based thing15:37
RoyKthen you need tw_cli15:37
knutmithutanyone has an idea, why nfsv4 maps users to nobody on the client?15:37
incorrecti benchmarked dell, hp, supermicro15:37
ivoksJeniczek: then use it15:37
Jeniczekwell, ill try to dig fro some cache thing in there now15:38
incorrectout of all the servers dell came top other than for disk, but that was because hp put nearline sas drives in15:38
ivoksJanC: there's controler settings in management15:38
incorrecti put the near line sas drives in the dell and it blew the hp away15:39
ivoksbah15:39
ivoksJeniczek: ^^15:39
ivoksJeniczek: you'll see Unit Write Cache setting15:39
Jeniczekokey, mmt15:40
Jeniczekhm15:43
Jeniczekit seems its enabled :(15:43
Jeniczekivoks http://i40.tinypic.com/2d2a9eg.jpg15:44
ivoksis logic disk builded or still building?15:44
Jeniczekis this it?15:44
ivoksJeniczek: protection?15:44
JeniczekI dunno, thats the system disk15:44
Jeniczekor the system raid15:44
ivoksyou are copying to raid1 or raid5?15:44
Jeniczekraid515:44
Jeniczeki have copied the 100gig archive to the MAIL RAID5 array15:45
ivoksok, give me screenshot of 'summary'15:45
Jeniczekand now am unzipping it there15:45
ivoksdoh15:45
ivoksyou are unzipiing 100gb zip of mails?15:45
Jeniczekit consists of 264345 mails15:45
ivoksthat will take some time :)15:45
Jeniczekyupp15:45
ivokscause that's mostly text15:45
Jeniczekwell, but I see that it unzipps cca 65MB/s and then i can see in iostat, that it does nothin just pdflush and kjournald15:46
ivoksso the zip ratio is very high15:46
ivokspdflush is writing data to disk15:46
ivoksthat's what it does15:46
RoyKknutmithut: what sort of server?15:46
Jeniczekhttp://i39.tinypic.com/s2zgid.jpg15:47
Jeniczekhere you go15:47
ivoksJeniczek: click on '2'15:47
knutmithutldap kerberos nfsv415:47
ivoksand then do a screenshot15:47
incorrecthow much diskspace does the multiverse take?15:47
knutmithutand ubuntu 9.04 ;)15:47
RoyKknutmithut: both client and server?15:47
knutmithutnow, current client is 9.10, later will be 10.0415:48
Jeniczekhttp://i39.tinypic.com/2udxoxk.jpg15:48
ivoksJeniczek: you might try disabling 'Queuing' in controller settings15:48
RoyKknutmithut: I've seen mapping to nobody when trying without krb from a linux client (solaris server)15:48
ivoksnever the less, unzipping 100gb of mail is a slow process15:48
knutmithutbut client uses kerberos also15:48
ivokscouse you are unzipping lots of small files15:48
ivoksnot one big15:49
Jeniczekyupp15:49
gkahlais hald enabled on ubuntu server? I need automount of USB drives...15:49
Jeniczekbut some of the are big as well15:49
ivoksand most of those are just text15:49
Jeniczekyupp15:49
ivoksthat won't utilize your i/o to the maximum15:49
ivokscheck out how your CPU is holding :)15:49
RoyKknutmithut: check the krb things - perhaps something wrong in there15:50
ivoksif you are getting 60MB/s in average, that's actually quite good, considering everything :D15:50
Jeniczekwell, the cpu is a weak component on the server, our company things, that IT is the last thing to spent moeny for, so am tryin to do my best... event the cars is from ebay ;)15:50
ivokstry copying that archive to different name15:50
Jeniczekthe cpu is opteron 24815:50
ivoksand then watch how fast it writes15:50
Jeniczekwell now its still uznipping15:51
knutmithutRoyK: thanks, i will15:51
Jeniczekid rather keep this15:51
ivoksJeniczek: let it unzip15:51
Jeniczeki need to turn the mailserver on asap15:51
ivoksJeniczek: just do 'cp archive.zip someothername.zip'15:51
ivoksJeniczek: and what how fast does it writes15:51
Jeniczekyeah I understand what you mean15:51
ivoksjust for 10 seconds15:51
Jeniczekwell15:51
Jeniczekthe unzipping is done ;)15:51
Jeniczekok lets try it15:52
Jeniczekhm15:52
Jeniczekoccasionaly 170MB/s15:52
Jeniczekbut then i see another waits for pdflush and so15:53
ivoksyep... raid515:53
ivoksman15:53
ivoksi told you15:53
ivokspdflush writes data15:53
ivoksof course you wait for it15:53
Jeniczekhm15:53
ivoksyou can't read data that's not there15:53
Jeniczekso everythin is ok?15:53
ivoksyes15:53
Jeniczekwell, when the pdflush is not active, the speeds hops after a second from 34MB/S to 160 to 180 MB/S15:54
ivokswhat kind of disks are there?15:54
Jeniczekthen keeps at 180MBs and then after 3s falls back15:54
JeniczekWD Black15:54
Jeniczek1TBs15:54
ivoksJeniczek: correct, cause then you are copying to the buffer15:54
ivokswhen pdflush flushes data, you are doing intensive process on the memory15:54
ivoksso it's slower15:54
Jeniczekthe mail array consists of 4 500GBs WD Blacks15:54
Jeniczekthe storage array consists of 4 1TBs WD Blacks15:55
ivoksthat's sata, right?15:55
Jeniczekyupp15:55
Jeniczek7.2kRPM15:55
ivoksthat's maximum15:55
ivoksi get 220MB/s on my laptop15:55
ivoks:)15:55
ivoksbut that's SSD :D15:55
Jeniczekwell, but RAID5 should do a lot more I thing15:55
Jeniczekespecially with BBU and 356MB cache15:55
Jeniczek215:56
ivoks256 isn't a lot15:56
ivoksand that's why you get 170MB/s15:56
ivokswhen you are filling that cache :)15:56
knutmithutRoyK: seems like it was a problem with libnss-ldap or libpam-ldap.. it's still mapped to nobody, but my user now can access the folder15:56
Jeniczekhmm15:56
ivoksanyway, i have to go now15:56
Jeniczekwell, I have to give you a HUGE thanks!15:56
Jeniczeknow am gonna set it up when i know that its ok15:56
ivoksrun hdpart -tT /dev/...15:57
ivokshdparm15:57
Jeniczekwont it destroy any data?15:57
ivoks9650, right?15:57
Jeniczek9550SX15:57
ivokshdparm -tT is testing15:57
ivoks9550?!15:57
ivoksthat's slow, dude :D15:57
Jeniczekwell, thats the best for 133Mhz15:57
Jeniczekour board doesnt have PCI-X15:57
Jeniczekyou know what I mean15:58
ivoksrun hdparm -tT /dev/sda or whatever15:58
ivokssdb15:58
Jeniczekin progress15:58
Jeniczek/dev/sdb:15:58
JeniczekTiming cached reads: 1834 MB in 2.00 seconds = 917.60 MB/sec15:58
JeniczekTiming buffered disk reads: 132 MB in 3.04 seconds = 43.40 MB/sec15:58
ivoksthat's slow15:59
ivoksvery slow15:59
ivoksand this has nothing to do with filesystem15:59
ivoks Timing buffered disk reads:  302 MB in  3.00 seconds = 100.54 MB/sec15:59
ivoksthis is on my 965016:00
Jeniczekhm16:00
RoyKivoks: what block size?16:01
RoyKon the raid controller16:01
ivoksno time16:01
ivokstake care16:01
Jeniczekso does it mean that its bad for mail server?16:02
Jeniczekon my previous we had much more worse raid card it it was fine16:02
Jeniczekam confused a bit right now16:02
RoyKit means your raid is slow16:05
f1ybackdell cerc 6 channel sata?16:05
f1ybackaka adaptec 2410sa?16:05
* f1yback ducks16:05
Jeniczekwell, I dont get why is it slow16:06
Jeniczekit cost a lot16:06
Jeniczekwith the BBU16:06
f1ybackwhat raid mode16:09
Jeniczek516:11
f1ybackthat's why16:12
f1ybackhow many disks16:12
Jeniczek416:12
f1ybackugh16:12
f1ybackswitch to raid 1016:12
f1ybackyou will only have about 50% of your disks as storage16:12
f1ybackbut much better performance16:13
Jeniczekbut am planning 6 in a week or two16:13
Jeniczek6 disks I mean16:13
Jeniczeknot RAID 6 ;)16:13
f1ybacki'd still go raid 1016:13
f1yback5 has health write penalties and random i/o penalties16:13
f1ybackhealth/heavy16:13
Jeniczekhmmm16:16
bG303hello and err help!  got a box that refuses to startup, last message is that mountall cannot mount an nfs volume (nfs isnt there so not suprissing) how can i find out what is going on? how can i get a shell so i can fix this? (sorry first linux box for years and struggling to find out how to diag boot issues)16:18
Jeniczekwell, it seems the server is runnin16:18
f1ybackbG303,16:23
f1ybackraid?16:23
bG303yea, md016:23
f1ybackoh good16:23
f1ybacksata? ide? scsi?16:23
bG303sata16:23
f1ybackok first thing I would do is burn a system rescue cd16:23
f1ybackand check the drives smart tables16:23
RoyKf1yback: that's bullshit - he should be getting better performance with that16:24
f1ybackif the reallocated counts are higher than threshhold or there's pending16:24
RoyKJeniczek: what block size are you using?16:24
f1ybackor you see UNC or ATMF or TZNF16:24
RoyKon the raid controller16:24
f1ybackthe hd is CANUCKED16:24
f1ybackRoyK, sorry it's true16:24
f1ybackraid 5 is a hog16:24
bG303ok cant see that being the case as its booting.  i.e. its booting from md016:24
bG303i think something is blocking16:24
f1ybackyes you can16:25
bG303but thanks and i'll start there16:25
f1ybackit's a sw thing16:25
RoyKf1yback: I've been using raid5 on several controllers and it gives good performance16:25
f1ybacksmartctl -a /dev/sda etc16:25
f1ybackRoyK, depends on the load16:25
RoyKf1yback: don't spread too much fud16:25
f1ybackfor basic storage stuff it's fine16:25
f1ybackdude16:25
RoyKhis load is pretty basic16:25
f1ybackWE FOUND OUT THE HARD WAY AT WORK16:25
f1ybackok16:25
f1ybackI don't spread fud16:25
f1ybackand I threaten to kill people who fuck with people asking for help16:25
f1ybackknow that about me16:25
RoyKhow nice of you16:26
bG303where do i get a system rescue disc from ?16:27
RoyKthe install cd works for taht16:27
RoyKthat16:27
bG303ok coolio, thankw16:27
f1ybackyeah the install cd isn't bad16:27
f1ybackbut sysres has more stuff16:27
f1ybackbut up to you16:27
bG303mother fucker, samba is up, the box is running, ssh is missing and the no gdm16:27
bG303this is fucked up.16:27
RoyKif you know linux a little, the install cd suffices quite well16:27
RoyKbG303: just boot into single16:28
f1ybackI been using linux since 96 bro16:28
f1ybackI used to walk newbies thru kernel compiles etc :P16:28
RoyK9416:28
Jeniczekf1yback well, correct me if am wrong, but I cant turn RAID 5 into RAID 10 without data loss, right?16:28
f1ybacksystemrescuecd still is better suited for any data recovery etc16:28
f1ybackactually some controllers can convert it16:28
f1ybackas long as you don't exceed the space shrink but you have to shrink your filesystem first16:28
Jeniczekhmm, ill investigate mor, but cant see that option in there16:28
Jeniczekyeah, thats what i understand16:28
bG303RoyK, its actually better as a bunch of Isos are on that volume, saves downloading them, just confused about what its bitching about.  Normally admin solaris and *bsd, this linux malarky screws with my head (quite like the performance those) :)16:29
Jeniczekbut its 20% full of data, so that wont be the case16:29
RoyKbG303: just select recovery mode in the boot menu16:29
bG303RoyK, doesnt do anything, cant get a shell on the server or any sort of login16:29
RoyKit doesn't boot?16:29
bG303well it does but hangs16:29
RoyKyou said some stuff was running16:30
bG303it gets passed networking obviously and is bringing up some services16:30
RoyKhow do you know?16:30
bG303cus i can access them across the network16:30
f1ybackbtw16:30
RoyKdid you try to boot into single user mode?16:30
f1ybackDON'T USE FSCK IF YOU HAVE A DYING DISK16:30
f1yback:P16:30
* RoyK takes f1yback's coke16:30
bG303RoyK, no idea how to do that with grub16:30
f1ybackno dude I am serious16:31
f1ybackI have done like 20 or so hard drive data recoveries16:31
RoyKbG303: just press escape, choose recovery mode16:31
f1ybackit's best to use a tool like ddrescue etc and clone all the sectors to another disk or file16:31
bG303RoyK, i tried that, didnt work, got the same console with the error, tried alt+<num> and got nothing but blank screens, the debug??? screen and a rolling ubuntu graphic on the X psuedo16:32
bG303but samba is up ?!?!? responds to pings ?!?? odd ness.16:32
* f1yback goes back to building his ubuntu server vm buildhost16:32
RoyKsamba shouldn't start if you start in single16:32
RoyKX neither16:33
bG303no this was a punt let it boot, see what happens16:33
bG303i cant get a shell at all RoyK,16:33
RoyKdid you choose single?16:33
bG303recovery gives the same16:33
RoyKwhat error?16:33
bG303no login prompt16:33
bG303no errors, thats the problem16:33
RoyKrecovery/single should start in plaintext16:33
bG303last think i saw is an error on pts7 with mountall cant mount an nfs volume16:34
Jeniczekhm, is there a service that allows me to send a mail with a harmless virus in it so I can test if the antivirus plugin on the mailserver works?16:34
bG303s/think/thing16:34
RoyKbG303: nfs mounts aren't mounted in single16:34
bG303RoyK, there are in my config hahah ;)16:34
RoyKbG303: enter grub, edit the kernel line, add "single", boot16:34
RoyKbG303: not in single16:34
bG303RoyK, sound, brb :)16:34
RoyKunless you've fucked up badly16:34
RoyKremove splash and so on16:35
RoyKdoesn't help much for debugging16:35
bG303ok grub, 'e', got some insmod etc, guessing i add that to the vmlinuz line ?16:38
bG303heh getting memoris yadraskil on a 486 here ho ho16:39
bG303ok must have got that wrong as its still booting nfs etc16:39
bG303ok 10.4 is fucked.  Definely booted single then but it still fires X16:43
bG303cock this, off for food, i'll try fix this later or rm the whole thing and do something else.16:45
bG303my life is too short for toy OS's16:45
ziesemer_!language | bG30316:46
ubottubG303: Please watch your language and topic to help keep this channel family friendly.16:46
RoyKexcuse me, ziesemer_, but what is this bitching about language?16:47
bccan someone tell me where on the ubuntu site the support timelines are for the various versions? E.g. when does support for 9.04 end?16:49
jpds!releases | bc16:49
ubottubc: Ubuntu releases a new version every 6 months. Each version is supported for 18 months to 5 years. More info at http://www.ubuntu.com/ubuntu/releases & http://wiki.ubuntu.com/TimeBasedReleases16:49
bcjpds: thank you. I tried every seach keyword BUT releases heh jesus16:50
jpdsbc: I tend to look at https://wiki.ubuntu.com/Releases myself.16:51
bcdo-release-upgrade should probaly have a manpage, shouldn't it, even though it wouldn't have much substance? Having it show up in `man -k upgrade` would be helpful.17:00
RoyKbc: it's a lot more convenient if people can tell you to RTFM without there being an FM :þ17:07
bcRoyK: :D17:09
=== f1yback is now known as flyback
=== flyback is now known as f1yback
uvirtbotNew bug: #581016 in samba (main) "package samba-common (not installed) failed to install/upgrade: sub-processo script post-installation instalado retornou estado de saída de erro 1" [Undecided,New] https://launchpad.net/bugs/58101617:51
=== matthew_ is now known as imjustmatthew
imjustmatthewDoes anyone know if the lucid server CD runs serial console when you first boot with it? I'm not getting a serial console, but it might be a hardware problem.17:53
RoyKimjustmatthew: try console=/dev/ttyS0 on the kernel line17:58
imjustmatthewRoyK: you're saying I need to edit the ISO to change the boot options?17:59
RoyKwhat sort of computer is this?18:00
imjustmatthewan ALIX from PC Engines18:00
RoyKcpu?18:01
imjustmatthewGeode LX80018:01
RoyKdoesn't it have a video card?18:01
imjustmatthewnope, only serial18:01
RoyKmy best guess is to create a boot usb thing and edit grub there18:02
imjustmatthewokay, I'll give it a shot, thanks.18:02
RoyKgiven it can boot from usb, that is18:03
imjustmatthewyes it can, it's actually a usb cd-rom drive18:04
imjustmatthewthat I'm booting with now18:05
RoyKimjustmatthew: changing a boot cd is a bit of a hassle, but changing a usb stick is easy18:06
f1ybackimjustmatthew, why not setup serial console to it18:20
imjustmatthewflyback: that's actually what I want to do. am I going about it the wrong way?18:21
f1ybackok18:21
f1ybackon the kernel command line18:21
f1ybackdo you know what serial port is it18:21
f1ybackI assume com1 if it's the only one18:21
imjustmatthewCOM118:21
f1ybackit's18:21
f1ybackconsole=ttyS0,speed18:21
f1ybackconsole=ttyS0,960018:21
f1ybackconsole=ttyS0,3840018:21
f1ybacketc18:21
f1ybackI dunno if the installer will work though in text mode18:22
f1ybackwell you need to force the text mode installer18:22
f1ybackoh you are18:22
f1ybacksorry forgot where I am18:22
imjustmatthewyes, and I'm dumping it to a USB stick to modify the boot parameter and do the install, unless you have an easier way, which would be awesome18:23
f1ybacknope that's how I do it18:23
=== luis__lopez is now known as luis_lopez
MTecknologyHow can I figure what's causing this and fix it?  WARNING: /etc/ssh/moduli does not exist, using fixed modulus18:30
penguin42MTecknology: It's a file that's part of the openssh-client package - it should be there18:32
penguin42MTecknology: Uninstalling openssh-client and reinstalling it should fix it18:33
MTecknologypenguin42: it is there..18:33
RoyKfloown: how do you go to the kernel command line without a console?18:34
MTecknologyerr.... wrong system18:34
MTecknologypenguin42: I ran aptitude reinstall openssh-client and it's still not back..18:36
penguin42MTecknology: Is the file actually there?18:37
MTecknologynnope18:38
penguin42I'd uninstall the package and then reinstall it18:38
MTecknologyI can't without removing openssh-server though - and that would kill my connection :P18:39
penguin42MTecknology: According to man moduli(5) you can regenerate one with ssh-ketgen -G and then -T  never done it though18:41
MTecknologypenguin42: thanks18:41
incorrectapt-mirror wtf! can't beat downloading locally18:44
incorrectftw :D18:45
celeborn999looking for help on ufw, for some reason i think ufw is mysteriously blocking incoming SMTP traffic despite a rule allowing it18:45
celeborn999nmap isn't seeing smtp on 25, nor can i netcat to the server on 25, even though i have a rule that says "25/tcp ALLOW IN    Anywhere". when ufw is off it says "25/tcp  filtered smtp". am I doing it wrong?18:58
celeborn999(it says = nmap reports)18:59
SpamapSceleborn999: iptables -L -n -v   .. you should see counts go up wherever your SMTP packets are hitting19:00
celeborn999with or without ufw enabled?19:02
celeborn999and right now i'm not mailing anything, just trying to verify a connection with netcat or telnet19:03
RoyKwith19:03
celeborn999so it's not smtp traffic19:03
RoyKiptables -Lvn won't show much unless the rules aren't there19:03
celeborn999i'm not sure what i'm looking for...i think i see the line in iptables reflecting the ufw tcp 25 rule. packet count is 019:06
celeborn999do the iptables rules logically go from top to bottom?19:08
celeborn999btw i was able to successfully enable an allow rule for ssh, or at least, i can ssh into the server while ufw is supposedly working19:09
foxbuntuceleborn999, yes, rules are applied top down19:10
celeborn999man, i'm just not seeing the answer here19:14
celeborn999my ssh and my smtp rules look identical but one works and the other doesn't19:14
foxbuntuceleborn999, pastebin the whole conf19:14
celeborn999which file, specifically? i'm working with ufw through the command line e.g. sudo ufw whatever whatever. do you want the output of ufw status verbose?19:16
foxbuntuceleborn999, ufw status numbered | pastebinit19:18
celeborn999http://pastebin.com/Sj4RjcWf19:20
celeborn999i changed the rule from 25/tcp (which is the default for ufw allow smtp) to just 25 (ufw allow 25)19:20
celeborn999thinking, who knows, why not19:21
foxbuntuceleborn999, well ufw allow 25/tcp is more correct19:22
foxbuntuor ufw allow smtp19:22
celeborn999well, i might as well change it back then.19:22
foxbuntuceleborn999, yes19:22
foxbuntuceleborn999, also you can just type "sudo ufw allow ssh"19:23
celeborn999that's what i did for ssh19:23
celeborn999i did that originally for smtp too but it wasn't working, so i fiddled with it19:23
foxbuntuceleborn999, ok, are you sure sshd is running on the target machine then?19:23
celeborn999i'm sshing into it right now19:23
celeborn999it's remote19:23
foxbuntuceleborn999, then what is the problem?19:24
celeborn999nmap isn't seeing smtp on 25, nor can i netcat to the server on 25, even though i have a rule that says "25/tcp ALLOW IN    Anywhere". when ufw is off it says "25/tcp  filtered smtp".19:24
celeborn999this is nmap from my remote client. if i netcat from the server to port 25 on itself, it connects19:25
foxbuntuceleborn999, do you have anything listening on port 25?19:25
celeborn999postfix should be listening. when i netcat on the machine to itself and ehlo, it responds with mail messages19:25
foxbuntuok19:26
celeborn999and when i disable ufw totally, as i mentioned, nmap will detect smtp19:26
celeborn999though nc still doesn't work even with ufw off. really not sure about that19:26
celeborn999netstat reports smtp listening19:28
foxbuntuceleborn999, can you "telnet remotehost.com 25"19:31
celeborn999no, it times out19:32
foxbuntuceleborn999, can you do it on the remote machine?19:32
celeborn999i don't have a telnet client there and don't want to install one but i can netcat to 25 from the remote machine to itself19:33
foxbuntuceleborn999, sounds to me like a postfix config issue not a ufw issue19:34
celeborn999how so?19:34
foxbuntuceleborn999, postfix has rules to bind to the local address19:34
foxbuntuceleborn999, or to accept mail from only x.x.x.x19:34
foxbuntuceleborn999, and by default its the loopback19:35
celeborn999it could be. i'm not a postfix expert. i followed the guide here https://help.ubuntu.com/10.04/serverguide/C/email-services.html as close as i could, it didn't mention anything about that19:35
foxbuntuyour ufw rule appears correct19:35
foxbuntuceleborn999, yeah, Im no postfix expert myself and it took allot of trial/error to get mine working19:36
foxbuntuceleborn999, however, let me poke my cfg and see if I can find the correct section19:37
celeborn999this seems to be the key line sudo postconf -e "inet_interfaces = all"19:37
foxbuntuceleborn999, thats the main one i think19:37
foxbuntuceleborn999, smtp_bind_address =19:39
foxbuntusmtp_bind_address6 =19:39
celeborn999i don't have that one19:40
foxbuntuceleborn999, postconf -v | pastebinit19:40
celeborn999i don't want to pastebin my whole conf...what are we looking at specifically?19:40
foxbuntuceleborn999, not sure, like I said, Im no expert but looking at yours vs mine could provide insight19:41
foxbuntuceleborn999, I understand not wanting to post the whole thing...no biggy19:41
celeborn999thanks19:42
foxbuntuceleborn999, you could ask around in #postfix too19:42
celeborn999thanks again19:43
foxbuntunp19:43
halvorsI get this: "SMTP<< 450 4.7.1 Client host rejected: cannot  find your reverse hostname error" from my postfix server, how to set reverse hostname in postfix20:06
halvors??20:07
mcashalvors: that means, that postfix cannot resolve the hostname of your client20:12
celeborn999hey foxbuntu, it turns out the postfix problem was the port 25 block some ISPs do. i got around it20:18
halvorsof the client?20:19
celeborn999yeah, blocking destination-port-25 traffic from my client behind a consumer ISP20:19
celeborn999totally lame20:19
celeborn999halvors btw this is for a problem i reported earlier, nothing to do with the problem you reported20:20
halvorsbut an other problem, th eepost client cant send email with my server, and i get nothing in the logs :(20:22
axisysis there a live upgrade like procedure for ubuntu to upgrade server with 100% fall back ?20:25
penguin42axisys: No, fall back isn't supported - you may be able to do it if you're running lvm mirrors and take a snapshot20:26
axisysliveupgrade in solaris allows to detach a mirror and upgrade the inactive disk and boot from it .. all in three to four commands.. and let you go back to original setup should a fall back is necessary20:26
penguin42axisys: Feel free to file a wishlist bug for it - it would be a good feature20:27
penguin42(and probably not that hard to do with a good lvm setup)20:27
storrgieI am user id 1000 on my laptop, and user 1001 owns a folder on my server that I am sharing via NFS.... is there a way to specify uid in my fstab on my laptop?20:27
axisyspenguin42: with solaris 10 you can do it even with 1 disk .. you just take a zfs snapshot and then upgrade.. and roll back to snapshot within same disk if have enough space..20:28
axisyspenguin42: i guess theoretically lvm can be done even with one disk20:28
penguin42axisys: Yeh you should be able to do the same on Linux with an LVM snapshot on the same disk - but that does assume you were using LVM and had spare space; and I doubt that the boot loader stuff is smart enough20:29
axisyspenguin42: hmm20:29
mcasstorrgie: i mean i read that you can map uids with nfs20:29
penguin42axisys: But it would be good to have it automagically set up by an ubuntu install so you could do that20:30
axisysat this age in technology that ougta be available.. just thinking out loud20:30
axisyspenguin42: exactly!20:30
storrgiemcas: can i specify uid in the mount line as an option?20:30
penguin42axisys: So a wishlist is probably the right thing to do20:30
axisyspenguin42: with todays technology no i dont want lvm would be the option .. not the other way around :-)20:31
axisyspenguin42: where do I submit it ?20:31
penguin42axisys: from a command line run   ubuntu-bug  ubiquity   (ubiquity is the installer)20:31
axisyspenguin42: in the meantime i am afraid to upgrade my ubuntu server jaunty to lucid (two upgrades)20:32
axisyspenguin42: oh ok20:32
penguin42axisys: Still, it would be better to get an upgrade done!20:32
mcasstorrgie: here is a good howto about it http://www.troubleshooters.com/linux/nfs.htm20:32
axisyspenguin42: yeah.. but.. just in case.. :-(20:32
storrgiemcas: so... change my uid on the client20:33
penguin42axisys: Are you running md raid ?20:34
axisyspenguin42: i think so.. forgot to how to check20:35
penguin42axisys: Well, would you know how to cope if one of the drives failed in your mirrored pair?20:35
axisyspenguin42: i have the steps somewhere.. it did not get to the point yet ..20:36
axisyspenguin42: only done it few million times in solaris..20:36
penguin42axisys: Well you see if you were comfortable with doing that I would have suggested a somewhat risky strategy - pull one of the drives and you have a fall back!20:37
axisysso in solaris i am expert.. but it is little different with linux.. i remember when i read it first time20:37
axisyspenguin42: i gotcha20:37
penguin42yeh its one of these things that takes some time to get used to20:37
axisyspenguin42: so wasnt there a command to show md status.. forgot it20:38
penguin42axisys: cat /proc/mdstat   will show it20:38
axisyspwnguin: nothing there.. checking few servers.20:39
axisysone server has this20:39
axisys/dev/mapper/nvidia_eeffhbef120:39
axisysso thats dmraid i think.. no?20:39
penguin42ah dmraid that's not mdraid (duh obvious?!!!)20:39
axisysdf -h / btw20:40
penguin42it's really dumb we have two similarly named things like that20:40
axisyslol20:40
=== unreal_ is now known as unreal
* penguin42 doesn't no dmraid, only mdraid20:40
penguin42kw20:40
axisyscat /proc/mdstat20:40
axisysPersonalities :20:40
axisysunused devices: <none>20:40
axisyspenguin42: found one20:41
axisyshttp://pastebin.com/AN8Uid5G20:42
axisys/dev/md1               71G  2.4G   65G   4% /20:42
axisysexcept that one is already lucid20:42
penguin42yeh that's a happy two drive mirror20:45
uvirtbotNew bug: #576233 in samba (main) "package portmap 6.0.0-1ubuntu2 failed to install/upgrade:" [Medium,New] https://launchpad.net/bugs/57623321:17
* f1yback would like to find the people who invented CAPTCHA and inject them with a poison that will kill them in minutes if they don't get the anidote which is protected by a fucking CAPTCHA21:20
=== Russ|Out is now known as Russ
dominicdinadaDoes anybody know of a site with some downloadable Iptables examples that i could learn from ?22:25
celeborn999have you considered using UFW?22:26
dominicdinadai was working with ufw22:29
dominicdinadabut i found a nice tool called firewall builder which lets me build firewalls and was giving a hand22:30
celeborn999ah ok, sorry no good iptables at hand, i only found out about ufw recently though and find it a lot easier than iptables22:31
dominicdinadaceleborn999: I know with iptables you can lock everything down and well ufw might be to general.... ie sudo ufw allow samba   allows samba but doesnt specify what remoteaddress's22:32
dominicdinadaie sudo ufw allow dns      you get the hint you cant specific who to allow and who to close out...22:33
celeborn999according to man ufw it looks like you can specific destination and source ranges22:33
dominicdinadareally?22:33
celeborn999looks like it. no personal experience though22:34
dominicdinadawell the other problem with ufw is you cant deploy the rule sets either :/22:35
celeborn999once you set ufw rules, it looks like iptables gets updated. so you could -- i guess, i haven't done this -- use ufw to set things up and then use iptables to transfer22:37
dominicdinadathat sounds quite redundant.... www.fwbuilder.org22:39
dominicdinadafw builder also configures pix fw's :P22:40
dominicdinadaconfigure ufw rules > export > import to iptables > export for deployment > import to each machine22:41
penguin42heck fwbuilder looks pretty neat22:41
celeborn999the ufw process is kind of a mess22:41
celeborn999thinking about it22:42
dominicdinadayou can export your iptables-save and import it to workon .... in fwbuilder you can make each fw right in one file but configure each machines fw then deploy it...22:43
dominicdinadaoh i missed a step once you import it the first time from ufw you have to configure the iptables :)22:43
dominicdinada!ufw22:58
ubottuUbuntu, like any other Linux distribution, has firewall capabilities built-in. The firewall is managed using the 'ufw' command (see https://help.ubuntu.com/community/UFW), or 'iptables' (https://help.ubuntu.com/community/IptablesHowTo). GUI frontends such as Firestarter/Gufw (Gnome) or Guarddog (KDE) also exist.22:58
dominicdinadaceleborn999: still playing with fw builder23:11
celeborn999dominicdinada: any luck?23:12
dominicdinadawell No i am looking at something else atm... pre configured  iptables exist i just gotta look more in depth...23:13
celeborn999i always found iptables to be obscenely complicated23:14
dominicdinadawell ufw is a dummies front end but really fwbuilder is awesome you can build a fw for 1 or 100 machines right in the same file :P23:15
ermo Upstart question - I see no services-admin in gnome-system-tools. If I want smbd to start on boot (into the default runlevel), should I use update-rc.d or is there another equivalent tool for upstart?23:21
jpdsermo: bug #9406523:21
uvirtbotLaunchpad bug 94065 in upstart "init: add non-destructive means to disable a job" [Wishlist,Invalid] https://launchpad.net/bugs/9406523:21
ermojpds: (not wishing to be a support vampire) If I want smbd to start on boot, should I use update-rc.d instead of the Upstart related service files? If both are present, which has the23:24
ermo'highest priority'23:24
ermoI can't seem to find any clear documentation on help.ubuntu.com in the serverguide, nor on the upstart wiki. But maybe I'm looking in the wrong places?23:24
jpdsermo: Is smbd a shell script in /etc/init.d/ ?23:25
ermothere is both a SysV style init script (/etc/init.d/smbd) and an Upstart service script (/etc/init/smbd.conf), yes.23:26
enavermo ubuntu server guide is too vague23:27
ermoenav: ... I cannot say that disagree. But then again, maybe I'm not in the target audience for that guide '^^23:27
jpdsermo: Ah, that's... interesting.23:27
ermothat *I disagree ..23:28
diabolical_what the hell is the problem i did sudo ufw enable...... reboot and it reverts to inactive upon reboot23:28
jpdsdiabolical_: /etc/ufw/ufw.conf has ENABLED=yes ?23:28
ermojpds: Guess I need to do some more poking around for documentation. *sigh* - I hoped that someone here would have a quick answer <g>23:29
diabolical_prob not but why does it state that "diabolical@diabolical:~$ sudo ufw enable23:30
diabolical_Firewall is active and enabled on system startup23:30
diabolical_" then not change the file.... anyother broken thing23:30
diabolical_another*23:30
diabolical_ermo: what documentation are you looking for23:30
ermohow to autostart services on boot using Upstart, and which file takes precedence if there is both a sysV style init script (/etc/init.d/smbd) and an Upstart service configuration (/etc/init/smbd.conf)23:32
* ermo has *zero* experience with upstart23:32
diabolical_ermo i used ebox and well it took care of it for me23:33
diabolical_!upstart23:33
ubottuUpstart is meant to replace the old Sys V Init system with an event-driven init model.  For more information please see: http://upstart.ubuntu.com/23:33
diabolical_although i personally dont recommend using ebox it is way to buggy23:33
ermoUsage scenario: I have an 'always-on' PC which serves as both my internet PC and my SqueezeBox Server. I want to offer access to it via Samba and have samba start up on each boot.23:35
diabolical_ermo:  you sure want alot. I will see if i cant get what you need... didnt you install samba when you installed server?23:36
ermodiabolical_: I have it all installed and set up and working already. What I want is to have samba start automatically after reboots.23:37
diabolical_ermo: i thought it should... especially when bundled in with server :(23:38
ermoi.e. I already have samba, but it doesn't start automatically. And the 'services-admin' tool doesn't seem to be shipped with gnome-system-tools (which is maintained by a Ubuntu developer, btw.)23:38
ermoHm. I need to exercise my APT-fu to get a listing of the files installed by gnome-system-tools ...23:39
diabolical_although gnome isnt shipped with server23:39
ermoRight. I'm in the server channel because I figured that a server channel would have users who knew how to turn on services at boot.23:40
ermoI actually have the desktop version of Ubuntu installed. But if that's unsupported or out-of-scope for this channel, I'll get my coat and be off :)23:40
jpdsermo: services-admin was removed because it didn't work with upstart jobs.23:40
jpdsermo: I would remove the init.d script wiht update-rc.d and then comment out the "start on" line in the init/ file.23:41
ermojpds: Ah, so you suspect that the event that the /etc/init/smbd.conf listens for is never fired?23:42
jpdsermo: I understand from that bug report that that's the way to disable upstart jobs.23:42
jpds[Until a better disabling tool is created; which is a target for upstart 0.10 which will be in maverick.]23:44
diabolical_ermo: http://ubuntuforums.org/showthread.php?t=123586323:45
ermodiabolical_: Thank you. That post implies that I should use Sys V init scripts to control the start up of smbd. I was under the impression the correct way to start services with 10.04 is to use Upstart.23:46
ermo(i.e. that post contradicts jpds' advice)23:47
ermostart on local-filesystems23:48
ermostop on runlevel [!2345]23:48
ermojpds: I would assume that the above to lines means that Upstart should start smbd after the event 'local-filesystems' is fired and that it should stop smbd in the event that the current runlevel is not 2|3|4|5 ?23:49
jpdsermo: I think so.23:49
diabolical_ermo:  funny i run samba, gnome etc and my samba starts fine every time i wonder what you changed23:49
ermojpds: a simple grep reveals that /etc/init/mountall emits 'local-filesystems'23:50
ermoand that dbus, networking, network-manager and smbd+nmbd all listen for that event.23:50
ermoVerrry strange.23:50
ermoI'll delete the Sys V init script.23:51
diabolical_ermo you could just back up your smb.conf23:51
diabolical_and reinstall samba23:51
diabolical_why make things more difficult23:51
ermodiabolical_: Yes, I could. And I could also fiddle with the config files first and understand the root cause and *then* re-install. If re-installing doesn't fix it, I will know why and can file a (hopefully) useful bug reprt :)23:52
ermoreport, even23:52
* diabolical_ says in his best ermo impression *HELP* guys i deleted my mount points, cpufreq and fansettings from sys V now my computer wont boot23:54
ermodiabolical_: Uh, I fail to see how that has anything to do with my question.23:54
ermoI haven't *deleted* anything. And the suggestion that I delete the Sys V init script was jpds', not mine.23:55
diabolical_the answer to your question is you muffed the samba daemon23:55
diabolical_while you were prob tinkering23:55
ermodiabolical_: You are making assumptions that do not hold up to closer inspection. I installed the samba daemon. I have not 'tinkered' or deleted anything. Since I installed samba, it has not autostarted, although the Upstart service script implies that it should. I'm here trying to understand why.23:56
ermodiabolical_: thanks for offering your help, btw.23:57
diabolical_well i sent ya the link to get you pointed in the right direction23:57
ermodiabolical_: Yes. And I'm telling you that the link you sent me concernts Sys V init scripts from Ubuntu 9.04. In the mean time, Ubuntu has moved to Upstart as its preferred init system, making that post obsolete.23:58
jpdsermo: lrwxrwxrwx 1 root root 21 2010-05-15 23:58 /etc/init.d/smbd -> /lib/init/upstart-job*23:58
jpdssmbdd.conf has trumps.23:59
ermojpds: yeah, I noticed that. I had a look at the source and noticed that it said 'upstart-job' at the top.23:59

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