[00:50] <joelg87> hi guys - anyone around?
[01:19] <peernet> Hi Folks, has anyone successfully been running cpanel along with Ubuntu Server?
[02:27] <schelcj> i have a server failing at boot with a ureadahead exit status 5
[02:27] <schelcj> this is 10.04 that i just did the updates on today
[02:28] <schelcj> ureadahead seems to barf on my ocfs2 partition
[02:28] <schelcj> after reading about what this does, do i need it on a server install?
[02:29] <schelcj> if not what is the safe way to remove it with the only way to boot the system being the init=/bin/sh trick?
[04:57] <CensoredBiscuit> Hello, I'm looking into headless operation how do I know if my servers ready?
[05:02] <Datz> CensoredBiscuit: define ready :p
[05:09] <patdk-lap> CensoredBiscuit, disconnect keyboard/screen, plug server in, and turn on
[05:09] <patdk-lap> see if it works
[05:10] <CensoredBiscuit> true true
[05:10] <CensoredBiscuit> thanks patdk-lap
[05:10] <jo-erlend2> I'm currently resyncing my mdadm raid5. I'm using 10.04.2. I haven't done any manual configurations. If I reboot... Will it start over, or will it resume where it was?
[06:09] <thesheff17> I just got a notification from one of my production servers about a chkroot found in a java file.  http://pastebin.com/DrsiRyVG weird that it was on port INFECTED (PORTS:  45454)
[07:29] <jo-erlend> I think I may have found the problem with the horrible disk IO performance I've experienced the last few days.
[07:30] <jo-erlend> my disk is using 4K sectors and I read that it requires some special partitioning. If anyone has experience with that, I'd love to hear about it.
[07:49] <jo-erlend> it seems that Linux doesn't know that it has 4KB sector size, and assumes 512B, which makes write operations very slow. Does that make sense?
[08:12] <super-noob> Wanting to set up a mail server under Ubuntu LTS 10.04.  I've never done this under *NIX, so I'm not sure where to start.  I've used MailEnable, so I'm not completely clueless.  Specifically, I need a good guide/tutorial/howto that also includes setting up aliases that auto-forward to a specific account and also specifies how to configure the server to not allow mail through based on SPF records.  Also - Postfix or Exim?
[08:16] <jmarsden> super-noob: I'm about to go to sleep, but try the dovecot-postfix package as a way to get started with an email server on Ubuntu.
[08:17] <super-noob> Sleep.  Sounds nice.  :)  I'll give the dovecot-postfix package a shot.
[08:19] <super-noob> Hmm...wants to uninstall exim4-base, exim4-config exim4-daemon-light...
[08:19] <jmarsden> Well, sure, you can't have exim and postfix there at the same time :)
[08:22] <super-noob> Okay.  Installed.
[10:14] <jo-erlend> I need to manually create three partitions for use as space for raid with partitions that start and end with sectors that are divisible by 4. How do I do that?
[11:09] <yellabs-r2> hello there, i have got a gift, three servers ProLiant DL360 G4p , are they still worth anything these day's , or are they out of time, what do you think ? , would they be okey for ubuntu kvm server ..
[11:12] <yellabs-r2> Intel(R) Xeon(TM) CPU 3.40GHz
[11:18] <greppy> yellabs-r2: as long as they have the support in the cpu for virt.
[11:18] <TeTeT> yellabs-r2: think they serve fine, we use one of them for testing UEC and for that they are invaluable
[11:19] <TeTeT> yellabs-r2: you can check kvm support with the 'kvm-ok' command
[11:20] <yellabs-r2> great tip thanks
[11:20] <yellabs-r2> forgot about that command .. :)
[11:20] <yellabs-r2> do you need one of our servers ?
[11:21] <yellabs-r2> is there an team in the netherlands for ubuntu testing that might need one of these servers ?
[11:24] <yellabs-r2> ok, ill sort that out later, got to do some work, be back an other time .. thanks for the input , take care !
[11:40] <otaku_coder> hi, a friend of mine has a server that's being hit hard by a SYN Flood attack and we're unsure how best to resolve this. I've enabled syn cookies and increased the buffer size but his sites are still being affected
[12:47] <raheel> i need to  know how to limit the maximum "pages per job" using cups or lpadmin
[12:51] <raheel> can any one help me how to setup the maximum pages PER JOB using cups or lpadmin
[12:56] <[diablo]> afternoon all.. anyone using multipath please?
[13:23] <havoc74> Anyone awake ?
[13:24] <havoc74> If so, here's my question. I just picked up an IBM x235 (8671-KAX) - I need the ServeRAID ISO - every download link I find seems to be dead.
[13:24] <havoc74> including IBM's site itself
[13:26] <havoc74> ok, never mind - I found a working link - downloading now.....   thanks anyway!
[13:26] <havoc74> later!
[13:51] <raheel> guys really need help in setting the maximum pages per job
[13:53] <raheel> need help to set max pages per JOB while printing to avoid accidental printing of huge amount of pages is it even possible
[14:11] <raheel> hasnt anyone setup a print server before???
[14:49] <jo-erlend> can someone _please_ help me partition my disk so that the first partition starts at sector 64? I've spent more than twenty hours trying to install Ubuntu without success.
[14:56] <pmatulis_> joschi: use fdisk
[14:56] <pmatulis_> joschi: sorry
[15:03] <overrider> I am getting hardware ready to built a fileserver with 8 x 2tb Drives (raid5 or 6). What would be the most sane way of going about this since almost certainly once in a while one of these drives will need to be replaced or even upgraded. lvm?
[15:06] <compdoc> by upgrading you mean larger drives?
[15:07] <compdoc> raid handles drive failures, more or less. dont need lvm for that
[15:11] <jkg> I tend to create a large RAID device and make it the sole physical in an lvm group, then create logical volumes on it
[15:11] <overrider> I am wondering what will be the easiest to manage when a drive failure occurs, or, when in two years from now i run out of space, i want to throw in a few new 4tb drives.
[15:11] <jkg> in terms of failures, RAID will handle that; LVM covers resizing later.
[15:12] <jkg> although, I'd urge you away from RAID 5 -- the risk of a 2nd failure during a (lengthy!) rebuild on that size of array is pretty high
[15:12] <compdoc> when you upgrade drives, you tend to replace them all at once - lvm doesnt help with that
[15:13] <jkg> hrm no. I'm thinking of the case where you add extra drives (or a 2nd array), but yeah, you're right.
[15:15] <overrider> If not raid5 then raid6. I also am not too happy with these 2tb drives, so i got enterprise grade ones which claim to have a higher time to failure.
[15:15] <compdoc> have you had any 2tb drives fail? I have a new seagate that has one bad sector already
[15:16] <overrider> Who knows. I just want to set it up once, then be done with it and have it stable. Not reinstalling or even rebuilding the System all the time because a drive fails and i am too dumb to recover from the failure, and get stuck with a non booting system.
[15:16] <overrider> compdoc: yes i have had tons. Honestly, ever since Drives went larger than 320GB i am suspicious
[15:16] <compdoc> what brands you use?
[15:17] <overrider> I still have a Machine that runs on an 80GB Drive - don't dare to turn it off though. Just feels the smaller drives where more robust somehow.
[15:17] <compdoc> well, fewer heads and platters does make them less complicated
[15:17] <overrider> Oh no preference really. Maxtor, Hitachi
[15:18] <overrider> yes
[15:18] <overrider> Seagate also popular
[15:18] <overrider> I mean, really there are just a handful of names in terms of drives out there these days
[15:19] <overrider> Not sure whether Maxtor still exists even. Ah ok, Maxtor is now Seagate. :-)
[15:22] <compdoc> I dont see as many hard failures as I used to. usually they just start to develope bad sectors. but I did have to replace a comletely dead one two days ago
[15:22] <compdoc> customer lost some emails
[15:22] <compdoc> and a few docs
[15:23] <Odaym> what are the packages that are most commonly found on any Ubuntu server?
[15:24] <Odaym> because i have a desktop Ubuntu on a pc, and i want to make it a server (since nothing differentiates a desktop Ubuntu from a Ubuntu server except the packages available on the latter..right?)
[15:25] <compdoc> I use the desktop version as a server on a couple of computers. I like the gui
[15:27] <Odaym> yes i am keeping the GUI i guess, but i want the packages that make any Ubuntu machine a server
[15:27] <Odaym> apache..samba..what else?
[15:27] <Odaym> SELinux?
[15:32] <compdoc> I dont think there are any different packages, except that ubuntu server doesnt install the gui. I hear it might have some tweaks for running under a heavy load
[15:33] <compdoc> I just use samba and rsync, so no sustained, heavy loads except for some large transfers
[15:36] <syb> comdoc: I recommend buying single-platter drives. If high throughput and low power consumption is a concern then Samsung Spinpoint HD103SJ is still a good buy IMHO.
[15:37] <syb> Odaym: Browse the output of running the command "tasksel --list-tasks"
[15:37] <Odaym> ok
[15:38] <compdoc> I have several Samsungs in a few raids. I like them, but Ive had several of them develop reallocated sectors
[15:38] <Odaym> taskel not installed, syb :o
[15:39] <syb> Odaym: It's a useful tool for quickly getting installed software to (re)configure a computer running Ubuntu (or Debian).
[15:39] <Odaym> so i just apt-get install taskel?
[15:39] <Odaym> tasksel
[15:39] <syb> Odaym: Yes.
[15:40] <Odaym> ok i will be right back, need to reboot for something
[15:43] <syb> Anyone else here interested in improving the Ubuntu wiki documentation of KVM and vmbuilder?
[15:45] <syb> I'm going to save a few changes to https://help.ubuntu.com/community/KVM/Networking - so that reading through works best with 10.04
[15:46] <compdoc> when will you save?
[15:47] <syb> compdoc: Will be at least ~30mins from now. I just wanted to let some interested ppl know so someone else reviews my changes.
[15:52] <havoc74> good morning everyone!
[15:53] <havoc74> I need help setting up my server (IBM x Series 235 8671-KAX). Is anyone familiar with this machine?
[15:54] <havoc74> specifically the RAID configuration
[15:54] <syb> I'm currently contemplating why https://help.ubuntu.com/10.04/serverguide/C/jeos-and-vmbuilder.html recommends config of Bridge networking by editing VMBuilder/plugins/libvirt/templates/libvirtxml.tmpl in a working directory... instead of editing /etc/vmbuilder.cfg or ~/.vmbuilder.cfg OR create ./test-vmbuilder.cfg "run vmbuilder --c ./test-vmbuilder.cfg"
[15:56] <Nafallo> havoc74: you most likely need to find the IBM bootable CD for configuring the array.
[15:57] <thesheff17> syb: I'm not an expert on vmbuilder but I believe it just suggest doing that because of the templates buit into vmbuilder.  You can do all those other options you suggested.
[15:58] <havoc74> I've got the bootable CD, it's syncing my first array now
[15:59] <havoc74> the problem i'm having is I have 5 hd's, two 36.4gb, and three 72gb drives
[16:00] <havoc74> the serverguide cd automatically setup the first two as a RAID 1, which is fine, but now it won't let me set up a second array with the 3 other drives as anything - I wanted a RAID 5 on the other 3 drives
[16:00] <thesheff17> syb: My custom script I wrote for vmbuilder does the bridge in the command each time like this and works fine: --bridge=br0 Though sometimes I have multiple bridged adapters so I don't use the template system.
[16:00] <syb> thesheff17: Someone has gone to the effort of adding variables into parsing of vmbuilder.cfg files. I disagree with copying the templates because a user won't get to benefit from improvements to those templates... it's like writing a new function instead of parsing variables to an existing tested function! :-)
[16:00] <havoc74> I am a newb when it comes to setting up a raid, but I am a veteran system admin and programmer
[16:02] <syb> thesheff17: Good Point re more complex network environment with multiple bridges. I think it is safe to assume that anyone running that should have the skills to figure out when using the templates isn't appropriate.
[16:06] <compdoc> havoc74, setting up a raid is easy for most cards, since its done in the bios of the card. That system you have is different, so its not your fault
[16:07] <thesheff17> syb: ah there is a --templates mytemplates command...don't know why you need that considering all the other commands already available but I guess it doesn't hurt. But like you said I would prefer everything under /etc/ for configuration.
[16:08] <thesheff17> syb: I think another reason behind it is because vmbuilder has moved to building the virtual machine in the current directory.  This blew my mind after using it so long to find out this was the default case.
[16:09] <havoc74> Well that is a hopeful remark compdoc, I'm glad to hear it's not me LOL - btw, i forgot to mention, the machine has integrated LSI 1030 RAID controllers
[16:09] <havoc74> if that helps at all
[16:09] <compdoc> they dont show a message at boot that says to press certain keys to enter the config?
[16:10] <thesheff17> syb: also vmbuilder supports this cheetah template system that is why: http://www.cheetahtemplate.org/docs/users_guide_html/
[16:10] <compdoc> I have a few LSI cards - theyre decent
[16:12] <havoc74> i can't access a RAID setup config at boot. It doesn't mention one. Although, there is a LSI config that allows me to set up which array (or logical volume) is bootable, I can only access hardware level RAID configuration through the ServerGuide bootable cd so far, unless I'm missing something.
[16:13] <havoc74> right now, the RAID 1 is synchronizing - it took 3 hours the last time
[16:13] <havoc74> just about half way through now
[16:14] <compdoc> if you can install the OS and boot it, maybe theres a LSI util that you can install that will let you set up the rest later.
[16:15] <compdoc> the ServerGuide cd doesnt let you select the drives, or doesnt it have a raid5 option?
[16:15] <compdoc> if the controller is built into the motherboard, it might not be able to do raid5
[16:16] <havoc74> i haven't been able to install an os yet
[16:16] <compdoc> they charge extra for that
[16:16] <havoc74> and the serverguide doesn't let me select any raid types at all
[16:16] <compdoc> heh, thats no good
[16:16] <havoc74> it automatically selects a raid 1 when i select the two 34gb drivers
[16:17] <havoc74> but, when i first go the machine, it did have a raid 1 and a raid 5 set up - and like an idiot, because i like to learn, i removed the arrays to set up new ones
[16:17] <havoc74> i should have left it alone
[16:17] <havoc74> i wanted to learn the process of setting up the arrays
[16:19] <havoc74> lol i also picked up a BladeCenter that I haven't even turned on yet - thought i'd start with the smaller one lol
[16:19] <compdoc> there must be some program youre missing thats used to set up the arrays
[16:19] <havoc74> probably. I got this server from a friend who bought it not realizing it was a server
[16:20] <havoc74> he got it used, it's missing all documentation and cds
[16:20] <havoc74> took me 4 hours to find a link to the ServerGuide ISO on the IBM forums for my model
[16:21] <havoc74> Ultimately, I want to install Ubuntu Cloud Server on this - I don't even know if it's possible yet
[16:22] <havoc74> can you recommend a bootable cd to setup my raid that is better, or more functional than IBM's ServerGuide?
[16:23] <compdoc> might look around at LSI's website
[16:23] <compdoc> and google is your friend
[16:23] <havoc74> yes it is
[16:24] <havoc74> and trust me, i've been using google all week before i tried IRC - I like to figure things out on my own, but i couldn't find anything that was even close to my HD configuration
[16:25] <compdoc> any idea which LSI controller? a model number would help a lot
[16:27] <havoc74> LSI 1030
[16:27] <havoc74> do you need more info on that?
[16:28] <havoc74> BIOS: 5.03.10.00 - Firmware: 1.00.14.00 - Device Driver: 3.02.63.02
[16:28] <compdoc> well, I found this the first hit on google:
[16:29] <compdoc> We ran into this surprise with rx7620 system which has internal Ultra160 SCSI adapters (LSI1030).
[16:29] <compdoc> These adapters don't support RAID. To mirror the volumes or RAID5 you need to use a software solution.
[16:29] <compdoc> Hope that isnt true
[16:30] <compdoc> this is from another hit:
[16:30] <compdoc> he integrated RAID controller (such as an LSI 1030) is a standard feature on some IBM xSeries servers. This controller has limited RAID capabilities. With an integrated RAID controller, you can use the ServeRAID Manager to:
[16:31] <compdoc> Configure two physical drives into a logical drive and assign it RAID level-1.
[16:31] <compdoc> no mention of raid 5
[16:33] <havoc74> ok, that is exactly my situation
[16:34] <havoc74> at least I know for sure now that I wasn't missing anything during the ServeRAID config
[16:34] <havoc74> does usually take 3 hours to sync two 34gb drives though?
[16:35] <compdoc> that is a while
[16:35] <havoc74> they are identical - maybe that's why
[16:35] <havoc74> sorry, are not identical
[16:35] <compdoc> is there a progress bar? is it close to complete?
[16:36] <havoc74> the progress is at 59%, started at 10:07, it's 11:36 here now
[16:37] <compdoc> I stay away from old servers if I can help it
[16:37] <havoc74> yeah, I just can't afford a newer server
[16:39] <havoc74> I'm just starting out hosting, I've got a few web host clients, a few SVC clients, one VoIP client, and I've got a counter strike server running for my 13 year old - all on a P4 Dell desktop (no HyperThreading). So when I had the opportunity to pick this up as cheap as I did, I jumped on it
[16:40] <havoc74> I also picked up a BladeCenter for $1000.00, 12 blades, 2 have hot-swappable drive bays
[16:40] <compdoc> that would be interesting to play with
[16:41] <havoc74> yes, but I can't turn it on yet, I need to install a 240volt 2-phase line from my panel to power it up, and I have to upgrade my panel to 200 amps first LOL
[16:41] <compdoc> ouch!
[16:41] <havoc74> so it's been sitting in storage for 6 months now
[16:42] <havoc74> I've actually got it up for sale, because it was suppose to make me money, but isn't, so the wife said it's gotta go unless I can get it up and running, or at least this x235.
[16:42] <havoc74> The Dell desktop is old, very old.
[16:43] <havoc74> and slow with only 513mb of RAM - and it uses RDRAM - expensive!
[16:44] <havoc74> I'm just trying to quit the day job lol
[16:45] <havoc74> ok, here's another question for you, after ServeRAID finishes, do I set up the logical volumes through ServeRAID, or through Ubuntu's partitioning?
[16:46] <havoc74> right now, after syncing, it's going to have 1 logical drive, but I can partition that to logical volumes through ubuntu to set up root and swap, right?
[16:52] <compdoc> after it syncs, it should be ready to have the OS installed
[16:53] <havoc74> hopefully
[16:53] <havoc74> it's at 69% now....  another hour or so and I'll find out
[16:53] <havoc74> well, you've been very informative compdoc, thank you :)
[16:54] <mxpxpod> I'm getting ready to install 10.04 Server on a Dell PowerEdge R515 with a PERC H700 RAID controller... do I need to set up software RAID in the partitioner?
[16:55] <KB1JWQ> mxpxpod: If you've got a PERC why not offload to that?
[16:56] <mxpxpod> KB1JWQ: I've only ever set up software RAID before, so I'm not sure how to offload to the PERC
[16:56] <havoc74> Oh, one more question, considering all that I'm hosting, would it be in my best interest to switch to using Ubuntu Cloud instead of Ubuntu Server?
[16:57] <KB1JWQ> mxpxpod: Thee's an option during the boot sequence to press a key to drop into RAID configuration.  From there the card presents one disk comprised of whatever RAID level you've set.
[16:57] <havoc74> I could set up a virtual server for each service
[16:57] <KB1JWQ> I'd do that and not worry unless you want software RAID for a particular reason, in which case I believe you've got to use the alternate installer.
[16:58] <mxpxpod> KB1JWQ: ok. I had it come from the factory with RAID-10 set up, so that should just work (TM) out of the box?
[16:58] <mxpxpod> how do I check if it's mirroring correctly?
[16:58] <KB1JWQ> mxpxpod: I'd do the smart thing and VERIFY first. :-)
[16:58] <KB1JWQ> In the RAID configuration pane.
[16:59] <mxpxpod> KB1JWQ: heh, true
[16:59] <KB1JWQ> Once you've gotten the server booted I believe there's a tool that Dell provides for the CLI to query that.
[16:59] <compdoc> dont know much about the cloud, except theres a lot of hype about it
[16:59] <KB1JWQ> YOu can use that to monitor RAID state.
[16:59] <KB1JWQ> It does you no good to use RAID if you don't realize it when a drive craps out. :-)
[16:59] <mxpxpod> KB1JWQ: exactly
[17:00] <havoc74> compdoc: true, but I like to be as close to cutting edge as possible, and while there is a lot of hype on cloud servers, everyone seems to be interested in them
[17:00] <compdoc> if you find a use for it, let me know
[17:00] <havoc74> I think I'll stick to Ubuntu Server for now, I really don't have the experience to admin a cloud......   yet
[17:01] <havoc74> maybe when I get the BladeCenter up and running, I'll set it up as a cloud server.
[17:01] <Hypoglybetic> Hi.  I would like to setup a Proxy Server at home to connect to from work to get around their blocking of certain sites (my gmail).  I installed squid but it isn't working the way I intended.  Is squid the right program? If not, what program should I use?
[17:02] <KB1JWQ> mxpxpod: I also point monitoring (nagios in my case) to watch it so I get paged if the array degrades.
[17:02] <KB1JWQ> Hypoglybetic: Just for your use?
[17:02] <mxpxpod> KB1JWQ: ok, so I just verified... it's set to RAID-10 in the H700 config util
[17:02] <KB1JWQ> Squid is likely overhead, I'd use ssh tunnelling.
[17:02] <KB1JWQ> mxpxpod: Yay!
[17:03] <KB1JWQ> mxpxpod: I work with a few thousand servers at $DAYJOB, I REALLY don't want to spend my life logging into them all just to check disk state. :-)
[17:03] <mxpxpod> KB1JWQ: agreed ;)
[17:03] <mxpxpod> now, to find the dell monitoring software
[17:04] <mxpxpod> so, with hardware RAID, it'll just look like one disk to the OS, right?
[17:04] <Hypoglybetic> KB1JWQ, Well, yes
[17:04] <Hypoglybetic> KB1JWQ, Maybe a friend or 2 for the purpose of accessing gmail.
[17:05] <KB1JWQ> mxpxpod: http://tnt.aufbix.org/linux/perc and yes.
[17:05] <KB1JWQ> Hypoglybetic: http://www.revsys.com/writings/quicktips/ssh-tunnel.html
[17:06] <KB1JWQ> Hypoglybetic: Although rather than the long complex forwarding string I just throw DynamicForward 8080 under a Host Myserver stanza in ~/.ssh/config and then use localhost:8080 as my SOCKS5 proxy in my browser.
[17:07] <havoc74> compdoc: thanks again for all your advice, i've gotta get going, need to get some things done while this finishes syncing. Take care :)
[17:08] <Hypoglybetic> KB1JWQ, I am not sure if thats what I want.  I'm a beginner btw.  What I want is to use a web browser, go to my server and have it proxy to gmail.  At work I use windows machines I'm not allowed to install software on.
[17:09] <KB1JWQ> Hypoglybetic: Ah, didn't realize. :-)
[17:09] <sss> Can I run Java programs on Ubuntu Server? Is it suitable for running a Java-based multiplayer online game server?
[17:09] <KB1JWQ> Hypoglybetic: https://help.ubuntu.com/7.04/server/C/squid.html
[17:10] <KB1JWQ> Old doc, but still valid from what I can tell.
[17:11] <Hypoglybetic> KB1JWQ, this is where I'm at http://173.65.117.170:8888/, and I don't understand how to use it or anything. :(
[17:12] <mxpxpod> another question: should I make a swap partition or should I just use a swap file?
[17:12] <KB1JWQ> Hypoglybetic: Looks like it mostly works. :-)
[17:12] <KB1JWQ> Hypoglybetic: When I attempt to proxy through it I get Access Denied.
[17:13] <KB1JWQ> If you go into your browser's network settings, you can set a proxy server.  That's the IP and that's the port you use.
[17:13] <KB1JWQ> You may have to tweak squid to permit your IP range.
[17:13] <Hypoglybetic> KB1JWQ, I'm getting "URL could not be retrieved" is that what you're getting?
[17:13] <KB1JWQ> Or better yet use some form of authentication.
[17:13] <KB1JWQ> Yes.
[17:13] <KB1JWQ> The following error was encountered while trying to retrieve the URL: http://www.google.com/
[17:13] <KB1JWQ> Access Denied.
[17:14] <Hypoglybetic> Can I make this in to a web page or do I have to edit my browsers settings?
[17:15] <Hypoglybetic> KB1JWQ, I have not specified an IP which I think means anyone can use it. . . .
[17:15] <KB1JWQ> I think by default it doesn't turn into an open proxy.  Those are bad. :-)
[17:15] <KB1JWQ> So everyone is by default denied.
[17:16] <Hypoglybetic> KB1JWQ, You'd have to know I'm running a proxy, so I don't care? :D?
[17:17] <KB1JWQ> Hypoglybetic: Oh yes, because those are hard to scan for. :-)
[17:18] <KB1JWQ> Talk to #squid I suspect.
[17:18] <Hypoglybetic> KB1JWQ, you people and your scanners
[17:19] <Hypoglybetic> Alright, thanks for your help.
[17:19] <mxpxpod> KB1JWQ: do I need a swap partition? or will a swap file do for a server?
[17:19] <lirakis> where the devil does vmbuilder put the disk images of sytems it creates?
[17:19] <lirakis> i looked all over in /var/lib/libvirt
[17:19] <lirakis> didnt find anythin
[17:20] <lirakis> and i already undefined the vm with virsh .. so the xml is gone
[17:22] <syb> lirakis: Look in files in /etc/libvirt/storage/ where you might find clues to the path(s) libvirt could have created disk images in?
[17:22] <lirakis> ls: cannot access /etc/libvirt/storage/: No such file or directory
[17:22] <lirakis> :\
[17:23] <lirakis> knew i shouldnt have just built the vm manually
[17:23] <lirakis> *should
[17:23] <syb> I have /etc/libvirt/storage/default.xml that defintes a storage pool called 'default' and the usual path: /var/lib/libvirt/images
[17:24] <lirakis> syb,  yeah i checked /var/lib/libvirt/images and its empty now .... i dont know if my virsh undefine removed the image ...
[17:24] <lirakis> that would be wierd
[17:25] <lirakis> at this point .. its not a "big deal" .. it would just be an image sitting around on my system wasting a little space
[17:25] <syb> lirakis: Then 'find' or 'locate' commands might be worth trying, if you remember the name of the disk image files.
[17:26] <lirakis> well i know the hosts name ... dont konw if vmbuilder used some random name
[17:27] <syb> lirakis: To check if you've got more than just the default storage pool run "virsh pool-list --all"
[17:27] <lirakis> syb, nothing there
[17:27] <lirakis> thanks for the help btw
[17:27] <lirakis> running a find now
[17:28] <lirakis> oh wtf
[17:28] <syb> lirakis: no storage pool's definied at all might prevent you from using libvirt in the usual documented way.
[17:28] <lirakis> it put it in my home directory
[17:28] <lirakis> lol
[17:29] <syb> lirakis: Well then, just as thesheff17 said a couple of hours ago "... vmbuilder has moved to building the virtual machine in the current directory.  This blew my mind after using it so long to find out this was the default case."
[17:30] <lirakis> yeah i didnt see that comment
[17:30] <lirakis> but .. yes .. that is crazy
[17:30] <lirakis> /var/lib/libvirt/images .... standard location :\
[17:30] <lirakis> any way
[17:30] <lirakis> thanks for the help
[17:30] <syb> lirakis: np. Go forth and virtualise! :-)
[17:30] <lirakis> ... i got to do some reading on libvirt etc. and kvm and build these hosts my self
[17:32] <syb> lirakis: I've been updating https://help.ubuntu.com/community/KVM/Networking to read like something written for Lucid instead of Jaunty.
[17:40] <syb> Is ne2k_pci still the default network card in kvm (for Lucid)?
[17:45] <RoyK> !webmin
[17:55] <thesheff17> syb & lirakis: I have a hacked together python script to build virtual machines.  If you guys want to see it.
[17:56] <lirakis> thesheff17, sure .. pastebin it and post the link
[17:56] <thesheff17> sure
[17:56] <thesheff17> The nice thing about it is you can build virtual machines in a loop...I schedule cron every night so I have a good 10 virtual machines to test with every morning.
[17:57] <thesheff17> I'm not sure though there was a bug in the generation of the creating the .xml file...I'm not sure if that has been fixed.
[17:57] <sss> Can I run Java programs on Ubuntu Server?
[17:57] <thesheff17> http://pastebin.com/ lol
[17:57] <thesheff17> sss: of course
[17:58] <sss> Is Ubuntu Server suitable for running a Java Multiplayer online game server?
[17:58] <thesheff17> sss: sure prob better then windows.
[17:58] <sss> ok
[17:58] <sss> thanks
[18:04] <thesheff17> lirakis: I'm not the best programmer but this is what I have been using: http://paste.ubuntu.com/569269/ here is Vmbuiler.py it also requires Linux.py that I also wrote that just does basic stuff for linux: http://paste.ubuntu.com/569270/ You also want to have vmbuilder.partition in your current directory to specify hard drive sizes....you also want ot create boot.sh...boot.sh will automatically run once
[18:04] <thesheff17>  the server comes up.  I inject my public ssh key into the /root.ssh/authorized_keys file so I an automatically log in.
[18:05] <thesheff17> I also know it lacks doc strings which it is on my list to fix....I should just commit all this stuff to github.
[18:25] <thesheff17> lirakis & syb: yes that bug still exists with creating virtual machines that are not raw devices....before you start your virtual machines modify the xml file in /etc/libvirt/qemu/ from <driver name='qemu' type='raw'/> to <driver name='qemu' type='qcow2'/>
[18:28] <syb> Is it just me or is http://help.ubuntu.com/ offline?
[18:28] <thesheff17> yup it is down :-/
[18:29] <syb> ...just when I wanted to save my changes to https://help.ubuntu.com/community/KVM/Networking
[18:33] <thesheff17> syb: looks like it is back up
[18:33] <syb> OK. Done. I've hopefully updated the text in the KVM/Networking page to be more readable when using Lucid
[18:51] <schelcj> is ureadahead required for ubuntu? ie; it's causing me series problems on a server install that i don't care about the boot time of so i want to remove it
[18:59] <mxpxpod> KB1JWQ: thank you for your help earlier
[19:15] <sss> Why 64-bit is recommended? I think my computer is 32-bit, does it matter?
[19:16] <thesheff17> sss: it doesn't matter
[19:16] <sss> ok. so 64-bit it is
[19:17] <thesheff17> sss: 64 bit is better for supporting RAM greater than 4GB.
[19:17] <EvilPhoenix> actually it does matter though.
[19:18] <EvilPhoenix> if your computer can't handle the 64bit system
[19:18] <EvilPhoenix> then it wont work correctly
[19:18] <EvilPhoenix> i.e. your processor needs to eb able to handle the 64bit architecture
[19:18] <sss> I have 1GB RAM and, I think, 32bit computer
[19:18] <EvilPhoenix> if you are unsure as to whether your processor is 64-bit or not, you can use 32bit
[19:18] <sss> I guess I should install the 32bit
[19:18] <EvilPhoenix> all systems are at least 32bit
[19:18] <thesheff17> EvilPhoenix: true. try 64 bit...if it doesn't work you have to use 32 bit.
[19:18] <EvilPhoenix> ^ that
[19:19] <sss> I'll use 32 bit
[19:19] <EvilPhoenix> go away bot >.>
[19:19] <EvilPhoenix> thesheff17:  typically, as a rule of thumb in the tech world, when in doubt, 32-bit
[19:21] <thesheff17> EvilPhoenix: ah ok...almost everything in the last couple years is 64 bit....I would hate to see a machine that has 64 bit but only using 32 bit software...just my 2 cents.
[19:21] <thesheff17> EvilPhoenix: especially since sss is running java stuff.
[19:21] <EvilPhoenix> thesheff17:  that i agree with
[19:21] <EvilPhoenix> thesheff17:  oh god java stuff
[19:21] <sss> I want to dual boot Ubuntu Desktop and Ubuntu Server, does it matter what to install first?
[19:21] <thesheff17> lol
[19:21] <EvilPhoenix> wait what?
[19:22] <EvilPhoenix> sss:  you can install ubuntu desktop and put server software on it :/
[19:22] <thesheff17> why would you want both?
[19:22] <EvilPhoenix> sss:  you dont need both desktop and server
[19:22] <sss> I just want to expirement with Ubuntu Server, maybe I'll use it in the future.
[19:23] <EvilPhoenix> sss:  you can experiment with the packages on a Desktop install  too
[19:23] <thesheff17> sss: you could install the server install and then just do apt-get install ubuntu-desktop and you will get the GUI stuff.
[19:23] <EvilPhoenix> indeed
[19:24] <sss> I want to be able to run Ubuntu Server without GUI
[19:25] <thesheff17> sss: by default ubuntu-server doesn't have a GUI.
[19:26] <sss> ok, I just want to know how to dual boot. I'll first install Ubuntu Desktop
[19:27] <sss> Does Ubuntu Server edition allows me to specify on which partition to install?
[19:27] <thesheff17> yea
[19:28] <sss> btw, What will happen if I deleted all partitions on the computer and rebooted?
[19:30] <sss> I am going to disconnect for a sec... brb
[19:30] <sss> ...back agin
[19:47] <RoyK> hm... new 65TB box coming up....
[20:07] <sss> Is the difference between Desktop and Server edition is only the presence of GUI and default installed applications?
[20:09] <jmarsden> sss: And the kernel is configured with different options, I am fairly sure.
[20:10] <sss> ok, I was just curios
[20:11] <jmarsden> sss: https://help.ubuntu.com/community/ServerFaq#What%27s%20the%20difference%20between%20desktop%20and%20server?
[20:12] <sss> thanks
[20:17] <azizLIGHTS> how do i login to ssh without password
[20:17] <azizLIGHTS> what is hte way to do the keys
[20:20] <jmarsden> azizLIGHTS: See https://help.ubuntu.com/community/SSH/OpenSSH/Keys
[21:27] <azizLIGHTS> thx
[23:03] <mxpxpod> I have a server I initially set up on 192.168.0.3 and now if I change its IP address to .2 it can't access anything outside of the local network... does anyone know what's going on?
[23:04] <jkg> how did you change the address, just editing /etc/network/interfaces?
[23:04] <mxpxpod> jkg: yeah, and then ifdown eth1 followed by ifup eth1
[23:05] <jkg> can you put the contents of that file on paste.ubuntu.com?
[23:08] <mxpxpod> jkg: http://paste.ubuntu.com/569375/
[23:09] <schelcj> mxpxpod: likely missing the default route
[23:09] <jkg> hrm, ok, and the gateway/netmask are as they were when it worked I take it?
[23:09] <mxpxpod> jkg: yes
[23:09] <schelcj> gateway line in the eth1 stanza
[23:09] <mxpxpod> schelcj: it's there... check the paste
[23:09] <schelcj> mxpxpod: just saw it
[23:10] <mxpxpod> jkg: the only difference is that the address is 192.168.0.3 when it works and 192.168.0.2 when it's not working
[23:10] <schelcj> mxpxpod: what does route -n say
[23:10]  * mxpxpod checks
[23:10]  * jkg makes mental note of "-n" option to route :)
[23:11] <mxpxpod> schelcj: it looks the same for both IP's
[23:11] <schelcj> mxpxpod: paste it
[23:12] <mxpxpod> http://paste.ubuntu.com/569380/
[23:12] <schelcj> jkg: -n works the same on most net related utils
[23:12] <schelcj> mxpxpod: looks right, is there a NAT/IPMASQ box at 192.168.0.1?
[23:13] <schelcj> or what is on eth0
[23:13] <mxpxpod> eth0 isi going to replace the current router in the future
[23:15] <schelcj> well this route table looks right and would do exactly what you are describing
[23:15] <jkg> oh... there isn't something else on your network using .0.2 is there?
[23:15] <mxpxpod> jkg: there was, but I took that interface down
[23:16] <mxpxpod> s/interface/box/
[23:16] <jkg> I wonder if something somewhere still has a bad arp entry, so associates that MAC with that IP
[23:16] <schelcj> can you ping 192.169.0.1?
[23:16] <mxpxpod> schelcj: yeah, I can ping .1
[23:17] <schelcj> is there anything else on the network?
[23:17] <mxpxpod> I don't believe so
[23:18] <schelcj> so you have a router at .1 then?
[23:18] <mxpxpod> yes
[23:18] <schelcj> and you can't ping beyond that rotuer?
[23:18] <mxpxpod> right
[23:19] <schelcj> by hostname or ip?
[23:19] <mxpxpod> ip
[23:19] <schelcj> you can ping by ip?
[23:19] <schelcj> but not hostname?
[23:19] <schelcj> bet /etc/resolv.conf is empty
[23:19] <mxpxpod> sorry, I can't ping anything at all (by ip or hostname) beyond the router
[23:20] <schelcj> ah
[23:20] <mxpxpod> the resolve.conf has entries
[23:20] <mxpxpod> sorry, resov.conf
[23:20] <mxpxpod> gah
[23:20] <mxpxpod> resolv.conf
[23:20] <mxpxpod> of course, those entries are beyond the router
[23:22] <schelcj> hm, since you can ping the router i don 't think it's arp
[23:22] <schelcj> but what does arp -an say
[23:22] <jkg> yeah, I'd have said try rebooting the router, but it can't be if the router can respond to pings successfully, I'd say
[23:22] <schelcj> but the router could have bad arp cache
[23:22] <mxpxpod> there are 4 entries
[23:23] <schelcj> jkg: yeah
[23:23] <mxpxpod> I'm not going to type them out
[23:24] <jkg> can't you c&p them into the pastebin?
[23:24] <mxpxpod> hmmm, when I switch the IP over to .3, I only get one arp entry
[23:24] <mxpxpod> jkg: when I switch over to .2, I can't ssh into the box
[23:25] <mxpxpod> but arp -an gave 4 entries when it's at .2
[23:25] <jkg> oh, you can't ssh in from locally either? (or, am I making a bad assumption that you're on the same network as the problem box)
[23:26] <mxpxpod> jkg: this laptop is on the wireless on the same network
[23:27] <jkg> right, and you can't get in from that when it's .2 either?
[23:27] <schelcj> so router did work when laptop was at .3?
[23:27] <jkg> (quick sanity check: what's the IP of the laptop?)
[23:27] <mxpxpod> ok, I have server at .3, the laptop is at .51
[23:27] <mxpxpod> router at .1
[23:29] <mxpxpod> there was a server at .2, but I've disconnected that
[23:29] <mxpxpod> I can't ping beyond the router from the server when the server is on .2
[23:29] <mxpxpod> I also can't ssh from the router into the server at .2
[23:30] <jkg> can you ping between laptop and server when the server is .2?
[23:30] <mxpxpod> sorry, from the laptop into the server
[23:30] <mxpxpod> jkg: yes
[23:31] <jkg> both ways? (not that it should matter, but I'm pretty baffled here)
[23:31] <mxpxpod> yes, both ways
[23:32] <mxpxpod> I'm severely baffled ;)
[23:32] <schelcj> has .2 been rebooted with the new interfaces file?
[23:32] <jkg> my honest best recommendation, to my great shame, is to leave the server as .3 :P
[23:32] <mxpxpod> schelcj: IIRC, yes, but I can do it again
[23:33] <mxpxpod> jkg: that's how I'm feeling right now
[23:33] <mxpxpod> schelcj: rebooting
[23:33] <schelcj> .2 can ping 192.168.0.0/24 without problem
[23:34] <schelcj> but not beyond that subnet?
[23:34] <mxpxpod> schelcj: yes
[23:35] <azizLIGHTS> i did "ssh-keygen -t rsa" but itasks me "Enter passphrase (empty for no passphrase):" . i thought keys are for password less logins?> why i have to enter a password? will this be asked of me every time i login using keys? i dont want password ,s it safe to not have pssword here?
[23:36] <jkg> azizLIGHTS: well, if someone gets a copy of the key, they're compromised any accounts it's an authorised key for; that said, I use passwordless keys for automated backups all the time
[23:37] <jkg> I wouldn't keep a passwordless key on my netbook that I'm entirely likely to get drunk and lose in a bar, but I'm OK with it on my desktop in the office with an encrypted /home
[23:37] <azizLIGHTS> if they got my key they can see where im authorized to login with that key?
[23:37] <jkg> no
[23:38] <azizLIGHTS> they just know they can login somewhere with this
[23:38] <jkg> but they can get that from, say, your shell history
[23:38] <mxpxpod> schelcj and jkg: I'll just keep the server at .3... this is just ridiculous
[23:39] <azizLIGHTS> ok this is for client, correct, ur speaking about/
[23:39] <azizLIGHTS> ?
[23:39] <jkg> mxpxpod: have you tried rebooting the router?
[23:39] <mxpxpod> I thought I had... let me try it again
[23:40] <jkg> azizLIGHTS: right, this is for the machine where you run ssh-keygen, where the private key lives
[23:40] <mxpxpod> I'll lost my connection, so I'll see you on the flip side
[23:40] <azizLIGHTS> if someone got the key of the client and saw the shell history and found the server, they can do login now on the server without password. (am understanding correct?)
[23:40] <schelcj> mxpxpod: sorry, odd little problem
[23:40] <jkg> mxpxpod: what, people don't IRC from permanently connected shell accounts?!
[23:41] <schelcj> jkg: oh yeah, there are the gui clients, at least so i am told
[23:41] <jkg> right but that's why we have irssi-proxy, surely ;)
[23:42] <schelcj> jkg: wonder, would that handle bitlbee as well?
[23:42] <azizLIGHTS> so what can u do, on the client? nothing?
[23:43] <jkg> schelcj: don't see why not; I've not used bitlbee much (I didn't get on with it, and don't use IM much) but doesn't it just present itself as a regular channel?
[23:44] <schelcj> it presents as another server
[23:44] <jkg> azizLIGHTS: yeah that's basically the tradeoff. if you don't secure the key with a passphrase, you need to secure it in other ways or accept the fact someone who gets hold of it has compromised other accounts as well (which may be an acceptable trade-off...)
[23:45] <azizLIGHTS> when this happens, and u have access to the server that you connect to from client, what can u do on server to prevent access
[23:46] <jkg> remove the key's authorisation (in ~/.ssh/authorized_keys) when your laptop gets stolen :-)
[23:46] <echosystm> hey super cool dudes!
[23:47] <echosystm> is ubuntu server secure out of the box, or are there some simple hardening tasks i should ideally do?
[23:48]  * schelcj bbl - dinner
[23:49] <azizLIGHTS> echosystm: pchg passwd for ubuntu user and suduo su and passwd for root?
[23:49] <echosystm> what?
[23:49] <jkg> !noroot | echosystm azizLIGHTS
[23:49] <azizLIGHTS> ok sorry
[23:50] <jkg> the root account is much safer with no valid password :)
[23:51] <azizLIGHTS> jkg: the .ssh/authorized_keys has new "clients" (?) on each line?
[23:51] <jkg> each line is the public part of a key pair, corresponding to a private key on the client.
[23:52] <azizLIGHTS> jkg: any site that explain public key and private key awith respect to server and client and their .ssh/ dirs and files
[23:52] <azizLIGHTS> in simple ways
[23:52] <jkg> yeah I was just wondering that myself :) http://en.wikipedia.org/wiki/Ssh-keygen#Files_Used_by_SSH-Keygen_utility is a start.
[23:53] <jkg> you probably only care about the last 2, of the 6 files described.
[23:54] <azizLIGHTS> thanks
[23:54] <jkg> (WP also has a half decent article about public-key cryptography, if the whole public/private thing is confusing)
[23:55] <azizLIGHTS> WP?
[23:55] <azizLIGHTS> can you link me to it plz
[23:55] <jkg> http://en.wikipedia.org/wiki/Public-key_cryptography
[23:55] <azizLIGHTS> ty
[23:55] <jkg> right, I'm on call in 6 hours time, best grab some sleep. night folks!
[23:56] <azizLIGHTS> bye kjg
[23:56] <azizLIGHTS> jkg