[00:03] <Jason1> ok I think I've fixed the issues.  I got it to restart now.  But it would help to know how I can get an original sshd_config file without doing a reinstall
[00:07] <thebwt> hmm, you could download the .deb and extract it from that
[01:59] <pmatulis> Jason1: the file obtained from downloading the source package is the same as /usr/share/doc/openssh-client/examples/sshd_config
[01:59] <ivo_> guys do you think this will make a good swap devise: OCZ Vertex2 2,5" SSD 40 GB ??
[01:59] <pmatulis> Jason1: but i can't say whether this file is what you get when you install openssh-server
[02:00] <pmatulis> Jason1: it seems rather different from the one on my system
[02:14] <qman__> ivo_, I don't have personal experience, but what I've read and heard suggests that SSDs aren't great for constant writing/rewriting, in that they wear out quickly
[02:14] <qman__> I'd go for something like a raptor or 10/15k SCSI disk instead
[02:17] <qman__> higher RPM disks will get access times down, which is the main advantage of SSD
[02:17] <qman__> performance wise
[03:56] <mike1> Setting up a server/transparent proxy/web filter.  Can't get the relationship Modem-> Server ->Router ->  Network  working.   I think the PPPOE on the router is a major problem.  Can't get it to work from server.  Should I have PPPOE left on modem serving an address to server and server serving on ita 2nd NIC?
[03:57] <mike1> The modem only assigns 1 address.
[04:48] <diffra_home> hey all -- i've set the console resolution on my ubuntu server laptop (yeah...) and the resolution is correct, but it's only using the upper let 1/4 of the screen.  How do I configure this?
[05:39] <giovani> diffra_home: how did you set the resolution?
[05:39] <giovani> diffra_home: also, when you open your BIOS does it use up the whole screen?
[10:48] <frith> is it possible to loopback mount a cow2 file?
[12:02] <waheedi> hello
[12:03] <waheedi> i have a 10.0 4 server running on 8 GIG of ram and two cpus
[12:03] <waheedi> a large ec2 instance from amazon
[12:04] <waheedi> and the average load is always above 3/0
[12:04] <waheedi> somtimes its 4.4
[12:05] <cloakable> Then you're loading it up too much
[12:05] <waheedi> but i cant see any process using cpu
[12:05] <cloakable> load isn't just cpu...
[12:05] <cloakable> It's all the system resources
[12:06] <waheedi> nop cloakable
[12:06] <waheedi> average load, is the load for the processes waiting their turn to be processed on cpu
[12:06] <cloakable> hmm
[12:07] <waheedi> so apparently you need to know what is average load before answering me
[12:08] <cloakable> Well, thank you for your highly diplomatic answer
[12:09] <waheedi> you most welcome, mate
[12:09] <waheedi> still i need someone help
[12:10] <waheedi> i need to know what is the normal average load for a busy server
[12:11] <cloakable> Linux includes processes in uninterruptible sleep states, typically waiting for some I/O activity to complete. This can markedly increase the load average on Linux systems.
[12:12] <cloakable> According to a little basic googling
[12:14] <cloakable> In that case, I'd look at your I/O
[12:20] <TuxSax> waheedi: the best is that no process is waiting in queue for it's CPU turn, so the recommended load average should be always below 1
[12:21] <TuxSax> but I have a server that is most of the time on 2 and it's working fine, mysql queries are loading it up, I'm running around 2700 queries every minute and that's what loads my server up
[12:21] <waheedi> TuxSax: cloakable  according to this  https://bugs.launchpad.net/ubuntu-on-ec2/+bug/574910  i think i have the same bug
[12:22] <TuxSax> waheedi: well, I can't help with solving those bugs... I only know I never like to see my servers going higher than 1 second in their load avg
[12:22] <TuxSax> 1 second in CPU time terms is an eternity!
[12:23] <waheedi> :(
[12:23] <waheedi> it 2-4 on my server
[12:23] <waheedi> im gonna switch bakc to a previous release
[12:23] <TuxSax> but as I said, 2 sec on one of the servers and still responding well
[12:24] <TuxSax> so it all depends on the platform I guess
[12:28] <waheedi> yeah true TuxSax
[12:29] <waheedi> now if i want to upgrade my server kernel
[12:29] <waheedi> is it safe to do it on production
[12:29] <waheedi> while its serving some users
[12:30] <TuxSax> waheedi: preferably not as it may have to be reloaded, but I'm not an EC2 expert, you may better contact Amazon support for that
[12:31] <waheedi> hmm
[12:31] <waheedi> im running ubuntu
[12:31] <TuxSax> Can't you better temporarily load another instance with an upgraded kernel and then move the service to there, then stop the "older" instance?
[12:31] <waheedi> hmm
[12:31] <waheedi> sounds better actually but it needs so many work
[12:32] <TuxSax> I don't recommend this kind of upgrades on "live" serving systems... what if it went wrong?
[12:32] <waheedi> many new installations, moving DB
[12:32] <waheedi> yeah that would be a killer :)
[12:33] <TuxSax> waheedi: there is always two ways, the short way and the right way, you choose... ;-)
[12:33] <waheedi> hahaha 1000% true
[12:33] <waheedi> btw i would love to share my new service with you check it out, http://dakwak.com
[15:15] <Jason3> Im deploying linux on my server and I have just set the hostname for my machine "blah"  When I am setting up the FQDN should it be:
[15:16] <Jason3> myip  www.mysite.com (hostname here)
[15:27] <bogeyd6> probably not
[15:27] <bogeyd6> Jason3, www should be an a record for the machines ip address
[15:28] <bogeyd6> the fqdn for the machine should be blah.domain.com
[15:28] <bogeyd6> then www as an A record
[15:29] <bogeyd6> or cname, your choice
[15:34] <Jason3> so the hostname i have set for my machine is NOT equal to the alias of the machine?
[16:13] <Jason3> still having a slight problem.  i get this error sudo: unable to resolve host "gatorade" after I do sudo -i
[16:18] <TuxSax> Jason3: paste the output of <<hostname -f>> please
[16:19] <TuxSax> Jason3: and also the relevant line on your /etc/hosts
[16:32] <AndyGraybeal> does anyone have a guide or website handy that explaines how to setup a seperate home partition during install with ubuntu 10.04?
[16:34] <AndyGraybeal> something that is step by step
[16:37] <klaas> mnaual partitioning during installation
[16:37] <klaas> or you just do it by hand later:)
[16:38] <AndyGraybeal> klaas: i've tried to manually do it during the installation.  for some reason, it doesn't automatically mount it.
[16:39] <AndyGraybeal> or maybe there is something i'm not understanding.
[16:39] <klaas> use fstab
[16:40] <AndyGraybeal> okay then that's what i'll try; i thought the installer would handle that for me
[17:25] <rdw200169> during the manual partitioning step you have to specify the mount points for all the drives you want in fstab.  if you specify a particular partition to be for /home, for example, then you're done
[17:26] <jeremyn> does anyone have any tips for this ssh error? "debug2: ssh_connect: needpriv 0"
[17:27] <jeremyn> received using ssh -vvv <hostname> while attempting to ssh to a server
[17:35] <jeremyn> it's just from one system, i can ssh to the server from another server no problem
[17:35] <Jason3> just installed apache, mysql, and php on my server.  i have a test index.php file but when I enter it in the URL it tries to download the file rather than opening it.  ?????
[17:35] <jeremyn> also, other communication between the "bad" client and the server works fine, it's just ssh with the problem
[17:36] <Jason3> normal html files are fine.  PHP files don't want to open
[17:39] <jeremyn> Jason3: be sure to enable php for apache, like "sudo a2enmod php5" or whatever else
[17:44] <Jason3> says its already enabled
[17:46] <jeremyn> Jason3: not sure man, sounds like the problem is that apache doesn't think php files are something that can be executed
[17:48] <Jason3> can root own the index.php file and it run in the webbrowser?
[17:50] <jeremyn> Jason3: that's not how it works. apache runs the php file on the server and sends you output
[17:50] <jeremyn> Jason3: php files do not run in your browser
[17:51] <jeremyn> i figured out my ssh problem btw if anyone is interested, i was trying to ssh <hostname> but hostname wasn't identified in /etc/hosts
[17:51] <funkyHat> jeremyn: you need to install libapache2-mod-php5
[17:51] <jeremyn> funkyHat: i think you meant that for Jason3
[17:52] <funkyHat> jeremyn: sorry, yeah
[17:52] <Jason3> i understand.  i think it might be permissions.  root owns the file
[17:52] <funkyHat> jeremyn: if it's just something you want to define for ssh you could use ~/.ssh/config instead
[17:52] <jeremyn> funkyHat: nah, i want it generally known but thanks for the tip
[17:53] <funkyHat> that's also quite good if you want to define a username so you don't have to type it each time (of course if you have the same username as on the client that's irrelevant)
[17:53] <funkyHat> Jason3: if apache was trying to serve the php file as text then it can read the file, so that's not the issue
[17:56] <Jason3> ok
[18:11] <Jason3> i've seen others in some foroumns that have the same problem but their solutions aren't working for me.
[18:17] <Hilikus> i'm trying to configure bind9 to solve loopback problems with clients in the LAN, but my dns is dynip.com. if i define a zone dynip.com will it try to resolve X.dynip.com? i want to limit my dns server to a specific subdomain
[18:17] <Hilikus> and have everything else forwarded
[18:21] <Jason3> it was the browsers cache that was the problem.  I cleared the cache and all is ok
[18:49] <Jason3> I've got my server running great at the moment.  What is the best way to do a full backup of it?
[18:55] <thebwt> Jason3: what specifically? many people keep /etc under version controll
[18:57] <Jason3> I'm running a server remotely, I dont have access to the physical box.   I've just setup ubuntu and have it working smoothly.  Im not very familiar with any type of linux and I want to backup everything so that rather than doing a fresh install and then going through and apt-get etc all the packages, and installing apache, mysql and php all over again is there a way to just copy files
[18:58] <thebwt> I guess you could clone drives.. but thats inneffecient. installing thsoe things is easy, it's conmfiguring them thats the pain right?
[18:59] <Jason3> yes that would be true
[18:59] <thebwt> off on a hike bbl
[19:00] <Jason3> thebwt: so the best thing to do is be prepared to do the full install and just keep my config files backed up?
[19:00] <Jason3> (and mysql databases? websites, etc?
[20:14] <Jason3> how do I turn it off so that browsers don't list the files in a folder if it goes there and there is no index file?
[20:20] <Adri2000> Jason3: depends on the web server
[20:25] <Jason3> apcahe2
[20:27] <alex_joni> any folder or just one?
[20:27] <Jason3> for a specific site in the www folder
[20:28] <alex_joni> first google hit: http://blog.taragana.com/index.php/archive/apache-httpd-how-to-turn-off-index-listing-in-directory-protect-wordpress-wp-content/
[20:29] <alex_joni> Options -Indexes
[22:06] <kinygos> hi all...apologies for the n00b question.  i'm running ubuntu server 10.04 lts, and changing the keyboard layout to uk qwerty using console-data.  when i reboot, the layout is back to us.  how do i get it to default to uk?
[22:08] <kinygos> if it's a lengthy answer, can anyone give me a hint as to where to look for an answer?
[22:08] <sherr> kinygos: I have the following in /etc/default/console-setup :
[22:08] <sherr> XKBLAYOUT="gb"
[22:09] <sherr> Maybe relevant to your problem.
[22:09] <kinygos> thank you :) i'll have a look
[22:28] <MTecknology> So.. I added a PPA but apt-get update then apt-cache policy won't show the new version.. Any ideas why?
[22:29] <kinygos> sherr: i made that change, but it hasn't made a difference...i've been hunting round for hints online but failing miserably...any other ideas?
[22:32] <kinygos> does anyone know how to change the default keyboard layout and mappings in ubuntu server 10.04 lts?
[22:38] <kinygos> different question, how do i get the following command to run at startup >sudo loadkeys --default
[22:38] <kinygos> i'm going for a brute force solution to my problem...
[22:39] <kinygos> i've copied /usr/share/keymaps/i386/qwerty/uk.kmap.gz to /usr/share/keymaps/i386/qwerty/defkeymap.kmap.gz
[22:40] <ChmEarl> kinygos, sudo dpkg-reconfigure locales
[22:40] <kinygos> ChmEarl: that sounds promising..thanks, brb :)
[22:42] <kinygos> ChmEarl: that generated a bunch of locales...saying they were up to date...
[22:42] <kinygos> rebooting...
[22:43] <kinygos> ChmEarl: unfortunately, it's back to US again :(
[22:47] <kinygos> at risk of spamming my question: how do i get ubuntu server 10.04 to remember the keyboard layout i specify with dkpg-reconfigure console-setup?
[22:48] <kinygos> (clearly i meant dpkg-reconfigure console-setup)
[22:54] <zhobbs> I'm trying to install an ubuntu-server KVM guest via SSH, how can I disable framebuffer support in the installer?
[23:13] <MTecknology> zul: you around?
[23:16] <MTecknology> !info passenger
[23:45] <kinygos> apologies for repeating my question...does anyone know how to configure ubuntu server 10.04 to remember the keyboard layout/mapping/locale that i specify using console-data?
[23:45] <kinygos> it reverts to US when i reboot the server :(