[00:11] <uvirtbot`> New bug: #508190 in openldap (main) "slapo-nssov not able to write socket file" [Undecided,New] https://launchpad.net/bugs/508190
[01:10] <Edlik> how do i know for sure what numbers to put in for my address, netmask, network and everything else?
[01:27] <pting> is there a way to check the directory permissions before it's mounted? i'm basically trying to ensure the directory has permissions 000 before mounting
[01:27] <pting> ... without having to unmount it to check
[01:51] <cmwslw> i have a domain named mydomain.com and have it pointed to my main server
[01:52] <cmwslw> my main server doesn't host everything so it directs some subdomains to a home server
[01:53] <cmwslw> right now, i'm trying to get my home server to ssh into my main server, but i think it's running into problems because it's hostname or something is named mydomain.com
[01:54] <cmwslw> when i do ssh myuser@mydomain.com, it tries to log into itself
[01:54] <cmwslw> even though mydomain.com is pointed to the main server
[01:56] <henriquev> cmwslw: check your /etc/hosts
[01:59] <cmwslw> henriquev: there's a line with "127.0.0.1	localhost mydomain.com"
[01:59] <cmwslw> would that be messing it up?
[02:12] <cmwslw> just for reference, that line was the problem
[02:13] <cmwslw> changing it to a more specific subdomain fixed it
[03:41] <MTecknology> How do I kill an active connection if I know the users IP?
[03:41] <Parabola> block it in ip tables?
[03:42] <MTecknology> I tried and it doesn't seem to want to listen to me
[03:42] <MTecknology> I'm using ufw
[03:43] <MTecknology> oh.....
[03:43] <MTecknology> tcpkill host 208.107.*.*
[04:12] <MTecknology> Parabola: I'm hoping it was just a runaway process or else I'm in deep crap
[04:13] <r2q2`> Hi, has setting up an ec2 server changed since 8.10?
[04:13] <r2q2`> I mean creating an AMI.
[04:13] <MTecknology> Parabola: if came from a legit source, entered with a shared key, only thing that can do that is the backup, so either I have a very very good attacker that got around a few layers of security; or - runaway process
[04:14] <stlsaint> can i install JeOS then run openvz on top?
[04:15] <MTecknology> stlsaint: I don't see why not
[04:16] <MTecknology> stlsaint: I didn't know JeOS was still developed
[04:16] <MTecknology> !jeos
[04:17] <stlsaint> MTecknology, the iso is no longer being dev'ed but you can install jeos from earlier iso's or from ubuntu server install cd
[04:17] <stlsaint> MTecknology, have you used Xen?
[04:18] <MTecknology> stlsaint: as a client only; my proc supports it but the bios doesn't
[04:18] <stlsaint> oh, is it true that xen has issues with messing up kernel?
[04:22] <MTecknology> stlsaint: by default I don't know - on the servers I was given that run on top of xen, they set up a default kernel that was injected during boot; I had to do some things to be able to run my own kernel with the systems
[04:23] <stlsaint> MTecknology,  kk, last thing, would you have a preference for xen or openvz?
[04:23] <MTecknology> I've never heard of openvz
[04:24] <stlsaint> MTecknology, oh ok, thanks for help
[04:25] <MTecknology> stlsaint: no - sorry I couldn
[04:25] <MTecknology> 't help more
[04:25] <stlsaint> np, i was really more wondering about the JeOS thing, i know have my answers...l8er
[05:18] <stlsaint> is it not possible to install ubuntu server from usb?
[05:23] <stlsaint> i am trying to install ubuntu server hardy via usb but it wont install as its asking for a cd-rom but my server doesnt have one
[05:28] <stlsaint> any thoughts?
[05:36] <stlsaint> quite room
[05:36] <ScottK> Generally more active during the US/European work week.
[05:44] <ziesemer_> I'm having issues where dhcpd and smbd are coming up before eth0, and are binding to the loopback only.  Is there a better way of fixing this, than including service restart statements on post-up lines in /etc/network/interfaces for eth0 ?
[06:47] <uvirtbot`> New bug: #508287 in openvpn (main) "openvpn connection manager can't launch" [Undecided,New] https://launchpad.net/bugs/508287
[06:59] <usrv> Anyone: I am having issues with a 9.10 server install. Details: raided home directory with root and swap on a separate drive. When I boot I get a black screen with a blinking prompt. I think it's a grub issue because of the raid but don't know how to fix it. Does anyone have an idea how to fix it?
[07:00] <erichammond> r2q2``: I can help with your EC2 questions if you're still here.
[07:02] <jmarsden> usrv: No text on the "black screen with blinking prompt" at all?  If / is on a separate drive, /home being on RAID should not affect booting at all...
[07:03] <usrv> jmarsden: correct, no text at all with a blinking prompt. I've re-installed a couple of times now as well. i have also tried using a superGRUB disk but it complains about not being able to load the /home directory
[07:04] <usrv> "one or more mounts listed in /etc/fstab cannot be mounted" and it references /home
[07:05] <jmarsden> Even if /home was totally fried or nonexistent, if / and grub are installed on a separate non-RAID drive, you should get a GRUB screen and kernel msgs scrolling by as it boots...
[07:06] <jmarsden> So either you installed GRUB on the wrong partition, or something else is wrong here.
[07:07] <jmarsden> Can you try an install without a separate /home, ignoring the RAID drives completely, just install to the other single drive.  if that boots fine, you can set up the raid, format, mount that partition as /home, etc from the comfort of the Ubuntu server shell prompt.
[07:07] <usrv> hmm. Well I wasn't given an option to install grub in another place. I made sure / was flagged as bootable. I have also checked my bios settings to make sure it's listed as the drive to boot from.
[07:08] <usrv> yea I could try that. I was hoping to not have to setup raid from cmd prompt but I guess there's a first time for everything.
[07:10] <jmarsden> There's lots of ways to proceed.  You could try disconnecting the RAID drives completely and "just as a test" installing onto the single drive, just to prove that the system then boots.  Then add the two RAID drives, install but do not use them.  Then try the full blown "install and tell the install about the two RAID (I assume software RAID1) drives for /home" again...
[07:10] <freaky[t]> hi all. is there any good tutorial for setting up a mail server (smtp&pop3&imap&TLS) with virtual mailboxes for domains etc. and with a good administration software (no shell scripts for adding new users etc. but instead a web interface where I can manage accounts and domains)?
[07:12] <usrv> jmarsden: 4 drives in software raid 5. I think if I unplug them it's still going to try to find /home
[07:12] <usrv> I'll try reinstalling without the fancyness and then doing the raid from the cmd prompt
[07:13] <jmarsden> usrv: OK :)
[07:25] <j416_web_> I have a local CA and a few signed certificates for different purposes (http, smtp, imap). Where would be the best place to put the ca cert and my server certs? /etc/ssl/ looks rather congested...
[07:26] <j416_web_> I want it structured, but at the same time I don't want to be in the way for other things (say I install or update some package)
[07:30] <jmarsden> j416_web_: You could mkdir /etc/ssl/local/  and put your stuff under there, structured any way you want :)  Or you could use /usr/local/etc/ssl if you want to think of these as "local" additions to the system.
[07:31] <j416_web_> jmarsden: thank you!
[07:31] <jmarsden> j416_web_: You're welcome.
[07:32] <j416_web_> not entirely sure what a "local" addition would be
[07:32] <j416_web_> but I might just pick any of those two at random
[07:32] <j416_web_> this is a server which will be both web and mail server
[07:32] <usrv> @jmarsden: ok this isn't cool. same black screen with blinking prompt and no text.
[07:33] <jmarsden> usrv: I *told* you something else was causing the issue, not having /home on a RAID array...
[07:33] <jmarsden> at least we have now confirmed this theory.
[07:33] <usrv> you were right
[07:33] <j416_web_> jmarsden: I have the CA on my local machine (work laptop) to sign anything I need, then I copy the certs to where they are needed. Right now (and for some future to come), there is only this one server.
[07:34] <jmarsden> usrv: OK, so now maybe try it with all the other drives (teh RAID drives) disconnected completely, just one drive in the machine... and see if that will install and boot.
[07:34] <freaky[t]> hi all. is there any good tutorial for setting up a mail server (smtp&pop3&imap&TLS) with virtual mailboxes for domains etc. and with a good administration software (no shell scripts for adding new users etc. but instead a web interface where I can manage accounts and domains)?
[07:34] <jmarsden> j416_web_: They it really doesn't matter which of my two ideas you pick, use whichever feels more logical to you, so you will remember where you put the files :)
[07:35] <j416_web_> jmarsden: thank you. :)  Both feel just as logical.. which would you pick?
[07:35] <jmarsden> I'd pick the first one /etc/ssl/local/  for no reason i can really articulate...
[07:35] <j416_web_> ok! :)
[07:36] <j416_web_> I'll use that then. Thank you very much!
[07:36] <jmarsden> j416_web_: You're welcome.
[07:37] <usrv> jmarsden: unplugged the raid disks and reinstalling.
[07:37] <jmarsden> freaky[t]: There are all sorts of "HOWTO" docs that claim to do that but the usually involve unsupported software such as webmin and odd ways of doing things... so my personal answer, given the "good" qualifier to "tutorial", would be "No, none that I know of that are good".
[07:40] <freaky[t]> hm :(
[07:40] <freaky[t]> ok thank you
[07:41] <freaky[t]> ill ask later again maybe someone knows something good ;D
[07:41] <freaky[t]> !mailserver
[07:43] <jmarsden> freaky[t]: For a basic working mailserver with no virtualdomains, just install dovecot-postfix   and it "just works".  But to become an ISP hosting multiple domains, you need to do more work :)
[07:43] <freaky[t]> yea i need a tutorial ;D
[07:45] <jmarsden> freaky[t]: No, first you need to learn more about networking and Ubuntu and mailservers and Apache and all the other pieces, and then you can work on how to fit them together to suit your needs... "a tutorial" that you follow blidly but do not understand why it does what it does will get you in trouble later on.
[07:46] <freaky[t]> that'd be too much work to do for just a mail server that works
[07:46] <freaky[t]> i dont want to read thousand of docs
[07:46] <freaky[t]> if there is a good tutorial out that can help me
[07:46] <freaky[t]> also i can get out of most of troubles by analyzing error messages
[07:56] <usrv> jmarsden: alright. installed and booted.
[07:56] <usrv> now I should plug in the other drives and reboot?
[07:57] <jmarsden> usrv: That worked.  OK.  Yes, sure.  Let's see what happens :)
[07:57] <jmarsden> usrv: BTW it is midnight here, I may not be able to stick with you for hours more troubleshooting of this right now...
[07:58] <usrv> no worries. It's 1am here. I appreciate you're help though.
[08:02] <usrv> alright, booted with the disks plugged in
[08:02] <usrv> now I just have to setup the raid
[09:05] <usrv> anyone have experience with mdadm and putting 4 or more drives in raid5?
[13:11] <uvirtbot`> New bug: #508376 in bacula (main) "bacula metapackage not registered" [Undecided,New] https://launchpad.net/bugs/508376
[13:41] <uvirtbot`> New bug: #508382 in bacula (main) "bconsole does not connect to bacula-director" [Undecided,New] https://launchpad.net/bugs/508382
[14:17] <uvirtbot`> New bug: #508394 in bacula (main) "bat: symbol lookup error" [Undecided,New] https://launchpad.net/bugs/508394
[15:32] <Guest69935> is anyone aware how well Dell RAID cards (perc) are supported on ubuntu server?
[15:39] <ScottK> I understand they are well supported, but I don't have such a box myself, so no guarantees.
[15:48] <Guest69935> ok thanks :)
[16:01] <tarski> can i run the ubuntu server edition on an older celeron from 2003
[16:02] <Guest69935> it should be fine, especially as a testing server or something.  depends on the load you're going to put on it really.  i'm running my home server on it on a p3 450Mhz :)
[16:02] <tarski> so i can use the 64 bit version
[16:03] <Guest69935> probably not
[16:03] <tarski> didnt think so
[16:03] <tarski> i think celerons are 32bit
[16:03] <Guest69935> it'll be a 32-bit chip, so go for that one
[16:03] <tarski> thanks :)
[16:04] <Guest69935> np
[16:04] <tarski> oh one more thing, 9.10 or 8.04
[16:05] <tarski> im going to put ruby 1.9.1 on it and make it into an RoR dev server
[16:05] <Guest69935> depends, if you want long-term security updates without having to worry about upgrading every 18 months then get the LTS, if you want bleeding edge features go for the latest
[16:05] <Guest69935> i normally go for the LTS unless I specificly need something in the later versions
[16:05] <tarski> cool
[16:06] <tarski> ya thats what i will grab
[16:42] <Edlik> :-/I am trying to install ubuntu server with this tutorial... http://www.howtoforge.com/perfect-server-ubuntu-9.10-ispconfig-3-p3 ...Now I am stuck on #8, when I aptitude update it is not able to connect, it goes down the list of sources fine but no connections. Any suggestions?
[16:57] <Guest69935> is you network config complete?  i.e. do you have a working internet connection
[17:04] <Edlik> internet worked under DHCP, when i changed to static I dont seem to be able to get out. I am new to this, so i might not have my addressing numbers correct
[17:05] <Guest69935> yeah make sure your internet connection is working first - you should be able to ping something on the internet before aptitude will be able to update
[17:06] <Guest69935> if you're behind a proxy you'll need to enter those too
[17:08] <Edlik> this is at my home, i tried to ping google, says unknown host
[17:10] <Guest69935> ah, you'll need to enter your nameservers then
[17:10] <Guest69935> have you put the IP addresses of your DNS servers in /etc/resolv.conf?
[17:10] <Guest69935> also i assume you didn't just go 'ping google', but actually went 'ping www.google.com'?
[17:12] <Guest69935> anyway good luck, afraid i have to go now
[17:15] <Edlik> how do i find the IP addresses of my DNS servers?
[17:16] <guntbert> Edlik: /etc/resolv.conf
[17:18] <Edlik> I have numbers in there... nameserver 65.61.64.5 ... nameserver 65.61.65.5  Should these numbers be changed since Iam changing to static?
[17:21] <guntbert> Edlik: I just read back - without dhcp (and on a server anyway) you must configure your network manually - I'll look into something
[17:22] <guntbert> Edlik: and don't change anything in resolv yet
[17:22] <Edlik> thank guntbert
[17:23] <guntbert> Edlik: you probably messed things up in step #7
[17:24] <guntbert> Edlik: you have to adjust the numbers o match your network
[17:24] <guntbert> *to
[17:26] <Edlik> I agree, I just put in the numbers that he has in the tutorial
[17:27] <Edlik> How do I know what they should be?
[17:28] <guntbert> Edlik: I'll try to guide you - in a few minutes  - brb
[17:28] <Edlik> great!
[17:31] <guntbert> Edlik: I'm back - Q1) are you running a virtual machine or a physical one?
[17:32] <Edlik> physical
[17:33] <guntbert> Edlik: ok - Q2) is there another networked machine at hand? (so we can read the settings from there)
[17:33] <Edlik> I have several machines into one router
[17:35] <guntbert> Edlik: perfect - and please type my nick even if this channel is quiet - I read other channel too - is there another linux machine at hand?
[17:36] <uvirtbot`> New bug: #508465 in clamav (main) "package clamav-base 0.95.3+dfsg-1ubuntu0.09.10 failed to install/upgrade: Unterprozess installiertes post-installation-Skript gab den Fehlerwert 128 zurück" [Undecided,New] https://launchpad.net/bugs/508465
[17:36] <Edlik> guntbert: the one im on now, I have the active network connections open
[17:38] <guntbert> Edlik: good - that contains nearly all we need - lets start with IP address
[17:39] <Edlik> guntbert: should i open /etc/network/interfaces?
[17:40] <guntbert> Edlik: not necessary - !pastebin the output of ip ad
[17:48] <guntbert> Edlik: is there any problem?
[17:49] <Edlik> guntbert: problem is cant cut and paste info from gui, any suggestions?Took a screenshot, how to put into pastebin?
[17:51] <guntbert> Edlik: is your current machine on ubuntu? then you can install !pastebinit
[17:51] <guntbert> !screenshot
[17:52] <Edlik> brb
[17:54] <Kalki720> Hey, could someone here help me out with a problem i'm having with configuring virtual hosts?
[17:56] <Skaag> you mean in Apache?
[17:57] <Kalki720> yeah, sorry apache2
[17:58] <Skaag> what's the problem?
[17:59] <Kalki720> well, i'm not quite sure if i've done this right, the only folders i mess with are the /etc/apache2/sites-availabe folder and the /etc/hosts file...are there other files involved?
[18:00] <Skaag> hm. depends what structure you're using
[18:00] <Skaag> where are you putting your <virtualhost /> stuff?
[18:01] <Kalki720> See, when I set the NameVirtualHost and the VirtualHost to my internal IP, it only works within my network, and when I use my external IP it says i need a password from a router that I don't have.
[18:01] <Skaag> I usually make a file called <fqdn>.com in /etc/apache2/sites-available/ which contains the configuration for the vhost
[18:01] <Skaag> I put my NameVirtualHost commands in /etc/apache2/ports.conf
[18:01] <Kalki720> I've been putting those in the default folder, and I also have a folder for each website i have to host.
[18:05] <Kalki720> When I reload apache2, it says 'NameVirtualHost 174.106.64.7:80 has no VirtualHosts', so I'm wondering, is there another file other that /etc/hosts that states which hosts exist?
[18:05] <Skaag> this is how it works...
[18:06] <Skaag> in /etc/apache2/ports.conf put NameVirtualHost 174.106.64.7:80
[18:06] <Skaag> in /etc/apache2/sites-available make a file called YourDomain.com.conf
[18:06] <Skaag> Inside it put this: <VirtualHost 174.106.64.7:80> …. </VirtualHost>
[18:06] <Skaag> (with all the host's config)
[18:06] <Skaag> don't forget ServerName YourDomain.com
[18:06] <Skaag> inside that block
[18:07] <Skaag> Then in /etc/apache2/sites-enabled make a link to ../sites-available/YourDomain.com.conf
[18:07] <Skaag> And then restart Apache
[18:07] <Skaag> should work
[18:09] <Kalki720> I've got those in there.. I have site1 and site2, and default, default is basically just the other two conbined.  When I restart apache, it doesn't seem to recognize the virtual hosts as being there.
[18:10] <Skaag> you made the link in /etc/apache2/sites-enabled/?
[18:10] <Skaag> to site1 and site2?
[18:10] <Kalki720> yeah, well when I look at the sites-enabled folder, the two files are in there, the same as they are in the sites-available folder
[18:11] <Skaag> ok
[18:11] <Skaag> If you want I can access your host and see what's going on
[18:11] <Skaag> with a screen -x shared session
[18:11] <Kalki720> sure.  How do i do that?  hehe...sorry for being so noobish :P
[18:12] <Skaag> haha
[18:13] <Skaag> is this the computer you are using right now?
[18:13] <Kalki720> yea
[18:13] <Skaag> type this: sudo useradd -m skaag -G admin -s /bin/bash
[18:13] <Skaag> Then type: sudo passwd skaag
[18:13] <Skaag> and type some random password, then message it to me
[18:14] <usrv> So I created a raid 5 array for the first time last night. Now when I run cat /proc/mdstat it shows the personalities as [linear] [multipath] [raid0] [raid1] [raid6] [raid5] [raid4] [raid10]. Did I do something wrong?
[18:14] <Skaag> when we're done: userdel skaag
[18:14] <Skaag> usrv: use mdadm -D /dev/md0
[18:14] <Skaag> to actually see a nice organized list of details for your array
[18:16] <Skaag> ok trying to login
[18:16] <usrv> skaag: hmm... i thought I created md0 but it's actually md_d0. not sure why. also, it says it does not appear to be active
[18:17] <Skaag> what's the status it shows for it?
[18:17] <Skaag> Kalki720: looks like rr.com is blocking ssh ports...
[18:17] <Skaag> edit /etc/ssh/sshd_config and under the line: Listen 22
[18:18] <Skaag> Add another line: Listen 33445
[18:18] <Skaag> Both should be there, one under the other
[18:18] <Skaag> then type: /etc/init.d/ssh restart
[18:18] <usrv> skaag: it wouldn't let me run your command
[18:20] <Kalki720> this is under the ssh_config file?
[18:20] <Skaag> sshd_config
[18:20] <Kalki720> i don't see that file... I've got ssh_config and moduli
[18:21] <Skaag> so: sudo apt-get install openssh-server
[18:22] <usrv> skaag: the array is inactive
[18:23] <Skaag> how did you create it? during install or later?
[18:23] <usrv> says /dev/md_d0: is an md device which is not active
[18:23] <usrv> later. I was having issues with grub installing properly
[18:23] <Skaag> here's a link mjeanson gave me yesterday, very good page: http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/
[18:24] <Skaag> Kalki720: managed to install openssh-server?
[18:25] <Kalki720> Skaag: yes, got that - now, the line says Port 22 #ListenAddress :: ListenAddress 0.0.0.0 - do I put that line below that?
[18:25] <Skaag> under Port 22 put Port 33445
[18:25] <Kalki720> ah, ok.
[18:25] <Skaag> sorry for the earlier confusion with Listen
[18:26] <Skaag> It's also possible you're behind NAT, and it's not RR.com's fault at all
[18:26] <Skaag> then you might have to create a NAT rule for port 22
[18:26] <Kalki720> Okie doke, i've restarted it.
[18:27] <Skaag> ok so it's behind NAT cuz I can still not go through
[18:27] <Kalki720> hmm.  So will I forward the site to port 33445 now?
[18:27] <Skaag> no
[18:27] <Kalki720> oh, ok.
[18:27] <Skaag> it's something you do in your router
[18:27] <Skaag> you know how to fidget with that?
[18:27] <Skaag> :-)
[18:27] <Kalki720> The NAY is?
[18:27] <Kalki720> NAT*
[18:28] <Skaag> what you can do, is set your host's IP as the DMZ host
[18:28] <Skaag> in the router
[18:28] <Kalki720> my host's IP?
[18:29] <Skaag> internal ip, yes
[18:29] <Kalki720> ah, ok.
[18:29] <Skaag> if you type: ifconfig eth0
[18:29] <Skaag> you will see that you have another ip address
[18:29] <Skaag> maybe something in 10.x.x.x or 172.x.x.x or 192.168.x.x
[18:29] <Kalki720> that's the 192.168 on, right?
[18:29] <Kalki720> ok.
[18:30] <Kalki720> So, where is the DMZ host?
[18:30] <Skaag> You set this in your Router
[18:30] <Kalki720> okie doke
[18:31] <usrv> skaag: so I read the mdadm man... I had to run --auto-detect. I also ran --detail. md_d0 is showing as raid5. now i'm seeing that only 1 of 4 drives are active. the other 3 are removed.
[18:31] <usrv> I must have done something wrong
[18:31] <usrv> but now I know that it's truly raid5
[18:32] <usrv> is the reason for it not auto-detecting because the other 3 drives got removed?
[18:32] <usrv> auto-detecting on boot*
[18:33] <Skaag> usrv: don't worry just add them to the array
[18:33] <Skaag> hm.. I'm not sure about that. is mdadm set to load on boot?
[18:33] <Skaag> do you have an /etc/mdadm.conf? take a look in it
[18:33] <Skaag> I mean /etc/mdadm/mdadm.conf sorry
[18:34] <Skaag> Mine for example has these lines: ARRAY /dev/md0 level=raid5 num-devices=3 UUID=88473308:c119888e:483b196c:f63f8b41
[18:34] <Skaag> and: spares=1
[18:34] <Skaag> cuz I have 4 drives, 3 are used for raid5 and I made one to be spare
[18:38] <Kalki720> Skaag: Ok, so I've set the DMZ to my internal IP
[18:39] <Kalki720> Is that all I need to do?
[18:42] <uvirtbot`> New bug: #491888 in clamav (main) "package clamav 0.95.3+dfsg-1ubuntu0.09.10 failed to install/upgrade: Abh?ngigkeitsprobleme - lasse es unkonfiguriert (dup-of: 500175)" [Undecided,New] https://launchpad.net/bugs/491888
[18:53] <Kalki720> Skaag: If I set the DMZ server to my internal IP, will I still need to deal with the NAT?
[19:00] <jmarsden> Kalki720: Don't use "DMZ" router config unless you have no other choice, it throws away all the security/firewall goodness of your router and leaves *every* port on the machine open to the Internet... it is usually better to just port forward the one port you need forwarded.
[19:01] <Kalki720> alrighty
[19:04] <Skaag> it's just temporary, and he's on Linux after all
[19:05] <Skaag> just until I help him fix the virtualhost problem
[19:14] <Kalki720> Skaag: I've set my internal IP to the default DMZ server - what now?
[19:15] <Skaag> lemme test
[19:15] <Skaag> you applied?
[19:15] <Skaag> I still can't ssh to you
[19:16] <Kalki720> Hmm.  Is this NAT thing something I can change through the router as well?
[19:16] <Skaag> only through the router, nowhere else... :)
[19:16] <Skaag> (that's what I said in the beginning)
[19:17] <Kalki720> oh, ok.  should I do something about that, then?
[19:28] <usrv> hey skaag. how can I figure out why the drives i'm trying to add to the raid are busy?
[19:34] <Skaag> you can use lsof to see what is using them
[19:34] <usrv> nevermind.... I don't know why but for some reason the drive in md_d0 got removed from md0 where the 3 drives are busy (but they're in the right place.) md0 wasn't showing up before I auto-detected but somehow md_d0 was created before auto-detection. wierd...
[19:34] <usrv> I'll stop md_d0 and add the drive from it into md0 where it belongs
[19:39] <usrv> so here's a question... when you create a md does it display the disks that are a part of it in /dev/ as md_d0p1, md_d0p2, md_d0p3, md_d0p4?
[19:43] <usrv> so I rebooted and md_d0 is created and there's no md0. I'll stop md_d0 and run --auto-detect and see if the rogue drive that's part of md_d0 shows active in md0
[19:47] <usrv> wasn't added, but I re-added it. now I need to add the array to mdadm.conf. maybe that'll make the array activate @ boot
[19:49] <Kalki720> Skaag: So, I'm looking through my router, and I don't see anything about creating a NAT rule...
[20:00] <Skaag> Kalki720: Might be called "Virtual Server"
[20:32] <jmarsden> Skaag: Recommending bad security practices to newcomers so you can ssh into their boxes is a bad idea, IMO... but what is the real issue Kalki720 has?  "the vritualhost problem"?  What virtualhost problem?  virtual hosting as in VM configuration, or as in apache2 "virtualhost" configs ?
[20:47] <Skaag> jmarsden: as in Apache2
[20:48] <Skaag> I went through the configuration with him, it sounds ok, but without either pasting huge blocks of text it won't work
[20:48] <jmarsden> Skaag: That shouldn't need you to SSH in... use pastebin for the config file transfers, or he can scp a fixed file from you...
[20:48] <Skaag> fastest way was to ssh, it's not such a bad security practice, considering it's encrypted, and it's a linux system after all, he didn't even have ssh installed, it's a desktop edition
[20:49] <jmarsden> Skaag: Then technically he's in the wrong IRC channel :) :)
[20:49] <Skaag> yes true
[20:49] <Skaag> but I didn't mind helping ;-)
[20:49] <jmarsden> Is it fixed now?  He disappeared from here...
[20:49] <Skaag> probably not
[20:52] <jmarsden> Skaag: So the "fastest way" turned out not to be all that fast ...
[20:55] <Skaag> well, no ssh server, NAT, etc... ;-)
[20:55] <Skaag> I help my parents with TeamViewer ;-)
[20:55] <Skaag> Even if just to see what they are doing and guiding them on the phone
[20:56] <Skaag> I really need that thinkgeek t-shirt that says "No, I will not fix your computer" ;-0
[20:56] <Skaag> :-)
[20:57] <jmarsden> Skaag: On IRC when helping strangers, offering to ssh to their machines is uncommon and requires them to trust you; it leads them to trust others offering that kind of help later, some of those "others" may be bad guys... I think your approach could be setting a bad precedent.  pastebin for config files really should work well and is "transparent" to all, and so safer.
[20:58] <jmarsden> Parents are a different deal, because you already have a relationship with them :)
[21:13] <tarski_> is it easier to set up nat on 9.10 than 8.04 i need my server to be my router and the 8.04 way looks hard :-/
[21:23] <RoyK> tarski_: same thing
[21:24] <RoyK> tarski_: if you're looking for a dedicated lightweight firewall, take a look at pfsense
[21:24] <RoyK> not linux, but what the heck
[21:28] <cemc> I've built an arm image and using it with qemu. is there a way to use multiple cores to speed the arm guest up a bit?
[21:58] <jMyles> I have a LAN, and I want to have the same users / groups across several ubuntu machines, one of which is running server - how can I do this?
[22:00] <tarski_> whats the difference between the server edition and the desktop other than some apps, cant i just run the desktop as a server if i already have a copy and just install the apps i need?
[22:05] <jMyles> tarski_: Server doesn't come with X at all - it boots lightning
[22:05] <jMyles> like 5 seconds
[22:14] <ziesemer_> jMyles: LDAP
[22:15] <ziesemer_> https://help.ubuntu.com/community/OpenLDAPServer
[22:15] <jMyles> ziesemer_: Awesome - thank you :-)
[22:16] <jMyles> I'm setting up a LAN in a coffee shop, and among other things, I'd also like to be able to synchronize video across a few strong computers.  Is FreeNX a good approach here?  VNC is too slow.
[22:17] <jMyles> Also, VNC doesn't look very good.
[22:17] <jMyles> Ideally, I'd like it to work as well as if I had a multiple monitor setup with long DVI cables.
[22:22] <CocaCola77> Are modern ubuntu server installations more RAM and CPU demanding?
[22:23] <henriquev> jMyles: have you thought of storing the video in the server and loading them locally?
[22:23] <CocaCola77> I mean, could I run the latest version on pentium 3 with 256mb or should I choose older ubunt server version?
[22:23] <henriquev> storing/streaming
[22:23] <henriquev> CocaCola77: your setup is ok
[22:25] <jMyles> henriquev: Yes I have.  But how to get them completely in sync?
[22:25] <CocaCola77> henriquev, my general question is, are the server versions also more demanding when there is a new version. I'm talking about a clean install with no lamp, samba and other services.
[22:26] <guntbert> CocaCola77: why should they be more demanding? what makes desktops that way is "eye candy" - and you don't have that on a server
[22:27] <jmarsden> cemc: Not sure if this helps, but   qemu-arm -cpu ?   shows the various ARM CPU types you can choose from
[22:27] <henriquev> jMyles: oh, you mean in sync... Well, if you are *streaming*... assuming there's no latency, they'll be 'sort of' in sync. you'd better have to set something like a great buffer
[22:28] <CocaCola77> guntbert, I know about eye candy but the kernel and perhaps default deamons/services loaded?
[22:28] <henriquev> CocaCola77: I don't know much about this stuff, but I'm pretty sure there's not been a huge change in size for these things since, let's say, a decade?
[22:28] <CocaCola77> guntbert, I mean the linux kernel gets bigger and perhaps more specified for modern hardware
[22:29] <henriquev> CocaCola77: your computer doesn't load instructions for some components you don't have, for example...
[22:30] <guntbert> CocaCola77: a server (the software) pulls only so many resources as it needs - so of course a heavily used apache will demand a lot - but apart from that - no reason to worry
[22:33] <CocaCola77> So you are saying, that if I would have a pentium 2 or 3  machine, it would not matter what version of ubuntu server I would install?
[22:33] <jmarsden> CocaCola77: If you want support from others, don't install anything earlier than Hardy 8.04.3 LTS
[22:34] <jmarsden> CocaCola77: The two sane choices right now are Hardy 8.04 (for LTS) or Karmic 9.10 (current release).
[22:36] <CocaCola77> jmarsden, I'm asking that the 8.04 lts doesn't need more ram then the 6.04 lts edition. I understand both run the same basic services. But I needed to ask to be sure, as the 8.04 LTS and soon the new LTS version have different kernels that may be more demanding.
[22:37] <jmarsden> CocaCola77: If you truly "need to be sure", test on your specific hardware.  I doubt there is a big difference, but if it really really matters to you, test it.
[22:37] <jMyles> henriquev: Well, I don't mind if they are at or under 100ms off, as the audio will only be coming from one place.
[22:44] <henriquev> jMyles: so I guess all you need is this...: buffer and streaming
[22:44] <henriquev> jMyles: a 'dirty' solution would be sync the clocks and fire the video locally
[22:44] <henriquev> at the right time... well, I'd stay with streaming
[22:45] <jMyles> henriquev: Well, I don't need to sync the clocks - I can have a script on the server that SSH commands the clients to go
[22:47] <usrv> Having issues with my mdadm array. I have a raid5 setup (md0) which won't activate at startup. Instead some new array gets made called md_d0. I can stop it and run mdadm --auto-detect and it finds md0. How do I fix this? I already have this line in my mdadm.conf -> ARRAY /dev/md0 level=raid5 num-devices=4 metadata=00.90 UUID=9b0917e1:84190d63:766ed327:47779459
[22:54] <trewq> http://www.pandamailer.de/?bettel=pimbolli
[22:58] <usrv> hmm. I rebooted again and it auto-created md_d0 again with 4 more files: md_d0p1, md_d0p2, md_d0p3, md_d0p4. Does anyone have any idea what those are?
[23:13] <henvic> usrv: don't know what you're talking about
[23:21] <usrv> I created array md0 using mdadm and every tiem i reboot i get some rogue md_d0 array
[23:23] <jmarsden> usrv: I've not seen that before, but it sounds like it is creating 4 "arrays" one per drive, instead of one array using all 4 drives.
[23:24] <usrv> here's an example of other people having the same issue
[23:24] <usrv> http://ubuntuforums.org/showthread.php?t=1162600
[23:24] <usrv> and I've tried working their solution but it doesn't work for me
[23:27] <jmarsden> usrv: You zeroed all the superblocks?
[23:27] <usrv> no. I tried doing the mdadm.conf the same way tho
[23:28] <usrv> i guess i should figure out how to do that
[23:28] <jmarsden> Well, the solution there seems to be "zero all your superblocks"... or did I misread it.  Their idea was that "To get spurious partitions means that some partition has a superblock UUID that mdadm thinks is part of the array."
[23:28] <jmarsden> If the "p" in your suprious device names stands for partition, that sounds somewhat reasonable as an explanation.
[23:29] <jmarsden> But you you get INTO that state, I don't know.
[23:29] <jmarsden> s/you you/how you/
[23:32] <usrv> so should i only need to --zero-superblock on the drive that keeps separating from the md0 array?
[23:33] <jmarsden> usrv: I'd be tempted to zero all of the RAIDed drive superblocks, but sure, you can try zeroing just one first.
[23:37] <jMyles> How can I see all the devices to whom dnsmasq is giving dhcp?
[23:43] <ruben23> hi guys i got problem mounting windos share on ubuntu server i got this error--->mount: no toute to host
[23:43] <jmarsden> ruben23: Can you ping the host concerned OK?
[23:43] <ruben23> my comand is this---->mount -t cifs -o username=AGENT,password=3tr //xxx.xx.xx.xxx/recordings2 /media/share
[23:44] <jmarsden> ruben23: Answer the question: can you ping the host OK?
[23:44] <ruben23> yes i can at time=0.217 ms
[23:44] <jmarsden> OK.  Does smbclient -L xxx.xx.xx.xxx -N      # shows you the shares on that host?
[23:44] <ruben23> its a windows 7 OS
[23:44] <ruben23> ill test now
[23:45] <ruben23> jmarsden:ow smn client is not installed i got message
[23:45] <ruben23> smb client not installed
[23:45] <jmarsden> well, install it :)
[23:46] <ruben23> installing
[23:47] <jmarsden> That may be all you need, so once it installs, retry the mount command.
[23:48] <ruben23>  jmarsden: got this---->http://pastebin.com/m1c50a7a9
[23:48] <jmarsden> Looks vaguely sane.  Try the mount command again now.
[23:48] <ruben23> ok
[23:49] <ruben23> mount: No route to host
[23:50] <jmarsden> ruben23: Hmm, your mount line has a share name recordings2 but the smbclient -L listing shows "recordings 2" with a space in the name... ?
[23:50] <jmarsden> Be consistent.
[23:50] <ruben23> ok sorry
[23:51] <ruben23> got his upon running---->http://pastebin.com/m2cf7bcba
[23:52] <ruben23> what should i do now
[23:52] <jmarsden> What are you trying to do there?  Either escape or quote the space, or (better) change the share name so it doesn't contain a space.
[23:52] <ruben23> ok right away
[23:58] <jmarsden> Did that work?