/srv/irclogs.ubuntu.com/2009/08/06/#ubuntu-server.txt

addisonjhmm....  why would i get permission denied from apache when my entire directory is set to 766??00:16
KillMeNowwhere are you getting denied?  what is it saying in the log?00:17
infinityaddisonj: Surely, you mean 755?00:17
jmedinaaddisonj: what about parent directory?00:17
infinityaddisonj: 766 gives no execute permission on the directory, so it can't be traversed.00:17
jmedinaexecure permison on a directory?00:18
jmedinayou misunderstood directory permisons00:18
addisonjanyone here famaliar with sugarCRM? well i am trying to install, i am getting an error that none of the config files are writeable00:18
jmedinax means access00:18
KillMeNowaddisonj:  check your file / folder permissions00:19
infinityjmedina: ...00:19
infinityjmedina: I really don't.00:19
addisonjk, so yeah, i would normally want group writeable? then that should work00:19
infinityjmedina: You can't traverse a directory without it have +x00:19
KillMeNowdepends on who owns the file00:19
infinitys/have/having/00:20
addisonjatm, root, but i tried changing it to my super user and still no go00:20
addisonjso... how do i check under what user or group apache is runnnig? could that be the problem?00:20
KillMeNowaddisonj:  ls -la on the tree00:20
infinityaddisonj: You want your files 644 (or 444, or whatever), and your directories 755 (or 555, or..)00:21
infinityaddisonj: Need read on the files, and traverse on the directories.00:21
KillMeNowaddisonj is trying to install sugarCRM and the installer is trying to write to the config files00:21
KillMeNowso infinity is right, dirs need 755 and you may need to temporarilly set 777 to the config files00:22
KillMeNowthen change them back to 644 afterwards00:22
infinityOkay, and if you need to write config files, you need the files 666 (and the directory 777 to be able to create new files)00:22
infinityKillMeNow: No point in having executable text files.  666 is enough. :P00:22
KillMeNow6 and one half the other00:23
KillMeNowgonna change the perms back after install00:23
addisonjso, is there a way to chmod just the directories? or do i have to do all of em?00:23
infinityKillMeNow: Yeah, I just prefer to teach people a bit about what permissins mean, I guess.  I see far too many blind "chmod -R 777 foo/" installations out there with no understanding of what it means.00:23
addisonjthis is interesting, i first installed locally and had no problems whatsoever00:24
KillMeNowy7ea, that's why i referred to the config file, not 777 the dir00:24
KillMeNowor all files in a tree00:24
infinityaddisonj: Your fastest route is "chmod -R ugo+rwX /path/to/dir" ... And then when you're done, "chmod -R go-w /path/to/dir"00:25
addisonjwait, so only users should be able to write?00:25
infinityaddisonj: (That's shorthand for "user, group, other, full read, write, and X on directories", and then "group, other, remove write"00:26
infinityaddisonj: Ultimately, only the file owner should be able to write to it.  And that shouldn't be apache. :P00:26
infinityaddisonj: But for now, you need apache to write to it.00:26
addisonjk, alright, now my other weird error, for some reason, my mysql is not working starting, one sec here is error00:28
addisonjmysqladmin: connect to server at 'localhost' failed00:28
addisonjerror: 'Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)'00:28
addisonjCheck that mysqld is running and that the socket: '/var/run/mysqld/mysqld.sock' exists!00:28
addisonjand... it does not exist00:29
addisonjso... how does one fix that?00:29
KillMeNowwhat are you telling it to connect through?00:38
KillMeNowlocalhost 3306?  is mysqld actually running?00:38
addisonjno and nor will it start i guess...00:46
KillMeNowthen you need to over come why that it's not starting00:51
KillMeNowcheck your /var/log/mysql/mysql.log00:52
KillMeNowalso check /var/log/messages00:52
addisonjthey all seem to be empty... hmm00:58
addisonjany messages has nothing about mysql01:00
KillMeNowif you don't have mysql logging turned on in my.ini that would be why they're empty01:04
KillMeNowbut you should stil lget a message in /var/log/messages01:04
KillMeNowor /var/log/syslog01:04
addisonjblah, i just did a purge on everything mysql related, still will not start, curious though could it be an iptables problem?01:29
addisonjnope thats not it either01:33
KillMeNowiptables won't stop an application from starting, but apparmor can01:43
owhOn a Ubuntu 8.04 live cd I can ping local machines by their name, that is, ubuntu.local and vice-versa. What do I need to do for that to work in ubuntu-server/ubuntu-jeos?02:12
owhHmm, that question is written pretty badly, let me try that again :)02:13
owhIf I boot from a Live CD, I can ping other machines on the lan using hostname.local, and from those other machines, I can ping the Live CD machine with ubuntu.local. Under Jeos/Server all I get for my trouble is unknown host. What process is making this magically happen?02:14
giovaniowh: what you're referring to is called zeroconf02:15
giovaniit's an IEEE working standard02:15
giovaniubuntu implements zeroconf with avahi02:15
owhCool, let me do some RTFM on that. Much appreciated giovani.02:17
giovaniowh: no problem -- it's crap, but it's becoming widely used with Windows Vista+ and OS X02:17
owhHmm. Bonjour style :)02:18
giovanistyle?02:18
giovaniBonjour IS zeroconf02:18
giovaniApple likes mDNS02:18
giovaniMicrosoft likes SSDP02:18
giovaniavahi speaks both :)02:19
owhYes. I was making a little joke. Other than making a static list of hostnames is there a better way of managing a bunch of virtual machines?02:19
owhI'd rather not run a virtual machine with dnsmasq which would duplicate the DHCP activities of the host.02:20
giovaniheh02:20
giovaniwell then don't use your host for dhcp/dns02:20
giovanihowever, there are systems for dynamically setting up DNS via DHCP requests from the client02:22
giovanias in ... the client can define its own hostname, and DNS will be properly set for it02:22
giovaniall that does is remove the centralized, more manual DNS setting, and replace it with something decentralized in control02:22
owhYeah, but VMware has been spectacularly unable to understand what I mean if I ask them specifically that.02:23
giovaniwhy would you ask VMware that?02:23
giovanithis isn't a virtualization issue02:23
giovaniVMware doesn't provide a DNS server from the host afaik02:23
giovanimaybe a DNS relay02:23
owhBecause I'm running Fusion and the DHCP server is run by it. It also provides a DNS proxy. I wanted to know how I could link the two.02:24
giovaniit's a special setup02:24
giovaniI would never expect a consumer-oriented virtualization product to support it02:24
giovaniI'm sure Fusion allows you to disable the DHCP02:24
giovaniand host your own02:25
owhNope, all I can do is not use NAT.02:25
owhThe innards of Fusion and enterprise based VMware code is the same AFAIK, just the management/gui is different.02:25
giovanino, it's not the same02:25
giovaniat all02:26
giovaniand this is not an innards issue02:26
giovaniI can disable the DHCP server on my VMware Workstation product02:26
owhHow?02:26
giovaniI'm not familiar with Fusion specifically, but it's a stripped down version of Workstation02:26
giovaniit's a setting ...02:26
owhFusion is the OSX version of Workstation. It is not a stripped down version.02:27
giovaniit's a stripped down version, that's consumer-oriented, at a deep discount02:27
giovaniit's not the same product02:27
giovaniWorkstation is like $40002:27
giovanithat's not because it runs on Linux and Windows02:27
owhThat's what I paid for Fusion.02:27
giovaniVMware Fusion is like $8002:28
owhMy credit card does not agree with that. We're not talking Fusion 1.x, we're talking 2.x02:28
owhCame out earlier this year.02:28
giovaniVMware Fusion 2.0 (for Mac OS X)02:29
giovaniElectronic Software Download - Start Using It Instantly $79.9902:29
giovanithat's a paste from vmware.com02:29
giovanithere's a 5-pack version for $35002:29
giovani(that's 5 individual licenses)02:29
owhHmm.02:30
owhMoving right along.02:30
giovaniheh, so the bottom line is, VMware Fusion is NOT Workstation for the mac02:30
owhI hear you.02:30
giovanithey have a different featureset -- and they're oriented at different markets (hence different levels of customization I'm sure)02:31
giovaninow, googling has revealed that you have full access to the dhcp.conf02:31
owhI do.02:31
giovaniso I suggest you google vmware fusion dhcp02:31
giovaniand figure out how to disable it02:31
owhI did.02:31
giovanior how to configure it to your liking02:31
owhI can make a static list of hostnames, but that hardly makes this managable.02:31
giovanistatic hostnames are how most networks function :)02:32
giovaninetworks 100s and thousands of times the size of yours02:32
owhI'd have to restart the network every time I create a new guest, which means all other guests lose network connectivity.02:32
giovanibut you're welcome to configure it a different way02:32
giovaniright, which is why you can disable the dhcp server in vmware02:33
giovaniand host your own, inside of the guest network02:33
owhHmm.02:33
giovanigoogle "fusion disable dhcp"02:33
giovani1st and 2nd results are EXACTLY what I've been recommending02:33
giovani"vmware fusion disable dhcp" actually02:34
owhI've just read those. I understand what you mean. I was aiming for a more dynamic implementation using the existing infrastructure. You're indicating that you don't think that's possible and that I need to run my own.02:36
giovaniI'm suggesting that I don't know anything about VMware's built-in DHCP server ... I presume it's crap, and a minimal implementation02:36
giovanidynamic hostname setting client-side with DNS is complex02:36
giovaniit's definitely not a standard configuration02:36
giovaniand VMware doesn't even offer a real DNS server, so it's unlikely it's even possible02:37
owhThe DHCP server is the standard ISC DHCP server.02:37
giovanithat's scary02:37
giovanistill, there's no DNS server, afaik02:38
giovaniwhich is clearly required to offer DNS :)02:38
owhThat appears to be the case :) Just a proxy.02:38
giovaniI'm unclear on why you think having VMware run your DHCP/DNS is better than you running it yourself02:38
owhRunning it myself means it's virtualised, so it's chewing more cycles than if it was running natively.02:39
giovani(I'd recommend, btw, that if you want a full test lab network, that you not use a desktop virtualization solution)02:39
giovanihaha02:39
giovaniI think you don't realize how minimal of an impact DHCP and DNS are on a cpu02:39
owhI'm glad I can provide entertainment :)02:39
giovaniI run an authoritative DNS server on the internet with 32MB of ram02:40
giovaniand that's the entire OS included02:40
giovanithe DNS server uses a few MB02:40
giovaniand I'm sure the load hasn't ever reached 0.0102:40
giovaniyou should really not be using Fusion for a lab though :)02:40
giovaniuse a proper vmware server install (free), or kvm, or xen02:40
ballI've been tinkering with VirtualBox today02:41
giovaniheh02:42
giovanianother desktop product :)02:43
owhIt's not a lab. I'm running my ubuntu desktop as a virtual machine because I'm fed-up having to deal with hardware incompatibilities every time an update comes past. In addition it allows me to make my machine independent of the actual machine its running on, so I can run it on a different computer altogether if I need to. And finally it means I can test new releases and finally do some work with ubuntu-server and contribute back to02:43
giovaniowh: why would you need dynamically-updating DNS then?02:44
giovaniit sounds like you only have one VM :)02:44
ballgiovani: kvm probably requires AMD-V or VT though.02:44
owhWell, it allows me to build a VM in a few minutes without needing to update the DNS somewhere, destroy the machine when I'm done. Rinse and repeat.02:44
ball...so that's not an option for me.02:44
giovaniball: yeah, because it's real virtualization :)02:44
* ball nods02:45
giovaniowh: why do you need local DNS for one machine?02:45
ballI could run it on the production server, but I will want to try it out first.02:45
owhgiovani: It's not one machine. When I write software for a client, I'll host a development machine for the project. Since I have many clients, there are many such machines. They're not all running at the same time, but having to maintain a list somewhere is asking for trouble.02:46
ballDoes kvm use a host OS?02:46
owhIt's not like a standard corporate network where machines don't come and go several times a day.02:46
owhball: Yes.02:47
giovaniowh: fair enough -- that sounds like a lab to me though02:47
giovaninot "I want to host a personal ubuntu desktop in a vm"02:47
ballowh: would kvm let me connect the guest machines together via a virtual ethernet and also have the host OS see that via something like a virtual interface?02:48
owhgiovani: It's like a testing lab in some ways. If there was another virtualisation tool I could use under OSX that worked, I'd be prepared to look at that.02:48
owhball: Yes.02:48
ballowh: excellent, thanks.02:48
giovaniowh: virtualbox is another option02:48
owhball: Lemmie find the KVM guide for you. One mo.02:48
giovanihowever, I still fail to see why you can't run a vm that offers the network services you want02:48
owhgiovani: The last time I looked at that it crashed around my ears every 20 minutes.02:49
giovaniowh: sorry, what?02:49
giovaniI don't follow what that means02:49
owhgiovani: You are beginning to convince me that running my own DHCP/DNS is an option.02:49
giovaniit's not just AN option -- it's your ONLY option for what you'd like02:49
owhgiovani: virtualbox has been unstable and unreliable for me. It was running within a Ubuntu host at the time. It did not fill me with confidence.02:50
giovanihm02:50
giovanivirtualbox has been plenty reliable for me02:50
giovanibut alright02:50
giovaniI'm moving all of my desktops to os x actually02:51
giovanimy laptop's wifi card is a problem though02:51
owhball: https://help.ubuntu.com/community/KVM/02:51
owhgiovani: I did contemplate running Ubuntu natively on this MacBook Pro, but I decided that I would be no better off. This way, Apple takes care of its own hardware and Ubuntu just sees a bog-standard PC.02:52
ballowh: thanks02:52
giovaniheh02:52
giovaniyeah, I'm not a huge fan of linux desktops02:52
owhMy over-riding concern was that I was unable to contribute to the ubuntu-server team because I'm on the road all the time. This way I can use my Ubuntu desktop for running my business, setup guests as u-s machines and test and fix u-s bugs/issues. Something which I couldn't do since Gutsy when VMware stopped working under Ubuntu desktop.02:54
* owh has been running a Linux desktop for nearly a decade.02:54
owhBest thing I ever did.02:54
ballI've just started seriously using Linux.  I've used NetBSD as my primary desktop OS for the past ten years, commercial unices before that.02:55
ball...it took a while for Linux to reach a point where I could consider putting it in front of people.02:56
owhgiovani: Thanks to your comments I've just had a quick squiz at avahi-daemon. It installs 11.4Mb of stuff just to make it work. dnsmasq is looking mighty nice :)02:56
owhball: The first desktop I put in front of a client was dapper. They are still my clients and they love me since for the first time in their living memory they have had a machine that just keeps working. I've now done that for several clients and am working my way through migrating several more. Hardware support is still an issue, but from a stability perspective, I don't look at anything else anymore.02:58
ballowh: I did a short trial with Hardy, but the users couldn't print, so that effort died fast.02:59
owhWhat issue was it?02:59
owhPrinting has not seemed to be a high problem where I've done this.03:00
ballSharp MX-3501N was silently discarding PostScript jobs.03:00
ball...couldn't persuade the driver to send PCL6 instead.03:00
giovaniCUPS is kind of shit :)03:00
owhball: What did linuxprinting.org have to say about it?03:01
ballowh: I have no idea.03:02
ballDidn't even know that existed.03:02
owhgiovani: I'll agree that it's temperamental :)03:02
owhgiovani: It's like sendmail. It's not unfriendly, just choosy on who it becomes friends with :)03:03
owhgiovani: Thanks for your comments. I'm outta here. 5 hours until I finally go on holiday after 3 years :)03:06
ballDoes kvm only work with Linux guests?03:30
twbkvm provides hardware emulation, not paravirtualization.03:32
twbIt should be able to run arbitrary guest OSes03:32
twbHowever, it would not be difficult for an OS to deliberately refuse to work with kvm, by e.g. checking the model ID reported by the CPU.  I think OS X does such things, for example.03:33
twbOh, and the intel C compiler03:33
balltwb: I suppose I'll just have to try it.03:37
twbball: did you have a particular OS in mind?03:37
balltwb: Solaris sprang to mind03:38
balltwb: ideally NetBSD too, but I'm not optimistic about that working.03:38
twbDoesn't NetBSD run on everything?03:38
ballIt does run on many things, but not on everything.03:40
ballCan't boot it in VirtualBox or on certain Macintosh systems03:40
ball(very old Macs)03:40
twbOf course you can't boot kvm inside virtualbox.  KVM requires hardware virtualization support (VT-x).03:50
twbOh, you meant netbsd.03:50
=== bc_ is now known as bc
samdi'm connecting my server wirelessly using dhcp, but when for some reason, the connection is lost, the server wont auto-reconnect back up. is there anyway to tell dhclient to auto-reconnect on connection loss?05:20
twbdhclient isn't reponsible for reconnecting.  Probably wpa_supplicant or NetworkManager is.05:21
samdumm, on ubuntu server what would be?05:21
giovaniuh, possibly neither05:21
samdthere is no network manager as far as i know05:21
giovanidoes your network use encryption?05:22
samdnope05:22
samdoo wait05:22
twbsamd: pastebin your /etc/network/interfaces05:22
samdit does05:22
samdwep05:22
giovaniok, stop using wep05:22
giovaniit's useless05:22
samdight, ill probably just hide the network and use mac filter05:22
twbsamd: you can sniff and spoof mac adresses trivially.05:22
giovanisamd: no05:23
giovanisamd: use proper encryption05:23
twbsamd: if you care about security you should use WPA2 and/or a VPN tunnel.05:23
giovanii.e. at the minimum, WPA2-PSK05:23
samdgiovani: ight05:23
giovaniat ideally WPA2-TKIP05:23
giovaniand*05:23
giovanior AES, your choice05:23
twbgiovani: erm, isn't TKIP orthogonal to PSK?05:23
giovanitwb: yes, my mistake05:24
giovaniWPA2-EAP is more like it05:24
samdhttp://paste.ubuntu.com/248369/05:25
giovanisamd: yeah ...05:25
giovaniI don't know if there's a solution for this05:25
twbsamd: yeah, you wanna use wpa-supplicant and/or NM05:25
giovanithe wireless card handles reconnection typically05:25
giovaniso dhcp has to be issued by an app watching the status carefully05:26
twbgiovani: here, running just wpa-supplicant, there's a wpa daemon that re-ifups.05:26
samdgiovani: twb , does NM runs w/o x server?05:26
giovanitwb: well it must be watching the wireless interface05:26
giovanisamd: no clue, I don't touch that nasty stuff05:26
twbNM is a headless daemon.05:27
twbUnfortunately the utter dickheads that maintain it only provide GUI (no CLI) interfaces to it.05:27
giovanibecause it's scary code05:27
twb"Because you can just write raw dbus XML to it," they told me.05:27
samdumm , ill probably end up connecting it via cable05:27
giovaniit's obnoxious at managing interfaces05:27
twbI would never ever use NM myself05:27
samdtwb: what would u use?05:28
samdtwb: none? what about wicd?05:28
twbsamd: I use plain wpa_supplicant myself05:28
samdtwb: i see05:29
samdtwb:  let me change encryptioni to wap now05:29
twbauto wlan0 \n iface wlan0 inet manual \n wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf \n wpa-roam-default-iface wlan0-default \n iface wlan0-default inet dhcp05:29
twbSo then "wlan0" comes up, which just starts the wpa roam daemon.  It gets a hard-coded list of APs from wpa_supplicant.conf, and when the iwconfig status changes, it runs "ifup wlan0-default"05:30
twb(which triggers a dhclient)05:30
samdi see05:30
samdinteresting05:30
twbThe only downside for me is that I need to sudoedit that file to add/remove APs.05:31
samdtwb: yeah, cuz they'r hard coded05:31
samdtwb: no problem if its a desktop05:31
twbI think you can also use wpa-cli to add/remove them05:31
samdso ur under what os?05:32
samdwhich*05:32
twbTechnically this is on Debian, but I'm confident it's applicable to Ubuntu05:32
samdyeah, i bet it is, after removing network manager, as it comes in default ubuntu desktop install05:33
LiraNunawhat's the "deafault" (i.e well supported) imap/pop3 server on ubuntu?05:49
LiraNunashould I go for dovecot or courier05:49
samdis having a xorg in a server a unessesary security risk?05:50
tonyyarussoI would say yes, but that depends on your definitions of "necessary" and "risk".  Most people advise against it anyway.05:53
tonyyarussoLiraNuna: dovecot is default05:54
LiraNunaI can't get dovecot working with postfixadmin :(05:56
twbX on a server is a YAGNI issue05:56
samdtonyyarusso: what about if it's not running,, (running it just when i actually need it)05:56
LiraNunasamd, I did the same as you describe, but then I ended up using the command line and then purging ~500 packages05:56
twbAnd if you *do* need X to administer a server, that's probably indicative of larger problems05:56
tonyyarussosamd: less so anyway05:56
samdtwb: tonyyarusso LiraNuna , i was thinking on installing xserver to use wicd ( a network manager) to reconnect in case of a connection lost05:58
twbsamd: what's wrong with just using wpa_supp?05:59
LiraNunasamd, I never had trouble with ifupdown05:59
LiraNunaor is it strictly wireles05:59
LiraNunawireless does not a good server make05:59
samdtwb: ohh, i didnt understood i could use wpa_supp for that. LiraNuna i know, ill work on wiring, but ill have to wait for at least 1 month with wireless06:00
samdLiraNuna: whats  ifupdown? does it runs auto?06:01
LiraNunasamd, I don't know how it goes for wireless netwroking06:01
samdill prolly go for wpa_supp as twb suggested, ,,,06:02
jamesrflaIf I had a server with apache2 on it then create a VM and install apache2 on it and configure virtual hosts for a few domains. Is this posible?06:11
matttjamesrfla: don't understand your question :/06:21
jamesrflaOkay let me see if I can explain it differently06:21
jamesrflaI install Ubuntu server  with apache2 hosting domain.domain.com then on that same server I make a VM and install Apache2 on it and configure virtual hosts to host domain2.domain.com and domain3.domain.com06:22
jamesrflaI basically want to do a very VPS hosting for a few of my friends06:23
matttjamesrfla: i see, sounds fine06:24
matttjamesrfla: you can install apache2 on the host (dom0) and apache2 on the virtual machines (domUs) also06:25
jamesrflaWill there be any conflicts. The VPS will run on a different internal IP than the other server not in a VM. I only have one dynamic world ip06:25
matttjamesrfla: should be fine provided that everything has different IPs or you use port forwarding06:27
jamesrflaDifferent external Ip's or different internal Ip's. Also can I run all of then on port 80?06:28
matttjamesrfla: internal is fine, provided that you intend on accessing them from the internal network :)06:28
jamesrflaI am just worried that after typing in a web address that it would go to the other VM and say this site isn't here06:28
jamesrflaHmm. I kind of wanted them to be accessed by the web.06:29
matttjamesrfla: how, if you're using internal IPs?06:29
matttjamesrfla: how about ....06:30
jamesrflaWell internal then use port forwarding....Maybe I am missing something here06:30
matttjamesrfla: ok, port forwarding is fine if you don't mind using http://domain2.domain.com:8802 (or equivalent), http://domain3.domain.com:8803, etc.06:31
matttjamesrfla: or, you could use a reverse proxy on the dom0 and send the traffic to the domUs that way ... don't know what complications that may uncover tho06:31
jamesrflaSo what I want to do won't really work. I would have to have all the web hosting on the one server.06:33
matttjamesrfla: no, it will work ... but if you have all sites pointing to the same IP, obviously you need a way to then get the traffic to the appropriate virtual machine06:34
jamesrflaOkay I see. So how can I point it to the right virtual machine?06:35
matttjamesrfla: reverse proxy, port forwarding, etc. :)06:35
matttjamesrfla: maybe there are more obvious ways, but i don't know06:36
jamesrflaMaybe if I post something on the UF and see if they have any ideas on the matter.06:36
matttyeah, the more input you can get the better!06:36
matttthe reverse proxy way would work nicely06:37
jmarsdenjamesrfla: It sounds like you are new to web hosting, so you should probably start out with a single copy of Apache and do all the hosting one one machine.  Once you are comfortable doing that you can explore the idea of migrating some of those virtual hosts into separate VMs via a reverse proxy.  Start small and simple and get it working, then add complexity as your knowledge and experience grows.06:37
matttjmarsden: hmm, wise words.06:38
jamesrflaWell I have been hosting a site on apache2 server for about 2 years. I am just new to this virtual hosts and VM's06:39
matttjamesrfla: why do you need individual VMs?06:39
jamesrflaBingo!!!!06:40
jamesrflaI just got a good idead06:40
jamesrfla*idea06:40
matttjamesrfla: ?06:40
jamesrflaSetup a VPS and have it so all my friends can access it. Do all my web hosting just in that VM...06:40
jamesrfla*VM06:40
artillerytxwhat is a php library06:41
jmarsdenjamesrfla: What is the benefit of using a VM for this?06:41
jmarsdenartillerytx: A bunch of PHp someone else wrote that you can use.06:41
jamesrflahmm. I need a min to think this out for a sec.06:41
artillerytxjmarsden: oh well how do i install cURL06:42
jamesrflajmarsden: then I can host all the web sites on that and virtual hosts. Then I wouldn't have to mess with thisreverse proxy.06:42
jmarsdenjamesrfla: You can just host multiple sites on the main machine OS, no need for a VM.  Keep it simple.06:42
jmarsdenartillerytx: Same way you install anything else on Ubuntu.  sudo apt-get install PACKAGENAME .  In this case   sudo apt-get install php5-curl06:44
jamesrflayeah I can. Hmm. I guess it depends who is going to use it. Give me a min to think this out.06:44
artillerytxjmarsden: okay06:45
matttjamesrfla: i can see from a security stand point why using a VM would be beneficial06:45
jamesrflaYeah I just want to keep my stuff personal and there stuff in a VM06:46
jamesrflaKind of how Linode does there stuff06:46
jmarsdenjamesrfla: You do not know as much as the Linode admins do :)  And if "your stuff" includes a web site, you'll need a reverse proxy to separate your web site (on the physical host) from the others (in the VM)...06:48
* jmarsden thinks it may be better to just help your friends each set up their own Ubuntu machines at their own homes.06:48
jamesrflayeah true. Well this project is still in planing06:50
jamesrflawell the linodes also get there own world ip06:50
jmarsdenIf your friends just need web hosting (no shell access), you can probably do fine setting up everyone on the main physical machine OS and locking it down carefully so they can only destroy their own stuff...06:50
jamesrflayeah that is another option. Or when they want there web page updated they can e-mail me the new page and I can do it for them.06:51
jamesrflaJust as long as they don't want there web page changed every min :)06:52
jmarsdenwell, that would get old pretty fast when they each email you 500 photos and 200 videos from their cellphones...06:52
jmarsdenYou could set up a CMS for each of their sites to avoid that...06:53
jmarsdenSounds like you are not really sure what you are trying to do here :)06:53
jamesrflalol. I hope not. I don't think I will have many people interested in this. If they want more than just web hosting I can set them up with a VPS and SSH06:53
jmarsden5 people x a few hundred photos from a weekend trip = *way* too many emails...06:54
jamesrflaWell still in planing. I don't think many people would want it anyway. They all seem to hate Linux06:55
jamesrflaWell thanks for your help jmarsden and mattt I think I am just going to just have them e-mail me if they want there site changed. That is if they want a site or I could make a little space for them like domain.domain.com/friend/06:59
jmarsdenNo problem.06:59
twbThere's one reason to host different sites in VMs: if they all require very specific, conflicting versions of PHP and/or MySQL.07:00
jamesrflaI guess I got a little too excited wit VMware ESXi and VMware Server....07:00
twbOf course, the Right Thing then is to not run PHP apps :-)07:00
jamesrflatwb: Well the main reason was security. But I could also make there account very limited and somehow give them my SSH key so they can actually get in07:01
twbjamesrfla: or, you know, use THEIR ssh key07:02
jamesrflause their SSH key?07:02
twbGiving someone else your ssh key would be dumb07:02
jamesrflaoh. Make a secound key for them you mean07:03
twbIf they want to access a VPS on your server, THEY give you THEIR public key, and you tell the VPS to let that key in.07:03
jamesrflaI guess I could do that. Setup a account for them that is limited to only rebooting apache2 and adding/remove files to there web site directory07:05
jamesrflaWell thanks again.07:09
twbThey shouldn't even need apachectl permissions... just give them an account in vsftpd07:10
jamesrflaokay so they can use vsftpd07:11
jamesrflato upload there web page but don't you still have to stop and start apache?07:11
jamesrflaWell GTG to bed07:20
artillerytxhow do you copy a directory again08:23
artillerytxis it cp -R /dir /dir208:24
dayois there anyway to allow root ssh login from lan, but block it from the internet?08:26
dayoartillerytx: cp -r source destination08:27
=== highvolt1ge is now known as highvoltage
=== twb` is now known as twb
twbdayo: AllowedUsers08:48
twbdayo: sorry, "AllowUsers root@192.168.1.0/24" or similar08:49
twbAs a matter of course, you should restrict sshd to a whitelist of trusted users/origin tuples.08:50
dayotwb: where do i put AllowedUsers?08:51
twbdayo: /etc/ssh/sshd_config08:51
dayotwb: what about whitelisting? does that affect only internet ssh or lan, too?08:53
twbdayo: sshd cannot see the difference between your "LAN" and "the internet"08:55
twbdayo: it CAN distinguish the IPs of the hosts connecting to it.08:55
dayotwb: what i want is non-roots to be able to ssh in from anywhere, but root should only be allowed to ssh from LAN08:56
twbdayo: so to allow root access from and only from your local LAN, you would tell it to accept connections for root from your LAN's IP range, which is typically a private use range such as 192.168.0.0/16.08:56
twbdayo: then you need to whitelist the non-root accounts, also.08:56
twbOr explicitly blacklist root@X for all IP addresses X that are not in your LAN IP range, but I don't recommend that because you will screw it up.08:57
dayotwb: i just checked and i have only 3 non-root users. will this work: AllowUsers adam betty chris root@192.168.1.0/24 ?08:58
twbdayo: yes.08:59
dayotwb: great. thanks :-)08:59
twbfoo is the same as foo@*08:59
dayoi see09:00
twbWhat I typically do is work out where users are likely to ssh from, and restrict connections to only those IPs.09:00
twbSo you might have adam@adam.co.uk and adam@adam.info instead of just adam09:01
twbThis just means that some other schmuck is providing the "first line of defense"09:01
twbIf they need to get access from an e.g. internet cafe, then you can whitelist some generic ssh server like freeshell.org, though typically people I know already can get into somewhere like alioth.debian.org or users.sourceforge.net09:02
dayoit boils down to just a single IP on my LAN that needs ssh, thankfully.09:04
dayotwb: thanks for all your help :-)09:05
twbNo problem.09:05
stefan__3hello09:43
makeApache default installation of orders generally able to use the test to the number of ab09:57
RoyKwtf. oprofile is in ubuntu, ok, but no vmlinux, effenctively rendering oprofile quite useless for kernel stuff10:16
make/lib/xtables/libipt_layer7.so those documents need to install software?10:17
_rubenmake: not sure what your native language is, but your english isnt making much sense (to me)10:30
quizmehow can i give access to /etc/init.d/apache2 restart to the group called 'dev' ?10:54
uvirtbot`New bug: #409775 in php5 (main) "Problem building Karmic PHP" [Undecided,New] https://launchpad.net/bugs/40977511:11
_rubenquizme: 'man sudoers'11:42
ragsI get a "rndc-confgen not found" error while installing bind9 using aptitude...and there is no other way I can install rndc separatly...11:45
andolrags: Shouldn't bind9utils do, if you just need rndc?11:49
andolrags: That said, it might still be good to know why bind9 isn't letting itself be installed.11:49
ragsandol: the postinst is giving errors that rndc-confgen is not found..shouldnt the dependencies get resolved automaticall..11:51
ragsit shows bind9utils  to be already installed...I'll try reinstalling it..11:53
Boohbahi replaced /usr/sbin/apache2 with a patched version and then removed it, then 'apt-get remove apache2' then 'apt-get install apache2' but /usr/sbin/apache2 is still missing. how can i get apt-get to install the original binary?13:42
soren/usr/sbin/apache2 is in the mpm package, not the apache2 package.13:55
sorenBoohbah: ^13:55
sorenLike, say, apache2-mpm-worker or whatever you're using.13:55
Boohbahsoren: i was also missing /usr/sbin/apache2ctl from apache2.2-common, think i fixed it, thanks :)14:25
VSpikeGot a question about dnsmasq. Is it possible to configure it so that the hosting server uses dnsmasq's dns resolver?14:50
VSpikeLooks like the normal setup is that /etc/resolv.conf contains the nameservers the server uses, and dnsmasq then picks those up and uses those as upstream servers14:50
VSpikeSo other machines on the network will get dnsmasq's resolver via dhcp, but the server will not14:51
sorenVSpike: Sure.14:52
sorenVSpike: Just tell dnsmasq to use a different resolv.conf using -r.14:52
Steve[mbp]Morning everyone!15:47
andolSteve[mbp]: Good afternoon!15:47
Steve[mbp]:-p15:48
Steve[mbp]always morning somewhere ;)15:48
sgsaxstill morning here15:48
Sam-I-Amyes, same here15:51
Sam-I-Amyawn...15:51
Chocobocan anyone explain what the --reboot option for dhcpcd does?15:52
Sam-I-Amhmm, i didnt even know that was a valid option15:55
ChocoboYeah, the man page is very cryptic:  -y, --reboot seconds  -  Allow reboot seconds before moving to the discover phase if we have an old lease to use.  The default is 10 seconds.  A setting if 0 seconds causes dhcpcd to skip the reboot phase and go straight into discover.15:57
Chocobomaybe because I don't know what the "reboot phase" is15:57
jmarsdenChocobo: Read the RFC at http://www.faqs.org/rfcs/rfc2131.html for the details on how DHCP works, if you really need to know.16:05
VSpikesoren: and then set the server's resolv.conf to point to 127.0.0.1?16:29
sorenVSpike: Yes.16:35
giovaniVSpike: sure, or you can use -R to have dnsmaaq not read resolv.conf, and then set the upstream dns in the config file16:36
giovani-S is used to define upstream dns on the command line16:36
VSpikegiovani: looks like it can all be done in the config file if required16:38
giovaniVSpike: I just said that16:44
albdumhello there. How can i make a folder in apache accesible only with login? (something about httpd.conf)17:18
firecrotchalbdum: http://www.sitedeveloper.ws/tutorials/htaccess.htm17:21
Sam-I-Am .htaccess17:21
albdumshould i create a file with that name in the directory ?17:22
giovanialbdum: you should read about how it works17:22
albdumi read the manual at the site of apache but don't understand much. :(17:24
giovanialbdum: well, then you need to either hire someone to do it for you, or try harder to understand17:26
giovaniit's a reasonably basic topic -- I wouldn't advise running your own apache server without understanding these basics17:27
firecrotchalbdum: The apache manual is horrible if you're not already familiar with apache. Google "htaccess tutorial" and you'll get a much better explanation17:27
albdumthnx m817:29
albdumi have access to apache maybe i don't need .htaccess and setup something at general config of apache ?17:30
=== mushroomtwo is now known as mushroomblue
firecrotchalbdum: anything that can be configured via .htaccess can also be configured in your apache2.conf or the specific config file for your virtual host17:31
=== _LM__ is now known as _LM_
albdumok thnx17:33
RoyKomg17:37
RoyKhttp://www.bing.com/search?q=Why+is+Windows+so+expensive%3F&go=&form=QBLH&filt=all17:37
mushroombluethat link is awesome.17:44
albdumstill having problem i save a .htaccess file at the /var/www/thefolder and the .htpasswd file at /etc/apache but when i enter localhost/thefolder doesn't ask for any login (note: .htaccess and .htpasswd aren't listed when dir)17:53
KillMeNowthere is a wiki for how to setup htaccess and apache17:54
KillMeNowhttps://help.ubuntu.com/community/EnablingUseOfApacheHtaccessFiles17:54
albdumthnhx17:55
StrangeCharmhow do i create a multidisk device to use as a raid5 array. mdadm seems to want a md device specified: all i have now is a few disks18:20
KillMeNowsoftware or hardware raid?18:20
StrangeCharmKillMeNow, software18:21
KillMeNowhttp://ubuntuforums.org/showthread.php?t=40846118:22
nick125KillMeNow: Have you already partitioned the drives with a RAID partition?18:22
nick125er, StrangeCharm18:22
nick125(It's too early in the morning for thinking)18:23
KillMeNowLOL18:23
StrangeCharmnick125, no, the drives currently contain random data18:23
nick125StrangeCharm: Well, if you can, use (c)fdisk and repartition the drives...just note that when you repartition a drive, you typically lose the data on it (not technically, but bleh). Once you do that, mdadm --create /dev/mdX --level=5 --raid-devices=N /dev/sdXn /dev/sdYn /dev/sdZn18:25
nick125In a RAID 5, you need at least 3 drives.18:25
StrangeCharmokay, so mdadm can't format them on its own?18:26
nick125It won't partition them.18:26
StrangeCharmis it possible to use something like the 'graphical' utility on the installer, to make this process easier?18:27
nick125StrangeCharm: cfdisk is relatively "graphical," I guess18:30
nick125But I don't know of a real "graphical" way to do it outside of the installer18:31
StrangeCharmnick125, i mean, as cli apps go. i just recall that the installer made partitioning 'easy'. does the server/alt installer use cfdisk?18:31
giovaniStrangeCharm: we don't support graphical interfaces in #ubuntu-server18:31
nick125No, it doesn't. Not as the frontend, at least.18:31
StrangeCharmgiovani, there's graphical and there's graphical. i'm talking of the latter.18:32
giovaniStrangeCharm: ...18:32
nick125giovani: He means like a ncurses graphical and an X11 graphical, and he wants something ncurses graphical :P18:33
StrangeCharmgiovani, that was intended as humour. nick125 has me right on.18:33
giovanicfdisk is curses-based18:33
giovanihe said he wanted something graphical, not cfdisk18:33
giovaniso I'm confused18:33
jmedinause EVMS with its curses frontend18:34
jmedinaevms for all your storage needs18:34
jmedinaraid, lvm, native partitions, resize bla bla bla bla18:34
giovaniso does cfdisk "_18:35
StrangeCharmjmedina, very nice. how do i start evms with curses?18:35
nick125I thought EVMS was dead.18:35
jmedinaStrangeCharm: reading official documentation18:36
StrangeCharmindeed18:36
giovaninick125: it is afaik18:36
giovanievms isn't supported by ubuntu18:37
giovanijmedina: let's not recommend unsupported solutions, when perfectly adaquate, supported solutions exist, and are widely used18:37
jmedinaI prefer to spend 1 hour learning mdadm and mkfs instead of spending hours looking for a graphical tool18:37
nick125an hour? It takes an hour? ;)18:38
jmedinait depends on your background18:39
jmedinaof course I already read the old software raid howto with raidtab18:39
StrangeCharmso, i want to be using parted here?18:40
giovaniStrangeCharm: you want to use cfdisk18:40
Sam-I-Amjmedina: currently backporting the karmic openldap 2.4.17 packages to hardy... yum.18:40
jmedinaSam-I-Am: what is wrong with your packages?18:40
StrangeCharmgiovani, cfdisk doesn't show the disks in which i am interested18:40
jmedinajajajaja18:41
jmedinaman cfdisk18:41
giovaniStrangeCharm: what types of disks are they?18:41
Sam-I-Amjmedina: nothing... just ubuntu merged the 'official' 2.4.17 packages from debian... before i was building 2.4.16/17 manually.18:41
jmedinaprobably he just run cfdisk without giving a device as argument18:41
StrangeCharmgiovani, sdc-f18:41
Sam-I-Amjmedina: when 2.4.18 comes out i'll start building those18:41
StrangeCharmat least, fdisk -l says so18:41
giovaniStrangeCharm: that's not a type of disk18:41
giovanithat's the name of the disk18:41
StrangeCharmthey're sata hard disks on a pci controler18:42
giovanithen cfdisk will work just fine18:42
jmedinaSam-I-Am: good18:43
jmedinaI havent had the time to play with your packages, I have been most of time out of office with customers :S18:43
StrangeCharmgiovani, perhaps i'm missing something then, because they are not in the list after i start cfdisk18:43
giovanianything fdisk sees, cfdisk does as well -- they're the same backend code -- just different interface18:43
jmedinano time to chat and test :)18:43
giovaniStrangeCharm: you must be missing something then18:43
Sam-I-Amjmedina: it happens.18:43
Sam-I-Amjmedina: actually have quite a bit of stuff backported to hardy these days18:43
infinityStrangeCharm: cfdisk /dev/sdc18:46
infinityStrangeCharm: It only operates on one disk at a time, it doesn't offer a list.18:46
StrangeCharminfinity, thanks, i worked it out in the end :)18:46
StrangeCharminfinity, though, now it's complaining that the partition ends past the end of one of the disks. can i override this and just make a new table?18:48
infinityfor i in sdc sdd sde sdf; do dd if=/dev/zero of=/dev/$i bs=512 count=10; done18:50
infinityThere, no more partition tables. :)18:50
jmedinawhy count 10?18:51
jmedinaI thought it is only in the first 51218:51
infinityBecause I can never remember which block(s) modern tables are on. :P18:51
jmedinawell really doesnt matters18:52
infinityNope. :)18:52
nick125I usually wipe the first 1MB of the disk :p18:52
infinityBut yes, the first 512 should be enough.18:52
nick125yeah, 512B is enough to wipe the MBR and partition table. Thanks, Wikipedia!18:54
StrangeCharmonce i create a multi disk device with mdadm, will it always be there, or do i have to do something to make it exist every time i want it?18:56
infinityStrangeCharm: It will live on forever.18:56
jmedinathey need to be assambled at boot time18:56
infinityStrangeCharm: If you're using an initramfs, though (which most people are), running "update-initramfs -u" might be a wise idea after your array's created.18:56
jmedinarc script take care of it, and as inifinty says, updating initramfs18:57
infinityStrangeCharm: (update-initramfs will make sure your current mdadm.conf lands in there, so the array can be reconstructed in early boot... if you don't actually need it until userspace kicks in, it doesn't matter)18:57
StrangeCharminfinity, jmedina, okay, so this disk will now be available from early boot, yes?18:58
infinityStrangeCharm: If you update your initramfs, should be, yes.18:59
StrangeCharmindeed18:59
infinityStrangeCharm: (if not, it becomes available later in the boot, when userspace filesystems (/usr, /home, etc) are normally mounted... Ish.18:59
StrangeCharmthat should be well soon enough for me19:00
ewookmy god. bacula is a pita to setup.19:30
KillMeNowoh yea? i never used it, was thinking about it19:30
KillMeNowwhat makes it a royal PITA?19:30
uvirtbot`New bug: #409988 in lsb (main) "lsb_release crashed with ImportError in <module>() (dup-of: 383697)" [Undecided,New] https://launchpad.net/bugs/40998819:30
ewookKillMeNow: the default-conf-files is somewhat off (more likely I just don't get it). Database-creation also failed etc.19:33
KillMeNowso now that you've over come the PITA factor, how do you like it?19:33
ewookthat's the thing - I haven't :P19:33
ewookfirst time I put it up it was piece of cake. now... gheh.19:34
ewookbut overall I do like bacula.19:34
* jmedina uses bacula a lot, using dvds, hard diskc, tapesl, autochargers as media storage19:35
jmedinait rules19:35
KillMeNowdoes it only work with 'Nix distro's or does it integrate with Winblows?19:35
ewookthere's windows capable clients also19:36
jmedinaI backup windows servers, linux desktops and servers, and freebsd19:36
StrangeCharmwhat filesystem should i use for a 900gb partition, expecting to have files between <small> and about 5gb (with a good number of the larger files), where files get lots of small ~128kb edits at a pretty high rate?19:40
mushroomblueext4 or xfs19:41
mushroomblueIIRC, xfs was really really good for a bunch of small files19:41
StrangeCharmmushroomblue, is ext4 reliable?19:41
nick125StrangeCharm: depends on who you ask.19:41
mushroomblueI've been using ext4 for a few months without any issues at all.19:41
mushroomblueYMMV19:41
nick125I'm using it on all of my desktops, but I haven't had the courage to use it on my servers yet.19:42
mushroomblueI have it on my fileserver.19:42
mushroomblueext4 on 7 spanned lvm volumes19:42
mushroomblueworks wonderfully.19:42
StrangeCharmi'd rather not risk variable milage, mushroomblue, nick125. is xfs good for large files with incremental wites, or should ext4 or reiser actually have better performance for this scenario?19:43
StrangeCharmalso, does xfs journal data or just metadata?19:43
nick125You better have a good UPS if you use XFS. XFS does NOT like power cuts, since it does a lot of write caching.19:44
mushroomblueyeah.19:44
mushroombluexfs journals data19:44
StrangeCharmwell, that's a problem. would i expect that to be less of an issue with reiser and ext?19:45
mushroomblueext3 is pretty bulletproof19:45
nick125ext is a bit less.....volatile.19:45
mushroombluereiser isn't being actively maintained19:46
mushroombluewhat, with the main developer in jail and all.19:46
StrangeCharmi suppose i'll go for ext3 then19:46
nick125yeah, it's a relatively safe choice.19:47
mushroomblueespecially if your server isn't UPS'd19:47
mushroomblueyou should probably fix that.19:47
* sgsax has been using xfs for user homedirs for almost a year now19:48
sgsaxabout 4TB of space allocated in various partitions19:49
StrangeCharmmushroomblue, that would be out of budget19:49
mushroomblueStrangeCharm: your IT dept has weird budgets.19:49
mushroomblueI made sure power consumption and redundancy was near the top of the list19:50
StrangeCharmmushroomblue, it's not a big department, and availibility is not a high priority for this application19:51
StrangeCharmconfidentiality and integrity are the focus19:51
KillMeNowi've read a bit about ext4, all i can say is that it's still really experimental (from reading)19:52
StrangeCharmKillMeNow, good thing i picked ext3 then :)19:52
KillMeNowext3 is still my favorite19:52
KillMeNowyep19:52
KillMeNowsorry, at work and multitasking19:52
StrangeCharmKillMeNow, to be expected19:53
=== maxb_ is now known as maxb
milkohi!20:51
KillMeNowhi20:51
milkoI'm installing ubuntu server 8.0420:51
milkoI need a server for django and python20:51
milkowith mysql...20:51
milkoI don't install defaults packages (openssh, lamp, mail server, etc...), because I though do it manually20:52
milkobut, now I do "apt-get install apache2"20:52
milkoand the package is not found20:53
milko(sorry for my English, this isn't good)20:54
milkomy question is, if I can modify /etc/apt-get/source.list how I do it in ubuntu desktop... and in this case, what urls I must put for apache2?20:56
milkoanybody?20:56
KillMeNowusually by default the source.list is populated20:58
KillMeNowopen it up and check to see if it's set right, if it's not google for the settings20:58
KillMeNowcaue i don't remember them off the top of my head20:58
mushroombluedo you just need default URL's for sources.list?20:59
mushroomblueyour /etc/apt/sources.list is blank?20:59
KillMeNowhttp://ubuntuforums.org/showthread.php?t=78357721:00
KillMeNowthat's the forum post for default sources.list21:00
milkomushroomblue, oooh... I don't "apt-get update"21:02
milkosorry!21:02
milkoKillMeNow, mushroomblue, thx!21:02
mushroombluelol21:03
DeevzI just installed Userver and chose to configure the network later, how can I do it now that it is installed?21:13
nick125Deevz: /etc/network/interfaces21:13
DeevzI need to edit that with vi?21:15
nick125yeah21:15
sgsaxDeevz: yes, or your other favorite editor21:16
nick125or whichever editor suits your fancy21:16
sgsaxDeevz: it's well-documented, but your file should look something like this: http://pastebin.com/m6c79460e21:17
Deevzahh21:18
sgsaxbe sure to substitute your own info21:18
DeevzI always get caught21:18
DeevzI launch the program before knowing how to use it, now I dont know how to get out to read the vi man21:18
Deevzlol21:18
Deevzthx sgsax21:18
nick125Deevz: hit escape then :q!21:18
nick125then type "sudo aptitude install nano" and use that.21:19
sgsax :q! quits without saving21:19
sgsaxheh21:19
nick125err. Wait, you can't install anything without network. Eek :p21:19
sgsaxpretty sure nano is installed by default21:19
nick125sgsax: I don't think so..21:19
sgsaxif you've already installed ubuntu-server, I think it is21:19
DeevzI confirm, it is21:20
nick125Ah. That's good to know.21:20
Deevznano aint more clear tho21:21
nick125Deevz: It has prompts on the bottom on how to use it :)21:22
sgsaxDeevz: all the commands are displayed at the bottom21:22
Deevzthe navigation commands all have the "^" character at the bottom21:22
sgsaxthe ^ means use the CTRL key21:22
Deevzohh21:22
Deevzthx21:22
sgsaxnp, I like answering the easy questions :)21:22
Deevzah, I got permission denied21:23
DeevzI have to use sudo I guess21:23
nick125yeah21:24
nick125sudo nano -w /etc/network/interfaces21:24
Deevz-w?21:24
DeevzDisables wrapping of long lines...21:24
nick125It tells nano to not use word-wrapping21:24
nick125yeah21:24
Deevzwhat does that mean21:25
nick125Well, I think the default nano config disables word-wrapping...but, word wrapping is when it gets to the end of a line, it adds a line break and goes to the next line.21:25
ruben231hi anyone have idea on DRBL21:26
Deevzahh21:27
DeevzI pinged my own computer and it doesnt stop21:27
Deevzhow do I stop the ping command? :O21:28
LiraNunactrl+c21:28
Deevzthx, that works21:28
Deevzctrl+c seems to be pretty common command21:29
LiraNunait sends a SIGINT21:29
LiraNunaDeevz, http://en.wikipedia.org/wiki/SIGINT_(POSIX)21:29
android6011if I install ubuntu server, then mythtv-backend, will it install everything I need for tv tuner support?21:32
LiraNunahow do I set up forced SMTP auth?21:32
Deevzthats a pretty heavy read, LiraNuna, and the word "linux" or "unix" aint even in there21:32
nick125It's not Linux or Unix. It's POSIX.21:32
LiraNunaDeevz, heavy read? it's just a few lines21:33
LiraNuna"SIGINT is sent when the user on the process' controlling terminal presses the interrupt the running process key — typically Control-C"21:33
Deevzlol21:33
LiraNunaoh, Deevz are you using Xchat?21:33
Deevzthats not what I have here21:33
DeevzI am21:33
Deevzoh thats it21:34
LiraNunaxchat does not handle () in links correctly21:34
LiraNunahttp://en.wikipedia.org/wiki/SIGINT_(POSIX)21:34
DeevzI dont have the complet link21:34
LiraNunait took you to Signals intelligence21:34
nick125haha, that would explain it.21:34
LiraNunaI need to submit a patch to xchat, it gets on my nerves as well21:34
sgsaxDeevz: once you hvae edited your interfaces file, you probably need to "ifdown eth0" "ifup eth0"21:39
sgsaxto restart the interface with the new settings21:39
nick125Tomorrow should be fun. I get to setup an OpenLDAP/Samba PDC! Go me.21:39
KillMeNowgood luck21:40
Deevzsgsax: I just restarted my comp, does it do the same thing?21:40
sgsaxor "/etc/init.d/networking restart"21:40
DeevzI guess it should21:40
sgsaxwell, that's the "hard" way, but should be sufficient :)21:40
LiraNunaanyone have any idea why postfix allows anonymous smtp relay even though it's configured as noanonymous?21:41
nick125KillMeNow: I think I'm going to need it. When I had this system setup on Gentoo, it took me 5 hours to get Samba and OpenLDAP and the Winblows boxes working happily.21:41
* sgsax just got LDAP+krb5 auth against an AD box working again21:41
sgsaxthat was not fun, I'm guess it'll be nearly as fun setting up openLDAP21:42
nick125I'm hoping that this will be a little more sane, using a little bit saner distro.21:42
sgsaxgentoo is fine if you like to bleed21:42
nick125sgsax: exactly.21:42
sgsaxI'm moving away from it in my shop21:43
LiraNuna"dependency problem!" "oh shi-" "$ emerge world"21:43
LiraNuna*10 hour compile*21:43
nick125I only have one Gentoo box left here, and that's getting migrated when I get a chance.21:43
Deevzawesome, im connected to the net now21:43
nick125Deevz: congrats21:43
sgsaxthe internets, they are waiting for you21:43
Deevznext step is to install openssh :O21:43
LiraNunasudo apt-get install openssh-serer21:44
LiraNuna+v21:44
Deevz+v?21:44
Deevzoh, your mistake21:44
LiraNunawould you prefer a regex? s/serer/server/21:45
lamontLiraNuna: because it's misconfigured21:45
LiraNunalamont, would you be kind enough to help me? I'm struggling for days21:45
LiraNunaI checked everything, triple21:46
lamontgive me the contents of main.cf to start with21:46
Deevzhmm, I read that the openssh-server package is not available21:46
lamontpaste.ubuntu.com?21:46
lamontor where ever21:46
LiraNunalamont, http://pastie.org/private/iioikzxpm2khiafbgccg21:47
LiraNunawas pasted from nano, hence the $ at the end of the line21:47
lamontLiraNuna: anything that authenticates to sasl will be allowed, but we kind of expect taht.21:48
lamonthaving said that, I don't play with sasl as much as I probably should. :(21:49
DeevzHow can I verify if I have openssh already installed?21:49
LiraNunaDeevz, ssh localhost21:49
lamontthrow some -v s on the end of the smtpd line in master.cf and reload postfix, that should get you started somewhere21:49
lamontDeevz: dpkg -l openssh-server21:50
LiraNunalamont, where will the output go?21:50
lamontLiraNuna: on that note, I'm going to be afk for the next few hours...21:50
lamont /var/log/mail.log21:51
lamontlots and lots of it if you use enough -v s21:51
LiraNunaas I thouht21:51
lamontwietse saw no reason to reimplement logging21:51
DeevzAhh, I found my problem21:55
DeevzKind folks suggested I update my apt-get list21:56
sgsaxDeevz: then be sure to apt-get update22:00
Deevzyes, I did, and was able to install openssh server just fine22:00
sgsaxand if openssh is already installed, you need to "/etc/init.d/ssh start" and "update-rc.d ssh defaults" to make sure it loads at boot22:02
Deevzthx22:13
Deevzmy ssh client is kinda dumb22:13
nick125What client?22:14
DeevzI sent a restart command and it gives me a fatal error because the connection got interrupted...22:14
Deevzputty22:14
mushroomblues/ssh client/OS/22:14
BookmanDoes anyone have a jabber server installed that would be able to assist me in getting mine to run?22:14
Deevzits for windows22:14
nick125mushroomblue: Thank you for making that reference with me having to :)22:15
nick125Deevz: Exactly.22:15
mushroomblue:)22:15
Deevzmeh22:15
DeevzI could use my eee pc I guess22:15
Deevzit has ubuntu on it22:15
nick125Why not put Ubuntu on your normal PC and be happy? :)22:16
DeevzI have it already22:16
Deevzdual boot22:16
mushroombluemy work box started off WinXP & putty, and has switched to Ubuntu with WinXP virtualized22:16
mushroombluemakes life much easier22:16
Deevzbut I dont want to throw coins away to purchase a good virtualization solution22:17
nick125Deevz: Virtualbox.22:17
mushroomblueVirtualbox is fine.22:17
mushroomblueand free.22:17
DeevzI have that22:17
DeevzI'm a gamer tho22:17
DeevzI like my warcraft games once in a while :)22:18
mushroombluelatest Virtualbox does DirectX9, at least22:20
Deevzoh, didnt know that22:20
mushroombluejust grab the deb from virtualbox.org22:20
DeevzI guess I could start booting off ubuntu more often22:20
nick125You should. Using a toy OS just doesn't make much sense.22:21
mushroomblueI'm just fond of being able to pause and minimise WindowsXP22:21
Deevztoy os?22:21
nick125I have a lot of hatrid for Windows, unfortunately.22:21
mushroombluemost of us have to deal with at least Active Directory PDC's on a daily basis.22:22
nick125mushroomblue: How many keyboards have you thrown dealing with that?22:22
DeevzI do wish windows wouldn't be so widespread22:23
mushroombluenone, actually.22:23
mushroombluelikewise-open is my friend.22:23
mushroomblueand a server license for likewise enterprise is cheap.22:23
mushroomblueso if I have to use windows, I can at least use it to push down sane GPO's for the rest of the network.22:25
nick125Can you even do GPOs with Samba?22:25
mushroombluesure.22:25
nick125If I could do a GPO with my Samba PDC, it'd make my life so much easier.22:26
mushroombluelook into likewise22:26
mushroombluehttp://www.likewise.com/22:26
nick125Otherway around. My Windows machines are authenticating to a Samba PDC.22:26
mushroomblueah. that's way easier.22:27
mushroomblueyou need Samba4 tho.22:27
nick125Darnit.22:27
Deevzif I'm not in the same subnet, how can I connect to my server?22:27
nick125Well, how much different is samba4? Is it stable?22:28
mushroomblueit's a little less stable, but I haven't had any problems.22:28
DeevzI mean, right now, im in a LAN, so its easy, but if I'm not in a LAN, how do I do it? What will be its ip since I have a router?22:28
nick125mushroomblue: How hard is it to create the policies?22:28
mushroombluenick125: not as easy as in Windows.22:29
mushroombluebut learnable in an afternoon.22:29
nick125Ah, okay.22:29
* nick125 should investigate Samba422:29
nick125mushroomblue: Do you recommend the Ubuntu samba4 package?22:30
BookmanDoes anyone have a jabber server installed that would be able to assist me in getting mine to run?22:31
mushroombluenick125: it's what I'm using.22:31
jpdsDeevz: You'd have to NAT the server's IP from the router.22:31
mushroomblueDeevz: you have to make a bridge from your subnet to the subnet you're connecting to22:32
mushroomblueif they're physically-connected, it's just ethernet bridging.22:32
mushroomblueif you're not on the same physical network, then you'll need to set up VPN or something.22:32
nick125mushroomblue: Is there a decent tutorial on how to get Samba4 to work with OpenLDAP, etc?22:32
mushroombluesadly, no.22:32
mushroombluethough it isn't much different than getting openldap and samba322:33
mushroombluejust read the docs22:33
nick125Hmm...all of these "tutorials" use some provision script. Hmm.22:33
DeevzI'll give a look at that, thx22:34
nick125Going around with a USB drive with the group policy just...isn't fun.22:36
sgsaxunless you're a masochist22:40
nick125sgsax: of course22:41
nick125w00t. Requests per second:    0.97 [#/sec] (mean)22:43
nick125Go Wordpress, go!22:44
nick125There. A little bit better. Requests per second:    160.15 [#/sec] (mean)22:46
BookmanOk, jabber is a no go.....is there any other easy to setup IM server out there for ubuntu?22:47
nick125Not really. Jabber is going to be your best bet, but it's a PITA to setup.22:48
BookmanYeah, I've given up completely22:49
nick125especially if you're going to do a MySQL-backed Jabber server, it's a REAL PITA.22:50
BookmanSo I take it IM serving is just something that should not be done except by server pros then.22:51
sgsaxwell, it *shouldn't* be hard, but...22:53
BookmanYeah, that was the impression I got.22:53
sgsaxwhen there are so many options, seems like insourcing it is making extra work22:53
Bookman"If you don't know how to do it, don't bother" kind of attitude seems to be the case.22:53
sgsaxunless you have a "no outside IM" policy22:53
sgsaxjabber is one of those projects that I never really understood the need for22:54
BookmanI tried connecting to services like jabber.org, but they have connection problems every afternoon, bar none.22:54
sgsaxwhat about setting up an irc server instead?22:54
Bookmanirc would be just fine....22:55
nick125sgsax: The biggest advantage of Jabber is that you can communicate with users on other Jabber servers.22:55
sgsaxdistributed server kindof thing?22:55
sgsaxthat would be nifty, but again: why bother?22:55
BookmanI just want to host a chat system for a small group of users that I have control over.22:55
nick125sgsax: What if we went back to where interserver communication was unheard of for email? ;-)22:56
sgsaxno, I was still stuck on "why bother with yet another IM protocol?"22:56
nick125Probably because all but a few IM protocols are closed-source and propietary.22:57
Bookmansgsax: is there an easy to setup irc server?22:57
sgsaxBookman: haven't done one in a while, but it was easy when I was a newb :)22:58
nick125Yeah, IRC servers aren't that hard to setup, especially if you aren't peering them or using services.22:58
sgsaxI see at least 5 that are available from apt22:59
BookmanI see clients23:00
BookmanNo servers23:00
BookmanIn synaptic23:01
sgsaxapt-cache search irc|grep -i server23:01
nick125Bookman: search for ircd23:01
nick125AFAIR, ratbox was pretty lightweight23:03
nick125and not that difficult to configure23:03
nick125I definitely wouldn't recommend something like unreal23:04
BookmanI'll give ratbox a shot.23:04
sgsaxhowto for dancer: https://help.ubuntu.com/community/Dancer-IRCD23:06
nick125I'm not sure I'd use dancer, especially considering that it's likely not developed anymore.23:07
milkoHotmail filter the emails sent with postfix?23:07
Bookmancan't seem to find documentation for ratbox23:07
milko(sorry for my english23:07
milkodo Hotmail filter the emails sent with postfix?23:07
nick125milko: If they filter mail, it's not usually by MTA but rather by network/IP.23:08
KillMeNowyep....  they may check your reverse inaddr.arpa pointer23:10
=== roaksoax__ is now known as RoAkSoAx
Deevzhow can dyndns.com offer their service for free? have they found a way to slip adds somewhere?23:40
hggdhthey reroute bad addresses to their ads23:50
hggdhno23:51
hggdhsorry, I confused dyndns with a DNS server service. DynDNS gets money by selling add-on services to the DNS entry you get23:51

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