/srv/irclogs.ubuntu.com/2010/01/16/#ubuntu-server.txt

uvirtbot`New bug: #508190 in openldap (main) "slapo-nssov not able to write socket file" [Undecided,New] https://launchpad.net/bugs/50819000:11
=== jasonb__ is now known as jasonb
=== Vog is now known as vog-work
Edlikhow do i know for sure what numbers to put in for my address, netmask, network and everything else?01:10
=== MTeck is now known as MTecknology
ptingis there a way to check the directory permissions before it's mounted? i'm basically trying to ensure the directory has permissions 000 before mounting01:27
pting... without having to unmount it to check01:27
cmwslwi have a domain named mydomain.com and have it pointed to my main server01:51
cmwslwmy main server doesn't host everything so it directs some subdomains to a home server01:52
cmwslwright 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.com01:53
cmwslwwhen i do ssh myuser@mydomain.com, it tries to log into itself01:54
cmwslweven though mydomain.com is pointed to the main server01:54
henriquevcmwslw: check your /etc/hosts01:56
=== henriquev is now known as henriquev-sleepi
cmwslwhenriquev: there's a line with "127.0.0.1localhost mydomain.com"01:59
cmwslwwould that be messing it up?01:59
cmwslwjust for reference, that line was the problem02:12
cmwslwchanging it to a more specific subdomain fixed it02:13
MTecknologyHow do I kill an active connection if I know the users IP?03:41
Parabolablock it in ip tables?03:41
MTecknologyI tried and it doesn't seem to want to listen to me03:42
MTecknologyI'm using ufw03:42
MTecknologyoh.....03:43
MTecknologytcpkill host 208.107.*.*03:43
MTecknologyParabola: I'm hoping it was just a runaway process or else I'm in deep crap04:12
r2q2`Hi, has setting up an ec2 server changed since 8.10?04:13
r2q2`I mean creating an AMI.04:13
MTecknologyParabola: 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 process04:13
stlsaintcan i install JeOS then run openvz on top?04:14
MTecknologystlsaint: I don't see why not04:15
MTecknologystlsaint: I didn't know JeOS was still developed04:16
MTecknology!jeos04:16
ubottuJeOS (pronounced "Juice") is Just enough Operating System.  It is an efficient variant of the Ubuntu Server operating system, configured specifically for virtual appliances. See http://www.ubuntu.com/products/whatisubuntu/serveredition/jeos for more information.04:16
stlsaintMTecknology, the iso is no longer being dev'ed but you can install jeos from earlier iso's or from ubuntu server install cd04:17
stlsaintMTecknology, have you used Xen?04:17
MTecknologystlsaint: as a client only; my proc supports it but the bios doesn't04:18
stlsaintoh, is it true that xen has issues with messing up kernel?04:18
MTecknologystlsaint: 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 systems04:22
stlsaintMTecknology,  kk, last thing, would you have a preference for xen or openvz?04:23
MTecknologyI've never heard of openvz04:23
stlsaintMTecknology, oh ok, thanks for help04:24
MTecknologystlsaint: no - sorry I couldn04:25
MTecknology't help more04:25
stlsaintnp, i was really more wondering about the JeOS thing, i know have my answers...l8er04:25
=== [1]cab938 is now known as cab938
stlsaintis it not possible to install ubuntu server from usb?05:18
stlsainti 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 one05:23
stlsaintany thoughts?05:28
stlsaintquite room05:36
ScottKGenerally more active during the US/European work week.05:36
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 ?05:44
=== dendro-afk is now known as dendrobates
uvirtbot`New bug: #508287 in openvpn (main) "openvpn connection manager can't launch" [Undecided,New] https://launchpad.net/bugs/50828706:47
=== [1]cab938 is now known as cab938
usrvAnyone: 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?06:59
erichammondr2q2``: I can help with your EC2 questions if you're still here.07:00
jmarsdenusrv: 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:02
usrvjmarsden: 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 directory07:03
usrv"one or more mounts listed in /etc/fstab cannot be mounted" and it references /home07:04
jmarsdenEven 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:05
jmarsdenSo either you installed GRUB on the wrong partition, or something else is wrong here.07:06
jmarsdenCan 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
usrvhmm. 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:07
usrvyea 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:08
jmarsdenThere'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:10
usrvjmarsden: 4 drives in software raid 5. I think if I unplug them it's still going to try to find /home07:12
usrvI'll try reinstalling without the fancyness and then doing the raid from the cmd prompt07:12
jmarsdenusrv: OK :)07:13
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:25
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:26
jmarsdenj416_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:30
j416_web_jmarsden: thank you!07:31
jmarsdenj416_web_: You're welcome.07:31
j416_web_not entirely sure what a "local" addition would be07:32
j416_web_but I might just pick any of those two at random07:32
j416_web_this is a server which will be both web and mail server07:32
usrv@jmarsden: ok this isn't cool. same black screen with blinking prompt and no text.07:32
jmarsdenusrv: I *told* you something else was causing the issue, not having /home on a RAID array...07:33
jmarsdenat least we have now confirmed this theory.07:33
usrvyou were right07: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:33
jmarsdenusrv: 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
jmarsdenj416_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:34
j416_web_jmarsden: thank you. :)  Both feel just as logical.. which would you pick?07:35
jmarsdenI'd pick the first one /etc/ssl/local/  for no reason i can really articulate...07:35
j416_web_ok! :)07:35
j416_web_I'll use that then. Thank you very much!07:36
jmarsdenj416_web_: You're welcome.07:36
usrvjmarsden: unplugged the raid disks and reinstalling.07:37
jmarsdenfreaky[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:37
freaky[t]hm :(07:40
freaky[t]ok thank you07:40
freaky[t]ill ask later again maybe someone knows something good ;D07:41
freaky[t]!mailserver07:41
ubottuUbuntu supports the Simple Mail Transfer Protocol (SMTP) and provides mail server software of many kinds. You can install a basic email handling configuration with the "Mail server" task during installation, or with the "tasksel" command. See also https://help.ubuntu.com/community/MailServer and https://help.ubuntu.com/9.04/serverguide/C/email-services.html07:41
jmarsdenfreaky[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 ;D07:43
jmarsdenfreaky[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:45
freaky[t]that'd be too much work to do for just a mail server that works07:46
freaky[t]i dont want to read thousand of docs07:46
freaky[t]if there is a good tutorial out that can help me07:46
freaky[t]also i can get out of most of troubles by analyzing error messages07:46
usrvjmarsden: alright. installed and booted.07:56
usrvnow I should plug in the other drives and reboot?07:56
jmarsdenusrv: That worked.  OK.  Yes, sure.  Let's see what happens :)07:57
jmarsdenusrv: BTW it is midnight here, I may not be able to stick with you for hours more troubleshooting of this right now...07:57
usrvno worries. It's 1am here. I appreciate you're help though.07:58
usrvalright, booted with the disks plugged in08:02
usrvnow I just have to setup the raid08:02
=== dendrobates is now known as dendro-afk
usrvanyone have experience with mdadm and putting 4 or more drives in raid5?09:05
uvirtbot`New bug: #508376 in bacula (main) "bacula metapackage not registered" [Undecided,New] https://launchpad.net/bugs/50837613:11
uvirtbot`New bug: #508382 in bacula (main) "bconsole does not connect to bacula-director" [Undecided,New] https://launchpad.net/bugs/50838213:41
uvirtbot`New bug: #508394 in bacula (main) "bat: symbol lookup error" [Undecided,New] https://launchpad.net/bugs/50839414:17
=== henriquev-sleepi is now known as henriquev
=== DrNick is now known as Guest69935
Guest69935is anyone aware how well Dell RAID cards (perc) are supported on ubuntu server?15:32
ScottKI understand they are well supported, but I don't have such a box myself, so no guarantees.15:39
Guest69935ok thanks :)15:48
tarskican i run the ubuntu server edition on an older celeron from 200316:01
Guest69935it 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
tarskiso i can use the 64 bit version16:02
Guest69935probably not16:03
tarskididnt think so16:03
tarskii think celerons are 32bit16:03
Guest69935it'll be a 32-bit chip, so go for that one16:03
tarskithanks :)16:03
Guest69935np16:04
tarskioh one more thing, 9.10 or 8.0416:04
tarskiim going to put ruby 1.9.1 on it and make it into an RoR dev server16:05
Guest69935depends, 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 latest16:05
Guest69935i normally go for the LTS unless I specificly need something in the later versions16:05
tarskicool16:05
tarskiya thats what i will grab16:06
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:42
Guest69935is you network config complete?  i.e. do you have a working internet connection16:57
Edlikinternet 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 correct17:04
Guest69935yeah make sure your internet connection is working first - you should be able to ping something on the internet before aptitude will be able to update17:05
Guest69935if you're behind a proxy you'll need to enter those too17:06
Edlikthis is at my home, i tried to ping google, says unknown host17:08
Guest69935ah, you'll need to enter your nameservers then17:10
Guest69935have you put the IP addresses of your DNS servers in /etc/resolv.conf?17:10
Guest69935also i assume you didn't just go 'ping google', but actually went 'ping www.google.com'?17:10
Guest69935anyway good luck, afraid i have to go now17:12
Edlikhow do i find the IP addresses of my DNS servers?17:15
guntbertEdlik: /etc/resolv.conf17:16
EdlikI 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:18
=== deizel_ is now known as deizel
guntbertEdlik: I just read back - without dhcp (and on a server anyway) you must configure your network manually - I'll look into something17:21
guntbertEdlik: and don't change anything in resolv yet17:22
Edlikthank guntbert17:22
guntbertEdlik: you probably messed things up in step #717:23
guntbertEdlik: you have to adjust the numbers o match your network17:24
guntbert*to17:24
EdlikI agree, I just put in the numbers that he has in the tutorial17:26
EdlikHow do I know what they should be?17:27
guntbertEdlik: I'll try to guide you - in a few minutes  - brb17:28
Edlikgreat!17:28
guntbertEdlik: I'm back - Q1) are you running a virtual machine or a physical one?17:31
Edlikphysical17:32
guntbertEdlik: ok - Q2) is there another networked machine at hand? (so we can read the settings from there)17:33
EdlikI have several machines into one router17:33
guntbertEdlik: 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:35
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/50846517:36
Edlikguntbert: the one im on now, I have the active network connections open17:36
guntbertEdlik: good - that contains nearly all we need - lets start with IP address17:38
Edlikguntbert: should i open /etc/network/interfaces?17:39
guntbertEdlik: not necessary - !pastebin the output of ip ad17:40
guntbertEdlik: is there any problem?17:48
Edlikguntbert: problem is cant cut and paste info from gui, any suggestions?Took a screenshot, how to put into pastebin?17:49
guntbertEdlik: is your current machine on ubuntu? then you can install !pastebinit17:51
guntbert!screenshot17:51
ubottuScreenshots can be made with the [PrtScr] button. Want to show us a screenshot of your problem? Upload an image to http://tinyurl.com/imagebin and post a link to it.17:51
Edlikbrb17:52
Kalki720Hey, could someone here help me out with a problem i'm having with configuring virtual hosts?17:54
Skaagyou mean in Apache?17:56
Kalki720yeah, sorry apache217:57
Skaagwhat's the problem?17:58
Kalki720well, 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?17:59
Skaaghm. depends what structure you're using18:00
Skaagwhere are you putting your <virtualhost /> stuff?18:00
Kalki720See, 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
SkaagI usually make a file called <fqdn>.com in /etc/apache2/sites-available/ which contains the configuration for the vhost18:01
SkaagI put my NameVirtualHost commands in /etc/apache2/ports.conf18:01
Kalki720I've been putting those in the default folder, and I also have a folder for each website i have to host.18:01
Kalki720When 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
Skaagthis is how it works...18:05
Skaagin /etc/apache2/ports.conf put NameVirtualHost 174.106.64.7:8018:06
Skaagin /etc/apache2/sites-available make a file called YourDomain.com.conf18:06
SkaagInside it put this: <VirtualHost 174.106.64.7:80> …. </VirtualHost>18:06
Skaag(with all the host's config)18:06
Skaagdon't forget ServerName YourDomain.com18:06
Skaaginside that block18:06
SkaagThen in /etc/apache2/sites-enabled make a link to ../sites-available/YourDomain.com.conf18:07
SkaagAnd then restart Apache18:07
Skaagshould work18:07
Kalki720I'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:09
Skaagyou made the link in /etc/apache2/sites-enabled/?18:10
Skaagto site1 and site2?18:10
Kalki720yeah, well when I look at the sites-enabled folder, the two files are in there, the same as they are in the sites-available folder18:10
Skaagok18:11
SkaagIf you want I can access your host and see what's going on18:11
Skaagwith a screen -x shared session18:11
Kalki720sure.  How do i do that?  hehe...sorry for being so noobish :P18:11
Skaaghaha18:12
Skaagis this the computer you are using right now?18:13
Kalki720yea18:13
Skaagtype this: sudo useradd -m skaag -G admin -s /bin/bash18:13
SkaagThen type: sudo passwd skaag18:13
Skaagand type some random password, then message it to me18:13
usrvSo 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
Skaagwhen we're done: userdel skaag18:14
Skaagusrv: use mdadm -D /dev/md018:14
Skaagto actually see a nice organized list of details for your array18:14
Skaagok trying to login18:16
usrvskaag: hmm... i thought I created md0 but it's actually md_d0. not sure why. also, it says it does not appear to be active18:16
Skaagwhat's the status it shows for it?18:17
SkaagKalki720: looks like rr.com is blocking ssh ports...18:17
Skaagedit /etc/ssh/sshd_config and under the line: Listen 2218:17
SkaagAdd another line: Listen 3344518:18
SkaagBoth should be there, one under the other18:18
Skaagthen type: /etc/init.d/ssh restart18:18
usrvskaag: it wouldn't let me run your command18:18
Kalki720this is under the ssh_config file?18:20
Skaagsshd_config18:20
Kalki720i don't see that file... I've got ssh_config and moduli18:20
Skaagso: sudo apt-get install openssh-server18:21
usrvskaag: the array is inactive18:22
Skaaghow did you create it? during install or later?18:23
usrvsays /dev/md_d0: is an md device which is not active18:23
usrvlater. I was having issues with grub installing properly18:23
Skaaghere's a link mjeanson gave me yesterday, very good page: http://advosys.ca/viewpoints/2007/04/setting-up-software-raid-in-ubuntu-server/18:23
SkaagKalki720: managed to install openssh-server?18:24
Kalki720Skaag: yes, got that - now, the line says Port 22 #ListenAddress :: ListenAddress 0.0.0.0 - do I put that line below that?18:25
Skaagunder Port 22 put Port 3344518:25
Kalki720ah, ok.18:25
Skaagsorry for the earlier confusion with Listen18:25
SkaagIt's also possible you're behind NAT, and it's not RR.com's fault at all18:26
Skaagthen you might have to create a NAT rule for port 2218:26
Kalki720Okie doke, i've restarted it.18:26
Skaagok so it's behind NAT cuz I can still not go through18:27
Kalki720hmm.  So will I forward the site to port 33445 now?18:27
Skaagno18:27
Kalki720oh, ok.18:27
Skaagit's something you do in your router18:27
Skaagyou know how to fidget with that?18:27
Skaag:-)18:27
Kalki720The NAY is?18:27
Kalki720NAT*18:27
Skaagwhat you can do, is set your host's IP as the DMZ host18:28
Skaagin the router18:28
Kalki720my host's IP?18:28
Skaaginternal ip, yes18:29
Kalki720ah, ok.18:29
Skaagif you type: ifconfig eth018:29
Skaagyou will see that you have another ip address18:29
Skaagmaybe something in 10.x.x.x or 172.x.x.x or 192.168.x.x18:29
Kalki720that's the 192.168 on, right?18:29
Kalki720ok.18:29
Kalki720So, where is the DMZ host?18:30
SkaagYou set this in your Router18:30
Kalki720okie doke18:30
usrvskaag: 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
usrvI must have done something wrong18:31
usrvbut now I know that it's truly raid518:31
usrvis the reason for it not auto-detecting because the other 3 drives got removed?18:32
usrvauto-detecting on boot*18:32
Skaagusrv: don't worry just add them to the array18:33
Skaaghm.. I'm not sure about that. is mdadm set to load on boot?18:33
Skaagdo you have an /etc/mdadm.conf? take a look in it18:33
SkaagI mean /etc/mdadm/mdadm.conf sorry18:33
SkaagMine for example has these lines: ARRAY /dev/md0 level=raid5 num-devices=3 UUID=88473308:c119888e:483b196c:f63f8b4118:34
Skaagand: spares=118:34
Skaagcuz I have 4 drives, 3 are used for raid5 and I made one to be spare18:34
Kalki720Skaag: Ok, so I've set the DMZ to my internal IP18:38
Kalki720Is that all I need to do?18:39
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/49188818:42
Kalki720Skaag: If I set the DMZ server to my internal IP, will I still need to deal with the NAT?18:53
jmarsdenKalki720: 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:00
Kalki720alrighty19:01
Skaagit's just temporary, and he's on Linux after all19:04
Skaagjust until I help him fix the virtualhost problem19:05
Kalki720Skaag: I've set my internal IP to the default DMZ server - what now?19:14
Skaaglemme test19:15
Skaagyou applied?19:15
SkaagI still can't ssh to you19:15
Kalki720Hmm.  Is this NAT thing something I can change through the router as well?19:16
Skaagonly through the router, nowhere else... :)19:16
Skaag(that's what I said in the beginning)19:16
Kalki720oh, ok.  should I do something about that, then?19:17
usrvhey skaag. how can I figure out why the drives i'm trying to add to the raid are busy?19:28
Skaagyou can use lsof to see what is using them19:34
usrvnevermind.... 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
usrvI'll stop md_d0 and add the drive from it into md0 where it belongs19:34
usrvso 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:39
usrvso 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 md019:43
usrvwasn't added, but I re-added it. now I need to add the array to mdadm.conf. maybe that'll make the array activate @ boot19:47
Kalki720Skaag: So, I'm looking through my router, and I don't see anything about creating a NAT rule...19:49
SkaagKalki720: Might be called "Virtual Server"20:00
jmarsdenSkaag: 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:32
Skaagjmarsden: as in Apache220:47
SkaagI went through the configuration with him, it sounds ok, but without either pasting huge blocks of text it won't work20:48
jmarsdenSkaag: 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
Skaagfastest 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 edition20:48
jmarsdenSkaag: Then technically he's in the wrong IRC channel :) :)20:49
Skaagyes true20:49
Skaagbut I didn't mind helping ;-)20:49
jmarsdenIs it fixed now?  He disappeared from here...20:49
Skaagprobably not20:49
jmarsdenSkaag: So the "fastest way" turned out not to be all that fast ...20:52
Skaagwell, no ssh server, NAT, etc... ;-)20:55
SkaagI help my parents with TeamViewer ;-)20:55
SkaagEven if just to see what they are doing and guiding them on the phone20:55
SkaagI really need that thinkgeek t-shirt that says "No, I will not fix your computer" ;-020:56
Skaag:-)20:56
jmarsdenSkaag: 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:57
jmarsdenParents are a different deal, because you already have a relationship with them :)20:58
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:13
RoyKtarski_: same thing21:23
RoyKtarski_: if you're looking for a dedicated lightweight firewall, take a look at pfsense21:24
RoyKnot linux, but what the heck21:24
cemcI'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:28
=== dendro-afk is now known as dendrobates
jMylesI 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?21:58
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:00
jMylestarski_: Server doesn't come with X at all - it boots lightning22:05
jMyleslike 5 seconds22:05
ziesemer_jMyles: LDAP22:14
ziesemer_https://help.ubuntu.com/community/OpenLDAPServer22:15
jMylesziesemer_: Awesome - thank you :-)22:15
jMylesI'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:16
jMylesAlso, VNC doesn't look very good.22:17
=== dendrobates is now known as dendro-afk
jMylesIdeally, I'd like it to work as well as if I had a multiple monitor setup with long DVI cables.22:17
=== flatlinebb_away is now known as flatlinebb
CocaCola77Are modern ubuntu server installations more RAM and CPU demanding?22:22
henriquevjMyles: have you thought of storing the video in the server and loading them locally?22:23
CocaCola77I mean, could I run the latest version on pentium 3 with 256mb or should I choose older ubunt server version?22:23
henriquevstoring/streaming22:23
henriquevCocaCola77: your setup is ok22:23
jMyleshenriquev: Yes I have.  But how to get them completely in sync?22:25
CocaCola77henriquev, 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:25
guntbertCocaCola77: why should they be more demanding? what makes desktops that way is "eye candy" - and you don't have that on a server22:26
jmarsdencemc: Not sure if this helps, but   qemu-arm -cpu ?   shows the various ARM CPU types you can choose from22:27
henriquevjMyles: 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 buffer22:27
CocaCola77guntbert, I know about eye candy but the kernel and perhaps default deamons/services loaded?22:28
henriquevCocaCola77: 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
CocaCola77guntbert, I mean the linux kernel gets bigger and perhaps more specified for modern hardware22:28
henriquevCocaCola77: your computer doesn't load instructions for some components you don't have, for example...22:29
guntbertCocaCola77: 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 worry22:30
CocaCola77So 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
jmarsdenCocaCola77: If you want support from others, don't install anything earlier than Hardy 8.04.3 LTS22:33
jmarsdenCocaCola77: The two sane choices right now are Hardy 8.04 (for LTS) or Karmic 9.10 (current release).22:34
CocaCola77jmarsden, 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:36
jmarsdenCocaCola77: 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
jMyleshenriquev: Well, I don't mind if they are at or under 100ms off, as the audio will only be coming from one place.22:37
henriquevjMyles: so I guess all you need is this...: buffer and streaming22:44
henriquevjMyles: a 'dirty' solution would be sync the clocks and fire the video locally22:44
henriquevat the right time... well, I'd stay with streaming22:44
jMyleshenriquev: Well, I don't need to sync the clocks - I can have a script on the server that SSH commands the clients to go22:45
usrvHaving 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:4777945922:47
trewqhttp://www.pandamailer.de/?bettel=pimbolli22:54
usrvhmm. 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?22:58
henvicusrv: don't know what you're talking about23:13
usrvI created array md0 using mdadm and every tiem i reboot i get some rogue md_d0 array23:21
jmarsdenusrv: 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:23
usrvhere's an example of other people having the same issue23:24
usrvhttp://ubuntuforums.org/showthread.php?t=116260023:24
usrvand I've tried working their solution but it doesn't work for me23:24
jmarsdenusrv: You zeroed all the superblocks?23:27
usrvno. I tried doing the mdadm.conf the same way tho23:27
usrvi guess i should figure out how to do that23:28
jmarsdenWell, 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
jmarsdenIf the "p" in your suprious device names stands for partition, that sounds somewhat reasonable as an explanation.23:28
jmarsdenBut you you get INTO that state, I don't know.23:29
jmarsdens/you you/how you/23:29
usrvso should i only need to --zero-superblock on the drive that keeps separating from the md0 array?23:32
jmarsdenusrv: I'd be tempted to zero all of the RAIDed drive superblocks, but sure, you can try zeroing just one first.23:33
jMylesHow can I see all the devices to whom dnsmasq is giving dhcp?23:37
ruben23hi guys i got problem mounting windos share on ubuntu server i got this error--->mount: no toute to host23:43
jmarsdenruben23: Can you ping the host concerned OK?23:43
ruben23my comand is this---->mount -t cifs -o username=AGENT,password=3tr //xxx.xx.xx.xxx/recordings2 /media/share23:43
jmarsdenruben23: Answer the question: can you ping the host OK?23:44
ruben23yes i can at time=0.217 ms23:44
jmarsdenOK.  Does smbclient -L xxx.xx.xx.xxx -N      # shows you the shares on that host?23:44
ruben23its a windows 7 OS23:44
ruben23ill test now23:44
ruben23jmarsden:ow smn client is not installed i got message23:45
ruben23smb client not installed23:45
jmarsdenwell, install it :)23:45
ruben23installing23:46
jmarsdenThat may be all you need, so once it installs, retry the mount command.23:47
ruben23 jmarsden: got this---->http://pastebin.com/m1c50a7a923:48
jmarsdenLooks vaguely sane.  Try the mount command again now.23:48
ruben23ok23:48
ruben23mount: No route to host23:49
jmarsdenruben23: 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
jmarsdenBe consistent.23:50
ruben23ok sorry23:50
ruben23got his upon running---->http://pastebin.com/m2cf7bcba23:51
ruben23what should i do now23:52
jmarsdenWhat 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
ruben23ok right away23:52
jmarsdenDid that work?23:58

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!