[01:30] <Odd0002> is it possible to create a live ubuntu server USB drive, like you can with the desktop edition (with persistence)?  I tried with unetbootin and it only allowed me to install or check media
[01:38] <sarnold> Odd0002: it is my assumption that if you have a second usb drive or have partitioned your drive to leave some free space after the OS, you could easily mount it and have some persistence..
[01:40] <sarnold> (it may not be the magical experience that it is on the desktop live image with persistance, but you ought to be able to store data on it persistently.)
[01:41] <Odd0002> but you can't actually start up the server edition
[01:41] <Odd0002> only the installer or an ash shell
[01:41] <Odd0002> from busybox
[01:42] <sarnold> oh :/
[01:43] <Odd0002> that's why I'm asking
[02:06] <petey> CRAP!
[02:06] <petey> i just ran a bunch of commands I shouldn't have ran - had them copied and pasted
[02:06] <petey> is there a way to undo that
[02:06] <sarnold> depends on the commands, but in general, no.
[02:06] <petey> i had some rewritecond pasted in...
[02:07] <petey> hmm can i edit /etc/modsecurity/optional_rules/$f /etc/modsecurity/activated_rules/$f
[02:08] <sarnold> with the literal name '$f' in those directories? or all files in those directories? or some files in those directories?
[02:08] <petey> thats the folder that went through
[02:08] <petey>   https://gist.github.com/anonymous/dcf9ecd7ef3ae2f53264
[02:09] <petey> take a look, that's what i ran
[02:09] <petey> no thats the error that showed up, sorry
[02:10] <petey> https://gist.github.com/anonymous/240f0ef7e18a563f8e1f - these are the commands that ran
[02:10] <sarnold> did any of those actually -do- anything when run?
[02:10] <petey> looks like a bunch of errors
[02:11] <petey> i was only worried about the one that said 'done'
[02:11] <sarnold> probably the only lines that didn't error were the blank line and the # END line :)
[02:11] <petey> lol alright thanks
[02:11] <petey> sorry its been a long day
[02:11] <petey> i would figure i would check to see if i didnt mess anything up
[02:11] <sarnold> always a good idea
[02:12] <shauno> if you want to be sure, tail /var/log/auth.log - you used sudo, so if any of that was actually executed, sudo would have logged the commands
[02:12] <sarnold> I've made that similar mistake, pasting a giant pile of unrelated things, and _hoping_ that none of the starts of the lines were anything in the PATH... :)
[02:12] <sarnold> shauno: yay good idea :)
[02:12] <shauno> it doesn't look like it should have, but it's kinda comforting seeing for sure
[02:12] <petey> i didnt use sudo
[02:13] <petey> but i will tail definitely
[02:13] <petey> thanks alot
[02:13] <shauno> the actual command inside the loop uses "sudo ln -s ..."
[02:13] <petey> shit yes you're right
[02:14] <petey> i dont think it ran anything to be honest
[02:14] <petey> just some wordpress stuff i was doing
[02:14] <petey> wait crap it may have..
[02:14] <petey>  /uploads ; USER=root ; COMMAND=/usr/bin/nano /etc/modsecurity/optional_rules/
[02:19] <qman__> no
[02:19] <qman__> petey, it has to have been a valid command on one line
[02:19] <qman__> even if that had run, all you would have done is set a couple of variables
[02:19] <petey> i see
[02:20] <qman__> assuming "/uploads" is not a valid executable on your system
[02:20] <petey> nope
[02:20] <petey> its just a folder
[02:20] <petey> wordpress install
[02:24] <sarnold> petey: woot. looks like you got lucky tonight and nothing happened :)
[02:27] <petey> lol yay sarnould
[02:27] <petey> thanks
[04:02] <cuken> I have a zfs pool running on samba, but on my windows box I can see the root of the share, when I click on it I get a network resource not found error
[05:38] <Iapetus> hello!
[05:38] <Iapetus> so my server can't be accessed by the outside world anymore. can anyone point me in the right direction?
[05:39] <Iapetus> I do not have a FWDN
[05:39] <Iapetus> FQDN
[05:40] <Iapetus> but I do have gin and tonic, which makes it better
[05:40] <Iapetus> oh and crackers
[05:50] <Iapetus> This must be a common question I take it..
[06:19] <greppy> Iapetus: do you have a public IP address on the server?
[06:20] <Iapetus> no
[06:20] <Iapetus> yes
[06:20] <Iapetus> and  no
[06:21] <greppy> how is your network connection setup?
[06:22] <Iapetus> It's a cable modem connected to two computers via a router
[06:23] <greppy> so do you have the router configured to port forward to your server?
[06:24] <Iapetus> yup
[06:24] <greppy> What is the public IP?
[06:26] <Iapetus> are you referring to http://www.whatismyip.com/ or how I locally connect to it?
[06:26] <greppy> the actual public IP :)
[06:26] <greppy> so probably what shows up on whatismyip.com
[06:27] <Iapetus> it probably won't give you shit but: 71.10.98.41
[06:27] <greppy> hopefully you are using RFC1918 space behind the router.
[06:27] <greppy> crap
[06:28] <Iapetus> ?
[06:29] <greppy> I have an ethical dilemma...
[06:29] <Iapetus> I feel like I should just get passout drunk and not care about anything
[06:30] <Iapetus> life sucks anyway
[06:30] <Iapetus> no search away on it if you like, you won't find anything
[06:31] <Iapetus> o7
[06:33] <Iapetus> go on then
[06:33] <Iapetus> have at 'er
[06:34] <Iapetus> she'll like it
[06:34] <greppy> Iapetus: did you see my private messages to you?
[08:41] <columb> Hey there. How do I reserve memory/cpu for Ubuntu? I'm aware of freeze on overload. Remoted didecated server on 11.10.
[10:08] <ak5> I need to have php msqli extension but when I try to install php5-mysql it pulls mysql-common - which I don't need or want
[10:12] <Bongone> hi guys.. Ive got exim and cyrus imap on my server. Is there any way that I can check the incoming emails of a user?
[10:14] <greppy> Bongone: check them for what?
[10:15] <Bongone> greppy: I want to see if there are incoming emails
[10:15] <greppy> check the log files
[10:21] <Bongone> greppy: I want to check how many emails are there. Because the users when they try to pull emails dont receive any
[10:28] <greppy> check the mailq
[10:28] <greppy> I don't know if exim has the mailq command, but you can also look in /var/log/mail.log and see if mail is being delivered.
[10:32] <TJ-> What process creates (and doesn't delete) files in /var/tmp/guest.*/ on each boot? It's related to libguest but I've been unable to discover what is creating the directories and using the space
[11:02] <tom20sec> test
[11:27] <linuxcadette> Hello! Im trying to change the PS1-variable to display current shell+ current directory. PS1='$(0) $(pwd)' doesnt seem to work with printing current shell. ideas?
[12:12] <caraconan> Hi there. Any quick way to disable apparmor to allow this? http://pastebin.com/VCmVVivf
[12:13] <caraconan> I just want to test VirtFS
[12:14] <bambanx> guys i am here https://www.digitalocean.com/community/articles/how-to-install-iredmail-on-ubuntu-12-10-x64 , in the part of https://secure.instantssl.com/products/SSLIdASignup1a and in the select box  Select the server software used to generate the CSR: ?
[12:14] <bambanx> what i should choose?
[12:22] <jdstrand> hmm, caraconan didn't wait too long...
[13:39] <strocknar_> I'm wanting to use mod_sftp in proftpd. however, the server I am using is on 10.04. Aside from upgrading to the latest and greatest, is there anything else I can do to use this mod?
[13:40] <strocknar_> I tried snatching the .deb from debian sid for proftpd-basic, but it requires libraries of a higher version than what is available in ubunto 10.04
[14:07] <RoyK> strocknar_: what does that do that sftp in sshd can't?
[14:08] <strocknar_> easy chroot
[14:09] <RoyK> ok
[14:09] <RoyK> rssh should do that, though
[14:10] <strocknar_> right now I use sshd's sftp server
[14:10] <strocknar_> but am wanting something a bit easier to manage
[14:10] <RoyK> tried using rssh?
[14:10] <strocknar_> nope. but I will now :D
[14:10] <RoyK> won't work if the clients need shell access, though
[14:11] <strocknar_> is the website for that really 'pizzashack.org'!?
[14:13] <RoyK> apparently ;)
[14:13] <RoyK> "home of pizzacode" :D
[14:14] <RoyK> rssh should be available from the repos, though
[14:14] <strocknar_> RoyK: I may fall back to taht if I can't get proftpd to compile from source
[14:14] <strocknar_> thanks for the input
[14:14] <strocknar_> looks like a good tool to have in the belt
[17:01] <billy_ran_away> Is it safe to mount and use a RAID array that is recovering?
[17:02] <billy_ran_away> I did last night and suddenly one of the drives was found to be faulty and was removed.
[17:16] <ak5> hi guyes
[17:16] <ak5> will I have difficulties if I use `usermod -l ubuntu somethingelse` as ubuntu on a single user system?
[17:56] <scofflaw> cd
[18:07] <TheLordOfTime> what's the default "PermitRootLogin" setting for openssh-server
[18:07] <TheLordOfTime> ?
[18:07] <dir> no
[18:08] <TheLordOfTime> that's what i thought
[18:08] <TheLordOfTime> but i couldnt find that in the package's files :P:
[18:08] <TheLordOfTime> hence my asking :)
[18:08] <TheLordOfTime> thanks
[18:08] <dir> np
[18:08] <keldwud> hello
[18:09] <keldwud> noob here with an issue that may or may not be of interest to https://bugs.launchpad.net/ubuntu/+source/nagios-nrpe/
[18:09] <keldwud> not sure how to properly search or verify or file if it is needed
[18:09] <keldwud> anybody want to guide me through the process or to a resource that can instruct me how to do so?
[18:10] <Quest> If I have a asterisk server having centos or ubuntu or so  and hardware core2duo and I make the harddisk image by ddrescue or clonezilla or somehting. and past that image to a P4 Ht technology computer for example (different hardware). will the paste work? will I have any driver issues or something else? (please inform for assuming console based soervers and also for GUI servers)?
[18:11] <keldwud> I'm somewhat sure that my nrpe issue is isolated to ubuntu server 12.04 and/or 12.10
[18:13] <Quest> it seems that its too dificult to have a contigency plan. (what if the server crashes or get burned. we need prompt premade backup)
[18:37] <RoyK> kermit: why use nrpe when ssh checks are so much easier to manage?
[18:38] <kermit> RoyK: i've never used nagios
[18:39] <RoyK> I have, for 10 years or so
[19:00] <Froberg> Hi all. I'm setting up my first ubuntu server with 4 X 3TB drives. I'm reading the documentation but something has me stumped.. (https://help.ubuntu.com/12.04/serverguide/advanced-installation.html)
[19:00] <Froberg> It says I need to create a swap area on each disk. Surely this cannot be accurate? From what I've learned having a large swap area is not generally a good idea.
[19:01] <Froberg> But from the documentation, it appears to be the case. Would someone help clear things up for me before I proceed and potentially will have to re-do everything at a later date? :)
[19:02] <sarnold> Froberg: I don't think swap space is mandatory
[19:02] <markthomas> Froberg: how are you configuring the storage in your system?  Software RAID, hardware RAID, or none of the above?
[19:02] <sarnold> Froberg: nearly everyone likes having swap though, and spreading it across drives makes sense.
[19:02] <Froberg> I'm using Software RAID - was planning on RAID 5.
[19:02] <sarnold> Froberg: but it makes sense to me to have some place to shove data that is rarely used and doesn't need to live in RAM all the time, if the memory could be more profitably used for something else
[19:03] <Froberg> The guideline says twice the swap area of available memory. Would that mean that in my case, with 2GB of memory, that I should create a 1024MB SWAP area on each drive, then?
[19:03] <markthomas> Froberg: if you have swap partitions that are not RAIDed, and the drive with the swap goes down, you may (will?) need to reboot the box.
[19:03] <Froberg> Or should I do a 4096 on each drive instead?
[19:05] <sarnold> Froberg: I'd want 2-4 gigabytes of swap space after raid has been taken into account..
[19:05] <Froberg> Aye, I have allocated 4096 to the first drive already.
[19:06] <markthomas> Froberg: I second sarnold's recommendation.
[19:06] <Froberg> But I got confused about the documentation and the statement that I had to repeat steps for all drives.
[19:06] <Froberg> So you're saying I should keep the 4GB Swap on Drive #1 and repeat for the remaining three?`
[19:07] <sarnold> I'm no good at the raid math :/ would that give you 8 gigs of swap or 12 gigs of swap once it is raided together?
[19:07] <markthomas> 8gb, I believe.  That's a lot of swap for that much RAM.
[19:09] <Froberg> Well
[19:09] <Froberg> 4 x 3TB = 9TB usable space
[19:10] <Froberg> When Raid 5 is used, I mean.
[19:10] <Froberg> so by my math I'd end up at 12GB of Sweap
[19:10] <Froberg> *swap, sorry
[19:11] <sarnold> yeah, that's a lot of swap..
[19:11] <sarnold> which might be nice if you ever move the array toa nother machine with 32 gigs ram :)
[19:12] <sarnold> but with two gigs of ram, either way that's a lot of swap.
[19:14] <Froberg> http://askubuntu.com/questions/44217/frustrated-with-ubuntu-and-softwareraid-5 been reading that now
[19:14] <Froberg> I must admit that not a whole lot of what he's saying makes that much sense to me
[19:15] <scar> how can i get an ubuntu server to use htaccess
[19:16] <sarnold> Froberg: will you be installing your OS to this array or is this solely for your data?
[19:16] <Froberg> I will be installing the OS to it as well.
[19:16] <Froberg> I was hoping to avoid having to rebuild my server if the OS Drive failed.
[19:18] <sarnold> makes sense.. then heed the warning about /boot being mirrored, not raid5..
[19:20] <Froberg> hm
[19:20] <Froberg> So we're talking multiple raid implementations? =)
[19:20] <sarnold> could be :/
[19:21] <sarnold> .. and stepping firmly outside of my experience
[19:21] <Froberg> To be fair.. it seems needlessly complicated.
[19:21] <Froberg> I don't this usage scenario is entirely unique
[19:21] <Froberg> :S
[19:22] <sarnold> I think folks with raid setups tend to do something like simple mirror or 0+1 (or 1+0..) for OS, and maybe raid 5 or raid 6 for their data drives..
[19:24] <Froberg> hm
[19:25] <Froberg> with four available drives using two of them on mirroring would defeat the purpose
[19:26] <sarnold> indeed
[19:28] <Froberg> unless multiple raid levels can be in effect on the same drive
[19:28] <Froberg> but.. I lack experience on the subject
[19:31] <sarnold> Froberg: yeah, same here. I -expect- it is possible but might complicate repairs well beyond reasonable.
[19:32] <Froberg> without Ubuntu Server being backed up though.. I'm really going to be up "shit creek" without a paddle if anything goes wrong with the system drive.
[19:33] <markthomas> Just catching up, here. Sorry, I thought you said 3 drives.  If you have 4, then yes, it would be 12GB swap, which is crazy…but that's IF you don't put the SWAP on a RAID as well.
[19:33] <Froberg> According to the guide the swap is being set up in a raid
[19:33] <Froberg> https://help.ubuntu.com/12.04/serverguide/advanced-installation.html
[19:34] <Froberg> Next, select the Size of the partition. This partition will be the swap partition, and a general rule for swap size is twice that of RAM. Enter the partition size, then choose Primary, then Beginning.  Select the "Use as:" line at the top. By default this is "Ext4 journaling file system", change that to "physical volume for RAID" then "Done setting up partition".
[19:34] <Froberg> I take that to mean that the swap area will indeed be part of the raid array
[19:34] <markthomas> Ultimately, a RAID-1 is sufficient for SWAP in most cases.
[19:35] <Froberg> well sure.. but I want Raid5 for the extra space it grants over Raid1
[19:35] <Froberg> you suggesting I raid1 system on all drives
[19:36] <Froberg> then when the system is installed, I Raid5 the remaining free space?
[19:39] <sarnold> Froberg: is there no chance of getting two new drives for the OS that you could mirror?
[19:40] <Froberg> All drives are entirely new.
[19:40] <Froberg> I just got them today.
[19:40] <Froberg> They're being installed in a HP MediaSmart EX490 server where I've upgraded the CPU.
[19:40] <Froberg> It has four drive bays (hot swap) and nothing else.
[19:40] <Froberg> If it were a matter of adding more disks that would be fine, if it were an option but it's not.
[19:40] <sarnold> aww, nuts.
[19:41] <sarnold> I'd seriously look into 0+1 or 1+0 or whichever works better. :)
[19:41] <Froberg> That would leave me with 6 TB of space
[19:41] <Froberg> whereas Raid 5 only removes the space from one drive.
[19:41] <Froberg> Yielding, unless my math is off, 9TB of usable storage.
[19:41] <sarnold> true enough, but unless you want to boot off a USB stick....
[19:41] <sarnold> actually, how do you feel about booting off USB? :)
[19:41]  * sarnold runs
[19:42] <Froberg> not terribly comfortable, to be honest.
[19:42] <Froberg> The server is headless, so I've had to buy a debug cable and attach it to the motherboard for a VGA connection
[19:42] <Froberg> The cable will not fit inside the case, as such, it'll have to go.
[19:43] <sarnold> oof
[19:43] <Froberg> I would like to eliminate the chances of something going wrong that will require me to dismantle the entire server and re-attach it.
[19:43] <sarnold> :D
[19:43] <Froberg> Booting from a USB seems like a risky thing to do, in this scenario.
[19:43] <sarnold> yeah, agreed there. but it does let you use your huge data drives for data with the raid5 without overly complicating repair..
[19:44] <Froberg> well
[19:44] <Froberg> if I can raid 1 a small system partition on all drives
[19:44] <Froberg> and then raid 5 the remainder when the system is booted
[19:44] <Froberg> I don't see any reason why that shouldn't be rock-solid.
[19:44] <Froberg> barring dual drive failure
[19:45] <sarnold> hrm, that sounds worth trying
[19:47] <Froberg> righto
[19:47] <Froberg> markthomas - what size to I partition these mythical raid1 partions in, then? :P
[19:47] <stressedfred> Just checked my web server logs, i have like over 10 different chinese ips that connected to port 22. What should I do?
[19:48] <Froberg> run!
[19:48] <markthomas> Froberg: what are you doing with this server?
[19:48] <Froberg> Samba File Share and Plex Media Server
[19:48] <Froberg> rtorrent as well
[19:48] <markthomas> stressedfred: fail2ban or denyhosts
[19:49] <markthomas> Froberg: and how much RAM did you say you have?
[19:49] <stressedfred> markthomas: I already have fail2ban installed.
[19:49] <Froberg> markthomas 2GB
[19:49] <markthomas> stressedfred: then if it's doing its job, those IPs should already be in /etc/hosts.deny
[19:50] <bean> stressedfred: them connecting isn't a big deal.
[19:50] <Froberg> Looking for a second hand 4GB DDR2 module somewhere.. prices went up after ddr3 as usual ;)(
[19:50] <sarnold> stressedfred: make sure you do not allow password authentication over ssh, consider using hosts.allow or iptables to limit connection attempts to 'known good' IP ranges that you and your users use (not always feasible..) -- consider using ufw limit ssh/tcp    to rate-limit incoming connection attempts from specific ips
[19:50] <markthomas> Froberg: No more than 4GB, IMO.  If you start paging, you need more RAM.  2GB is a little lite.
[19:50] <markthomas> stressedfred:  good practice to turn off password auth, but not always feasible.
[19:50] <stressedfred> Fuck.
[19:51] <IdleOne> !language | stressedfred
[19:51] <stressedfred> Got IPs from North Korea, Ukraine, and Russia too
[19:51] <stressedfred> Jesus christ.
[19:51] <Froberg> markthomas so do I make a 1GB Swap on each drive, or a 4GB swap on each drive? :)
[19:52] <Froberg> raid 1 over four drives should still only yield 1 GB of swap, so I think 4?
[19:53] <markthomas> Froberg: correct.
[19:55] <markthomas> Froberg: overkill, in this case, but with the drive configuration you have…  Alternately, if you really want to RAID-5 your swap, do 1.5GB Each.  I can't guarantee how well the latter will work.
[19:55] <Froberg> I'm indifferent either way.
[19:55] <Froberg> As long as the primary storage space is in Raid5 to optimize the available space.
[19:55] <Froberg> I will be making backup to external drives so 100% reliability is not absolutely critical
[19:55] <Froberg> Still, being able to survive one drive failure would be nice indeed.
[19:57] <markthomas> Froberg: if the swap is mirrored, you should be able to stay online if a drive fails.
[19:57] <Froberg> what do you know.. random google searching turned this up: http://www.mediasmartserver.net/2011/06/07/guide-how-to-set-up-ubuntu-and-raid5-on-the-mediasmart-server/
[19:58] <markthomas> I love the optimism: "This exercise also likely dedicates too much space for swap, but in the grand scheme of things this should not make much of a difference."
[19:59] <Froberg> he's not terribly good at documenting his steps, either :p
[20:01] <Froberg> he is also, apparently, letting it configure everything automatically
[20:01] <Froberg> which isn't exactly what the official documentation recommends
[20:02] <Froberg> I guess one could try his method and see if it even works
[20:02] <Froberg> it's not like I have fear of data loss at this point ;)
[20:03] <Froberg> Just tried to see what it looked like.. swap at 2.1 GB, 3.0TB Ext4 and 1.0 MB biosgrub
[20:03] <Froberg> never seen biosgrub before
[20:25] <markthomas> Grub2 has a couple different ways to boot, now: UEFI and BIOS.  I guess we know which is being used here.
[20:25] <Froberg> aye
[20:26] <Froberg> Raid 5 array with 4 drive is set up
[20:26] <Froberg> Ubuntu server is installing..
[20:26] <Froberg> swap area landed at six gigs
[20:26] <Froberg> no hot spare ;)
[20:27] <Froberg> so far my first Ubuntu Server experience has not been as terrifying as I'd suspected.
[20:28] <Froberg> largely due to you markthomas and sarnold - so cheers guys. :)
[20:35] <markthomas> :)
[20:35] <Froberg> accidentally only chose samba package to install
[20:36] <Froberg> now I have to add openssh manually
[20:36] <Froberg> oh well, learning experiences!
[20:36] <Froberg> :D
[20:36] <izanagisan> I'm setting up a RAID 1 in 2 1TB drives and leaving a third 1TB drive as Hot Spare. Am I being silly for not setting up RAID 5 on all 3 instead?
[20:36] <Froberg> well I just did ten minutes of reading on the subject
[20:36] <Froberg> so clearly I'm already an expert
[20:36] <Froberg> :P
[20:36] <Froberg> But the idea behind hot swap is nice, but it's also dangerous imo
[20:37] <izanagisan> hahaha, same here man, read the IBM documentation on RAIDs. Fascinating topic
[20:37] <Froberg> if a degradation of your array is detected, the hot spare will kick in and the array will rebuild
[20:37] <Froberg> WITHOUT user interaction
[20:37] <Froberg> this stresses the reamining drives and can potentially cause a cascading failure on the other drives
[20:37] <Froberg> leaving your with a dead array
[20:37] <Froberg> meanwhile if you don't have a hot spare, you'll at least have a shot at backup before rebuilding
[20:38] <Froberg> that's why I chose against a hot spare, at least.
[20:39] <izanagisan> I think I'm gonna try all possible configurations and run tests
[20:39] <izanagisan> but yah I'll proly stay with RAID 5 on all 3 drives
[20:39] <Froberg> what the hell
[20:39] <Froberg> now it asks me where to put the grub boot loader
[20:40] <Froberg> am I expected to remember all the drive names? :D
[20:40] <izanagisan> how many virtual drives did you create?
[20:40] <Froberg> 4 ext4 and 4 swap
[20:40] <Froberg> resulting in one ext4 raid 5 and 1 swap raid5
[20:41] <markthomas> Put the grub bootloader on the first drive (/dev/sda, usually)
[20:41] <Froberg> here goes nothing
[20:41] <izanagisan> allright, it seems like very soon I'll run though the exact same issues than you. Starting my first UbuntuServer installation on an actual server, with hardware RAID
[20:41] <Froberg> a list would be nice to have :P
[20:42] <Froberg> izanagisan I'm happy to make all your mistakes for you! :)=
[20:42] <markthomas> izanagisan: hardware RAID will be somewhat different.  The drive configuration will be done before install.
[20:42] <izanagisan> was done already. A first test with 1 virtual drive, 2 phisical drives RAID 1
[20:42] <Froberg> ... install finished.. rebooting
[20:43] <Froberg> hold on to your socks
[20:43] <izanagisan> so, that'll make the UbuntuServer install process easier, right?. the RAID config will be transparent?
[20:43] <izanagisan> I'll only see one drive?
[20:43] <markthomas> Froberg: the scenario they're describing is unlikely, unless you keep your drives well outside their expected lifespan.  But it's not unheard of.  Bottom line: back up your stuff.
[20:43] <markthomas> izanagisan: you should.  Hardware RAID is typically done by the BIOS (some SATA Fakeraid of old would still show multiple drives.  Had to do some tweaking then.  It's been awhile).
[20:44] <Froberg> well markthomas in a scenario like mine.. I've bought all four drives at the same time. Same manufacturer and type. (WD Red 3TB).
[20:44] <Froberg> It's not entirely unlikely that they will fail within a short period of each other.
[20:44] <Froberg> But hey, a five year warranty is hard to beat.
[20:44] <markthomas> Right.  If you're concerned, I'd stress them and burn them in BEFORE going into prod.
[20:45] <Froberg> it's not like my NAS and media server is a critical application.
[20:45] <Froberg> As long as I continue to keep religious backups, I should be fine.
[20:45] <markthomas> What are you backing up with?
[20:45] <Froberg> markthomas the system is booted and is just slowing a blinking cursor, should I be worried or leave it alone?
[20:46] <markthomas> Froberg: leave it for a moment and see what happens.
[20:46] <Froberg> backing up to external drives which are then stored at a secondary location
[20:47] <Froberg> define "moment" :p
[20:47] <markthomas> If it's still not working, it might be time to boot to a rescue CD and try to mount the volume and look at the logs.
[20:48] <markthomas> Did you see any output from the OS at all prior to the black screen?
[20:48] <Froberg> No
[20:49] <markthomas> Okay.  Use the rescue boot.
[20:50] <Froberg> assuming this is on the boootable usb
[20:51] <Froberg> w00t
[20:51] <Froberg> second boot worked
[20:51] <Froberg> I have terminal!
[20:53] <Froberg> system load 1.26, 94 processes, 2% memory usage
[20:53] <Froberg> fairly decent!
[20:53] <izanagisan> dum question but have to ask: when one sets up RAID from the Ubuntu installation, it means there will be a software RAID, controlled by the OS, using the CPU?
[20:53] <markthomas> Right.
[20:53] <izanagisan> and that's prone to failure in case of electric failure?
[20:53] <Froberg> I certainly hope not..
[20:54] <markthomas> izanagisan: unless your hardware raid controller has battery backup, there's no difference in risk :)
[20:54] <markthomas> Froberg: try to mount the RAID array you created.
[20:54] <izanagisan> it does, I'm installing on an IBM x3650 M3 with a 5015 RAID card with battery cache
[20:54] <Froberg> .. isn't it mounted when the system can boot from it?
[20:55] <markthomas> If you booted from the rescue CD, then no.
[20:55] <markthomas> And in any case: not exactly.
[20:55] <Froberg> I didn't
[20:55] <Froberg> It booted all on it's own!
[20:55] <Froberg> After being rebooted
[20:55] <Froberg> ^,^
[20:55] <markthomas> Cool!  Then…never mind.
[20:55] <markthomas> Do a df -h just to verify things look right.
[20:55] <Froberg> uvirtbot it's a smiley.
[20:55] <Froberg> stupid bot
[20:56] <Froberg> it says dev/md0 8.2 T, 1.2G used, 7.8T Available
[20:56] <markthomas> There you go.
[20:57] <Froberg> gravy
[20:57] <markthomas> Incidentally, check out LVM sometime.  With that much space to play with, it may give you some flexibility in space allocation.
[20:58] <Froberg> LVM?
[20:58] <markthomas> But in any event, it's time to start doing stuff.  Oh, and that system load will drop to zero once the RAID sync is done.
[20:58] <markthomas> Logical Volume Manager.
[20:58] <Froberg> cool
[20:58] <Froberg> I've never done manual stuff on ubuntu before
[20:58] <Froberg> only done some sharing from ubuntu desktop
[20:59] <Froberg> assuming I should apt-get updates or something first :P
[20:59] <Froberg> and install the ssh server
[20:59] <markthomas> To patch, apt-get update && apt-get upgrade
[21:00] <markthomas> Also, I often use aptitude in place of apt-get.  Syntax is very similar (aptitude incorporates some functions of apt-cache as well), but it does a slightly better job with dependencies.
[21:00] <markthomas> Just put it on your things-to-look-into list right under LVM. :)
[21:00] <Froberg> I shall pretend to know what that means and return to google!
[21:00] <Froberg> ;-)
[21:00] <markthomas> In the meantime, yes, do the patching and reboot.
[21:00] <Froberg> just installed ssh server
[21:00] <markthomas> Good.
[21:01] <Froberg> the real fun will be adding a static ip to the damn thing
[21:01] <markthomas> Easy peasy.
[21:01] <markthomas> You know how to use vi?
[21:01] <Froberg> I have no idea about anything at all
[21:01] <markthomas> or nano, or pico, or…okay.
[21:01] <Froberg> I was even considering adding a GUI to the server to help me out a bit. :P
[21:01] <Froberg> nano is a file editor right?
[21:01] <Froberg> I seem to remember that
[21:02] <markthomas> yes.  Put 'vi' on that list.  Then, type sudo nano /etc/network/interfaces
[21:03] <markthomas> You should see:
[21:03] <markthomas> auto eth0
[21:03] <markthomas> iface inet eth0 dhcp
[21:03] <Froberg> aye
[21:03] <Froberg> I see it
[21:04] <Froberg> (now working in putty ^^)
[21:05] <markthomas> Cool.  One sec.
[21:06] <markthomas> http://pastebin.ubuntu.com/5719908/
[21:06] <markthomas> Make it look something like that.
[21:06] <markthomas> whitespace shouldn't matter.  dns-search isn't especially important, unless you have one.
[21:06] <Froberg> is dns-search neces..
[21:07] <Froberg> haha :)
[21:07] <Froberg> seems a lot like cisco router configuration when you look at it
[21:07] <markthomas> For example, if you use comcast for an ISP, you could set it to comcast.com, etc.  Or, nothing at all.
[21:08] <Froberg> ahg alright :)
[21:08] <izanagisan> installation went as swiftly as in a regular PC. Well, now to set a static IP and run lots of tests. I'm sort of excited to finally be running UbuntuServer on a real server and not my laptop, hehehh
[21:08] <markthomas> Once you're done, use ctrl-x to save, run /etc/init.d/networking restart (ignore the warnings).
[21:08] <markthomas> izanagisan: nice.
[21:10] <Froberg> seems slightly weird that you have to specify network and broadcast addresses of the subnet though
[21:10] <Froberg> shouldn't ubuntu be able to figure that out using the subnet mask?
[21:16] <markthomas> You don't.  But I included it out of habbit.
[21:16] <Froberg> Ah okay :)
[21:16] <markthomas> If you ever mistype your netmask, you may be glad you did that.
[21:16] <Froberg> I saved the file and chose restart
[21:16] <Froberg> shouldn't that have booted me from the terminal?
[21:16] <markthomas> Did you change the IP?
[21:16] <Froberg> aye
[21:17] <markthomas> Then verify the new ip with ifconfig
[21:17] <Froberg> still running the old one
[21:17] <Froberg> as I suspected
[21:17] <markthomas> Any warning messages when you restarted (other than the "use upstart" messages)?
[21:19] <Froberg> hm
[21:19] <Froberg> don't think it actually restarted
[21:20] <Froberg> froberg@slave:~$ /etc/init.d/networking restart
[21:20] <Froberg> Rather than invoking init scripts through /etc/init.d, use the service(8)
[21:20] <Froberg> utility, e.g. service networking restart
[21:20] <markthomas> Which you can do.  Shouldn't matter in this case, but go ahead.
[21:21] <Froberg> still no luck
[21:22] <Froberg> at least ifconfig shows no change
[21:22] <markthomas> No other messages at all?
[21:23] <markthomas> Can you do an ifconfig -a and then a cat /etc/network/interfaces and post those to pastebin.ubuntu.com?
[21:23] <Froberg> sure.. sec
[21:25] <Froberg> I don't suppose I should delete the auto eth0 line?=
[21:25] <Froberg> to make it static I mean
[21:26] <markthomas> No.  If you leave that line out, the interface won't be configured.
[21:26] <markthomas> It was the "dhcp" that you changed to "static" that made the difference.
[21:26] <Froberg> http://pastebin.ubuntu.com/5719960/ <
[21:26] <Froberg> ooops
[21:26] <Froberg> that must've been it
[21:26] <Froberg> think I missed that bit
[21:27] <Froberg> yup
[21:27] <Froberg> that'd be it
[21:27] <markthomas> That'll do it.
[21:29] <izanagisan> got this message
[21:29] <izanagisan> * Running /etc/init.d/networking restart is deprecated because it may not enable again some interfaces
[21:29] <izanagisan> then process actually froze and it's not ever ending : p
[21:29] <izanagisan> doesn't happen on my laptop but just happened on the server
[21:30] <markthomas> You can generally ignore that message for this, but the fact that it froze...
[21:30] <markthomas> Try to kill it and run it again.
[21:30] <izanagisan> ah lol
[21:30] <izanagisan> no, I'm being an idiot
[21:30] <Froberg> the ip changed
[21:30] <Froberg> reconnect
[21:30] <izanagisan> I have the server RIGHT NEXT to me, but I was SSH-ing for that command from a nearby PC
[21:31] <Froberg> teehee
[21:31] <Froberg> I was correct about something :D
[21:31] <izanagisan> indeed, the server got the static IP I gave it
[21:31] <Froberg> same for me
[21:31] <Froberg> happy day! :)
[21:32] <markthomas> Oh.  Nice.  Yeah, that'll do it.
[21:32] <markthomas> Sorry, multitasking during that last bit.  Missed the obvious.
[21:32] <Froberg> now patching and updating
[21:33] <Froberg> this is excellent practice for the ubuntu course I have to take.
[21:41] <Froberg> markthomas would you recommend that I install something like webmin?
[21:43] <markthomas> Froberg: not for what you described.
[21:43] <markthomas> If you want to manage Samba, try swat.
[21:46] <Froberg> Alright :)
[21:46] <Froberg> In my previous experiences with Samba I had many issues
[21:46] <Froberg> hopefully now that everything is on a linux filesystem it'll be much improved
[21:48] <Froberg> well a short glance at it seems much improved from file edits and mucking about with the gui - cheers :)
[21:50] <Froberg> (i.e. the gnome desktop gui)=
[22:01] <wxl> is there an upgrade method (not do-release-upgrade, obviously) that won't suffer the possibility of replacing systemwide settings?
[22:02] <Froberg> this is juuust great.. :P Now the server is back in "I REFUSE TO BOOT" mode.
[22:02] <Froberg> rebooted to finish installing updates.
[22:03] <Froberg> back in the lovely blinking terminal window
[22:03] <markthomas> Something odd there.  If you can get it booted, we need to check dmesg
[22:04] <maxb> wxl: do-release-upgrade is the correct upgrade method
[22:04] <Froberg> doesn't look like I'm in luck
[22:04] <markthomas> Time to boot from the CD
[22:04] <sarnold> wxl: I'm a bit scared of what you're trying to do :)
[22:04] <Froberg> I thought it could be down to boot device priority
[22:04] <Froberg> usb had to be set to #1 to boot the installer
[22:04] <Froberg> changed to hdd0 and now nothing
[22:04] <Froberg> will try usb, sec.
[22:05] <Froberg> (switched to hdd only after booting failed btw)
[22:05] <wxl> sarnold: at work i'm sort of inheriting some servers and truthfully, we've had a really hacky past in the it department. i'm not sure what people have changed systemwide. nothing's documented. i don't want there to be some file overwritten in the upgrade that results in some important part of our business going down due to someone's hack. just covering my rear. :)
[22:05] <sarnold> wxl: you could try something gross like mount overlayfs or aufs over your /etc and throw away writes when you're done. But you'd have to be in a pretty strange situation for that to make sense. (I shouldn't even suggest it, just .. I can't help being helpful)
[22:06] <sarnold> wxl: yikes indeed :)
[22:06] <Froberg> markthomas booting from usb got me the "select os/memtest" menu. Before I could chose anything it booted in to OS.
[22:07] <sarnold> wxl: if it were me, I'd try to clean one machine at a time; bring up a new system, fiddle configs to make it work, replace old system. rebuild it clean, take over another system's functionality...
[22:07] <markthomas> There should be a "recover' option.
[22:08] <Froberg> it moves past that on its own immediately, if there is one.
[22:08] <Froberg> I think I know what might be at fault.
[22:08] <Froberg> The MBR, I only but it on sba
[22:08] <Froberg> ømaybe sba is actually the damn usb stick
[22:08] <Froberg> =)
[22:13] <Froberg> markthomas can I just re-run the grub-install from terminal or something similar to that?
[22:14] <markthomas> Heh.  sba or sda?
[22:14] <wxl> thanks for the help maxb sarnold. i think i've at least put my mind at ease about what i need to do. thanks for the support!
[22:14] <markthomas> Do you have desktop boot media handy?
[22:14] <Froberg> ./dev/sda sorry
[22:14] <sarnold> wxl: good luck :)
[22:14] <Froberg> yeah I booted from usb just fine
[22:15] <Froberg> it just skipped the ubuntu menu
[22:15] <Froberg> guess I can unplug the hard-drives and see if that makes it behave
[22:15] <markthomas> Yeah.  That's SCSI/SATA device #1.  So, it booted to a live "CD"?
[22:15] <maxb> //dev/sda *can* end up being the USB stick sometimes
[22:15] <markthomas> You don't want to do that.  You need to boot to a live CD.
[22:15] <Froberg> I am booting on the installation USB
[22:15] <Froberg> apparently
[22:15] <Froberg> it won't boot without it
[22:16] <markthomas> And the server booted all the way up?
[22:16] <Froberg> maxb I think you're right, it was listed as HDD1 in BIOS
[22:16] <Froberg> markthomas yes it's booted now, looking at the terminal login pront
[22:16] <Froberg> prompt
[22:16] <markthomas> If it booted all the way up, the USB shouldn't be sda.  But you can do a "mount" or "df" to confirm
[22:17] <maxb> blkid is also a useful command for establishing what drives are what
[22:17] <maxb> Even if they aren't mounted
[22:17] <Froberg> blkid did nothing
[22:19] <Froberg> Filesystem      1K-blocks    Used  Available Use% Mounted on
[22:19] <Froberg> udev              1011372       4    1011368   1% /dev
[22:19] <Froberg> tmpfs              408312     480     407832   1% /run
[22:19] <Froberg> none                 5120       0       5120   0% /run/lock
[22:19] <Froberg> none              1020772       0    1020772   0% /run/shm
[22:19] <Froberg> none               102400       0     102400   0% /run/user
[22:19] <Froberg> ./dev/md0       8714928900 1293988 8274427924   1% /
[22:20] <Froberg> that's what df returns
[22:20] <maxb> Please 'cat /proc/mdstat' for more clarity on the md volume
[22:21] <Froberg> pastebinning, sec.
[22:21] <Froberg> http://pastebin.ubuntu.com/5720080/
[22:23] <maxb> Hm, so you have 4 hard disks, sda,b,c and e? What's sdd? Or isn't there one?
[22:23] <Froberg> Only the four hard-drives
[22:24] <Froberg> maybe it's the usb thumb drive
[22:24] <Froberg> can I look up the partitioning table somehow?
[22:24] <maxb> fdisk -l /dev/sda
[22:24] <Froberg> cannot open
[22:25] <maxb> Are you root?
[22:26] <markthomas> Yeah, probably need sudo.
[22:26] <Froberg> am now :p
[22:26] <Froberg> sda is 3 TB
[22:26] <Froberg> WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
[22:27] <maxb> 'parted /dev/sda print'
[22:27] <Froberg> sdd is the thumb drive
[22:27] <maxb> Could you try blkid again as root?
[22:27] <Froberg> pastebinning
[22:28] <Froberg> keep forgetting to sudo :p
[22:28] <Froberg> http://pastebin.ubuntu.com/5720101/
[22:28] <Froberg> for the blkid
[22:28] <maxb> Ah, that's rather more helpful
[22:30] <Froberg> I haven't seen anything thus far that explains why it won't load without the thumb drive as primary boot device
[22:30] <sarnold> Froberg: when I'm going to do a bunch of commands that require root, I tend to use sudo -s to start a shell :) it saves some typing..
[22:31] <Froberg> and the wonderful tips keep on flowin'
[22:31] <Froberg> this might be my new favorite channel!
[22:31] <Froberg> :D
[22:32] <maxb> Let's see the partition tables? It'll be clearer then where the bootloader's actually supposed to be
[22:32] <Froberg> ok sec :)
[22:34] <maxb> Also, since this machine is using GPT, is it doing UEFI or BIOS booting?
[22:34] <Froberg> http://pastebin.ubuntu.com/5720114/
[22:35] <Froberg> .. honestly I've no clue.
[22:35] <Froberg> or rather, it boots from what I tell it to in BIOS
[22:35] <Froberg> only it didn't want to boot from the hard-drive for some reason
[22:35] <Froberg> but when the usb gets to boot it seems to skip something and go ahead and boot anyway
[22:35] <Froberg> it's really weird
[22:35] <maxb> 23:26 < Froberg> WARNING: GPT (GUID Partition Table) detected on '/dev/sda'! The util fdisk doesn't support GPT. Use GNU Parted.
[22:36] <maxb> 23:27 < maxb> 'parted /dev/sda print'
[22:36] <Froberg> http://pastebin.ubuntu.com/5720119/
[22:37] <maxb> Do you know what that partition 1 is supposed to be for?
[22:37] <Froberg> no, during partitioning it was just left empty.
[22:38] <Froberg> hmm no hang on
[22:38] <Froberg> actually
[22:38] <Froberg> there was something
[22:39] <Froberg> [22:03:24] <Froberg> Just tried to see what it looked like.. swap at 2.1 GB, 3.0TB Ext4 and 1.0 MB biosgrub
[22:39] <Froberg> [22:03:31] <Froberg> never seen biosgrub before
[22:39] <Froberg> that was the automatic partitioning thing
[22:40] <Froberg> could that be it maxb ?
[22:41] <sarnold> hrm. I've got a vague recollection of efi systems needing some sort of smallish FAT filesystem at the start of the drives.
[22:42] <sarnold> does uefi? what happens if that's missing?
[22:42] <Froberg> Maybe I should just start over after work tomorrow.
[22:42] <Froberg> Clearly I must've FUBAR'ed something
[22:43]  * Froberg pops open a beer to console his miserable self
[22:44] <maxb> It makes some sense that there'd be a 'biosgrub' partition
[22:44] <markthomas> Froberg: didn't you say there was a biosgrub partition?
[22:44] <Froberg> yup
[22:44] <Froberg> and it's still thbere
[22:44] <Froberg> *there
[22:44] <markthomas> Sorry, stepped away, getting caught up.
[22:44] <maxb> I'm a bit surprised by some of those offsets that were printed by parted, though, and I'm worried that the partitions might not be properly sector aligned
[22:45] <Froberg> they were created by using the automatic partitioning from entirely virgin drives, so that seems strange
[22:45] <markthomas> maxb: how would that happen?  It's not like Froberg did anything particularly fancy during partition creation.
[22:45] <Froberg> my sentiments exactly
[22:47] <markthomas> Froberg, just for kicks, try running sudo update-grub (I think that's what it's called) followed by sudo grub-install /dev/sda
[22:47] <Froberg> alright :)
[22:47] <maxb> Hm, I think it's just parted getting its maths wrong
[22:47] <Froberg> wth
[22:48] <maxb> If I print my own partition table using units of sectors, and parted's default, I get 2048s == 1049kB
[22:48] <Froberg> root@slave:~# sudo update-grub
[22:48] <Froberg> Generating grub.cfg ...
[22:48] <Froberg> Found linux image: /boot/vmlinuz-3.5.0-17-generic
[22:48] <Froberg> Found initrd image: /boot/initrd.img-3.5.0-17-generic
[22:48] <Froberg> Found memtest86+ image: /boot/memtest86+.bin
[22:48] <Froberg> done
[22:48] <Froberg> errr... that looks wrong to me :D
[22:48] <Froberg> like it's on the usb or something
[22:48] <maxb> Except 2048s doesn't equial 1049kB, I would say
[22:49] <maxb> Froberg: Why do you think that? Is there not a /boot/vmlinuz-3.5.0-17-generic in your installed system?
[22:49] <Froberg> root@slave:~# sudo grub-install /dev/sda
[22:49] <Froberg> ./usr/sbin/grub-bios-setup: warning: this GPT partition label contains no BIOS Boot Partition; embedding won't be possible.
[22:49] <Froberg> ./usr/sbin/grub-bios-setup: error: embedding is not possible, but this is required for RAID and LVM install.
[22:49] <maxb> Ah
[22:50] <maxb> So I guess the problem is that the partition 1 isn't marked appropriately so that grub understands it owns it
[22:50] <Froberg> it certainly seems odd
[22:51] <maxb> You might try 'parted /dev/sda set 1 boot on' and then retry the grub installation
[22:51] <Froberg> alright :)
[22:51] <markthomas> Crossing fingers.
[22:51] <Froberg> I'm up for anything
[22:52] <Froberg> http://pastebin.ubuntu.com/5720161/
[22:52] <Froberg> don't think it did what it was supposed to
[22:53] <maxb> Ah, it looks like it might be 'set 1 bios_grub on' actually
[22:53] <Froberg> wilco
[22:54] <Froberg> root@slave:~# parted /dev/sda set 1 boot_grub on
[22:54] <Froberg> parted: invalid token: boot_grub
[22:54] <Froberg> Flag to Invert?
[22:54] <Froberg> oh
[22:54] <maxb> bios_grub, not boot_grub
[22:54] <Froberg> my eyes are getting tired :D
[22:54] <Froberg> yeah saw that now
[22:55] <Froberg> should I just run the install directly, or get the update first?
[22:55] <Froberg> root@slave:~# parted /dev/sda set 1 bios_grub on
[22:55] <Froberg> Information: You may need to update /etc/fstab.
[22:56] <markthomas> For the /etc/fstab thing, if that biosgrub partition is empty, we may want to migrate /boot onto that.
[22:56] <maxb> It would probably be sensible to do a 'parted /dev/sda set 1 boot off', since boot turned out to be the wrong flag
[22:57] <Froberg> root@slave:~# grub-install /dev/sda
[22:57] <Froberg> Installation finished. No error reported.
[22:57] <Froberg> w00t
[22:57] <maxb> Whilst I've not worked with one before, I would have said that a biosgrub partition was not the same as a /boot partition
[22:57] <maxb> You'd want a /boot partition a lot bigger than 1MB
[22:57] <Froberg> hm
[22:58] <Froberg> boot partition was set to the entire ext4 sys
[22:58] <Froberg> i.e. the 8-9TB's
[22:58] <markthomas> Is it only 1M.  Missed that.  Yeah, forgot that for /boot.
[22:58] <Froberg> http://www.mediasmartserver.net/2011/06/07/guide-how-to-set-up-ubuntu-and-raid5-on-the-mediasmart-server/ <<< followed that guide
[22:58] <maxb> Froberg: OK, so in the interests of redundant booting if sda should ever die, you'd want to ensure all of sd{a,b,c,e} have had the 'set 1 bios_grub on' applied
[22:58] <Froberg> but forgot about the part about the boot loader
[22:59] <maxb> 1MB is fine for a biosgrub partition
[22:59] <Froberg> maybe I should try (#18 in the list) and install the grub loader on md0
[22:59] <maxb>  /boot will live on the / partition and that's fine
[22:59] <markthomas> I've never tried installing grub on /dev/md0 before.
[23:00] <Froberg> so just rinse and repeat grub install
[23:00] <Froberg> gotcha
[23:00] <Froberg> sec
[23:00] <maxb> Hold off on the grub install - it won't do any harm, but we want to ensure you're set up for future grub updates to install to all four drives
[23:00] <maxb> For that, do 'dpkg-reconfigure grub-pc'
[23:01] <maxb> After you've gone through a couple of other questions first, you should have a screen to select which places grub should be installed to
[23:02] <Froberg> oh too late
[23:02] <Froberg> grub installed on 'em all now
[23:02] <maxb> Well, no harm done, just redundant work
[23:02] <Froberg> ok sec
[23:02] <markthomas> Right.
[23:02] <Froberg> err
[23:02] <Froberg> gives me a window
[23:02] <Froberg> .. a.. pink.. window
[23:03] <maxb> I think it's supposed to be Ubuntu-purple :-)
[23:03] <Froberg> oh
[23:03] <Froberg> well
[23:03] <Froberg> at any rate, it linux command line
[23:03] <Froberg> it's currently empty
[23:03] <maxb> You can just press enter leaving it unchanged
[23:03] <maxb> For me, the device selection was the third such window
[23:04] <Froberg> aye
[23:04] <Froberg> what am I looking for?
[23:05] <Froberg> the thumb drive is the only one with an asterix
[23:05] <maxb> Hopefully a list containing /dev/sda, b, c and e, of which you can then select them all
[23:05] <Froberg> including md0 yes
[23:05] <maxb> Leave that unselected
[23:05] <Froberg> and the thumb drive?
[23:06] <maxb> You probably don't want to install grub on that too :-)
[23:06] <Froberg> ok
[23:06] <Froberg> removed the asterix from it
[23:06] <Froberg> done & done
[23:07] <Froberg> all four installs finished, no errors
[23:07] <maxb> Oh, it might be worth coming back to this screen after you've finished getting everything working, and rebooted without the thumb drive, in case your hard disks have then decided to become a b c and d
[23:08] <Froberg> alright, so removing the thumb drive, reboot, change boot device to random hdd, see if it works
[23:08] <Froberg> yes?
[23:08] <maxb> indeed
[23:09] <Froberg> holy sweet jumpin' jesus
[23:09] <Froberg> it's aliiiiive!
[23:09] <sarnold> :)
[23:10] <sarnold> Froberg, maxb, markthomas, nice work :)
[23:10] <markthomas> Indeed.  Nice grub work, maxb
[23:10] <Froberg> I did nothing! :)
[23:11] <Froberg> maxb if you ever decide to visit Denmark - I'm buyin' you a pint.
[23:11] <Froberg> Hell, that goes for markthomas and sarnold too! :D
[23:11] <sarnold> darn, was just in denmark in november :)
[23:12] <Froberg> alright I ran that configure again
[23:12] <Froberg> the drives are now a,b,c and d
[23:12] <Froberg> do I re-run the configuration to be sure? :)
[23:13] <Froberg> sarnold did you go anywhere nice?
[23:13] <markthomas> lol
[23:13] <Froberg> .. American? :)
[23:13] <Froberg> markthomas what, don't drink beer? ;)
[23:13] <markthomas> :)
[23:15] <Froberg> markthomas since maxb is celebrating with hookers and beer, probably, should I re-run the grub config?
[23:15] <Froberg> now the drive letters have changed?
[23:15] <markthomas> You can.  Won't hurt.
[23:15] <Froberg> excellent
[23:15] <Froberg> </mr burns>
[23:15] <markthomas> Should be a,b,c,d now.
[23:16] <markthomas> Probably doesn't matter at all—most internal stuff is done with labels and UUID these days.  But it can't hurt.
[23:16] <Froberg> rebooted again, just to tempt fate
[23:16] <Froberg> and spit in the face of God
[23:16] <Froberg> n'.. stuf
[23:16] <Froberg> *stuff
[23:16] <markthomas> Better now than when it's loaded with data.
[23:16] <markthomas> Which version did you install?
[23:16] <Froberg> my sentiments exactly
[23:17] <markthomas> Precise or Quantal?
[23:17] <Froberg> not the LTS one, because I'm an idiot
[23:17] <Froberg> the 12.06 I think it was
[23:17] <Froberg> latest one available at any rate
[23:17] <markthomas> 12.10, if it's not 12.04 LTS.
[23:17] <markthomas> Heh.  Only for another couple weeks ;)
[23:17] <Froberg> lovely
[23:18] <Froberg> ok.. to-do list.. figure out why samba is giving me a hard time, install plex media server, make NFS shares..
[23:18] <Froberg> oh yeah
[23:18] <Froberg> fun-times to be had in my immediate future
[23:19] <Froberg> markthomas I apologize about offering you a pint
[23:19] <Froberg> I should've offered you at least five
[23:19] <Froberg> you're apparently from the UK after all.
[23:20] <Froberg> ;-)
[23:20] <Froberg> probably the only nation other than the fins and russians who can keep up with Danes when it comes to drinking.
[23:21] <markthomas> Heh.  Once upon a time, I had some German classmates.  They didn't too badly in that area.
[23:21] <Froberg> True, zeh germans do love their lager too.
[23:21] <Froberg> Danes have an unfortunate worldwide record though
[23:21] <Froberg> our youths drink more than the youths of any other nation
[23:22] <Froberg> I blame Carlsberg.
[23:22] <markthomas> Samba shouldn't be too tough unless you're trying some strict access controls.
[23:22] <Froberg> wouldn't let me install that web management
[23:22] <Froberg> swat
[23:22] <Froberg> http://ubuntuserverguide.com/2012/10/how-to-install-and-configure-swat-samba-web-administration-tool-on-ubuntu-server-12-04.html << tried that
[23:22] <Froberg> things wouldn't install
[23:22] <Froberg> some were "replaced"
[23:23] <Froberg> should probably try and find something for 12.10
[23:23] <sarnold> Froberg: I was in copenhagen, it was nice enough, but not much opportunity to get out into the country and see uncivilized life. hehe.
[23:23] <Froberg> I live just outside of Copenhagen.. my by reckoning Copenhagen is as uncivilized as they come.
[23:24] <Froberg> I actively avoid going there.
[23:24] <sarnold> hahaha
[23:25] <Froberg> *by my
[23:25] <Froberg> Christ.. too tired.
[23:25] <sarnold> Froberg: btw, the samba team is running away from swat, they don't care for it and recognize that web frontends to config files isn't their strong point.. you might not want to get too cozy with swat
[23:25] <Froberg> Been up for 20 hours now.
[23:25] <sarnold> oh, that's trouble.
[23:25] <markthomas> Heh.  I'm in Arizona, USA.  There's about a six-week time during which it's habitable here.  Outside of that…well, if they ever colonize Mercury, they'll be recruiting from my town.
[23:26] <Froberg> and have to get up in like four hours
[23:26] <Froberg> markthomas Hawking has given us 1000 years, it'll happen :P
[23:26] <Froberg> sarnold so.. what else is there? :)
[23:26] <Froberg> manual labour? ;)
[23:27] <Froberg> also should I uninstall the swat package then?
[23:27] <Froberg> and the xinetd
[23:28] <markthomas> You can use it for now.  Since it just writes the standard config, you could remove it once you're done.  Or, spend a few hours studying config options one by one.  Either way.
[23:28] <sarnold> Froberg: the swat description says something about not working with "the default package-managed configuration" -- it might be a good idea to try dpkg-reconfigure samba and see what happens..
[23:28] <markthomas> You're not running a fileserver with financial data in an org of 5,000 employees.  You're just serving media for personal use.
[23:28] <sarnold> Froberg: .. though mark's right, if you use it once and remove it, that's not the worst thing in the world :)
[23:29] <Froberg> well
[23:29] <Froberg> I have fairly basic needs
[23:29] <markthomas> It shouldn't be difficult, either way.
[23:29] <Froberg> Four file shares ; Data / Music / Movies / TV
[23:29] <Froberg> all will be mapped network drives
[23:29] <markthomas> Security=user, file create mask wide open.
[23:30] <Froberg> and all but data will be accessed by the plex media server
[23:31] <Froberg> well I managed to make it work on ubuntu desktop
[23:31] <Froberg> server shouldn't be much different
[23:31] <Froberg> ;)
[23:31] <Froberg> (I know it is, but let me live a lie for a few hours!)
[23:32] <sarnold> nah, server and desktop are fairly similar, it's mostly just which packages are installed that are different
[23:33] <Froberg> oh
[23:33] <Froberg> should do alright then
[23:33] <sarnold> yup :)
[23:34] <Froberg> just annoyed that I installed the useless packages now
[23:34] <sarnold> apt-get purge is right there :) hehe
[23:34] <Froberg> that seems very.. dangerous
[23:34] <Froberg> or rather, sounds dangerous
[23:35] <sarnold> it just removes the packages you specify and their configuration files, not too bad if you think through your actions first. :)
[23:35] <sarnold> but 21 hours awake may not be the right time, hehe
[23:35] <Froberg> You are correct Sir.
[23:36] <Froberg> And with that, I will get my four hours of beauty sleep
[23:36] <Froberg> not that it ever, ever works
[23:36] <sarnold> good night and good luck :)
[23:36] <sarnold> haha
[23:36] <Froberg> after all, I have a long weekend of nothing but ubuntu ahead of me.
[23:36] <Froberg> I figure I'll buy a few gallons of coca cola and eat nothing but beans all weekend.
[23:36]  * sarnold steps a little further away from .dk
[23:36] <Froberg> quite
[23:36] <Froberg> the gas will be epic
[23:37] <Froberg> with any luck I'll kill all my coworkers with a single fart on Monday.
[23:38] <Froberg> I appreciate all the help, everyone, truly. :)
[23:38] <Froberg> << goes to bed =)
[23:38] <sarnold> 'night :)
[23:38] <markthomas> night!
[23:50] <izanagisan> night Froberg
[23:50] <izanagisan> so, if I have a file called postgresql-8.1.13.tar.bz2, how can I install it on UbuntuServer?
[23:51] <izanagisan> apt-get and point to it?
[23:58] <sarnold> izanagisan: normally you'd just run 'apt-get install postgresq' and take whatever version is packaged; if you want to compile source by hand, you'll need to apt-get install build-essential   and apt-get build-dep postgresql-9.1   (yes, wrong version number, but hopefully similar build dependencies)
[23:59] <izanagisan> yah, I unistalled 9.1 and want to install 8.1.13 for a test
[23:59] <izanagisan> with an old database currently in production, that I want to upgrade