[00:05] <SpamapS> ChmEarl: thats a bit weird, since Ubuntu doesn't to my knowledge use /usr/lib64
[00:07] <ChmEarl> SpamapS, do you have an amd64 install? take a look at /usr
[00:08] <MasterZuFu> is anyone available to assist me with an issue with ip configurations?
[00:12] <SpamapS> ChmEarl: http://paste.ubuntu.com/930305/
[00:12] <SpamapS> ChmEarl: no /usr/lib64
[00:12] <SpamapS> MasterZuFu: I can try, though I'm only here for about 5 more minutes :)
[00:13] <MasterZuFu> ok. well....right now i'm trying to get a static ip on the server
[00:14] <MasterZuFu> even though i edited /etc/network/interfaces
[00:14] <MasterZuFu> and it says that eth0 is not configured.
[00:14] <MasterZuFu> right now it's on eth2.
[00:14] <MasterZuFu> i don't even see an eth0, it was there before, don't know what happened to it now...
[00:15] <MasterZuFu> sudo ifup eth0 doesn't work either.
[00:15] <JanC> MasterZuFu: eth0 is now named eth2?
[00:16] <yakster_> sudo ifconfig eht0 up
[00:16] <yakster_> eth0 up
[00:16] <MasterZuFu> echo: ERROR while getting interface flags: no such device
[00:16] <JanC> MasterZuFu: you should probably look at /etc/udev/rules.d/70-persistent-net.rules
[00:17] <JanC> MasterZuFu: did you change the NIC recently?
[00:17] <MasterZuFu> i changed a couple things. it's a virtual box server hosted on a windows 764bit box.
[00:18] <MasterZuFu> i had to change firewall rules to allow all to the specified ip address: 192.168.0.105
[00:18] <MasterZuFu> but for some reason, my router has given it the ip 192.168.0.103
[00:18] <MasterZuFu> ooops, those are backwards, it's supposed to be 103, but it gave it 105
[00:18] <MasterZuFu> and eth0 isn't there anymore, now it's eth2, and eth2 has the wrong ip
[00:19] <JanC> MasterZuFu: it probably got renamed because you changed the emulated network card type, or because the MAC address changed
[00:20] <MasterZuFu> O.o?
[00:21] <JanC> see the file I mentioned earlier where rules are added in case of such changes (and feel free to edit/delete it, I suppose)
[00:21] <MasterZuFu> uh...ok. one sec
[00:21] <JanC> /etc/udev/rules.d/70-persistent-net.rules
[00:22] <Calif> Hi, I'm trying to setup a linux box to accept an ipv4 address, but it takes an ipv6 address anyway
[00:22] <MasterZuFu> it's got three dif rules in it. don't know what any of these mean.
[00:22] <MasterZuFu> looks like a mac address though
[00:23] <Calif> i have a modem running something called dmzplus mode, which dhcp assigns a public ipv4 address, I see the address it's supposedly giving my linux box, but its not the same address on the linux box
[00:23] <Calif> can anyone suggest how this might be happening?
[00:23] <Calif> this setup has worked in the past
[00:23] <Calif> I moved a bunch of equipment around today, and this started
[00:24] <JanC> MasterZuFu: can you put the contents of that file on a pastebin?
[00:25] <MasterZuFu> it'll take a sec. it's on a nother computer
[00:26] <MasterZuFu> http://www.pastebin.com/GRFem6NJ
[00:28] <ChmEarl> SpamapS, thanks for the paste -- without that symlink my filesys is RO! I don't why the symlink fixes it
[00:28] <JanC> MasterZuFu: so it seems the VM is still emulating the same hardware, but changed the MAC address a couple of times...
[00:29] <MasterZuFu> odd. i fix this how? just delete the rules and restart the vm?
[00:29] <JanC> MasterZuFu: is that the complete line BTW?
[00:30] <MasterZuFu> uh.....not sure. that's what it shows on my config.
[00:30] <MasterZuFu> that copy and paste at its prime.
[00:31] <JanC> copy & paste from what?  ☺
[00:31] <MasterZuFu> from the terminal in the vm to the pastebin in the browsers
[00:31] <JanC> the lines starting with "SUBSYSTEM" aren't longer than that?
[00:32] <JanC> I mean, if you are using an editor, you might have to scroll to the right...
[00:32] <MasterZuFu> oh crap....it is..... O.0 i didn't even see that
[00:33] <MasterZuFu> uh....crap how do i copy that? O.o
[00:33] <JanC> use 'cat' or enable wrap in your editor or ...  ;)
[00:36] <JanC> anyway, remove the lines that currently end in NAME="eth0" and NAME="eth1" then change the remaining line from "eth2" to "eth0"
[00:37] <MasterZuFu> http://www.pastebin.com/jcVtYQFe
[00:37] <MasterZuFu> there. that's the whole thing.
[00:38] <MasterZuFu> so i should just delete the whole thing?
[00:39] <JanC> MasterZuFu: that would work too, yes
[00:39] <MasterZuFu> ok let me see how that does.
[00:39] <MasterZuFu> and then restart the vm?
[00:39] <JanC> it will generate a new rule automatically then
[00:40] <JanC> MasterZuFu: I hope it doesn't create a new MAC address every time you restart it?
[00:40] <JanC> maybe only when you change something about it...
[00:47] <MasterZuFu> alright. seems that worked. however, i'm still not able to connect to the website hosted on it. local host within thevm works fine.
[00:47] <MasterZuFu> typing in the ip of the server on the host computer won't bring up the website, neither on a separate laptop.
[00:48] <ChmEarl> SpamapS, there is no penalty of downside to making /usr/lib64 (symlink), it can only save trouble and avoid problems
[00:49] <ChmEarl> or downside
[01:23] <tash> isn't there some ubuntu package that mirrors two servers?
[01:23] <tash> if so, anyone used it before?
[01:52] <pythonirc101> ChmEarl: fsck has fixed it for the past 4 hours...lemme see if it happens again in 1-2 days. Thanks for the help.
[03:12] <clu3> I just need a simple FTP server that allows user to upload files, and an easy admin. Which one do you recommend?
[03:14] <qman__> I recommend not using FTP
[03:14] <qman__> SFTP is in all ways superior, is easy to configure, and is probably already installed as it comes with the openssh-server
[03:30] <clu3> qman__, sorry i was away. thanks for the reply
[08:09] <ZorroT> question: get mouse movement values (esp. x / y delta) to stdout, preferrably w/o x?
[11:28] <resno> hey ive got a question about sas raid cards
[11:29] <resno> im looking at buying one off ebay, is there anything i should stay away from?
[12:45] <RoyK> resno: it probably saves people here a lot of effort if you ask about the particular one instead of asking about all the bad ones
[12:46] <resno> RoyK: is there something i should avoid?
[12:46] <RoyK> resno: it probably saves people here a lot of effort if you ask about the particular one instead of asking about all the bad ones
[12:46] <resno> heh ok
[12:46] <resno> can you put an sas card into a regular desktop mobo?
[12:46] <resno> or does it use some kinda special connector?
[12:46] <resno> ah, i see
[12:46] <resno> never mind
[12:47] <RoyK> it's just a SAS board
[12:47] <RoyK> with SAS connectors
[12:47] <RoyK> possibly mini-SAS
[12:47] <RoyK> which should accept SAS drives and SATA drives
[12:47] <RoyK> possibly a mix
[12:47] <resno> so, something like this ServeRAID M5014 SAS Raid Card LSI 9620 8i
[12:47] <RoyK> I use those without the RAID part on a few machines
[12:48] <RoyK> that is, I have one with RAID-1 setup as well
[12:48] <RoyK> works well
[12:48] <resno> im considering going raid 5 when ever drives drop a bit more
[12:48] <RoyK> but IIRC it lacks TRIM support, which might be suboptimal for SSD use
[12:48] <resno> ill be going sata drive
[12:49] <RoyK> but generally, LSI SAS boards are good
[12:49] <RoyK> I mostly use those without RAID, though, for large storage systems, on openindiana/zfs
[12:49] <resno> ah ok.. im new to doing this, will it be pretty easy? drive issues etc
[12:50] <RoyK> it's simple, yes
[12:50] <resno> and then i can use mdadm for raiding right?
[12:51] <RoyK> well, either you get a RAID controller with 'hardware' RAID
[12:51] <RoyK> or you use mdadm
[12:51] <RoyK> which one to choose is up to you
[12:52] <resno> yea, i dont want to be dependent on a hardware raid card... if it crashes
[12:53] <RoyK> if you choose to use software raid, which I _know_ works well, you can probably save a bit by choosing a HBA without the RAID part
[12:54] <RoyK> software RAID is very well tested - I'd guess something like 95%+ of the NAS products out there, use linux software RAID
[12:54] <resno> wow, that much
[12:54] <RoyK> just a wild guess
[12:54] <resno> sounds good and ill believe
[12:54] <RoyK> that is, I've never seen one _not_ running linux software raid
[12:54] <resno> youve got to have like sized drives right
[12:55]  * RoyK has a few 100TB systems
[12:55] <RoyK> this one is rather neat http://paste.ubuntu.com/930997/
[12:55] <RoyK> only ~80TiB, but still
[12:57] <resno> wow, nice
[12:58] <RoyK> but on striped mirrors, which is rather fast ;)
[12:58] <RoyK> and with 2,5TB SSD cache...
[13:02] <resno> RoyK: you cant run software raid on different sized drives right?
[13:03] <RoyK> you can, but it's bound to be a mess
[13:03] <RoyK> generally you should never use differently-sized drives in *any* raid
[13:03] <RoyK> and there's no such thing as "hardware" raid, it's just the software being on a chip and not in the OS
[13:03] <resno> fair enough
[13:04] <RoyK> and - you should avoid using partitions and instead use whole drives in software raid - it eases growing things later
[13:05] <resno> thats been my plan thus far
[13:05] <RoyK> and if you want to run software raid, perhaps something like an LSI SAS 9211-8i might be better suited
[13:05] <RoyK> it has no RAID support (apart from mirroring), but it's affordable and fast
[13:06]  * RoyK has a few of those controllers
[13:06] <resno> what dont you have?
[13:06] <RoyK> dunno :)
[16:26] <qman__> I'm having a problem with exclude patterns in rsnapshot
[16:27] <qman__> exclude patterns that work when passed to rsync don't seem to have any effect in the rsnapshot config file
[16:33] <qman__> http://pastebin.com/jGxgnksi
[16:57] <qman__> well, fixed that problem, had to remove the quotes
[16:57] <qman__> would be nice if that were documented anywhere
[16:58] <qman__> now USB3 is acting up, looks like bug 647973
[17:00] <qman__> apparently fixed in 3.2 kernel, but doesn't do me any good on lucid
[17:00] <qman__> guess I'll just use the USB 2.0 ports for now
[17:08] <RoyK> qman__: I'd guess a fix might come in a backport?
[17:09] <qman__> maybe, would be nice
[17:09] <qman__> not going to upgrade that server for a while
[17:27] <pangolin> qman__, why not file the bug against 10.04 and see if it gets backported
[17:27] <Patrickdk> hmm, why not just use the 3.2 kernel?
[17:29] <qman__> because that would require upgrading to precise
[17:29] <Patrickdk> since?
[17:29] <qman__> and the last upgrade, hardy to lucid, didn't exactly go smoothly
[17:30] <Patrickdk> hmm, there will be a percise to lucid kernel backport as soon as percise is released
[17:30] <Patrickdk> I've been running 3.0.0 on lucid for awhile now
[17:30] <qman__> only reason I upgraded from hardy was my new network card wouldn't work with its kernel
[17:31] <Patrickdk> ya, I'm going be running some tests
[17:31] <Patrickdk> see if I will upgrade before or after 12.04.1
[17:32] <qman__> and ever since the upgrade I can't see fscks, my screen is just blank with a cursor until they finish
[17:32] <Patrickdk> sounds like a video kernel driver issue
[17:32] <qman__> which is especially troublesome since I have an 8.2TB filesystem to fsck occasionally
[17:33] <qman__> just have to see if the disk activity lights are on and hope it's working
[17:34] <JanC> that sounds like a bug
[17:36] <qman__> it's got something to do with plymouth, but I don't know what exactly
[17:36] <qman__> because I have a working screen, if I type stuff it shows
[17:37] <qman__> but my fsck isn't there and no key combinations bring it up
[17:40] <qman__> just really unhappy about the whole thing, I understand why they created this, but I don't understand why it's on servers too -- I used to just remove quiet splash and get exactly what I wanted, now it's basically impossible
[17:42] <qman__> spent days trying to figure it out on a different machine and gave up
[18:14] <blendedbychris> any stunnel users around?
[18:14] <sm00x> nope
[18:14] <blendedbychris> Related question… do you need both private an public keys do terminate ssl connections?
[18:14] <blendedbychris> to*
[18:17] <sm00x> to terminate?
[18:18] <blendedbychris> decrypt?
[18:18] <blendedbychris> auth?
[18:18] <blendedbychris> tern gibberish into non gibberish?
[18:21] <JanC> blendedbychris: I used stunnel way back when I still used Windows (~10 years ago, I think)
[18:21] <sm00x> terminate = stop, disconnect, dismantle
[18:21] <sm00x> at least AFAIR
[18:22] <blendedbychris> sm00x: http://www.f5.com/glossary/ssl-termination.html
[18:22] <blendedbychris> it's a common term.
[18:22] <JanC> you can configure stunnel to do any level of security/auth AFAIK
[18:22] <blendedbychris> you guys aren't helping :)
[18:22] <JanC> so basically, it depends on how secure you want to be  ;)
[18:24] <JanC> but in the most common case, you need a secret key at the server end, and a public key known to the client
[18:25] <JanC> if you want to be sure the client is really who they say they are, you also need a private key at the client with a an associated public key known at the server end
[18:27] <blendedbychris> JanC: I'm actually referring to https...
[18:27] <blendedbychris> http://www.koopman.me/2010/05/stunnel-can-run-multiple-ips-and-certs-in-one-instance/
[18:27] <blendedbychris> in that configuration there is no private key
[18:27] <blendedbychris> which is confusing to me
[18:27] <JanC> blendedbychris: like I said, I used it almost 10 years ago
[18:28] <blendedbychris> well this question is a bit broad though
[18:28] <blendedbychris> with https do you need both a public and a private key?
[18:28] <blendedbychris> in order to terminate the request
[18:28] <blendedbychris> ah!
[18:28] <blendedbychris> pem has both private and public keys
[18:28] <blendedbychris> things you didn't know
[18:29] <JanC> right, so that config has private keys for each site?
[18:30] <blendedbychris> both private and public key are stored in the pem
[18:30] <blendedbychris> makes sense now…. i was used to calling two files
[18:30] <JanC> you need a different file at client
[18:30] <JanC> which only has the public key
[18:31] <JanC> (or at least a hash of it)
[18:31] <blendedbychris> ya i assume stunnel just send the public
[18:47]  * kklimonda is reading about ubuntu orchestra and cringing at the usage rate of the "cloud" world
[18:48] <kklimonda> what's the current story for deploying and managing ubuntu on servers and desktops in a small business?
[18:49] <kklimonda> can ubuntu orchestra be reused for that, or is it not enough without paying for landscape? if so, what would be a better approach?
[19:06] <cwillu> !info linux-image
[19:06] <cwillu> !info linux-image precise
[19:25] <koolhead17> so silent here
[19:28] <cwillu> it's a sunday afternoon, what did you expect?
[19:32] <koolhead17> cwillu, :)
[21:42] <yakster> I know this is the server rm, but does ne one know how to set the default sound card for alsa
[21:52] <lifeless> !ubuntu | yakster
[21:52] <lifeless> bah
[21:52] <lifeless> sorry, I don't know the shortcut
[21:52] <lifeless> yakster: see #ubuntu
[21:52] <yakster> thx…
[23:27] <TheBeast> is there a public git repository with all ubuntu packages?
[23:27] <kklimonda> I don't think do, we use bazaar and LP for that
[23:28] <TheBeast> ok, sounds good