[00:00] Brian21: are both disks identical? [00:00] no [00:00] they need to be the same size [00:00] physically ? [00:01] yes [00:01] this is one reason to use partitions :) [00:01] besides making it easier to replace a failed disk [00:01] you can partition them both to make them have a same-sized partition.. [00:02] hmm I was trying to create like 100 gb disk to test it out [00:04] one of the server i got 3 hard drive (2) 1 tb and (1) 2 tb on server2 i have one 250 gig [00:05] I'm open for any suggestions [00:05] suggestions about what? [00:06] if I can specify lower size with out using the whole disk? [00:07] you do know what a partition is right? [00:08] yes its a logical section of the hard drive.. [00:11] well i guess im going to use virtualbox and c if that helps [00:14] Thanks for your help [00:33] Brian21: have fun :) [00:59] how do i do the insmod for iptables === roasted_ is now known as roasted [01:21] ok im trying to use iptables and i keep on getting iptables v1.4.12: can't initialize iptables table `filter': Table does not exist (do you need to insmod?) [01:21] Perhaps iptables or your kernel needs to be upgraded. [01:22] can i get some help to get it started back up [01:23] ssfdre38: as a start, modprobe ip_tables [01:24] ssfdre38: there's a lot of other modules you can load; 'filter' will require the iptable_filter module to be loaded. I'm curious if it'll be automatically loaded or not [01:34] ssfdre38, it's loaded by default, so if you didn't do something to prevent it from loading, you're seeing a red herring === gary_poster is now known as gary_poster|away [02:15] morning [02:15] anybody had issues with apc 3.1.3p1-2 and apc unable to allocate memory for pool :.... [02:15] ? [02:16] it's filling up our logs quicker than we can delete it :) [02:16] on ubuntu 10.04.03 [02:17] 10.04.3 LTS that is [02:17] Lucid :) [02:18] https://bugs.php.net/bug.php?id=58982 [02:19] also, you're pretty far out of date on updates [02:19] the .4 point release was out a long time ago [02:21] qman__: thanks I am fully aware. but this is a choice senior dev dude has made, don't ask me why [02:21] he was running the staging server on 12.xx [02:21] but moved everything over to the one lucid server [02:21] ?! :S [02:21] I'm not saying that running lucid is the problem (though you don't have much life left at this point) [02:21] just that your lucid server is way out of date [02:22] and if this bug is in an official ubuntu package, it's probably been fixed in an update [02:25] maybe not: https://launchpad.net/ubuntu/lucid/amd64/php-apc/ [02:25] shows that as the latest version there [02:25] more likely out of shm memory [02:26] oh, that is what that bug report is about [02:43] Patrickdk: according to our config it says apc.shm_size=30 [02:50] i tried doing the apc.mmap_file_mask = /tmp/apc.XXXXXX but it gave this error: apc_mmap: ftruncate failed: File too large [02:52] I shoujld probably install pecl [03:02] anybody feel like helping an ubuntu/linux noob? =) [03:03] im running ubuntu 12.04. trying to use the chat program empathy, and i'm having trouble with a plugin for skype. [03:07] monuto: is this on ubuntu server ? === Aww_ is now known as Aww [03:50] hi guys. how can i change default crontab editor from nano to vi ? [04:25] VsioZashibis: tried "export EDITOR=vi" ? [04:27] VsioZashibis, update-alternatives --set editor /usr/bin/vim [04:28] hello [04:29] I am looking for advice on setting up a ssh user for a quick and dirty VPN [04:29] How can i give ssh to a user with a key, but keep them from running commands to accessing the server? [04:31] you can't [04:31] the only way to sort of accomplish that is to chroot them [04:31] they still have a shell though and can still run things [04:32] it's less effort to set up a VPN proper than to wall off a shell account in the manner you desire [04:37] thans qman__ [04:37] yes, setting up a real vpn would be easier; that said, if you really want to go down the route of locking down an ssh user, here's some suggestions: http://wiki.apparmor.net/index.php/Pam_apparmor_example [04:38] VsioZashibis: I always just apt-get purge nano first thing, I never want to use nano so goodbye. :) hehe [04:38] I got it thanks gusy [04:38] guys* [04:40] ok so while we are at it, best practice for setting up a vpn? [04:43] LargePrime: I enjoyed using an ipsec vpn eight years ago, it Just Worked. the other VPNs I saw at the time were more annoying to configure and less reliable. [04:44] LargePrime: that said, I've heard good things about openvpn. [04:49] LargePrime, I use openvpn, the setup isn't too bad and if you use easyrsa, making the keys is super simple [04:50] pointers, tips, best practice? Links? [04:50] there's probably a section on it in the server guide, I set mine up about five years ago and haven't touched it since [04:50] i mean i have openvpn [04:50] how often do you add /remove users? [04:51] not that often, but you just generate or delete the key sets [04:51] I've also never had any reliability issues, the only time it ever went down was during a hard drive failure [04:53] I was unable to restore the whole server so I just installed a new VM, copied my configs over, and it worked perfect [04:53] haha :) [04:53] source was 8.04, destination 12.04 [05:20] thanks qman__ and sarnold [05:44] ok im trying to block an ip address from my server and i get this error http://pastebin.com/4e9MZ7MJ when i do it on iptables, does anyone know how to fix it? [05:46] ssfdre38: what does lsmod | grep -i ipt show? What does iptables -n -L show? [05:47] http://pastebin.com/EE0ehp29 and http://pastebin.com/skhhEw77 [05:48] ssfdre38: interesting. do you know why /proc/modules isn't there? [05:48] nope [05:49] ssfdre38: try sudo mount -t proc proc /proc [05:49] its already mounted [05:50] proc is mounted but not modules file? very curious. [05:50] is your kernel compiled without modules support? [05:51] i didnt tell it not to be [05:51] it was working before hand [05:51] CONFIG_MODULES in your kernel configuration.. [05:56] i dont even know where that is at as i never really messed with that [06:00] ssfdre38: do you have a /proc/config.gz file? or a /boot/config-`uname -r` file? [06:00] i do have the first one [06:00] aha, cool, how about gzip -cd /proc/config.gz | grep MODULES ? [06:01] http://pastebin.com/GmEdjfVC [06:01] sorry its just one of those days [06:02] ssfdre38: well, okay. you'll either need to recompile your kernel to include iptables, or you'll need to recompile your kernel to include loadable modules _and_ iptables modules. [06:03] ssfdre38: if you just want to drop traffic from one IP, check this out: http://www.cyberciti.biz/tips/how-do-i-drop-or-block-attackers-ip-with-null-routes.html [06:04] (I'm not sure that's the best guide, the domain name is certainly .. troubling .. but the commands look about right.) [06:11] well its just i moved my work's sites onto my server and so some stuff has came along with it that im dealing with that crashed theirs so its just one of those days to find and remove all day [06:11] :( [06:12] yea its just one of those days with me === jtv2 is now known as jtv [08:32] Hi. I made a big bummer by starting "sudo apt-get remove linux-image-3.2.0-2*". Now it's removing all my kernels in a loop, it seems. Can I interrupt it somehow? So far, I just stopped the process. [08:37] johndoe2, I found a solution :-) [08:40] If i wanted to boot ubuntu through pxe/nfs and then have it run from memory, any suggestions on doing this? Im not trying to install from pxe, I simply want to have diskless servers. I will though probably need to create some sort of custom image I would think as i do need to have certain software installed. Not 100% sure how that would work. It would be for an openstack compute node. [08:42] MACscr: look into edubuntu, i think they support such installation type out of the box, using LTSP [08:46] xnox: ok, these will be servers though [08:47] i will check into it closer though [08:48] MACscr: I guess you want to boot that node from volume then for openstack. Maybe openstack specific forums is better, e.g. https://ask.openstack.org/question/49/any-hint-for-a-compute-node-diskless-setup-only-iscsi-netapp-persistant-disk-for-vms/ [08:49] MACscr: cause yet, edubuntu ltsp stuff is kind of geared towards a beefy server exporting ubuntu install (with desktop) to thin & fat clients. [09:02] xnox: thanks for the edu link nonetheless. Cool stuff [09:42] Hi. I have a problem with mime type of .webm videos. On my local machine, php gets the correct mime type, which is video/webm. But my virtual server gets it as application/octet-stream. Configuration has been made through a file /etc/apache/conf.d/mimetypes.conf which defines webm, ogg and mp4 via 'AddType video/webm .webm' ... === smb` is now known as smb [12:49] I'm using SSH to administer a server on Amazon cloud and reading a book on Ubuntu server administration [12:50] The book talks about the possibility of installing a GUI...can I really install and use a GUI through SSH? [12:50] * msafi doesn't wanna install a GUI and not be able to use it... [12:51] you can tunnel X11 over ssh, yes [12:51] why on earth you would want to is another question [12:52] It will be extremely slow... also, there are not that many gui front ends for things that are meant to be installed on headless servers. [12:53] and if there are, they're web based. [12:54] It sounds complicated even [12:54] Many people these days administer servers using SSH, so I'm not sure why this popular book is covering GUIs [12:55] because it's a popular book? :P [12:55] written for noobs [12:55] This is the one: http://www.amazon.com/Beginning-Ubuntu-Server-Administration-Professional/dp/1590599233/ [12:56] Anyway, thanks for the help. I'll go ahead and skip the GUI section... === daker_ is now known as daker [13:43] roaksoax: https://code.launchpad.net/~zulcss/glance/refreshed/+merge/178298 [13:53] hallyn: reported bug #1207675 for an lxc test failure in the saucy smoke suite. has happened twice out of 4 attempts. [13:53] Launchpad bug 1207675 in ubuntu-test-cases "test_lxc_api test fails during container creation " [Undecided,New] https://launchpad.net/bugs/1207675 [13:58] i have vsftpd setup but it wont let my user create a directory, but it will allow them to upload files. [14:33] you cant stop apparmor? [14:43] roaksoax: https://code.launchpad.net/~zulcss/nova/refreshed-1/+merge/178314 === james_ is now known as Guest30414 [17:17] Seeing bad signature errors on ubuntu repos on ec2 and s3, any maintainers here? [17:19] anybody know if using symlinks from thunderbird to the mail folder /home/user/mail will work with mutt? [17:20] jdhigh9000: I'd be careful to use read-only mode in mutt, no need to seriously confuse thunderbird [17:21] sarnold: thanks for the heads up. im a newbie :) === smw__ is now known as smw_ === james_ is now known as Guest23475 [17:59] If I set up 2 or more dhcp peers, will omapi updates (and leases, for that matter) propagate across the peers? Or is the peer system merely for ensuring multiple servers are not trying to answer dchp requests? === ogra_ is now known as _ogra_ === _ogra_ is now known as ogra_ [18:22] so... custom ubuntu install designed around one piece of software as an appliance [18:23] plan to distribute as a virtualbox image, but maybe later a cdd for server.. I think best way to make it work in every server or virtual environment is as a kcikstart file that works with regular install cd [18:24] I want this to ask user to configure stuff onthe first boot before the first login too.. software settings === hggdh_ is now known as hggdh [19:30] hello, this morning I did an apt-get upgrade and it appears GRUB has been failing in a couple of ways. the server has a software RAID-1 setup and /dev/md1 and /dev/md2 as its disks. These are pastes of output of prior diagnostics: http://paste.ubuntu.com/5941192/ http://paste.ubuntu.com/5941199/ [19:31] is this machine still safe to reboot? [19:32] TimothyA1: I'd be scared too... [19:33] I've had GRUB complain multiple times in the past, but then it at least still showed /dev/md1 and /dev/md2 as an option to install it [19:33] now it only gave /dev/md1 as an option and complained it could not find the drive [19:34] if I were to reboot the machine and it wouldn't boot up, would there be a way to fix this in a recovery shell? [19:37] I'm rebooting... [19:39] it's safe :D [19:39] fwew [19:40] now on to a different issue; why is apt holding back my mysql-server packages? [19:40] TimothyA1: nice! [19:41] ....and the PHP update broke PHP... excellent [19:41] * TimothyA1 bangs his head on the wall [19:44] okay, that's fixed. now, the mysql-server issue... [19:45] The following packages have been kept back: mysql-client-5.5 mysql-server-5.5 mysql-server-core-5.5 === SJrX is now known as SJr [21:22] adam_g, hola [21:23] koolhead17, highvoltage [21:23] er [21:23] koolhead17, hi [21:23] :) [21:23] adam_g, how have you been sir? [21:23] koolhead17, doing good, you? [21:24] adam_g, alive/sleepless [21:24] insomniac [21:28] arosales, hi there [21:29] its been while i spoke to folks here [23:20] koolhead17, hello [23:20] koolhead17, sorry for the late reply. [23:46] hi, i'm looking for a tool to sit in the front of my server stack and able to check for a HTTP parameter in a request's body and redirect it to a specific server, like a reverse HTTP proxy… i tried nginx to do this, but i'm not very happy with it [23:50] pHcF: apache can also reverse proxy, but I might have expected nginx to do a better job of it. whta didn't you like about nginx? [23:50] first because I can't check for a specific http parameter in request's body if it's POST or PUT [23:51] (because it starts handling redirects/rewrite rules before having all the data of the request) [23:59] hi everyone