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

RoyKnot any hardware raid?00:00
yann2meh. don't ask. you'd know why I'm worried :)00:00
yann2zfs raid, j4200, and a... t1000 as a controler00:00
RoyKiirc that's pretty standard hardware - you should be able to grab the drives and mount them wherever you want00:01
yann2yup I hope so ;)00:01
RoyKbut on the same rpool, make sure to remove /etc/zfs/cache or whatever it's called00:01
RoyKzfs layout is being cached on the rpool00:01
yann2t1000 not doing too well. Am a bit more cautious with that type of assumptions though since that reiserfs issue00:01
yann2I learnt "filesystem regressions" the hard way ;)00:02
RoyKI've been running a couple of 50TB opensolaris boxes for one and a half years00:02
RoyKthey just work00:02
yann2I know, so do I... its the t1000 I'm worrie dabout, its not much redunded, single ide disk00:03
yann2hardware failure quite likely in the next 2 years I'd say00:03
RoyKcan't you just attach a new drive and create a mirror?00:03
yann2I should really reinstall a new, better controller00:03
yann2I could, but t1000 still suck as a zfs controler :)00:03
RoyKzpool attach rpool origdev newdev00:03
yann2better get a new pci-express card for another server00:03
RoyKyann2: install a new drive in a usb dock or whatever00:04
RoyKyann2: attach it to the rpool00:04
RoyKyann2: install grub, and you have a mirror00:04
yann2the controller is setup on ufs I think00:04
RoyKthe controller?00:05
yann2the t100000:05
RoyKoh00:05
RoyKhow is the storage attached?00:05
RoyKFC?00:05
yann2I got a raidz2 on 6 disks on the j4200, attached via sas to the t100000:05
RoyKok00:05
RoyKjust order a new pizzabox from somewhere, move the SAS controller, done00:05
yann2that SAS card is several hundred quids, is what has been blocking me for the moment :)00:06
yann2yeah... you heard about the difference between pci-e and pci-x? :D00:06
RoyKoh, pci-x card? :)00:06
yann2I read about it when I tried what you suggested /o\00:06
RoyKlsi has some pretty decent cards that doesn't cost too much00:06
yann2"for some reason it wont fit.... press harder... GGNNNN"00:06
yann2:P00:06
RoyK9211 is one of them00:06
yann2the worst part is I think we got it to fit :'(00:07
RoyKthe new box will be pci-e, right?00:07
yann29211? is good?00:07
RoyKthe 9211 will fit there00:07
RoyK9211 is very fast, but you'll get WWN-based device names00:07
yann2writing that down... cant remember which one is -e which one is -x though00:07
RoyKwhich somewhat sucs00:07
RoyK-e is the new one00:07
yann2want to replace the t1000 by a x4100 I have spare, should be much faster00:08
yann2I m supposed to get a new budget in a couple of months, I'll see if it fits in the list :)00:08
RoyKwith only four drives, I think that will be the bottleneck00:08
yann2cant be much worse than right now00:08
yann2you're saying you trust 100% the implementation of zfs on linux though?00:09
yann2installing that solaris box was like... urrrrrg :'(00:10
yann2wouldnt really want to do it again :)00:10
yann2thanks for your recommendation on the card btw, I'll write that one down ;)00:12
RoyKyann2: we changed to some 3Gbps SAS boards instead00:14
RoyKjust to get rid of the WWN naming00:14
RoyKsupermicro and that controller didin't speak well00:15
RoyKso we didn't know which drive was where00:15
RoyKand with 160 drives, you don't want to lookup the WWN00:15
* He4D ist away (Forever Alone)00:18
RoyKyann2: we ended up with some sas3081 controllers and their internal counterparts00:18
RoyK380100:19
RoyKworks well00:19
RoyKyann2: http://pastebin.com/Atkpzux500:24
kieppiehi guys. I'm in the process of rebuilding a (file)server from scratch. planing on installing 10.4.1 LTS, and has a hardware RAID instaled. could anyone please recommend a filesystem that would be best-suited for optimum thoughput & stability?00:35
RoyKkieppie: most will work, how much data do plan to put there?00:36
* RoyK wonders if kieppie even watched the discussion after his initial quiestion00:37
kieppiehi RoyK: thanks for the response. currently there's about 600 GB I'm backing up (`rsync -av`), but tit could very well grow well above the TB's mark in the coming year or so.00:38
RoyKkieppie: ext4 is safe, well tried and works, nothing fancy but it works00:39
kieppiei did try & follow the discussion after my initial question, but it either didn't seem pertinent, or I missed out on a chunk...00:39
yann2RoyK, hey, be happy to have cache disks :)00:39
RoyKkieppie: and as I tried to tell you earlier tonight, try to read up on zfs if you want to do serious data storage00:40
RoyKyann2: wot_00:40
RoyK?00:40
kieppiecool, thanks. that's the de-facto default I would've gone with, but just wanted a second opinion whether something like zfs or brtfs wasn't better-suited00:40
yann2http://pastebin.com/Atkpzux5  < you got ssd caches right? :)00:41
RoyKkieppie: zfs kicks ass, if you need it00:41
kieppieRoyK: thanks for ZFS advise. I'll lokk into it00:41
RoyKkieppie: http://hub.opensolaris.org/bin/download/Community+Group+zfs/docs/zfslast.pdf00:41
kieppiecheers00:42
yann2RoyK, I think opensolaris is dead though, not sure about new deployments...00:42
RoyKkieppie: don't misunderstand, zfs is great for large storge, but is a bit on the heavy side for small stuff00:42
RoyKyann2: openindiana :)00:42
yann2not sure about the exact status though but it didnt seem very bright00:42
RoyKwell, you might not be very bright, and that's ok00:43
kieppieRoyK: sweet. by heavy, do you mean in terms of system resource overhead, or something else? I'm setting up a new server from scratch, so if ZFS will deliver excellent performance, then it seems a good idea...00:43
RoyKzfs has a toll of memory00:44
RoyKyou want 4 or 8 gigs of memory for a start00:44
RoyKif you start playing with dedup, which you SHOULD NOT DO, well, if you still do, add a lot of L2ARC (that is SSD for caching)00:45
RoyKbut then, dedup on zfs is not stable00:45
RoyKI've been testing it quite extensively00:45
RoyKand chosen not to use it00:45
kieppiecool. well, memory scales well, so I can add as much is needed.00:45
RoyK4-8gigs should be sufficient for a decent storage server00:46
RoyKthat is, 20TB or so00:46
RoyKjust don't use dedup00:46
RoyKand if you're in doubt, don't use dedup00:46
RoyKfor your 4TB server, 2TB will be fine00:47
RoyK2GB even00:47
kieppiewell, this seems to be a old-ish server (2 or 3 years), & has only 1 G. I think I'll pop out & go get more RAM; 8 G (4 x 2G)00:49
kieppiedell "poweredge" xeon 3.2 G00:50
RoyKhow much storage do you plan for that one?00:50
yann2RoyK, for 4TB ext3 should be fine :)00:52
kieppieso, other than "just selecting" ZFS as my FS of choice when doing the install, & avoiding dedupe, are there any other consideration I need to look out for?00:53
kieppieAt the moment it has 3 x 1 TB SATA's on a Hardware RAID (which I'll leave as-is) , which will have to do for a while. I'll clean it up a bit once the box is on-line again, but in terms of adding more storage, I'll rather wait for $$$ to become available & then build an entire new box from scratch, possibly with fibre-channel SSD's, etc00:53
RoyKno need for fibre channel00:55
RoyKsata is just as good00:55
kieppiecool00:55
RoyKjust read up on zfs and you'll see why you should or should not use it00:55
* RoyK er farinna að sofa00:56
kieppiereading the wikipedia article now & hav a few other relevant tabs open. seems a good fit; just meed to throw more RAM at it00:58
RoyKkieppie: just one thing - hardware raid is bullshit compared to zfs in terms of safety00:58
kieppieRoyK: to be safe, I'll use both00:59
RoyKkieppie: no, you misunderstand01:00
RoyKkieppie: if zfs has access to the drives directly, it can prevent data loss, far better than any hardware raid01:00
kieppieoooooh!01:00
RoyKif you use zfs on top of hardware raid, zfs can merely detect data loss01:01
RoyKI've seen that a few times01:01
kieppieok, then I think I'll hold off for now (may be a bit overkill just yet), & do some experementing for a future build...01:01
RoyKhardware raid systems with zfs filesystems on top and oops, corruption01:02
kieppieoh, I see: "double correction"?01:02
RoyKthing is, those hardware raid systems don't see data as a whole, only blocks, and merely that01:02
RoyKif, no, when, you get silent errors from a drive, you want the filesystem to fix that01:03
RoyKmost filesystems relies on the drive reporting wheather the data is ok or not01:03
RoyKif it reports ok, the filesystem just sends the data up to user or kernel or whataver01:03
RoyKbut with terabytes of data, you _will_ get silent errors01:04
kieppiebut in terms of physicality, is it not always faster for have multiple disks to read from?01:04
RoyKthe difference isn't big between reads and writes01:05
RoyKif you leave it to a dumb raid controller to sort out what's good or not, silent errors will make corrupt data01:06
RoyKthat's a fact, not fiction01:06
kieppieso, drop the h/w raid controller & add system resources to handle FS overhead.01:07
kieppiehmmmmm.... FreeNAS.....? I think it uses ZFS internally, & already optimized for thoughput & FS functions....01:07
RoyKjust setup an opensolaris system or something with stupid controllers01:08
kieppie& it's BSD ..... :D01:08
RoyKdirect access to the drives01:08
RoyKfreebsd if   you like01:08
kieppieknow FreeBSD better than solaris..01:09
RoyKfreebsd has a very old zpool version, so I wouldn't recommend it01:09
kieppiethink there's much life left in Solaris?01:09
RoyKwell, solaris isn't that far apart01:09
RoyKthere's a lot of solaris users01:09
RoyKand openindiana01:09
RoyKI just setup two 100TB boxes on OI, and I don't regret it01:10
kieppiewow! 100TB? pretty sweet :)01:10
RoyKtwo of them01:11
RoyK160TB raw storage in each01:11
RoyKbut leave some redundancy, and we're at 2x100TB01:11
kieppieplanning on starting a hosting co, or just a killer media-center?01:11
RoyKheh - bacula backup storage :)01:12
kieppieSaaS? hosted backups?01:12
RoyKjust some supermicro boxes with SAS controllers and a truckload of WD Black 2TB drives01:13
RoyKcost us about $20k a piece01:14
kieppiefor long term storage, are the WD green's not better?01:16
RoyKeveything will probably work01:16
RoyKbut the scrub times for those greens will be terrible01:16
RoyKI have a 30TB setup with those01:16
kieppieah01:17
kieppiethanks for your help & advise, RoyK: I'll head out & go get some more RAM while I wait for this backup to finish.01:20
* He4D ist away (Forever Alone!!!1)01:25
=== He4D is now known as He4D|OFF
=== loadedwithwyrms is now known as loadedwith|sex
=== loadedwith|sex is now known as loadedwith|shhh
sabgentonis https://help.ubuntu.com/community/NetworkConnectionBridge still the best way to bridge?01:58
sabgentonuses pre-up brctl bla bla01:59
sabgentontoo many lines have they made somthing simpler to go the networking file?01:59
sabgentongo in the01:59
sabgentonis there an ubuntu debian way I mean02:00
sabgentonrather than just using brctl directly02:01
sabgentonno?02:01
pmatulissabgenton: that page is overly complicated02:05
pmatulissabgenton: i privated you a simple configuration02:07
=== Tankenator_afk is now known as Tankenator
=== Tankenator is now known as Tankenator_afk
Pupeno[work]How do you configure which services start at boot time... any tool for that?02:43
patdk-lapPupeno[work], depends on what services it is :)02:50
Pupeno[work]patdk-lap: mysql, postgresql, apache.02:54
sabgentonpmatulis: so bridge_ports eth0 eth1 would do all that I need  without needing to type brctrl ?02:55
patdk-lapuse update-rc.d02:55
sabgentonif i just want to bridge eth0 and eth1 with bridge utils02:56
Pupeno[work]patdk-lap: actually, it is for crashplan... and it didn't work.02:58
sabgentonpmatulis: ok sweet02:59
sabgentonfound http://manpages.ubuntu.com/manpages/lucid/en/man5/bridge-utils-interfaces.5.html02:59
sabgentonsorry for ever dobuting you03:00
sabgenton https://help.ubuntu.com/community/NetworkConnectionBridge is way out of date then03:00
sabgentonworks but not showing the ubuntu way at all03:00
mrroth hi, I have a esxi box P4, that has two 500 gigs disk, and one usb flashi key (2 gigs), I want esxi on the flash key, and I want raid 1 on the two 500 gig disk  then I want to have one freenas applaince, and one ubuntu server applaince that all is that possible if so how is that possible03:04
pmatulismrroth: would you like some fries with that?03:07
mrrothhmm03:07
mrrothmp03:07
mrrothno just help pmatulis03:07
ledzeplin1989 hello all, i was wondering if someone could help me please with wordpress03:27
mrroth##wordpress03:28
ledzeplin1989thanks03:29
* sabgenton put a one line update @ https://help.ubuntu.com/community/NetworkConnectionBridge 03:31
sabgentonjust told people to go to the bridge-utils-interfaces man page for the bridge_ports option03:33
ledzeplin1989mrroth: thanks for passing me on to #wordpress but no one will talk to me on there, despite the fact there are people talking on there03:41
ledzeplin1989:(03:42
ledzeplin1989sorry, Im sorry to winge, I've just used irc a few times now for help and ended up getting no support at all03:42
delimiterledzeplin1989: what's the problem you need help with03:46
ledzeplin1989I tryed to install wordpress earlier, I used a guide from the ubuntu site: https://help.ubuntu.com/community/WordPress03:47
ledzeplin1989I followed all the instructions to install it on to my server but for some reason it will not load the wordpress page up to install it03:48
ledzeplin1989thank you delimiter :)03:49
ledzeplin1989got someone now talking to me on #wordpress but thank you very much03:50
ledzeplin1989its greatly appritiated!! :)03:50
=== loadedwithwyrms is now known as loadedwith|wyrk
=== Tankenator_afk is now known as Tankenator
=== SquishyNotHere is now known as squishy
=== Tankenator is now known as Tankenator_bed
=== loadedwith|wyrk is now known as Paradox
=== loadedwithwyrms is now known as trollface
Error404NotFoundthe version of zabbix is pretty old, any ppa out there?07:56
gobbe1.8.2 and newist is 1.8.407:58
gobbenot that old07:58
gobbe1.8.4 is release on january 4th07:59
=== He4D|OFF is now known as He4D
skoudeHi! I was thinking that is it possible or would it be usefull to run enterprise datawarehouse inside ubuntu server private cloud? What benefits could there be?11:07
skoudeAnd is it possible for example run PosgtgreSQL inside cloud?11:08
RoyKskoude: you can run anything in a cloud, but for specific things like databases, I'd recommend dedicated hardware11:14
skoudeYes currently we are planning physical servers:) This was just an idea... It would be nice to see which kind of performance loss there would be when running the DW in cloud :)11:18
* He4D ist away (Forever Alone!!!1)11:24
=== He4D is now known as He4D|OFF
RoyKskoude: for a database server, I'd separate that from the cloud11:26
RoyKand then just have the cloud clients access that db server11:26
skoudehmm. is there any other solutions thn greenplum, gridSQL or pgpool that uses postgres?11:36
skoudeor is working with postgres:)11:36
skoudesorry wrong channel :)11:37
ruben23hi guys what should i do installing ubuntu server and ask me for driver- my SATA HDD si not detected..any idea guys..?11:52
RoyKruben23: pastebin lshw output11:54
ruben23where should i run this command im on the instalaltion menu.11:55
RoyKruben23: shift+left should take you to a console11:56
ruben23ok ill do it now11:56
RoyKyou may have to boot on a live cd to get the output out of there :P11:56
ruben23ok ill do it11:57
ruben23 RoyK:ill still goto the console right..11:58
RoyKwith a live cd, you can just open a terminal to get that info11:58
ruben23iwhere can i get livecd ubuntu 8.04 LTS12:00
RoyKthe ubuntu desktop cd is a livecd12:00
RoyKbtw, have you tried 10.04?12:01
RoyKmight be newer drivers there for your controller12:01
ruben23 RoyK: yes i tried problme is i got application that dont run at all on ubuntu-10.04 LTS12:02
ruben23eaccelerator for php12:02
RoyKruben23: http://blog.up-link.ro/how-to-install-and-integrate-eaccelerator-into-php5/12:08
RoyKfirst hit on google12:08
DrNick_is anyone here knowledgeable regarding likewise-open?  in particular, verison 5.4 which comes with ubuntu 10.4 LTS server12:10
RoyKDrNick_: I didn't know that one - gotta try that when I get back to work :)12:11
DrNick_the basic authentication seems to work fine, however the problem i'm having (and some others) is assuming the default domain.  i can change the setting in the likewise "registry", and it applies and refreshes OK, however it doesn't actually work, i.e. trying to authenticate without the domain fails12:13
DrNick_i'm tempted just to un-install likewise and do it manually with samba + winbind instead :)12:13
RoyKwell, that works too12:14
DrNick_would be really nice if they backported the latest likewise-open (which apparently doesn't have the problem) to the LTS version of ubuntu server, as obviously I don't want to upgrade to a non LTS version of the distro - as this server will be in produciton12:15
DrNick_* production12:15
DrNick_test & dev servers I don't mind running whatever really, but production stuff I like to keep on LTS only versions12:16
ruben23guys im connecting ubuntu 8.04 LTS and ubuntu server 10.04- im installing php but is it ok it will communicate with the other php and mysql..? even they dont have same version..?12:22
RoyKDrNick_: apt-get source likewise-open12:24
RoyKthen extract the new source in that dir, overwriting the old12:24
RoyKmake a new package, intall it12:25
RoyKdpkg-build-package iirc12:25
RoyKit's pretty trivial12:25
RoyKmost of the magick is in the debian/ directory of the source package12:25
RoyKconfigure string and so on12:25
uvirtbotNew bug: #700288 in amavisd-new (main) "amavisd-release not working with quarantine_subdir_levels" [Undecided,New] https://launchpad.net/bugs/70028812:26
=== oubiwann_ is now known as oubiwann
leniosruben23, there shouldn't be any problem12:54
ruben23 lenios:..?13:15
leniosrunning different versions on 10.04 and 8.04 of php and mysql13:15
ruben23is it fine,actually im connecting this two server13:16
leniosunless you're using features only available on latest versions, yes13:17
ruben23guys any chance how to chnage resolution on ubuntu server 10.10 to more higher13:33
guntbertruben23: try with dpkg-reconfigure console-setup, in the end you are asked for the font size you want13:35
ruben23its asking for keyboard model13:39
ruben23guntbert: askign for keyboard model13:39
guntbertruben23: pc105 (intl) should be fine13:40
ruben23what you mean..?13:41
ruben23im resolution not for keyborad -sorry13:41
guntbertruben23: that reconfigures the "console", consisting of keyboard and screen13:41
ruben23what should i select..? tell me13:42
guntbertruben23: for keyboard? I already suggested ^^13:42
RoyKruben23: ŝlovakish?13:44
ruben23RoyK: im suing US keyboard- im a Filipino- philippines13:45
Error404NotFoundi created a dir in /var/run, but everytime i reboot, it disappear and a software starts complaining about missing directory13:52
gobbeError404NotFound: that's because /var/run is designed that way13:53
gobbeError404NotFound: you could create it on every boot via rc.local13:53
Error404NotFoundgobbe: hmmm, the init scripts run before or after rc.local?13:54
gobberc.local is last one13:54
Error404NotFoundhmm, then its no use :p13:54
gobbewell, you can configure your init-scripts also13:55
gobbeanyway quite weird that software needs folder and it's not able to create it13:56
Error404NotFoundyup, thinking to add a mkdir there.13:56
Error404NotFoundgobbe: its a source compiled install.13:56
gobbeyeah13:56
gobbethen manipulating init-scripts might be the best way13:57
RoyKError404NotFound: just create a newe init script - see the skeleton file14:00
Error404NotFoundgobbe: both are S20, what if i create a new script and do it as S10?14:00
Error404NotFoundRoyK: thats what i thought as well14:00
Error404NotFoundwhere can i find skeleton file?14:01
Error404NotFoundfound it14:01
gobbeyep14:03
Error404NotFoundRoyK: actually why do i need skeleton? i just need to define PATH, do one mkdir and chown14:03
RoyKit might look nicer if you do it the ubuntu way14:05
RoyKbut it's by no means necessary14:05
RoyKoriginally, unix had one file /etc/rc14:05
=== Tankenator_bed is now known as Tankenator
Error404NotFoundi will need to manually make symlinks right? or can i specify a number with update-rc.d command14:09
binBASHhttp://twitter.com/timmartin2/status/2336501783959961614:10
binBASHrofl14:10
Error404NotFoundfound it14:12
uvirtbotNew bug: #700337 in migrationtools (universe) "No documentation for process "migration"" [Undecided,New] https://launchpad.net/bugs/70033715:02
RoyKbinBASH: ROTFL15:26
=== Tankenator is now known as Tankenator_away
jeeves_Mosshow do I repair a pooched grub loader on 8.04?  it decided to die after I did a dist upgrade15:50
RoyKjeeves_Moss: grub-install ?16:00
RoyKis this grub1 or 2?16:00
RoyKnormally grub1 on 8.0416:00
jeeves_Mossgrub 116:00
jeeves_MossI'm trying to get booted into the LiveCD.  Slow external ROM16:01
jeeves_MossRoyK, still here?  I'm booted via the liveCD now16:03
RoyKI'm here16:03
jeeves_MossRoyK, ok, ideas on how to fix this?  LOL.  dumb upgrade16:03
RoyKhopping around on fucking crutches16:04
RoyKjeeves_Moss: I'd say, sudo in as root, mount the root volume, chroot into it, mount -a, and run grub-install16:04
IdleOneRoyK: you going to be around all day?16:04
RoyKno idea, but I guess I'll be around for a while16:05
IdleOneok so I'll ignore my client flashing16:05
* RoyK is pretty immobilised by a broken leg16:05
RoyKclient flashing?16:05
jeeves_MossRoyK, was the broken leg caused by a party induced accident?16:06
IdleOneyeah every time you swear my irc client goes nuts16:06
RoyKjeeves_Moss: nah, just tripped in a staircase in Iceland16:06
RoyKon my way to a party16:06
RoyKI just had one wish, to stay a few more days, and that was granted :P16:06
jeeves_Mossthat sucks!!  I could see it being better on the way HOME from the party16:06
compdocthey do like their parties in iceland16:06
RoyKiceland rocks!16:07
compdocnothing else to do there16:07
jeeves_MossRoyK, ok, I have the partition in question mounted into /mnt/temp, now just run grub-install?16:07
compdocI flew past it once - nothing but white16:07
RoyKjeeves_Moss: chroot /mnt/temp16:07
RoyKmount -a16:07
jeeves_Mossok,16:07
jeeves_Mossthen grub-install16:07
RoyKthat'll leave you with your old system16:07
RoyKyes16:07
RoyKbut I'm unsure about the arguments as of now16:08
jeeves_Mosskk16:08
RoyKiirc it just takes the device name, as in /dev/sda or something16:08
RoyKthat's the device name of the drive you're on16:08
jeeves_Mossahh16:08
RoyKobviously16:09
compdocthe old /etc/fstab should show the correct partitions16:09
jeeves_MossI should just install grub2 and get it over16:09
RoyKnah16:09
RoyKkeep it on grub116:09
RoyKgrub2 is a PITA if you don't know it16:09
jeeves_Mosstrue, I was thinking more that it's installer should fix the issues @ hand!16:10
RoyKthere is a choice in the boot menu for fixing things iirc16:11
RoyKfix a broken system or so16:11
jeeves_Mosshummmm16:11
jeeves_Mossone sec,  going to reboot to see if I can find it16:11
RoyKI don't know if that does grub install, but I would be somewhat surprised if it didn't16:11
jeeves_Mossand to think, all of this came from an upgrade16:11
compdochappens a lot16:12
jeeves_Mossweird, I booted into "recovery mode", and now, I get udev_monitor_new_from_netlink: error getting socket: invalid argument16:13
ruben23hi are there any default firewall on ubuntu server 10.10...?16:17
KurtKrautruben23, configured and working by default? No.16:17
jeeves_MossRoyK, how can I mount this root partition on this server so I can do a dpkg -reconfigure on it?16:18
jeeves_MossRoyK, how can I get this dumb thing out of read only mode?16:22
=== squishy is now known as SquishyNotHere
RoyKjeeves_Moss: just mount the root partition, chroot into it, mount -a (to mount proc etc)16:22
RoyKthat should be all16:23
jeeves_Mossthanks16:24
RoyKjeeves_Moss: I would think running an fsck -f on that filesystem first might be a good idea16:25
jeeves_MossI SOOOOOO don't want to do a fresh install right now16:25
jeeves_MossI'm wondering if I just copy all of my root drive to an external and do a fresh install.  My biggest concern is that I have a RAID array mounted (software) at MD016:28
RoyKthe raid should be safe16:28
RoyKlinux will read the config from the drives16:28
jeeves_MossRoyK, that's a 100% sure that it'll be smart enough?  I can't loose that data (and yes, there's no backups)16:29
RoyKjeeves_Moss: while in the livecd, can you see md0?16:29
RoyKcat /proc/partitions16:29
RoyKcat /proc/mdstats16:29
jeeves_Mossdosn't like the last one!16:31
RoyKjeeves_Moss: do you have a spare drive you can use for a new root?16:31
jeeves_MossRoyK, no :-(16:32
RoyKor an usb pen?16:32
RoyKs/an/a/16:32
jeeves_Mossyes16:32
RoyKwell, unplug the root drive, install ubuntu server on the usb pen16:32
RoyKyou'll see quite quickly if you can address the raid16:32
jeeves_Mosswhat I was thinking was backing everything up off of /dev/sda to an external drive, then reinstalling16:32
RoyKjeeves_Moss: up to you :)16:33
jeeves_Mosscould I boot from the liveCD and see if it sees it?16:33
RoyKI'm not sure all the drivers will be loaded16:33
compdocthe livecd sees my 3ware raid16:33
RoyKI was more concerned about the software raid16:33
jeeves_Mosswell, I guess this is a lesson learned then.16:37
jeeves_Mossif it 'aint broke, don't f**k with it16:37
compdocwhat version did you upgrade to?16:38
jeeves_MossI just forced a dist upgrade from the CLI16:38
RoyKjeeves_Moss: do-release-upgrade?16:39
RoyKor just apt-get dist-upgrade?16:39
RoyKthe latter should be trivial16:39
jeeves_Mossdo-release-upgrade16:39
RoyKhm...16:39
RoyK:)16:40
RoyKplaying with matches16:40
RoyKand a wee bit of gazoline16:40
RoyKjeeves_Moss: if I were you, I'd disconnect the current root disk and try a fresh install on another drive, USB pen or spinning crap, doesn't matter16:40
jeeves_MossI think we may have something here!!!16:44
jeeves_Mosshttp://www.linode.com/forums/viewtopic.php?t=5276%3E16:44
jeeves_Mosswell, we now have a 10.04 splash screen, so, it's time to see if this works16:49
jeeves_Moss...  and we have a login16:49
RoyK:)16:50
RoyKand the raid is there?16:50
jeeves_Mossnot yet.  I'm fixing broken packages right now.16:50
RoyKdpkg --configure -a16:51
RoyK:)16:51
jeeves_Mossit's "limping" along right now.16:51
jeeves_Mosslol16:51
RoyKapropos limping http://karlsbakk.net/xray.png16:51
jeeves_Mossbolly crap man!16:52
jeeves_Moss*holly16:52
RoyKit'll heal16:53
compdocdo they take out the metal someday?16:53
RoyKdunno, they said it could stay there if it didn't bother me16:54
jeeves_Mossuntill you hit a MRI machine!  LOL16:54
compdocjust loks like they screwed one bone to the other, so I would think it would lesson movement16:54
compdoclooks16:54
jeeves_Mossbrb, going to switch laptops16:55
RoyKone of the screws goes through fibula and into tibia, but that'll break, the doctor said, and should't pose a problem16:55
compdocwow16:55
RoyKanother operation, and I'll be grounded for some more weeks16:56
RoyKgood thing it's titanium, less hazzle at airports16:57
compdocdont you have some volcano going off up there?16:58
RoyKEyjafjallajökull has fallen asleep16:58
RoyKsome 8 months ago16:58
compdocahh, good16:58
RoyKand, no, I'm not Icelandic :)16:58
RoyKbut I've studied the language for some time16:59
RoyKbtw http://www.youtube.com/watch?v=9jq-sMZtSww16:59
compdocI could never pronounce it17:01
* RoyK can17:02
RoyKbut, beleive me, it took me some time to learn the intonations in that language, and I'm still not there17:03
jkghi folks. I've just set up a Dovecot IMAP server on Ubuntu 10.04 (migrating from a host running old-ish Debian), I can connect to port 993 locally (e.g. with telnet) but not from other hosts. is there some obvious thing I should be checking, like a default firewall? (#ubuntu said I should try here!)17:14
jkgoh, to pre-empt the obvious first answer, I have "ssl_listen = *:993" in my dovecot.conf, which is copied from the old server.17:14
RoyKjkg: does lsof -p $pidofdovecotserver show that it actually listens?17:26
jkgdovecot 14458 root    7u  IPv4            6911728      0t0     TCP *:imaps (LISTEN)17:27
jkgsuggests yes to me, but I'm not entirely sure what I'm looking at :-)17:28
gobbemight be firewall17:39
jkgyeah, that seemed the logical answer - but I don't _think_ I'm running one - iptables -L doesn't show any rules, and I've not installed anything else17:40
compdoclooks like its listening.17:40
compdocubuntu doesnt ask to install a firewall, if I remember17:41
compdocwhat are you typing into the remote host?17:41
compdocname or ip address?17:42
jkgtelnet nephos.uk-cvs.com 99317:42
compdoctry ip address17:42
jkgbut I get the same result by IP - "Trying 84.22.181.182..."17:42
RoyKjkg: pastebin iptables-save output17:42
jkghttp://paste.ubuntu.com/551855/17:44
gobbetry tcpdump to see that traffic actually comes17:44
gobbein17:44
gobbewhy it is so hard to type correct with mobile phone :-)17:45
jkgI'm a bit rusty on tcpdump - do I want: "sudo tcpdump 'tcp port 993'"?17:45
jkginteresting: from the machine itself, I can connect to 84.22.181.182:993 (although my tcpdump command is obviously wrong, since it didn't pick that up ;) )17:47
jkgtcptraceroute output is interesting, http://paste.ubuntu.com/551861/17:50
gobbeit could be your external firewall17:56
gobbeit seems that you are doing somekind of natting17:56
jkgI am behind NAT, but the server isn't -- but I get the same results from another machine not behind NAT, too.17:57
gobbeaah, ok17:57
gobbecan you open any other connection your server like ssh etc?17:57
jkgyep, I can ssh to it fine, load web pages from it fine17:58
gobbejkg: upload your /etc/dovecot/dovecot.conf to pastebin17:59
Thornhello18:02
Thorn is php 5.3.5 available for 10.04 anywhere yet?18:02
Thorn(I'm mostly interested in php5-fpm)18:02
gobbeVersion: 5.3.2-1ubuntu418:03
gobbeso no18:03
gobbeif you mean supported packages18:03
jkgahah! after all that, it /was/ a firewall issue. I just called our hosting provider, by default they block port 993 inbound ()!18:04
gobbe:)18:04
gobbejkg: asking from someone else helps usually ;)18:04
ThornI don't really care if the packages are unofficial since 5.3.5 fixes a pretty huge security hole18:04
guntbertjkg: I understood it did work before (on debian) ?18:05
jkgsorry, the debian machine was in a different network location too, I should have mentioned that.18:05
Thornhttp://www.dotdeb.org/2011/01/07/you-really-should-upgrade-to-php-5-3-5-or-5-2-17/18:06
guntbertjkg: :-)18:06
RoyKThorn: the security fixes may be backported - that stuff happens a lot in debuntu land18:06
RoyKThorn: check that first18:06
jkgI couldn't imagine it would be the network provider's firewall to blame, so I just mentioned the stuff I thought might be relevant :-) so this means /all/ their customers have 993 blocked inbound... oddness.18:06
jkgI'd name and shame them, but I think I've disclosed enough information for anyone interested to work it out ;)18:07
RoyKjkg: can you telnet to the port on the server's address?18:07
RoyKnot localhost18:07
jkgfrom the server itself? yeah. that was the final clue that I needed to ring the network provider and ask them about their firewalling :-)18:08
RoyKjkg: and preferably from a box on the lan18:08
RoyKjkg: ufw status18:08
RoyKjkg: or pastebin iptables-save18:09
Thornnope, last update 2010-09 https://launchpad.net/ubuntu/lucid/+source/php5/5.3.2-1ubuntu4.518:09
RoyKphp5 (5.3.2-1ubuntu4.5) lucid-security; urgency=low ...... ECURITY UPDATE: arbitrary code execution via empty SQL query18:10
RoyKarbitrary code execution is "low"?18:10
jkgRoyK: it's cool, I spoke to the vendor and they're changing the firewall config. thanks, though.18:11
RoyKjkg: heh - ic18:11
Thornthat's not the bug I'm looking for18:11
RoyKThorn: building a new package from source won't be too hard, though18:12
RoyKapt-get source18:12
RoyKextract new source into that dir18:13
RoyKdpkg-build-package18:13
RoyKiirc18:13
Thornthere is no source package18:13
RoyKthere are source packages for all ubuntu packages18:13
RoyKjust get the source, unpack the stock php tarball into that, and make a new package of that18:14
Thornbut as fas as I can see there is no ubuntu package which would include that fix18:14
RoyKerm18:14
Thornoh, interesting18:14
RoyKmost of the magic is in the debian/ directory in the source tree18:14
RoyKthat says what to build and where to install it plus some package magick18:15
ThornI'll try that, thanks18:15
* RoyK leans back and watches the usual suspects18:26
leniosRoyK, isn't pbuilder prefered over dpkg-build-package to build binary packages?18:33
ScottKlenios: pbuilder uses dpkg-buildpackage.  It's a higher level tool.18:35
ScottKGenerally it's better to use it.18:36
leniosany reason to recommend dpkg-buildpackage then?18:37
ruben23hi guys how to make my hostname resolve to my local IP on my onw ubuntu server..?18:37
lcbhi all. please give me a suggestion of a good (non CLI) GUI replacement for webmin, a  web interface to control some servers, mainly LAMP. but if possible, more servers on the same tool package . tks ppl.18:38
lcb(let me add i intend to use the interface trough lan, i.e. blocking outside world)18:39
JanCwhat else do you need outside LAMP?18:40
leniosruben23, define it in /etc/hosts18:40
JanClcb: what else do you need to configure outside LAMP?18:41
ruben23lenios: got no idea, how the format would it be..18:41
leniosformat is : IP   hostname18:42
JanCruben23: read "man 5 hosts"18:42
lcbJanC: I'm trying to build now the server, so, let's say, FTP, for instance and as time goes i'll add some multimedia servers.18:42
lcbJanC: but i'll be happy if it's onçy for LAMP, at this point.18:42
lcbonçy/only18:42
lcbJanC: due to the suspended webmin for ubuntu and debian i wonder if there is any workaround to avoid the glitches on it though.18:43
ruben23 lenios: i got already : 127.0.1.1  Database..18:44
leniosruben23, paste your /etc/hosts18:45
JanCpaste on a pastebin!18:45
lenios!paste18:45
ubottuFor posting multi-line texts into the channel, please use http://paste.ubuntu.com | To post !screenshots use http://tinyurl.com/imagebin | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic.18:45
ruben23 lenios: ------------>http://pastebin.com/VM1JG4cK18:46
ruben23 lenios: you there..?18:48
leniosruben23, what does "host Database" return?18:48
qman__ruben23, instead of 127.0.1.1, you should use your interface's IP for your host's name, i.e. 192.168.1.12318:48
ruben23http://pastebin.com/P3EH3TTj18:49
qman__and for what it's worth, "Database" is a potentially very bad hostname if you ever have to talk to anyone about your server by its hostname18:50
qman__example, "I can't connect to database!", does it mean they can't connect to the server called Database, or that they can't connect to a database?18:52
lenioshaha18:53
ruben23 qman__: ok ill chnage it18:53
JanCI also recommend you use lowercase hostnames...18:53
ruben23JanC: ok, i tried testing it- replaced  127.0.1.1  Database-  then i get timeout18:54
leniosreplaced with what?18:55
ruben23lenios: i put it- innermaxdb  (new hostname)18:58
lenioswith what IP?18:59
lenioswhich*18:59
ruben23on the  --> /etc/hosts , i ahve this ---> 192.168.2.2     innermaxdb  , is this ok..?19:00
lenioswhat does host innermaxdb shows?19:01
gobbehost-command doesn't use hosts-file19:01
ruben23lenios: ---->http://pastebin.com/Hr7D9J7J19:02
ruben23still not working19:02
gobbelike i told, host-command is not using hosts-file19:04
gobbetry ping19:04
leniosoh true, host doesn't use hosts file19:04
gobbethat might sound little silly, but that's how it is ;)19:04
leniosi'll just have to remember that19:05
ruben23ok, hope there are ways i can resolve my own hostane on for my local ip19:06
gobberuben23: ping19:06
JanCif you have mysql server installed there is also resolveip19:12
gobbeyes19:12
JanCand you could write a quick script in about any scripting language too19:13
jkganybody understand pam and/or exim? I'm seeing log lines like http://paste.ubuntu.com/551884/ in auth.log and can't send mail (my username is uk-cvs.com-james, and I'm getting my password right)19:37
jkgas before, this is on exim 4.71 on 10.04, using an exim config that worked previously on exim 4.63 on Debian etch; I guess it's a pam issue, or an exim-running-as-wrong-user issue, rather than an exim config thing...19:38
jkgthe relevant authenticator in the exim config looks like http://paste.ubuntu.com/551886/19:39
MatBoyguys is there a reason why dnssec-keygen does not work ?19:43
MatBoyit seems to hang19:43
pmatulisMatBoy: dunno, try using strace19:45
RoyKgood evening21:18
binBASHmoin21:18
binBASH;)21:18
RoyKwhatever :)21:19
binBASH;D21:23
=== He4D|OFF is now known as He4D
_rubendnssec-keygen hanging .. lack of entropy comes to mind21:48
RoyK_ruben: playing with openvpn?21:52
RoyKor bind21:53
RoyKI guess21:53
_rubenRoyK: was a comment on an earlier q in here actually21:56
RoyKi21:57
RoyKerm21:57
RoyKk21:57
RoyKas in ok21:57
RoyKlaptop on the lap and moving around a bit can be challenging21:58
lcbis there any problem if enter localhost's static ip (192.168....) as the LDAP server to use?22:05
RoyKlcb: that's not localhost22:19
lcbRoyK, indeed, sorry, i mean the machine ip22:19
RoyKlocalhost is, by definition, 127.0.0.1 or ::122:19
lcbyes..22:20
lcbi'll play around with it and see as i go if everything goes ok, with localhost, instead of any ip22:21
jeeves_is there a "repair in place" option for Ubuntu server (like a repair option on XP)?22:23
LinuxAdminjeeves, what do you need to do?22:23
jeeves_LinuxAdmin, I did a forced release upgrade, and now, my system is sitting @ a fsck (and has been for ~8 hours)22:25
jeeves_the orignal release was 8.04, and now the splash screen shows 10.0422:25
=== Thorn__ is now known as Thorn
jeeves_LinuxAdmin, apparently, there is a LOT of complaints about that upgrade.  I think it was a lack of reason that I did the upgrade22:25
LinuxAdminjeeves_, you probably upgrade your kernel22:26
LinuxAdminhave you tried to run a previous version of the kernel?22:26
LinuxAdminkernel upgrade can sometimes break things22:27
RoyKLinuxAdmin: eeeeeerm22:27
jeeves_LinuxAdmin, yes, and it says it can't find the kernel in question, and locks up22:27
RoyKLinuxAdmin: most filesystems have been pretty rock solid for years, a minor upgrade won't do much22:27
jeeves_lol, so....  since this is a production box (hangs head in shame), I've killed Apache, and our e-mail22:28
LinuxAdminhave you checked your grub configurations?22:28
jeeves_yes22:28
LinuxAdminI had ubuntu server box that broke my drbd shared storage22:28
LinuxAdminthat's why I remembered that22:28
RoyKLinuxAdmin: most filesystems are safe22:28
RoyKdrbd is another story22:29
LinuxAdminok, but sometimes kernel upgrades break things22:29
RoyKjeeves_: reboot to single and fsck it22:29
jeeves_LinuxAdmin, I was able to get ONE boot out of it (before it went into this endless FSCK loop) on 10.04.  There was SOOOOO much broken stuff that I'm thinking that I'm just going to back up the 200Gb main drive, nuke it, and do a fresh install.  My biggest concern is that I have a 1Tb software RAID in that box as well, and I hope I can recover it22:29
LinuxAdminthat's why he could see if he can boot with another kernel22:29
jeeves_RoyK, hey man, it's the same issue from earlier today.22:29
RoyKjeeves_: the raid stuff_22:29
RoyK?22:30
jeeves_currently, I'm out for dinner with the wife, so I'm on my phone, I'll have to check tomorrow when I get it on the bench @ work.22:30
RoyKjeeves_: just don't listen to that LinuxAdmin dude22:30
jeeves_yes, I had a RAID0 set sitting @ /dev/md0 that is 2 500Gb diss22:30
* He4D ist away (Forever Alone!!!1)22:31
RoyKsorry, sir, but raid0 is asking for trouble22:31
patdk-laproyk, depends on what it's used for :)22:31
RoyKfor caching, spooling, something, ok22:31
RoyKbut I somehow doubt you'd need a terabyte for that22:31
jeeves_it was to be a temp soulition untill I could get $200 for 2 2Tb disks that would be mirrored.22:31
jeeves_RoyK, lol, spooling of Porn22:31
patdk-laproyk, video, but anything <30tb is small for that22:32
RoyK;)22:32
jeeves_...  or Porn of spoling22:32
LinuxAdminok RoyK, I'm not here anyway22:32
jeeves_ok, so, lessons learned here...  back up, back up, back up.22:32
RoyKreal men don't use backups22:33
jeeves_I just hope I can pull a copy of the configs for e-mail, data bases, etc22:33
RoyKreal men weep22:33
jeeves_....  then we get creative and put the damn thing in the freezer!22:33
* RoyK doesn't want his macbook pro in the freezer22:34
patdk-lapheh, I had a raid50 die last sunday :(22:34
jeeves_RoyK, FRUIT???  seriously?22:34
patdk-lap7 disk (6 + 1hotspare)22:34
patdk-lap5 bad drives22:34
patdk-laprecovered almost everything22:34
jeeves_patdk-lap, WTF?  please tell me there was a bottle of booze found in the server room22:34
RoyKpatdk-lap: zfs would have found the errors early22:34
RoyKzfs ftw!22:34
patdk-lapthe raid card should have too22:34
RoyKnope22:34
RoyKthe raid card listens to the drives only22:35
patdk-lapno it doesn't22:35
RoyKif the drives say it's ok, the raid card doesn't give a fuck22:35
patdk-lapI had consistency checking on, every other day it does a sweep22:35
jeeves_lol, that's why our "large" storage array in the data center is a 12 bay unit with 2Tb drives in it.22:35
RoyKpatdk-lap: that's just asking the drives22:35
RoyKpatdk-lap: no data consistency checks22:35
jeeves_we're thinking ZFS is the way to go for it for us.22:36
patdk-lapit takes 16hours to run a consistency check22:36
RoyKonly zfs and perhaps btrfs do that22:36
patdk-lapit has to check it22:36
patdk-laphalf of it was also the scsi cable had gone bad22:36
RoyKpatdk-lap: there is no chance your controller can run consistency checks on the drive data without pre-stored checksums, which it probably doesn't have space for22:36
patdk-lapdrives that where fine, where marked bad22:37
jeeves_anyone heard of the power requirements on a NAS with ZFS?  I'm thinking of buying a dual CPU board for the 2 3Ghz Xenon CPUS and 8Gb of RAM I have, but according to the specs, a P4 is the best22:37
patdk-lapand drives that where bad, where still good22:37
uvirtbotNew bug: #700492 in ntp (main) "ntp complains about ipv6 errors every 5 minutes" [Undecided,New] https://launchpad.net/bugs/70049222:37
RoyKjeeves_: there aren't really much power requirements for zfs, just your regular hardware22:37
jeeves_RoyK, ok, cool.  saves me some $$!!!22:38
RoyKjeeves_: and for zfs, not much cpu is needed22:38
RoyKjeeves_: just make sure it's 64bit22:38
patdk-laphmm, isn't the network or disks the normal slowdown?22:38
patdk-lapuse quad qdr infiniband :)22:38
jeeves_well, I figured with 12 disks to work with, and those 12 disks spaced out over 4 4port SATA cards, the slow part should be the PCI busor the NIC22:39
RoyKSAS3 or perhaps SAS6 should be sufficient for most use22:39
patdk-lapwhat do the sata cards use? pci? pciex1?22:39
jeeves_and for our production boxes, we have 2Gb FC cards in them22:39
jeeves_patdk-lap, PCI (it's an old 2.4Ghz P4)22:39
patdk-lapoh horrible22:40
RoyKwe're using SAS3 for this 100TB setup, works well22:40
patdk-lapmax the whole system will get is 100MB/sec22:40
jeeves_RoyK, how much $$ backing do you have though?  My busniess partner and I are still in the "start up" phaze22:40
RoyKpatdk-lap: depends how many drives you need, how much speed you want etc22:40
patdk-lapyou can get a cheap ass pcie system22:40
patdk-lapthat would be much faster than pci slots :)22:41
jeeves_true22:41
jeeves_I should get a better board22:41
RoyKjeeves_: about $25k for 100TB net storage, 160TB raw space22:41
jeeves_RoyK, nice.  well, we're still young/poor, so, everything we have comes from making "deals" and plotting along on a shoestring budget22:42
patdk-lapheh, I did mine for cheap22:42
RoyKjeeves_: this is off the shelf from supermicro22:42
jeeves_once we get going, I'll start replacing stuff.  Consolidate all the web servers into a single blade cab, etc22:43
patdk-lapa $30 mb, a simple intel 945 cpu, 4gig ram, pcie intel nic, and put in some pci sata dual port cards22:43
RoyKpatdk-lap: install something like openindana on that, add a bunch of drives22:44
RoyKsetup zfs to do its business22:44
jeeves_I was thinking a cheap intel board, 5 PCI-E slots, a dual (or quad NIC), and the rest are 4 port SATA cards22:44
patdk-lapthat was my network storage/mythtv system22:44
jeeves_I was thinking FreeNAS22:44
binBASHhi patdk-lap ;)22:44
RoyKnah - use openindiana22:44
jeeves_why?22:44
patdk-lapremember, sata2 drive can max out a pcie x1 if it wants :)22:44
patdk-laphello binbash22:45
RoyKjeeves_: freenas is based on freebsd, which has a very old zfs implementation22:45
RoyKopenindiana development is quite in the game22:46
jeeves_lol,  that's the point.  I'm trying to reduce as many bottle necks as I can on that box22:46
jeeves_RoyK, lol, maybe I should dust off my SunBlade 1500.22:46
RoyKthe zfs implememntation in fbsd isn't good22:46
binBASHFinally my voip phone works \o/ Installing Asterisk 1.8 fixed everything.22:46
=== He4D|OFF is now known as He4D
jeeves_ok boys, I'm outta here.  I have to go pick up my fiance, and go.  No more sitting in the car waiting!!!!  FINALLY!22:47
RoyKbinBASH: I used to work with asstrix22:53
=== deadsmith_ is now known as deadsmith
binBASHasstrix? :D22:56

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