[00:04] hackeron_: no [00:05] http://paste.debian.net/101692/ some notes I wrote on the subject === jjohansen is now known as jj-afk [01:00] I know there's hardly anyone around, but an opinion please: Am I better with IBM's SAS raid hardware onboard a new x 3100 M3 series (entry level) or linux raid ? Its just a simple mirror setup, and the controller seems to have been detected ok. [01:00] I've installed linux software raid so far, but I've no idea how to compare them anyway. [01:01] do you see both disks on your controller? [01:01] in linux [01:03] advante of linux raid is that you can unplug your disks and plug it in anywhere [01:03] advantage [01:09] ivoks: and by "linux raid" you mean "software raid"? [01:10] fluvvell: hardware raid is just that -- the hardware does it, so the OS is ignorant of the fact there's more than one disc [01:20] Question here: I once has U-server installed on an older small PII box (300Mhz, 512Mb RAM). It ran fine. Great little box I would just SSH into. It is a little loud so only ran when needed. When I shutdown the server (done via 'sudo shutdown -h now' when SSH'ed in), it shuts down but it doesn't full turn the computer off. I have to manually hold the power button to shut it off completely.... [01:20] ...Thing is, I went ahead and installed Debian Testing and it shuts down completely. I want to go back to U-server (10.10) but would rather it just shutdown completely. As a side note, I have never run latest U-server on this. Any thoughts? Thanks. [01:21] I would think if Debian could shut this down completely, Ubuntu should too. [01:24] FunkyBob, I guess the OS knows via the SAS driver modules, but my colloquial question "better off" was meaning which will perform better, or give the biggest all around benefit. [01:25] FunkyBob, last time I did a comparison, it was with old paradise raid controllers, and the linux community found software raid to perform better [01:26] ivoks, yes I see both disks on the controller, and yes to the software raid. [01:29] fluvvell: hardware raid is generally much faster [01:29] "hardware assisted" raid, otoh... not always so good [01:36] real hardware raid (usually) offers better performance [01:37] linux software raid offers better compatibility and more options [01:37] which is better depends on your needs and preferences [01:37] fake raid is useless [01:37] only performs as good as software raid with the feature limitations of hardware raid [01:40] hansin, use `sudo poweroff` [01:40] if that still doesn't work, it's probably an APM/ACPI driver problem [01:46] qman__: Thanks. I just wrote all that down so I can try once I install. I think I get the driver thing as well, as in if it can't communicate the the HW to power off, the OS will shut down, but the HW will still be on. I'll test it all out. [01:51] Okay, one more question: I know U-Server can be updated to new releases (say 10.4 -> 10.10 -> 11.4) with 'do-release-upgrade' found in 'update-manager-core'. What I am wondering is, are there sometimes things that just can't update and get you to where you would be with a fresh install? [01:51] I get that things like the files system (ext3 vs. ext4) are usually set, and often GRUB will stay at GRUB vs. GRUB2. [01:52] (I don't care about these since I will install as ext4 and GRUB2). But are there other things? Like the transition from 'sysvinit' to 'upstart [01:53] ', where there any issues there? Anything else that might miss out on an upgrade between releases? Thanks. [01:58] not really [01:58] the way it works is, certain packages won't be changed by default [01:58] if you want to, you can still switch to the new ones [01:58] like grub and grub2 [01:59] another one is the switch from sysklogd to rsyslog(?) [01:59] if you upgrade it won't change over automatically [01:59] qman__: Thanks again. I'm going to move back to U-Server and give it another go. I just wanted to clarify the upgrade part. Knowing what you just said, I can more carefully inspect the release notes for new releases. [02:00] ubuntu has actually been using upstart since 6.10 [02:00] just in sysvinit compatibility mode [02:00] the major change recently was a bunch of services to upstart scripts [02:01] they're actually trying to phase out sysvinit now [02:01] qman__, hardware profile says I have SAS1064ET PCI-Express Fusion-MPT SAS - driver mptsas. I'm not sure where I'll have compatibility issues, if its saying the dirver is already loaded... [02:02] fluvvell, what I mean by compatibility is, with software RAID, you can hook your array up to any computer running any recent linux kernel and access it [02:02] whereas if your hardware controller fails, you must find another compatible one to access it [02:02] qman__: Okay, thanks. One example where there is an issue with Debian but not U-Server is using the Drizzle (MySQL derivative) PPA. It uses an Upstart script, yet Debian seems still stuck on Sysvinit. Anyway, I [02:02] I'm going to switch back. [02:02] Thanks.\ [02:02] no problem [02:03] qman__ ; yes, I've needed to do that in the past, though had failure for unrelated reasons. But with mirrored raid, all the data is on both disks [02:03] not disk failure, controller failure [02:03] with hardware raid, reading the data off the disks is impossible without a compatible controller [02:03] qman__, even with mirror array? [02:03] yes [02:04] well, theoretically possible with a mirror [02:04] in practice though you'd have to test [02:04] every manufacturer does it a little differently [02:04] they're standard SATA drives [02:04] that's not what matters [02:04] the controller still has to store RAID information on the disks [02:05] and how and where it creates the volumes [02:05] with software raid this is standard and open [02:05] but with hardware raid it isn't [02:06] a mirror should be recoverable with some analysis, even if you can't find a compatible controller, but it may not be easy [02:06] yes, well part of my trepidation over doing the hardware raid setup was not knowing. Its all in the bios but unfamiliar to me [02:06] is it real hardware raid? or fake raid? [02:06] fake raid is another story [02:06] It does seem a pity though to have a nice piece of hardware sitting there unused [02:07] since it's really just software raid, dmraid can access it even without a compatible controller [02:07] I like real hardware raid with bbc, makes writes really good [02:07] the IBM has four sata quick load trays. They all go back to the PCI card [02:07] bbc? [02:07] battery backed cache [02:07] yeah, that's some serious hardware [02:07] where you really see the performance gains [02:08] OK I'm talking sub $1K, for server and hard disks! [02:08] you can spend <1k on a server? without disks or raid? :) [02:08] my disks cost nearly that much [02:08] :-) WITH both [02:08] fluvvell, ya, software raid is your best bet [02:08] but yeah [02:09] in that price range, the hardware is unlikely to have significant performance gains [02:09] ya, my disks are going start at 3k, I'm hoping for 4k though [02:09] reliable array of inexpensive disks [02:09] to the point where the features of software raid are worth the difference [02:09] mediocer array of expensive disks :) [02:09] there's only 5 staff in the building [02:09] doesn't matter [02:10] have 7 staff [02:10] my file server is consumer grade stuff [02:10] but we have 96 300gig sas dual channel 6g drives [02:10] and it still cost more than $1k [02:11] but we are running around 80 vm's loaded mainly with mssql :( [02:11] unfortunately it's failing on me [02:11] the motherboard is shot, keeps crashing [02:11] ok just a little over $1K [02:11] motherboards seem to be one of the biggest failing points these days [02:11] it used to be psu, but now I think motherboard is worse [02:11] well, it was built on a budget [02:11] socket 939 foxconn [02:12] by the time I put two WD Blue 1Tb 7200 drives in [02:12] when I get the money to replace it, it'll be an AM3 gigabyte [02:12] I've never had one of the IBM mbs fail. All others I've had some failures. === asac_ is now known as asac [02:13] Long term, I've had heaps of gigabyte mbs fail, caps leak, weird chipset failures. [02:13] heh, I just replace the caps [02:13] they use japanese caps now [02:14] * fluvvell lacks a good extracting temp controlled solder sucker [02:14] so far, so good anyway [02:14] hey folks [02:15] after an upgrade, my box doesn't have a syslog file anymore... any idea how I can recreate it? [02:15] Patrickdk, where I have replaced caps (on a graphics card) it didn't fix the failure so I gave up. Not worth it on a $60 card :( [02:16] oh? [02:16] I have fixed 13 motherboards so far that way [02:16] I actually had a VRM fry on a TV tuner, a friend replaced it and it's good as new [02:16] I guess the caps leak might have led to failures elsewhere. [02:16] but for graphics cards I probably wouldn't bother [02:16] most of the motherboard had >13 dead caps [02:17] SpaceBass, which file are you referring to? [02:17] /var/log/syslog.log [02:17] * fluvvell better go [02:17] that's pretty strange, do you still have the other log files, messages, dmesg, kern, auth? [02:18] yep [02:18] and it's logging new data to them? [02:19] just checked, yes [02:19] I haven't run into that problem, I've upgraded hardy servers directly and a jaunty server -> karmic -> lucid [02:20] and on my systems it's /var/log/syslog, no .log at the end [02:20] likewise, never seen it myself [02:20] is it running sysklogd or rsyslogd? [02:20] qman__, your right, it should be /var/log/syslog [02:20] syslog 616 1.7 0.0 36472 1256 ? Sl Oct24 1113:04 rsyslogd -c4 [02:22] well, rsyslog uses /etc/rsyslog.conf and /etc/rsyslog.d/*.conf [02:23] thanks, I'll check them [02:23] my jaunty upgrade has both of them on it for some reason, rsyslogd is running but sysklogd still has cron files and init scripts [02:25] qman__, can you check owner and perms on your syslog file? [02:25] -rw-r----- 1 syslog adm 1007K 2010-12-06 21:25 /var/log/syslog [02:26] thanks [02:26] going to try the ole sudo touch /var/log/syslog [02:40] Hello everyone, can someone let me know if I have everything correct to ssh to my ssh server? [02:41] I installed sshd on my server and forwarded my selected ports from my router to my statically addressed server === hansin__ is now known as hansin [06:03] hello [06:04] I was wondering how do I figure out how much of a server I need as a virtual server host? for my other servers [06:06] lwizardl: I really don't know, but I am sure you need to determine first how many guests you want to run, what resources each of there need, and then what overhead exists on the host server. My guess is that you can "overprovision" the guests based on some formula, but don't know what the rule of thumb is. [06:10] hmm ok [06:22] what was the latest version having python2.5 as default python? [06:41] rmadison will tell you [06:57] New bug: #686343 in postfix (main) "package postfix 2.6.5-3 failed to install/upgrade:" [Undecided,New] https://launchpad.net/bugs/686343 [07:18] twb, found it, it was karmic, in lucid they dropped p2.5 [07:49] Why is /etc/init/ssh.conf "stop on runlevel S" [07:49] Surely it should be "stop on runlevel [06]" [07:51] Yep === jj-afk is now known as jjohansen [08:25] fluvvell: so if you see both disks, then it's not hardware controller [08:30] ivoks, you missed the part where I said I never set up the hardware controller during the installation. [08:31] ivoks: there are some amazingly shit controllers that IBM ship which present as separate disks to normal linux kernels [08:31] IIRC /dev/ccmra01 or something like that [08:32] fluvvell: could be; i was half sleeping at 2AM [08:33] twb: whenever someone says 'hardware on board controller', i just look on the other side [09:06] hey [09:07] anyone know of a place where I can find a list of what all games have a dedicate linux server option for hosting your own lan servers [09:11] update-motd provides nothing but an empty directory [09:11] What *invoked* update-motd? [09:12] pam_motd.so [09:12] Silly me for thinking it was generated DAILY [09:41] Hi all, I just got a new vps with ubuntu, but it doesnt seem to have tab complete enabled, could someone direct me how to turn tab complete on? [09:41] jussi: . /etc/bash_completion [09:41] (Note the leading dot.) [09:42] well I guess this is why its borked... [09:42] jussi@vps323:~$ . /etc/bash_completion [09:42] -bash: /etc/bash_completion: No such file or directory [09:42] Then you probably need to install it [09:42] That or you are not actually looking at ubuntu [09:44] jussi@vps323:~$ lsb_release -a [09:44] Distributor ID: Ubuntu [09:44] Description: Ubuntu 10.04.1 LTS [09:45] and so, you were right, it wasnt installed. thanks" [09:46] right, so one more quick thing, Im migrating servers now, how do I pull mysql DB's out and plug them into the new server? [09:47] jussi: Google for "Wordpress database backup restore" [09:47] tonyyarusso: ok :D (its not for wordpress, but still I guess its the same) [09:47] first two links [09:47] why don't you just copy the datafiles, jussi? [09:47] jussi: It's just that the WordPress people have a pretty good no-nonsense writeup on the matter. [09:47] al: because I have no idea I can! [09:47] well, you can [09:48] where are they likely to be located? [09:48] /var/lib/mysql? [09:48] maybe /var/db [09:48] ooh! [09:51] hrrr... someone remind me of the tar command that actually makes a tar.gz file? my combinations fail... [09:52] tar cvzf your.tar.gz stuff/ to/ back/ up/ [09:52] tar cz...bah [09:52] or, well, czf will do ;) [09:52] create, zip, file [09:53] but for server migrations i find rsync -az --delete much more convenient [09:54] (resp. without the --delete ;) [09:58] Im still having issues with it downloading the index.php not loading it - any ideas? [10:00] al: the z is actually for gzip [10:00] jussi: s/it/something useful/ [10:01] g [10:01] twb, yea, so? [10:01] You said zip, is all [10:01] twb, which is still correct [10:01] zip and gzip both use the Lempel-Ziv algorithm, but they are not interachangable. [10:02] i didn't mean to imply that [10:02] Okey dokey. === ihCiFriS is now known as SirFiChi [10:42] bug 588993 [10:42] Launchpad bug 588993 in linux "mcelog does not work due to lack of kernel support" [Undecided,New] https://launchpad.net/bugs/588993 [10:49] * SpamapS curses the baby for waking him up at 2am [10:51] :) [11:00] hi guys where do i can edit the iptables rules on my ubuntu server..? any idea where is it localted like on centos its localted on---> .etc/sysconfig/iptables <-------------for ou ubuntu server where is it...? [11:02] any idea guys..? [11:04] ruben23: How did you configure your firewall untill now? [11:05] i just put it on my /etc/rc.local/ teh ruesl i set like masquerade since this box is set to be router. [11:06] SpamapS: that's what I'd call a disproportionate response [11:06] Jeeves_:..? [11:16] ruben23: So, just keep editing that? [11:16] Or use ufw [11:17] iptables rules should be loaded during rcS, not rc.local. [11:17] Otherwise, you are in "allow all" mode for the entire init process. [11:18] Note that (usually) iptables rules can be loaded before any network devices exist. [11:19] Jeeves_: how to used ufw...? on ubuntu-server...? [11:19] ruben23: https://help.ubuntu.com/community/UFW [11:20] Blergh [11:20] diff -u <(w3m -dump https://help.ubuntu.com/10.04/serverguide/C/kerberos-ldap.html) <(w3m -dump https://help.ubuntu.com/10.10/serverguide/C/kerberos-ldap.html) [11:20] ...zero changes to that section in six months. [11:22] Jeeves_: but there is no config file that i can put rules and edit directly on ufw..? [11:22] ruben23: See /etc/ufw [11:32] ruben23: if you are capable of writing complex netfilter rules, you probably don't want ufw [11:33] http://paste.debian.net/101737/ is such a firewall I set up, using the iptables-persistent package. [11:33] Oops, the first file is http://paste.debian.net/101738/ [11:34] twb: this is the script of the iptables..? - it just im more compatible like editing the iptables config file itself- adding rules on it. [11:35] ruben23: I don't understand the question. [11:38] twb: sorry , i sued to do firewall with centos and i just edit the file iptables and add rules in there and apply whihc is more simple- its juts im not familiar how is it with debian. [11:38] or ubuntu server.. [12:05] yo [12:06] I just made "apt-get upgrade" on 2.6.32 server [12:06] upgrade had grub-pc in it, but rootfs is on raid1 .. [12:07] should I worry that it won't boot? === pthsWork_ is now known as pthswork === jjohansen is now known as jj-afk [13:09] zumu nope [13:35] patdk-wk: but it asked where to install boot loader [13:36] yep, install it to the root of the raid [13:36] then it will get written to both drives, and your good [13:36] the choice was to install to sda or sdb.. [13:37] I killed that post-install trigger [13:37] guess your using softraid, or it would be so complicated [13:38] mine has 3 options /dev/sda, /dev/sdb, /dev/mapper/...... [13:45] ruben23: there is a file you can edit directly with ufw. they are in /etc/ufw/*.rules. you probably want /etc/ufw/before.rules. see 'man ufw' and 'man ufw-framework' for details [13:46] ruben23: but you are right, there is not one firewall system for Debian. ufw is on all Ubuntu installations, but it is opt in and you still have the choice of everything that is in Debian (or writing your own) [13:48] how can I handle https://bbs.archlinux.org/viewtopic.php?pid=606993 on ubuntu-server machine ? [13:51] New bug: #676508 in samba (main) "Lucid won't share printers via samba" [Undecided,Incomplete] https://launchpad.net/bugs/676508 [14:15] hi, i've got a stuck mysqld, anyone know how to fix this? I can't reboot [14:39] since i am not familiar with how ubuntu and esp lts versions deal with package updates... [14:40] how is it decided if a pkg is updated or not? [14:49] aliverius: you want to read about the SRU (stable release update process) on wiki.ubuntu.com [14:49] aliverius: besides SRU there are also security updates [14:51] ok [14:57] so it seems that if an application was accepted in the repos when it was at an early stage of its development, [14:58] and now there is a release with more features that actually makes it more useful. then i will have to wait for another ubuntu release... [15:00] except,of course, if i build a package myself or use a package from another ubuntu release [15:01] aliverius: whats your question? [15:02] [16:38:58] how is it decided if a pkg is updated or not? [15:03] i see quassel-core irc client is stuck at 0.6.1 [15:03] 0.7.1 has important security additions (not a security update) [15:04] and in the end i am wondering how i can use the latest release [15:07] I wan to configure samba server in my office. In our office their is 4 department like Sales, Marketing, Data-base, Finance. There are 25 users in our office and have to add those users in their respective departments. But here my question is i have to give different permission for particular users in department. So plz. help me to configure this! [15:08] aliverius: an application's major version does not change in the course of a release's lifetime [15:08] !info quassel-core [15:08] quassel-core (source: quassel): distributed, KDE/Qt-based IRC client - core/server component. In component universe, is optional. Version 0.7.1-0ubuntu1 (maverick), package size 270 kB, installed size 1068 kB [15:09] !info quassel-core lucid [15:09] quassel-core (source: quassel): distributed, KDE/Qt-based IRC client - core/server component. In component universe, is optional. Version 0.6.1-0ubuntu1.1 (lucid), package size 261 kB, installed size 1028 kB [15:09] aliverius: so use maverick [15:10] is any buddy can help regarding samba (acl) [15:10] i will use maverick's quassel pkg. i chose lucid cause it is an LTS afterall! [15:13] or can i use the source pkg and build it on lucid? dependency wise it should be feasible, but i am comming from the archlinux world so i dont know how packages work here! [15:14] aliverius: yes, you can build your own package [15:14] can i just download a buildscript and run it? [15:15] aliverius: no. it's more involved. you can either build an actual .deb file or use the PPA system (send changed source and build info to launchpad) [15:16] aliverius: you will need to do some reading [15:16] ok [15:16] aliverius: i would say that PPA is easiest [15:17] aliverius: as there are multiple ways/tools to build a .deb (confusing) [15:17] aliverius: see #launchpad for LP-related questions [15:18] ok ty. i will do some research 1st [15:22] New bug: #686607 in openssh (main) "ssh client should mention ssh-keygen on mismatched keys" [Undecided,New] https://launchpad.net/bugs/686607 [15:30] I've just installed ubuntu-server to a dell poweredge and all it's running is samba. What else can I run? [15:31] JoeyJoeJo: what release did you install? [15:31] 10.04 [15:31] JoeyJoeJo: here: https://help.ubuntu.com/10.04/serverguide/C/index.html [15:35] pmatulis: Thanks, that was a great link [15:35] JoeyJoeJo: you're welcome [15:54] I'm having a bit of trouble configuring the DHCP server in Ubuntu 10.04. Specifically, PXE booting. [15:55] I have a set of host sections, each specifying a filename. The config worked in Ubuntu 8.04, but isn't working for devices using the Intel Boot Agent on 10.04 [15:56] It seems that the file and sname don't get set in the response if the DHCPDISCOVER provides a Parameter Request List. [15:57] I've tried setting option bootfile-name in the host sections, but this doesn't work - it only seems to work as a global option. Any ideas? [15:57] Hey jono [15:58] hey MWelchUK_work [15:58] I assume the weather is a bit warmer with you :-) === xfaf is now known as zul [16:07] New bug: #686627 in samba (main) "Samba server crashes on file read." [Undecided,New] https://launchpad.net/bugs/686627 [16:12] JamesPage: hey, can you join us in #ubuntu-meeting? [16:13] kirkland: yep - just seen the time... === jj-afk is now known as jjohansen [16:45] I have an old computer that I want to setup as server and play about with it while in university [16:46] I'm using dyndns to use a free domain name and point that to my router which will point to my server [16:46] is there a way to setup subdomains so that I can have different websites on each running on the server? [17:21] i've just installed 10.04.1 on a system with 2 disks creating software raid. I created 3 raid1 MD devices in the installer. i formatted md0(/), md1(/var) and left md2 alone so that i could play with it later. when i do fdisk -l now, i don't see just /dev/md2, i get md2p1 md2p2 and md2p3. what are they? http://pastebin.com/8seZdjWr [17:38] kirkland: still around? [17:39] RoAkSoAx: in a meeting [17:39] kirkland: ok. no worries then [17:40] hm... pbpool 514K 97.2T 66.1K /pbpool [17:40] * RoyK has room for some pr0n [17:42] hi all , i installed a LAMP server yesterday but i'm new into it and i was wondering where to find the folder to put your web pages in ? === jeremy is now known as Guest54520 === Guest54520 is now known as jeremyA [17:46] New bug: #686671 in openssh (main) "ssh-copy-id assumes $HOME" [Undecided,New] https://launchpad.net/bugs/686671 [17:46] hello. I've recently upgraded from 8.04.01 LTS to 10.04.01 LTS. I'm experiencing hard hangs -- which is new. This is a server running 2.6.32-26-server, without X started. I do use virt-manager over ssh-tunneled X. Nothing is logged in /var/log/messages or /var/log/kern.log [17:47] amd64 architecture, 8gb of ram. SATA storage in softraid 1 setup. [17:47] dual-core athlon X2 5400+. [17:47] where should I start looking? [17:50] I can induce hard system hangs predictably by installing an OS on a virtual machine -- this affects VirtualBox and KVM both (I switched to KVM thinking VBox was the culprit) [17:51] dmesg ? [17:51] nothing shown [17:51] just the standard iptables kernel logging bits. [17:51] hardware could fail at all times [17:52] I'd not discard hardware so fast [17:53] I ran the identical hardware quite hard with 8.04.01 LTS for several years -- running both vmware server 1.0.6 and VirtualBox. This never happened before. [17:53] which is not to say it can't be hardware. [17:58] since nothing is getting logged to dmesg, any tips for isolating the hardware? [17:59] memtest + cpuburn [17:59] Wh1teL0tus: /var/www/ [17:59] doesn't hurts to turn off the machine for half an hour to test it [18:00] roger. I'll try cpuburn now, then rebooted into memtest this afternoon [18:00] cokegen: I somehow think the machine is hard to test while it's off :þ [18:01] * RoyK ducks [18:02] RoyK, :D [18:02] I have my methods ... [18:03] jeremyA, I'm booting a system rescue cd to see if it actually has cpuburn in it [18:03] thx [18:04] * RoyK just booked a long weekend in Reykjavík to thaw a bit [18:06] mprime could be another option [18:10] cpuburn has run for 8 minutes now, and temperature on the cpu is stable at 32C [18:12] what is exactly what you define as a "hard hang" man ? [18:12] video goes blank. keyboard mouse unresponsive. system no longer responds to pings or any network traffic [18:13] tried noacpi ? [18:13] and that kind of parameters booting the kernel ? [18:13] I have not yet tried noacpi. I can give that a shot. [18:14] * jeremyA drops off channel to reboot the gateway (which is the server in question) [18:23] jeremyA tried something already [18:23] ? [18:24] rebooted with noacpi in place, I thought.... [18:24] shouldn't the "noacpi" show up in /proc/cmdline then? [18:24] I think it should [18:25] must not have taken it. better go plug a monitor into this and force it from the grub command line. [18:25] bbiab [18:25] k [18:25] ssh-keygen -t rsa -C "tekkub@gmail.com" [18:26] [18:26] aka [18:26] jeremyA, yes it should (confirmed) [18:29] thanks mpavel ! [18:29] yep, acpi SHOULD show up in /proc/cmdline [18:29] it does now [18:30] yep [18:32] jeremyA, acpi=off could be too [18:32] neither were there, I must not've updated grub. [18:32] hello [18:32] I'd search the kernel docs for the kernel version you have there [18:33] anything in particular I should be looking for, cokegen? [18:33] I have a server, beyond-sight.com [18:33] when I drop off next time, it'll be due to server crash... [18:34] and I have utterly no idea how to configure webpage hosting for multiple web pages on the same server, other.beyond-sight.com versus beyond-sight.com [18:34] k [18:34] hopefully not ... [18:34] Zac: name-based virtual hosting! [18:35] ZacLnxNewb: You'd need to setup virtual hosts in your apache config and on your dns records. [18:35] when I get back from lunch, I can help you with that ZacLnxNewb [18:35] but someone here will probably beat me to it [18:35] jeremyA, I think most of the commands are there when you boot an install [18:35] jeremyA: Awesome. :D [18:35] noacpi is one and there could be others of relevance [18:35] just saying that if I were you I'd try those parameters ... [18:36] Pici: DNS records how? I have a DNS updater, I need to add that to update the dns network? [18:36] Pici: and then Apache config for name based virtual hosts? [18:38] does anyone know of a good guide on how to do name based virtual hosts? [18:39] i dont knwo what that would mean. "name based virtual hosts" [18:39] ZacLnxNewb: You'll need to setup a new A record for the subdomain. [18:39] oh.. apache. [18:40] sorry, i was thinking the other type of "virtual" (lxc/kvm/xen) [18:41] ZacLnxNewb: And then something like the following in your apache site configruation: http://paste.ubuntu.com/540727/ [18:43] some sample configs for you, ZacLnxNewb, at http://ccis2122.linux-classes.com/week12/ [18:43] Thank you [18:43] ZacLnxNewb: I guess you could use a CNAME instead of an A record if your subdomain is being served off of the same IP as the main domain. [18:43] jeremyA: Pici I'm trying to figure out how to make a new A record... [18:43] Pici: Same IP, same server hosting two web sites. :p [18:44] Pici: is there a way to do that through a free domain from dyndns? [18:44] mpavel: I'm really not sure, but I'd guess no. [18:44] probably that's why I wasn't able to do it so far :) [18:45] it should work with users (maybe?) [18:45] i couldn't get php scripts to execute though like that - but it could've been a php thing [18:45] mpavel: I'm just thinking out loud here, but you might be able to setup a new virtualhost for a different dyndns domain that points to your same IP> [18:46] hmm [18:46] Pici: never thought of that [18:48] Hi. Is there a trend about grub and xen fuckup in latest days? [18:48] ZacLnxNewb: http://ccis2122.linux-classes.com/week3/ [18:48] my lecture on Bind [18:48] sorry the notes aren't more explanatory [18:48] jeremyA: So I think I've set up the A records, subdomains with "a record" settings at the name hosting site [18:49] !language | elnur [18:49] elnur: Please watch your language and topic to help keep this channel family-friendly, polite, and professional.. [18:49] jeremyA: my guess is I need to set the DNS updater to update those A records to point to my server's ip addrtess? [18:49] * Hi. Is there a trend about grub and xen problem in the latest days? [18:49] ZacLnxNewb: Indeed. [18:49] what would be the best solution to have multiple websites on same server? [18:50] That's currently what I'm tackling [18:50] would the easiest thing to do just be that I have a SITE_PATH variable in php and put websites in sub directories? [18:50] mpavel: ^ [18:50] ZacLnxNewb: I thought so :) [18:50] ZacLnxNewb: me too ... for a few weeks now [18:51] mpavel: PHP does have that, but I think there's something that's cleaner and easier, and less hacky, hopefully. [18:51] ZacLnxNewb: I have one server (old computer) to play with and would like to setup multiple websites [18:51] Hi, I was thinking of using amazons S3 service for server backups, what do you guys think about this? [18:51] ZacLnxNewb: what do you think that is? [18:51] mpavel: Same [18:51] hi all [18:51] Using Apache's virtualhosts is really easy as long as you can easily change your dns records. [18:51] i have a good question for you [18:51] I have always used dedicated boxes and setup incremental rsync scripts to backup my data to the box. [18:52] So this amazon cloud thing is very living on the edge for me, just wanted to get some input. [18:52] s/is/are/ [18:52] i am using ubuntu 10.04 server for proxy with squid + dansguardian everything fine except i need ncsa auth and i am unable to make it working and i have already tried most of the how to on the net any idea ?? [18:53] Pici: I'm just thinking (i'm very unexperienced in servers stuff) that working with the dns and apache vhosts would be much easier if I'd have a full domain name [18:53] Pici: and a static IP address :) [18:53] mpavel: It would indeed. [18:53] i0nic, S3 just works [18:53] what about redundancy [18:54] ? [18:54] they handle it [18:54] you don't have to worry about your data [18:54] uh [18:54] that's with S3 [18:54] EC2 could have more failures [18:54] but im essentially on a cloud [18:54] so would i need to encrypt my data? [18:54] but haven't seen one myself yet [18:55] I think S3 has something regarding that [18:55] okay [18:55] anyway I'd recommend to encrypt and upload and forget about any problems [18:55] are large enterprises adopting the cloud as a backup solution? [18:55] ZacNwbLnx: yes [18:56] amazon recently made available a new API to work with their services [18:56] had a friend that was playing with it but I can't say much about that [18:56] apparently works like a charm [18:57] http://paste.ubuntu.com/540735/ -- anyone knows how to solve this? [18:58] This 'ignoring' stuff shouldn't be there, I guess. [19:00] cokegen: looks like noacpi MIGHT have done it. Just installed a VM successfully [19:01] Pici ZacLnxNewb: I will give another try to users approach [19:01] you can basically have your.free.domain/~user/ [19:01] and I was thinking to create different users for each website and access it like that [19:02] ZacLnxWeb: the server at linux-classes.com actually has several names [19:02] mpavel: Setup mod_userdir: http://httpd.apache.org/docs/2.2/howto/public_html.html [19:02] ZacLnxWeb: I have multiple CNAMEs and A Records pointing to it's IP [19:02] Pici: exactly :) [19:02] ZacLnxWeb: then I just map each name to a different dir using vhosts [19:03] Pici: jeremyA I'm setting up DDclient to update the A records. [19:04] Pici: jeremyA I appreciate your help so far. :D [19:04] jeremyA, good thing to hear then [19:04] I had only one or two machines in my life that required noacpi ... [19:04] Pici: any idea if that solution would stop php scripts from running? [19:05] mpavel: It shouldn't. [19:05] Pici: or would there be a need to alter something in php.ini ? [19:05] if for example the user directories are in /home/~user1/ /home/~user2/ and php is not set to execute scripts from /home/* [19:05] or something ... just thinking :-/ [19:06] mpavel: But remember that www-data would need to be able to access the php files, so you'll need to make sure that is the case. [19:07] so include each user in the www-data group [19:07] mpavel: Thats one way to do it. [19:07] Pici: that's the only way I know. but I can search online for alternatives [19:08] mpavel: No, thats a fine way (in my opinion), but there are a whole bunch of options on how you'd want to do this depending on how restrictive you want your security policy to be. [19:09] cokegen: yeah, this machine didn't need noacpi under 8.04.01, but new kernels == new features, new problems. At least I'm off vmware server and virtualbox now [19:10] Pici: cool. not really interested in security right now for this kind of setup. i'm just looking for easier ways to setup a working testing/playing-about environment for some projects [19:10] sure ... a bit of testing is due when you switch versions [19:12] Pici: thanks for all your help! [19:13] anyone using iptables with bridged traffic? [19:13] I'm getting a lot of logs like this: [19:13] Dec 7 13:13:49 localhost kernel: [ 2791.493463] IN=br0 OUT=br0 PHYSIN=vnet0 PHYSOUT=eth0 SRC=192.168.15.17 DST=224.0.0.251 LEN=115 TOS=0x00 PREC=0x00 TTL=255 ID=0 DF PROTO=UDP SPT=5353 DPT=5353 LEN=95 [19:14] my bridge device is br0, the physical device is eth0, and I want my LAN to be able to talk to my virtual machines as if they were on the same network segment [19:14] (like they used to be on vmware) [19:15] jeremyA, the other day I was here and a guy solved his problems with ebtables (which I didn't know it existed) [19:15] okay, cool, thanks [19:16] to work with bridged stuff like you [19:16] * jeremyA nods [19:16] just saying you should look into that [19:16] I've been meaning to learn ebtables for about 9 years now [19:16] googling now [19:18] never needed to work with bridges but it's a must when working with all that virtualized stuff [19:19] have I mentioned I dislike virtualization in general? too much extra work ;) [19:20] keeps the electrical bill lower, tho, I guess [19:20] have to buy a VT-x capable processor [19:20] they're sub-$100 now. [19:20] :) [19:20] want to try how well it runs win [19:21] not here (argentina) [19:21] oh, I bet. [19:24] jeremyA: Pici I'm having trouble adding servers to ddclient [19:26] ZacLnxNewb: I use ipupdate.pl for freedns.afraid.org, or adjust the DNS manually, I'm afraid :( [19:33] some of you well knoe squid+dansguardian config ? [19:33] sorry, guillaume, I know nothing about that [19:33] lol [19:34] thanks for answering [19:34] it seem to be hard to find pepole who know [19:44] bridging with kvm needs no ebtables, only iptables: iptables -I FORWARD -i br0 -o br0 -j ACCEPT where br0 is your bridge device [19:45] * RoyK books a trip to Reykjavík to thaw up a bit [20:31] I really need to get this cpu fan under control, the heatsink is stone cold, but the fan constantly speeds up and slows down. sensors is alleging that fans are at 0RPM. pwmconfig alludes to increasing the fan divisors, I have no idea what that is and I cant find the doc [20:32] ok found the doc. [20:43] * RoyK hands fluvvell a screwdriver [20:43] he he, disconnect the fan? [20:46] well, you want to make sure it's all PWM equipment, I've got some older stuff that was pre-PWM and is not compatible [20:47] qman__, na its brand new - four wire fan to cpu. [20:47] ok [20:48] ive found the fan divisor setting, I think, but pwmconfig still finds current speed of 0 for all fans [20:48] * fluvvell is wondering where to find hwmon0/device/pwm1 ? [20:49] weird. Now its all quiet! [20:50] * RoyK takes his screwdriver back [20:52] * fluvvell frequently leaves screwdrivers behind clients servers and finds them on later visits [20:53] fluvvell: the leftover screws goes into the pocket, eh? [20:55] RoyK, I have dozens of little snap lock bags with screw selections in them :) and bitz containers on the window sill! [20:56] I'm trying to setup key authentication for ssh [20:56] and it keeps asking for the password [20:56] what am I doing wrong? [20:56] i0nic: well, I guess that depends on what you are doing..... [20:59] RoyK: is there a program to shoot my sshd_config to a pastebin program? does ubuntu provide one of thes in the repos? [21:03] !info pastebinit | i0nic [21:03] i0nic: pastebinit (source: pastebinit): command-line pastebin client. In component universe, is optional. Version 1.1-2 (maverick), package size 22 kB, installed size 404 kB [21:03] ah thanks [21:03] here is a copy of my sshd_config [21:04] http://pastebin.ubuntu.com/540785/ [21:04] not sure why its still asking for a password [21:05] i0nic: do you want to disable password based login completely? [21:06] you need to cat the public key to the machine's ~/.ssh/authorized_keys2 [21:06] and then provide ssh with the key [21:06] when connecting I mean [21:06] like this [21:07] guntbert: yes [21:07] to roots /.ssh/authorized_keys2 ? [21:07] ssh -p 22 -i /path-to-private-key/machine-key root@111.222.333.444 [21:08] i put the public key in the users .ssh/ [21:08] and you could generate your keys like this [21:08] that should be all it needs? [21:08] i put the public key in the users .ssh/ [21:08] ssh-keygen -t rsa -b 4096 -f /path-to-private-key/machine-key [21:08] you get 2 files with that last command [21:09] one is the private key and the other the public key (.pub) [21:09] that .pub you need to cat to the target machine's authorized_keys2 [21:09] i0nic, hope I was clear enough ;-) [21:09] i0nic: it is .ssh/authorized_keys by now (no 2), does key based login work at all or does it ask for password anyway? [21:10] no, just connect [21:10] guntbert: it asks for the password [21:10] but you have to provide ssh with your identity (private key) [21:10] guntbert: so apart from being in userhomedir/.ssh/ it also needs to be in /root/.ssh/authorized_keys ? [21:10] i0nic: listen to cokegen too [21:11] i am [21:11] im just trying to understand whats going on before i use the steps he gave me [21:11] cokegen: gotcha.. i am adding it now.. [21:12] cokegen: does it need to be in usershomedir/.ssh/ as well? the pub key? [21:12] think so [21:12] I just placed always into the /root dir [21:13] so I can't tell, but I'd expect to be for the user I'm trying to conect to [21:15] cokegen root doesnt have a .ssh dir [21:15] just create it? [21:15] create it [21:15] i0nic, it depends who you are going to log in as. Best practise would be to log in as your privileged user, and sudo any root commands. In that instance, you'd ssh-copyid to the user@host [21:15] k [21:15] yep [21:15] ssh-copyid is the best method, but if you have ssh running in a non-standard port it fails [21:16] and I don't know if it has a port parameter (last time I checked I think it hasn't) [21:16] i0nic, but on the machines where I have root login, I have removed the root password after setting up ssh keys. [21:16] probably could work with "oPort=non-standard-port-number" but I don't know [21:17] cokegen, you can setup ports for each host in your .ssh/config file [21:18] what do you mean by each host ? [21:18] the format is Host=hostname.org then next line port=# [21:19] I like to connect to IP addresses, but cool to know [21:19] eg, I've got a dozen machines I regularly ssh into, there is a Host=hostname.org entry for each of them naming the non standard port I use. [21:20] cokegen, yes but your hosts have names eventually, you could add them in your hosts file. I've got dns set up for all of them, dyndns.org for the ones on dynamic ips. [21:20] its still asking for the password, cokegen [21:20] how are you trying to connect i0nic [21:21] cokegen: ssh as a user. [21:21] ssh -i /path/key root@ip [21:21] did you cat'ed the key to authorized_keys2 ? [21:21] i did it to authorized_keys [21:21] cat keyfile >> ~/.ssh/authorized_keys2 [21:22] yah [21:22] keys2? [21:22] yep [21:22] 2 [21:22] on my machine works without the 2, but don't know why [21:22] could be keys of SSH1 ? [21:23] don't know really, but do the cat to the authorized_keys2 [21:23] cokegen: the '2' *was* necessary, they switched back since [21:23] ok, good [21:23] so, the owner of these files needs to be root? [21:24] if you're trying to connect with root, I think yes [21:24] i0nic: on the target server? yes, if you want to connect as root [21:24] cokegen, I've just set it up on a machine without half of the complexity you've suggested. [21:24] still not working [21:24] half ? share with us please [21:25] ;-) [21:25] guntbert: no im connecting with users, I just want key authentication setup. [21:25] http://www.linuxconfig.org/Passwordless_ssh gives the method [21:25] i0nic: the auth..keys file must be in .ssh of the user you want to connect as [21:26] the only pre-requisite is the same user exists on both machines [21:26] fluvvell: I didn't told him more than what that webpage says [21:26] maybe added the port parameter to some of the commands etc etc [21:26] it's the same [21:26] fluvvell: why is that? [21:27] cokegen, sorry it was guntbert [21:27] ahhh ok ;-) [21:27] guntbert, for the method shown on the linuxconfig [21:27] not in general, but it de-confuses a bit. [21:28] guntbert, ssh-copy-id copies the auth keys over [21:28] fluvvell: ok, I obviously didn't see the complete context -- ignore me please :-) [21:29] mind that ssh-copy-id doesn't works on non-standard ports [21:29] cokegen, it does if you add the hostname into your .ssh/config file. I think ip address will work as well [21:30] so what does the command ssh-copy-id do, because it works now that I've used this command? [21:30] sorry ~/.ssh/config [21:31] fluvvell: now I get it [21:31] :-) [21:31] anyway, still prefeer doing it manually [21:32] do you know a good method to manage a good number of those keys ? [21:32] i0nic, ssh-copy-id copies the public key into the authorized_keys file in one command. It does simply, what guntbert described (I think was the old way) [21:33] cokegen, its my key being copied onto the server at the other end. ssh agent allows for the revocation of keys from specific servers I believe. [21:34] so one key to rule them all ;-) [21:36] fluvvell: for administration of several servers I use just one key (with a *very good passphrase* ™ ), and I call ssh with -A for agent forwarding === SirFiChi is now known as ihCiFriS [21:40] didn't investigated that, but I will [21:41] guntbert, yes I never could get around the having to type my passphrase into my machine first when I opened a new shell. I ended up typing it in over and over, negating the passwordless access to the servers. hints? [21:42] fluvvell: usually ssh-agent is running, you can add a key any time you want with ssh-add [21:47] I would recommend that i0nic not leave a root password on the server though [21:51] Hi, how do I set up remote desktop to a computer that I only have ssh acc to? I am admin. [21:57] eriksson26: do you need a full remote desktop? or just access to X apps running on it? [22:23] ok so i have ssh-copy-id'ed my key to my server, and then tried to log in, and it still asks me for the password of my user on the server... why? [22:26] did somebody just try to answer me? 'cause my tab just closed when i got the notification... [22:31] MeltingK33board: did you copy the key to ~/.ssh/authorized_keys? [22:31] MeltingK33board: also keep in mind that the .ssh dir and its contents should not be readable by everyone, chmod -R go-rwx .ssh is a good start [22:31] yep [22:31] it is in there [22:32] I checked [22:32] ok [22:32] i will check the permissions === shennyg_ is now known as shennyg [22:38] RoyK: does my client machine need to be in the known_hosts file? === jeremy is now known as Guest93269 === Guest93269 is now known as jeremyA [22:40] cokegen: so much for noacpi doing it. Is noacpi still supported, or with kernel-2.6.32-26 should I be saying "acpi=off" ? [22:41] MeltingK33board, this discussion happened about an hour ago, have you seen http://www.linuxconfig.org/Passwordless_ssh gives the method [22:47] yeah [22:47] fluvvel: i was watching the conversation [22:54] anyone have a suggestion for a server monitoring program [22:54] for 5 servers? [22:55] how about Untangle? [22:55] they are a pretty robust solution... but perhaps not the right one for your needs [22:56] i0nic: nagios has been hugely popular for a long time now [22:57] though I believe it is forked now into something else [22:57] you can also check out the monitoring section of the Server Guide... it talks about nagios and munin [22:58] Icinga is the name [23:00] I love nagios. [23:00] I use it all the time. [23:02] Yeah, its a really nice piece of software [23:02] Icinga's just trying to modernize it a bit [23:02] the Nagios devs have kind of gone "open core" lately where all the good stuff is in the enterprise version [23:05] there is also zabbix for monitoring [23:08] SpamapS: nagios seems way intens [23:08] e [23:09] I am currently having problems resolving the ca.archive.ubuntu.com repo for apt-get [23:09] i can ping it, but it will not connect any ideas? [23:09] is it in your sources.list? [23:09] Temporary failure resolving 'ca.archive.ubuntu.com' [23:10] ah so it is a dns issue perhaps... [23:10] in the ping can you see the IP? [23:11] hmm [23:11] wont ping acutally [23:11] dragoon123: try hard setting some DNS servers in your /etc/resolv.conf file [23:11] ah [23:11] baggar11: I did that recently and restarted the networkmgr [23:12] same result :/ [23:12] so you did try setting dns servers recently? [23:12] no [23:12] ok, try that [23:12] ? [23:12] do you mean the /etc/resolve.conf? [23:12] it sounds like there is no dns for your system... yes resolve.conf [23:13] yes, like I just said I already inputted that [23:13] confused me for a sec heh [23:13] gotcha [23:13] when did it grow the extra 'e'? :P [23:13] no, it's resolv.conf [23:13] it's in /etc [23:13] i know [23:13] hehe... [23:13] can you ping IP's outside your subnet? [23:13] yea [23:13] It just wont resolve hosts [23:14] try pinging your DNS servers that you manually set in resolv.conf [23:14] works [23:14] 64 bytes from 192.168.1.1: icmp_req=6 ttl=64 time=0.303 ms [23:14] hmm [23:14] 192.168.1.1 is your DNS server? [23:15] is it broke? [23:15] nope lol, its my router [23:15] Its working fine as i am currently using my laptop with ssh conc to my server [23:16] using dhcp or static? [23:16] static [23:16] does dhcp work? [23:16] why not try useing openDNS in resolv.conf: 208.67.222.22 and 208.67.220.220 [23:16] on router yes [23:16] acutally [23:17] lemme try inputting my isp dns [23:17] sec [23:17] MeltingK33board: that's kind of what I'm getting at :) if 192.168.1.1 isn't giving out good DNS info... [23:18] nope... [23:18] MeltingK33board: opendns creates weird results sometimes (for non existing domains and for "inappropriate" ones) [23:18] is there a single cmd for restarting networkmanager w/o using ifdown & ifup? [23:18] yes [23:18] guntbert: only if you configure your network in their system [23:18] dragoon123: service networking stop/start [23:18] otherwise it is only a dns server [23:19] MeltingK33board: no, I believed that too, but then I got results for nonexisting domains, and... [23:19] yey [23:19] that did it lol [23:20] great [23:20] guntbert: interesting... good to know [23:20] guntbert: does each server need a key generated to talk to each other? there is 5 servers on the network [23:20] guntbert: i have key authentication working for users, but they cannot scp files between servers w/o passwords [23:22] dragoon123: was it your ISP DNS or using DHCP? [23:22] i0nic: ssh? you can either use the same key on all of them or generate different ones - scp works like ssh (including keys) [23:23] baggar11: I just appended my isp dns to resolv.conf [23:23] nice... glad it worked [23:23] guntbert: so i need to generate the cert on one server and use it on all? [23:24] guntbert sorry i mean key [23:25] i0nic: ssh keys are for users, so you generate it at one place (your workstation), copy the public key into all .ssh/atuhorized_keys, add that key to ssh-agent on your workstation (using ssh-add) and call ssh -A .... (to forward agent authenification) [23:56] New bug: #686805 in mysql-dfsg-5.1 (main) "package mysql-server-5.1 5.1.37-1ubuntu5.5 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/686805