[00:50] hi guys - anyone around? [01:19] Hi Folks, has anyone successfully been running cpanel along with Ubuntu Server? === ncampion_away is now known as ncampion [02:02] New bug: #721620 in apache2 (main) "package apache2.2-common 2.2.14-5ubuntu8.4 failed to install/upgrade: le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1" [Undecided,New] https://launchpad.net/bugs/721620 [02:27] i have a server failing at boot with a ureadahead exit status 5 [02:27] this is 10.04 that i just did the updates on today [02:28] ureadahead seems to barf on my ocfs2 partition [02:28] after reading about what this does, do i need it on a server install? [02:29] if not what is the safe way to remove it with the only way to boot the system being the init=/bin/sh trick? === h00k_ is now known as h00k === LucidOne is now known as Guest54754 === MaverickOne is now known as gpc === jmoss42 is now known as phate408 [04:57] Hello, I'm looking into headless operation how do I know if my servers ready? [05:02] CensoredBiscuit: define ready :p [05:09] CensoredBiscuit, disconnect keyboard/screen, plug server in, and turn on [05:09] see if it works [05:10] true true [05:10] thanks patdk-lap [05:10] 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? === claude_ is now known as claude2 [05:56] New bug: #721649 in rabbitmq-server (main) "package rabbitmq-server 2.3.1-1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/721649 [06:09] 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] I think I may have found the problem with the horrible disk IO performance I've experienced the last few days. [07:30] 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] 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] 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] 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] Sleep. Sounds nice. :) I'll give the dovecot-postfix package a shot. [08:19] Hmm...wants to uninstall exim4-base, exim4-config exim4-daemon-light... [08:19] Well, sure, you can't have exim and postfix there at the same time :) [08:22] Okay. Installed. [10:14] 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:01] New bug: #721722 in squid-langpack (main) "Sync squid-langpack 20110214-1 (main) from Debian unstable (main)" [Wishlist,New] https://launchpad.net/bugs/721722 [11:09] 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] Intel(R) Xeon(TM) CPU 3.40GHz [11:18] yellabs-r2: as long as they have the support in the cpu for virt. [11:18] yellabs-r2: think they serve fine, we use one of them for testing UEC and for that they are invaluable [11:19] yellabs-r2: you can check kvm support with the 'kvm-ok' command [11:20] great tip thanks [11:20] forgot about that command .. :) [11:20] do you need one of our servers ? [11:21] is there an team in the netherlands for ubuntu testing that might need one of these servers ? [11:24] ok, ill sort that out later, got to do some work, be back an other time .. thanks for the input , take care ! === fceccon is now known as fceccon|a [11:40] 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 === Guest40503 is now known as ogra === samferry is now known as Guest98355 [12:47] i need to know how to limit the maximum "pages per job" using cups or lpadmin [12:51] 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? === JamesHarrison` is now known as JamesHarrison [13:23] Anyone awake ? [13:24] 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] including IBM's site itself [13:26] ok, never mind - I found a working link - downloading now..... thanks anyway! [13:26] later! [13:51] guys really need help in setting the maximum pages per job [13:53] 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] hasnt anyone setup a print server before??? === jkg_ is now known as jkg [14:49] 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. === syb_ is now known as syb-away === syb-away is now known as syb [14:56] joschi: use fdisk [14:56] joschi: sorry [15:03] 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] by upgrading you mean larger drives? [15:07] raid handles drive failures, more or less. dont need lvm for that === NG_ is now known as ng_ [15:11] 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] 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] in terms of failures, RAID will handle that; LVM covers resizing later. [15:12] 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] when you upgrade drives, you tend to replace them all at once - lvm doesnt help with that [15:13] hrm no. I'm thinking of the case where you add extra drives (or a 2nd array), but yeah, you're right. [15:15] 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] have you had any 2tb drives fail? I have a new seagate that has one bad sector already [15:16] 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] compdoc: yes i have had tons. Honestly, ever since Drives went larger than 320GB i am suspicious [15:16] what brands you use? [15:17] 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] well, fewer heads and platters does make them less complicated [15:17] Oh no preference really. Maxtor, Hitachi [15:18] yes [15:18] Seagate also popular [15:18] I mean, really there are just a handful of names in terms of drives out there these days [15:19] Not sure whether Maxtor still exists even. Ah ok, Maxtor is now Seagate. :-) [15:22] 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] customer lost some emails [15:22] and a few docs [15:23] what are the packages that are most commonly found on any Ubuntu server? [15:24] 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] I use the desktop version as a server on a couple of computers. I like the gui [15:27] yes i am keeping the GUI i guess, but i want the packages that make any Ubuntu machine a server [15:27] apache..samba..what else? [15:27] SELinux? [15:32] 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] I just use samba and rsync, so no sustained, heavy loads except for some large transfers [15:36] 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] Odaym: Browse the output of running the command "tasksel --list-tasks" [15:37] ok [15:38] I have several Samsungs in a few raids. I like them, but Ive had several of them develop reallocated sectors [15:38] taskel not installed, syb :o [15:39] Odaym: It's a useful tool for quickly getting installed software to (re)configure a computer running Ubuntu (or Debian). [15:39] so i just apt-get install taskel? [15:39] tasksel [15:39] Odaym: Yes. [15:40] ok i will be right back, need to reboot for something [15:43] Anyone else here interested in improving the Ubuntu wiki documentation of KVM and vmbuilder? [15:45] 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] when will you save? [15:47] compdoc: Will be at least ~30mins from now. I just wanted to let some interested ppl know so someone else reviews my changes. === ng_ is now known as NG_ [15:52] good morning everyone! [15:53] I need help setting up my server (IBM x Series 235 8671-KAX). Is anyone familiar with this machine? [15:54] specifically the RAID configuration [15:54] 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" === maxb_ is now known as maxb [15:56] havoc74: you most likely need to find the IBM bootable CD for configuring the array. [15:57] 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] I've got the bootable CD, it's syncing my first array now [15:59] the problem i'm having is I have 5 hd's, two 36.4gb, and three 72gb drives [16:00] 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] 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] 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] I am a newb when it comes to setting up a raid, but I am a veteran system admin and programmer [16:02] 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] 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] 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] 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] 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] if that helps at all [16:09] they dont show a message at boot that says to press certain keys to enter the config? [16:10] syb: also vmbuilder supports this cheetah template system that is why: http://www.cheetahtemplate.org/docs/users_guide_html/ [16:10] I have a few LSI cards - theyre decent [16:12] 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] right now, the RAID 1 is synchronizing - it took 3 hours the last time [16:13] just about half way through now [16:14] 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] the ServerGuide cd doesnt let you select the drives, or doesnt it have a raid5 option? [16:15] if the controller is built into the motherboard, it might not be able to do raid5 [16:16] i haven't been able to install an os yet [16:16] they charge extra for that [16:16] and the serverguide doesn't let me select any raid types at all [16:16] heh, thats no good [16:16] it automatically selects a raid 1 when i select the two 34gb drivers [16:17] 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] i should have left it alone [16:17] i wanted to learn the process of setting up the arrays [16:19] 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] there must be some program youre missing thats used to set up the arrays [16:19] probably. I got this server from a friend who bought it not realizing it was a server [16:20] he got it used, it's missing all documentation and cds [16:20] took me 4 hours to find a link to the ServerGuide ISO on the IBM forums for my model [16:21] Ultimately, I want to install Ubuntu Cloud Server on this - I don't even know if it's possible yet [16:22] can you recommend a bootable cd to setup my raid that is better, or more functional than IBM's ServerGuide? [16:23] might look around at LSI's website [16:23] and google is your friend [16:23] yes it is [16:24] 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] any idea which LSI controller? a model number would help a lot [16:27] LSI 1030 [16:27] do you need more info on that? [16:28] BIOS: 5.03.10.00 - Firmware: 1.00.14.00 - Device Driver: 3.02.63.02 [16:28] well, I found this the first hit on google: [16:29] We ran into this surprise with rx7620 system which has internal Ultra160 SCSI adapters (LSI1030). [16:29] These adapters don't support RAID. To mirror the volumes or RAID5 you need to use a software solution. [16:29] Hope that isnt true [16:30] this is from another hit: [16:30] 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] Configure two physical drives into a logical drive and assign it RAID level-1. [16:31] no mention of raid 5 [16:33] ok, that is exactly my situation [16:34] at least I know for sure now that I wasn't missing anything during the ServeRAID config [16:34] does usually take 3 hours to sync two 34gb drives though? [16:35] that is a while [16:35] they are identical - maybe that's why [16:35] sorry, are not identical [16:35] is there a progress bar? is it close to complete? [16:36] the progress is at 59%, started at 10:07, it's 11:36 here now [16:37] I stay away from old servers if I can help it [16:37] yeah, I just can't afford a newer server [16:39] 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] I also picked up a BladeCenter for $1000.00, 12 blades, 2 have hot-swappable drive bays [16:40] that would be interesting to play with [16:41] 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] ouch! [16:41] so it's been sitting in storage for 6 months now [16:42] 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] The Dell desktop is old, very old. [16:43] and slow with only 513mb of RAM - and it uses RDRAM - expensive! [16:44] I'm just trying to quit the day job lol [16:45] 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] 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] after it syncs, it should be ready to have the OS installed [16:53] hopefully [16:53] it's at 69% now.... another hour or so and I'll find out [16:53] well, you've been very informative compdoc, thank you :) [16:54] 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] mxpxpod: If you've got a PERC why not offload to that? [16:56] KB1JWQ: I've only ever set up software RAID before, so I'm not sure how to offload to the PERC [16:56] 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] 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] I could set up a virtual server for each service [16:57] 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] 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] how do I check if it's mirroring correctly? [16:58] mxpxpod: I'd do the smart thing and VERIFY first. :-) [16:58] In the RAID configuration pane. [16:59] KB1JWQ: heh, true [16:59] Once you've gotten the server booted I believe there's a tool that Dell provides for the CLI to query that. [16:59] dont know much about the cloud, except theres a lot of hype about it [16:59] YOu can use that to monitor RAID state. [16:59] It does you no good to use RAID if you don't realize it when a drive craps out. :-) [16:59] KB1JWQ: exactly [17:00] 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] if you find a use for it, let me know [17:00] I think I'll stick to Ubuntu Server for now, I really don't have the experience to admin a cloud...... yet [17:01] maybe when I get the BladeCenter up and running, I'll set it up as a cloud server. [17:01] 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] mxpxpod: I also point monitoring (nagios in my case) to watch it so I get paged if the array degrades. [17:02] Hypoglybetic: Just for your use? [17:02] KB1JWQ: ok, so I just verified... it's set to RAID-10 in the H700 config util [17:02] Squid is likely overhead, I'd use ssh tunnelling. [17:02] mxpxpod: Yay! [17:03] 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] KB1JWQ: agreed ;) [17:03] now, to find the dell monitoring software [17:04] so, with hardware RAID, it'll just look like one disk to the OS, right? [17:04] KB1JWQ, Well, yes [17:04] KB1JWQ, Maybe a friend or 2 for the purpose of accessing gmail. [17:05] mxpxpod: http://tnt.aufbix.org/linux/perc and yes. [17:05] Hypoglybetic: http://www.revsys.com/writings/quicktips/ssh-tunnel.html [17:06] 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] 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] 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] Hypoglybetic: Ah, didn't realize. :-) [17:09] Can I run Java programs on Ubuntu Server? Is it suitable for running a Java-based multiplayer online game server? [17:09] Hypoglybetic: https://help.ubuntu.com/7.04/server/C/squid.html [17:10] Old doc, but still valid from what I can tell. [17:11] 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] another question: should I make a swap partition or should I just use a swap file? [17:12] Hypoglybetic: Looks like it mostly works. :-) [17:12] Hypoglybetic: When I attempt to proxy through it I get Access Denied. [17:13] 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] You may have to tweak squid to permit your IP range. [17:13] KB1JWQ, I'm getting "URL could not be retrieved" is that what you're getting? [17:13] Or better yet use some form of authentication. [17:13] Yes. [17:13] The following error was encountered while trying to retrieve the URL: http://www.google.com/ [17:13] Access Denied. [17:14] Can I make this in to a web page or do I have to edit my browsers settings? [17:15] KB1JWQ, I have not specified an IP which I think means anyone can use it. . . . [17:15] I think by default it doesn't turn into an open proxy. Those are bad. :-) [17:15] So everyone is by default denied. [17:16] KB1JWQ, You'd have to know I'm running a proxy, so I don't care? :D? [17:17] Hypoglybetic: Oh yes, because those are hard to scan for. :-) [17:18] Talk to #squid I suspect. [17:18] KB1JWQ, you people and your scanners [17:19] Alright, thanks for your help. [17:19] KB1JWQ: do I need a swap partition? or will a swap file do for a server? [17:19] where the devil does vmbuilder put the disk images of sytems it creates? [17:19] i looked all over in /var/lib/libvirt [17:19] didnt find anythin [17:20] and i already undefined the vm with virsh .. so the xml is gone [17:22] 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] ls: cannot access /etc/libvirt/storage/: No such file or directory [17:22] :\ [17:23] knew i shouldnt have just built the vm manually [17:23] *should [17:23] I have /etc/libvirt/storage/default.xml that defintes a storage pool called 'default' and the usual path: /var/lib/libvirt/images === airtonix_ is now known as airtonix [17:24] syb, yeah i checked /var/lib/libvirt/images and its empty now .... i dont know if my virsh undefine removed the image ... [17:24] that would be wierd [17:25] 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] lirakis: Then 'find' or 'locate' commands might be worth trying, if you remember the name of the disk image files. [17:26] well i know the hosts name ... dont konw if vmbuilder used some random name [17:27] lirakis: To check if you've got more than just the default storage pool run "virsh pool-list --all" [17:27] syb, nothing there [17:27] thanks for the help btw [17:27] running a find now [17:28] oh wtf [17:28] lirakis: no storage pool's definied at all might prevent you from using libvirt in the usual documented way. [17:28] it put it in my home directory [17:28] lol [17:29] 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] yeah i didnt see that comment [17:30] but .. yes .. that is crazy [17:30] /var/lib/libvirt/images .... standard location :\ [17:30] any way [17:30] thanks for the help [17:30] lirakis: np. Go forth and virtualise! :-) [17:30] ... i got to do some reading on libvirt etc. and kvm and build these hosts my self [17:32] lirakis: I've been updating https://help.ubuntu.com/community/KVM/Networking to read like something written for Lucid instead of Jaunty. [17:40] Is ne2k_pci still the default network card in kvm (for Lucid)? === ikonia_ is now known as ikonia [17:45] !webmin [17:45] webmin is no longer supported in Debian and Ubuntu. It is not compatible with the way that Ubuntu packages handle configuration files, and is likely to cause unexpected issues with your system. [17:55] syb & lirakis: I have a hacked together python script to build virtual machines. If you guys want to see it. [17:56] thesheff17, sure .. pastebin it and post the link [17:56] sure [17:56] 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] 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] Can I run Java programs on Ubuntu Server? [17:57] http://pastebin.com/ lol [17:57] sss: of course [17:58] Is Ubuntu Server suitable for running a Java Multiplayer online game server? [17:58] sss: sure prob better then windows. [17:58] ok [17:58] thanks [18:04] 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] 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] 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] 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 to [18:28] Is it just me or is http://help.ubuntu.com/ offline? [18:28] yup it is down :-/ [18:29] ...just when I wanted to save my changes to https://help.ubuntu.com/community/KVM/Networking [18:33] syb: looks like it is back up [18:33] OK. Done. I've hopefully updated the text in the KVM/Networking page to be more readable when using Lucid [18:51] 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] KB1JWQ: thank you for your help earlier [19:15] Why 64-bit is recommended? I think my computer is 32-bit, does it matter? [19:16] sss: it doesn't matter [19:16] ok. so 64-bit it is [19:17] sss: 64 bit is better for supporting RAM greater than 4GB. [19:17] actually it does matter though. [19:18] if your computer can't handle the 64bit system [19:18] then it wont work correctly [19:18] i.e. your processor needs to eb able to handle the 64bit architecture [19:18] I have 1GB RAM and, I think, 32bit computer [19:18] if you are unsure as to whether your processor is 64-bit or not, you can use 32bit [19:18] I guess I should install the 32bit [19:18] all systems are at least 32bit [19:18] EvilPhoenix: true. try 64 bit...if it doesn't work you have to use 32 bit. [19:18] ^ that [19:18] EvilPhoenix: Error: "that" is not a valid command. [19:19] I'll use 32 bit [19:19] go away bot >.> [19:19] thesheff17: typically, as a rule of thumb in the tech world, when in doubt, 32-bit [19:21] 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] EvilPhoenix: especially since sss is running java stuff. [19:21] thesheff17: that i agree with [19:21] thesheff17: oh god java stuff [19:21] I want to dual boot Ubuntu Desktop and Ubuntu Server, does it matter what to install first? [19:21] lol [19:21] wait what? [19:22] sss: you can install ubuntu desktop and put server software on it :/ [19:22] why would you want both? [19:22] sss: you dont need both desktop and server [19:22] I just want to expirement with Ubuntu Server, maybe I'll use it in the future. [19:23] sss: you can experiment with the packages on a Desktop install too [19:23] 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] indeed [19:24] I want to be able to run Ubuntu Server without GUI [19:25] sss: by default ubuntu-server doesn't have a GUI. [19:26] ok, I just want to know how to dual boot. I'll first install Ubuntu Desktop [19:27] Does Ubuntu Server edition allows me to specify on which partition to install? [19:27] yea [19:28] btw, What will happen if I deleted all partitions on the computer and rebooted? [19:30] I am going to disconnect for a sec... brb [19:30] ...back agin === thesheff17 is now known as thesheff17|AFK [19:47] hm... new 65TB box coming up.... [20:07] Is the difference between Desktop and Server edition is only the presence of GUI and default installed applications? [20:09] sss: And the kernel is configured with different options, I am fairly sure. [20:10] ok, I was just curios [20:11] sss: https://help.ubuntu.com/community/ServerFaq#What%27s%20the%20difference%20between%20desktop%20and%20server? [20:12] thanks [20:17] how do i login to ssh without password [20:17] what is hte way to do the keys [20:20] azizLIGHTS: See https://help.ubuntu.com/community/SSH/OpenSSH/Keys === NG_ is now known as ng_ [21:27] thx === ogra is now known as Guest31833 === Pici` is now known as Pici [23:03] 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] how did you change the address, just editing /etc/network/interfaces? [23:04] jkg: yeah, and then ifdown eth1 followed by ifup eth1 [23:05] can you put the contents of that file on paste.ubuntu.com? [23:08] jkg: http://paste.ubuntu.com/569375/ [23:09] mxpxpod: likely missing the default route [23:09] hrm, ok, and the gateway/netmask are as they were when it worked I take it? [23:09] jkg: yes [23:09] gateway line in the eth1 stanza === Tallken_ is now known as Tallken [23:09] schelcj: it's there... check the paste [23:09] mxpxpod: just saw it [23:10] 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] mxpxpod: what does route -n say [23:10] * mxpxpod checks [23:10] * jkg makes mental note of "-n" option to route :) [23:11] schelcj: it looks the same for both IP's [23:11] mxpxpod: paste it [23:12] http://paste.ubuntu.com/569380/ [23:12] jkg: -n works the same on most net related utils [23:12] mxpxpod: looks right, is there a NAT/IPMASQ box at 192.168.0.1? [23:13] or what is on eth0 [23:13] eth0 isi going to replace the current router in the future [23:15] well this route table looks right and would do exactly what you are describing [23:15] oh... there isn't something else on your network using .0.2 is there? [23:15] jkg: there was, but I took that interface down [23:16] s/interface/box/ [23:16] I wonder if something somewhere still has a bad arp entry, so associates that MAC with that IP [23:16] can you ping 192.169.0.1? [23:16] schelcj: yeah, I can ping .1 === hggdh_ is now known as hggdh [23:17] is there anything else on the network? [23:17] I don't believe so [23:18] so you have a router at .1 then? [23:18] yes [23:18] and you can't ping beyond that rotuer? [23:18] right [23:19] by hostname or ip? [23:19] ip [23:19] you can ping by ip? [23:19] but not hostname? [23:19] bet /etc/resolv.conf is empty [23:19] sorry, I can't ping anything at all (by ip or hostname) beyond the router [23:20] ah [23:20] the resolve.conf has entries [23:20] sorry, resov.conf [23:20] gah [23:20] resolv.conf [23:20] of course, those entries are beyond the router [23:22] hm, since you can ping the router i don 't think it's arp [23:22] but what does arp -an say [23:22] 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] but the router could have bad arp cache [23:22] there are 4 entries [23:23] jkg: yeah [23:23] I'm not going to type them out [23:24] can't you c&p them into the pastebin? [23:24] hmmm, when I switch the IP over to .3, I only get one arp entry [23:24] jkg: when I switch over to .2, I can't ssh into the box [23:25] but arp -an gave 4 entries when it's at .2 [23:25] 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] jkg: this laptop is on the wireless on the same network [23:27] right, and you can't get in from that when it's .2 either? [23:27] so router did work when laptop was at .3? [23:27] (quick sanity check: what's the IP of the laptop?) [23:27] ok, I have server at .3, the laptop is at .51 [23:27] router at .1 [23:29] there was a server at .2, but I've disconnected that [23:29] I can't ping beyond the router from the server when the server is on .2 [23:29] I also can't ssh from the router into the server at .2 [23:30] can you ping between laptop and server when the server is .2? [23:30] sorry, from the laptop into the server [23:30] jkg: yes [23:31] both ways? (not that it should matter, but I'm pretty baffled here) [23:31] yes, both ways [23:32] I'm severely baffled ;) [23:32] has .2 been rebooted with the new interfaces file? [23:32] my honest best recommendation, to my great shame, is to leave the server as .3 :P [23:32] schelcj: IIRC, yes, but I can do it again [23:33] jkg: that's how I'm feeling right now [23:33] schelcj: rebooting [23:33] .2 can ping 192.168.0.0/24 without problem [23:34] but not beyond that subnet? [23:34] schelcj: yes [23:35] 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] 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] 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] if they got my key they can see where im authorized to login with that key? [23:37] no [23:38] they just know they can login somewhere with this [23:38] but they can get that from, say, your shell history [23:38] schelcj and jkg: I'll just keep the server at .3... this is just ridiculous [23:39] ok this is for client, correct, ur speaking about/ [23:39] ? [23:39] mxpxpod: have you tried rebooting the router? [23:39] I thought I had... let me try it again [23:40] azizLIGHTS: right, this is for the machine where you run ssh-keygen, where the private key lives [23:40] I'll lost my connection, so I'll see you on the flip side [23:40] 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] mxpxpod: sorry, odd little problem [23:40] mxpxpod: what, people don't IRC from permanently connected shell accounts?! [23:41] jkg: oh yeah, there are the gui clients, at least so i am told [23:41] right but that's why we have irssi-proxy, surely ;) [23:42] jkg: wonder, would that handle bitlbee as well? [23:42] so what can u do, on the client? nothing? [23:43] 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] it presents as another server [23:44] 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] 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] remove the key's authorisation (in ~/.ssh/authorized_keys) when your laptop gets stolen :-) [23:46] hey super cool dudes! [23:47] 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] echosystm: pchg passwd for ubuntu user and suduo su and passwd for root? [23:49] what? [23:49] !noroot | echosystm azizLIGHTS [23:49] echosystm azizLIGHTS: We do not support setting a root password. Please don't offer instructions on how to set a root password or ask for help with setting it. See !root and !wfm for more information. [23:49] ok sorry [23:50] the root account is much safer with no valid password :) [23:51] jkg: the .ssh/authorized_keys has new "clients" (?) on each line? [23:51] each line is the public part of a key pair, corresponding to a private key on the client. [23:52] jkg: any site that explain public key and private key awith respect to server and client and their .ssh/ dirs and files [23:52] in simple ways [23:52] 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] you probably only care about the last 2, of the 6 files described. [23:54] thanks [23:54] (WP also has a half decent article about public-key cryptography, if the whole public/private thing is confusing) [23:55] WP? === ng_ is now known as NG_ [23:55] can you link me to it plz [23:55] http://en.wikipedia.org/wiki/Public-key_cryptography [23:55] ty [23:55] right, I'm on call in 6 hours time, best grab some sleep. night folks! [23:56] bye kjg [23:56] jkg