[00:03] 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] hmm, you could download the .deb and extract it from that [01:59] Jason1: the file obtained from downloading the source package is the same as /usr/share/doc/openssh-client/examples/sshd_config [01:59] guys do you think this will make a good swap devise: OCZ Vertex2 2,5" SSD 40 GB ?? [01:59] Jason1: but i can't say whether this file is what you get when you install openssh-server [02:00] Jason1: it seems rather different from the one on my system [02:14] 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] I'd go for something like a raptor or 10/15k SCSI disk instead [02:17] higher RPM disks will get access times down, which is the main advantage of SSD [02:17] performance wise === rmk_ is now known as rmk [03:11] New bug: #612180 in bacula (main) "package bacula-director-mysql 5.0.1-1ubuntu1 failed to install/upgrade: el subproceso script post-installation instalado devolvió el código de salida de error 1" [Undecided,New] https://launchpad.net/bugs/612180 [03:56] 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] The modem only assigns 1 address. [04:48] 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] diffra_home: how did you set the resolution? [05:39] diffra_home: also, when you open your BIOS does it use up the whole screen? [10:48] is it possible to loopback mount a cow2 file? === lenios_ is now known as lenios [12:02] hello [12:03] i have a 10.0 4 server running on 8 GIG of ram and two cpus [12:03] a large ec2 instance from amazon [12:04] and the average load is always above 3/0 [12:04] somtimes its 4.4 [12:05] Then you're loading it up too much [12:05] but i cant see any process using cpu [12:05] load isn't just cpu... [12:05] It's all the system resources [12:06] nop cloakable [12:06] average load, is the load for the processes waiting their turn to be processed on cpu [12:06] hmm [12:07] so apparently you need to know what is average load before answering me [12:08] Well, thank you for your highly diplomatic answer [12:09] you most welcome, mate [12:09] still i need someone help [12:10] i need to know what is the normal average load for a busy server [12:11] 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] According to a little basic googling [12:14] In that case, I'd look at your I/O [12:20] 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] 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] TuxSax: cloakable according to this https://bugs.launchpad.net/ubuntu-on-ec2/+bug/574910 i think i have the same bug [12:21] Launchpad bug 574910 in linux-ec2 "High load averages on Lucid while idling" [Undecided,In progress] [12:22] 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] 1 second in CPU time terms is an eternity! [12:23] :( [12:23] it 2-4 on my server [12:23] im gonna switch bakc to a previous release [12:23] but as I said, 2 sec on one of the servers and still responding well [12:24] so it all depends on the platform I guess [12:28] yeah true TuxSax [12:29] now if i want to upgrade my server kernel [12:29] is it safe to do it on production [12:29] while its serving some users [12:30] 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] hmm [12:31] im running ubuntu [12:31] 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] hmm [12:31] sounds better actually but it needs so many work [12:32] I don't recommend this kind of upgrades on "live" serving systems... what if it went wrong? [12:32] many new installations, moving DB [12:32] yeah that would be a killer :) [12:33] waheedi: there is always two ways, the short way and the right way, you choose... ;-) [12:33] hahaha 1000% true [12:33] btw i would love to share my new service with you check it out, http://dakwak.com === freeflyi1g is now known as freeflying [15:15] 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] myip www.mysite.com (hostname here) [15:27] probably not [15:27] Jason3, www should be an a record for the machines ip address [15:28] the fqdn for the machine should be blah.domain.com [15:28] then www as an A record [15:29] or cname, your choice [15:34] so the hostname i have set for my machine is NOT equal to the alias of the machine? [15:46] New bug: #612184 in mysql-5.1 (main) "package libmysqlclient16 (not installed) failed to install/upgrade: trying to overwrite '/usr/lib/libmysqlclient.so.16.0.0', which is also in package xplico 0:0.5.6-bt1" [Undecided,New] https://launchpad.net/bugs/612184 [16:13] still having a slight problem. i get this error sudo: unable to resolve host "gatorade" after I do sudo -i [16:18] Jason3: paste the output of <> please [16:19] Jason3: and also the relevant line on your /etc/hosts [16:32] 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] something that is step by step [16:37] mnaual partitioning during installation [16:37] or you just do it by hand later:) [16:38] klaas: i've tried to manually do it during the installation. for some reason, it doesn't automatically mount it. [16:39] or maybe there is something i'm not understanding. [16:39] use fstab [16:40] okay then that's what i'll try; i thought the installer would handle that for me [17:25] 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] New bug: #612284 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.1 failed to install/upgrade: ErrorMessage: el paquete mysql-server-5.1 ya está instalado y configurado" [Undecided,New] https://launchpad.net/bugs/612284 [17:26] does anyone have any tips for this ssh error? "debug2: ssh_connect: needpriv 0" [17:27] received using ssh -vvv while attempting to ssh to a server [17:35] it's just from one system, i can ssh to the server from another server no problem [17:35] 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] also, other communication between the "bad" client and the server works fine, it's just ssh with the problem [17:36] normal html files are fine. PHP files don't want to open [17:39] Jason3: be sure to enable php for apache, like "sudo a2enmod php5" or whatever else [17:44] says its already enabled [17:46] Jason3: not sure man, sounds like the problem is that apache doesn't think php files are something that can be executed [17:48] can root own the index.php file and it run in the webbrowser? [17:50] Jason3: that's not how it works. apache runs the php file on the server and sends you output [17:50] Jason3: php files do not run in your browser [17:51] i figured out my ssh problem btw if anyone is interested, i was trying to ssh but hostname wasn't identified in /etc/hosts [17:51] jeremyn: you need to install libapache2-mod-php5 [17:51] funkyHat: i think you meant that for Jason3 [17:52] jeremyn: sorry, yeah [17:52] i understand. i think it might be permissions. root owns the file [17:52] jeremyn: if it's just something you want to define for ssh you could use ~/.ssh/config instead [17:52] funkyHat: nah, i want it generally known but thanks for the tip [17:53] 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] 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] ok [18:11] i've seen others in some foroumns that have the same problem but their solutions aren't working for me. [18:17] 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] and have everything else forwarded [18:21] it was the browsers cache that was the problem. I cleared the cache and all is ok [18:49] I've got my server running great at the moment. What is the best way to do a full backup of it? [18:55] Jason3: what specifically? many people keep /etc under version controll [18:57] 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] I guess you could clone drives.. but thats inneffecient. installing thsoe things is easy, it's conmfiguring them thats the pain right? [18:59] yes that would be true [18:59] off on a hike bbl [19:00] 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] (and mysql databases? websites, etc? === erichammond1 is now known as erichammond [20:14] 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] Jason3: depends on the web server [20:25] apcahe2 [20:27] any folder or just one? [20:27] for a specific site in the www folder [20:28] 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] Options -Indexes === unreal_ is now known as unreal [22:06] 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] if it's a lengthy answer, can anyone give me a hint as to where to look for an answer? [22:08] kinygos: I have the following in /etc/default/console-setup : [22:08] XKBLAYOUT="gb" [22:09] Maybe relevant to your problem. [22:09] thank you :) i'll have a look [22:28] So.. I added a PPA but apt-get update then apt-cache policy won't show the new version.. Any ideas why? [22:29] 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] does anyone know how to change the default keyboard layout and mappings in ubuntu server 10.04 lts? [22:38] different question, how do i get the following command to run at startup >sudo loadkeys --default [22:38] i'm going for a brute force solution to my problem... [22:39] i've copied /usr/share/keymaps/i386/qwerty/uk.kmap.gz to /usr/share/keymaps/i386/qwerty/defkeymap.kmap.gz [22:40] kinygos, sudo dpkg-reconfigure locales [22:40] ChmEarl: that sounds promising..thanks, brb :) [22:42] ChmEarl: that generated a bunch of locales...saying they were up to date... [22:42] rebooting... [22:43] ChmEarl: unfortunately, it's back to US again :( [22:47] 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] (clearly i meant dpkg-reconfigure console-setup) [22:54] I'm trying to install an ubuntu-server KVM guest via SSH, how can I disable framebuffer support in the installer? [23:13] zul: you around? [23:16] !info passenger [23:16] Package passenger does not exist in lucid [23:45] 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] it reverts to US when i reboot the server :(