[00:42] <astrubhar> Hey everyone.
[00:43] <astrubhar> Does anybody have experience installing suPHP on Ubuntu Hardy?
[00:58] <yann2> i use mod_fastcgi...
[00:59] <yann2> su_php is rather slow if you consider using in prod
[00:59] <yann2> but fastcgi is a bit buggy, but faster, make your choice :)
[00:59] <yann2> gotta go, good luck
[04:13] <oracleofmist> hey guys
[04:13] <oracleofmist> i want to make a lan all be able to connect using copanetwork.com as its domain, how would i set this up
[04:15] <Kamping_Kaiser> connect to what?
[04:15] <oracleofmist> eachother
[04:16] <oracleofmist> would i have to setup my server with bind9?
[04:17] <Kamping_Kaiser> that doesnt really answer my question
[04:17] <Kamping_Kaiser> since 'connect' is a very lose word, and could mean a whole heap of things
[04:17] <oracleofmist> i want all the computer on the network to be able to connect to eachother via ssh, etc using hostnames
[04:18] <oracleofmist> or if i have a local smtp server resolve smtp.copanetwork.com as the server on the lan
[04:19] <Kamping_Kaiser> any local dns server from dnsmasq through bind will let you setup the domain lookups. then you'll need to configure services on the systems to listen for the apropriate fqdn or hostname
[04:20] <oracleofmist> alright, this is a bit of a project for me as this area is new
[04:20] <oracleofmist> now when i setup my ubuntu server i set it up on copanetwork.com  however my desktop was setup prior and is not setup with a domain
[04:20] <oracleofmist> how would i configure it to be on the domain?
[04:21] <Kamping_Kaiser> you can do one of two things, depending on how you want the network to function. either make the dns server do all the 'smarts' (eg, know which host is which), or tell each machine what its fqdn is, then the dns server is there to tell the rest of the network
[04:22] <hads> dnsmasq is neat
[04:22] <Kamping_Kaiser> hads, i like it :)
[04:22]  * Kamping_Kaiser is using it for this exact purpose, on his small network (it would be less neat trying to manage a Uni with it though :DD)
[04:22] <oracleofmist> so dnsmasq over bind9?
[04:23] <Kamping_Kaiser> oracleofmist, if you want to really understand dns, bind9 is where its at
[04:23] <oracleofmist> ok
[04:23] <Kamping_Kaiser> if you just want things to start working, dnsmasq might be a nicer solution
[04:23] <oracleofmist> i'm just wondering because i currently have 4 computers on this network and am planning on adding a couple computers each month so i want this to be easy to setup
[04:24] <oracleofmist> however handle large scale in the long run
[04:24] <hads> How large do you onsider large.
[04:24] <hads> dnsmasq can do a lot of people's large.
[04:24] <oracleofmist> well if i keep the existing infrastructure about 40 or so computers by the end of the year, with possible vpn
[04:27] <oracleofmist> is it easier to manage? i'm just wondering what the advantages are of each
[04:30] <hads> Well if you want DHCP and DNS it will handle that for you easily.
[04:31] <oracleofmist> iok
[04:32] <oracleofmist> already off to a bad start
[04:32] <oracleofmist> dnsmasq: failed to create listening socket: Address already in use
[04:32] <oracleofmist> that was just installing it
[04:32] <Kamping_Kaiser> because bind is running
[04:32] <oracleofmist> i uninstalled bind9 but you are talking about something different?
[04:34] <oracleofmist> how do i stop bind from running?
[04:34] <Kamping_Kaiser> did you remove bind before installing dnsmasq?
[04:35] <oracleofmist> i did  apt-get purge bind9
[04:35] <oracleofmist> do i have to remove regular bind as well?
[04:35] <Kamping_Kaiser> that would have errored. `apt-get --purge remove bind9` would be the proper command
[04:35] <evarlast> i thought bind conflicted with bind9
[04:36] <evarlast> oh, nvmnd, there is no bind package anymore
[04:36] <oracleofmist> well in either case it is gone
[04:36] <oracleofmist> probably restart then?
[04:36] <ScottK> The purge should have stopped it at well as removed it.
[04:37]  * Kamping_Kaiser isnt convinced its gone.
[04:37] <hads> netstat
[04:38] <oracleofmist> from netstat i don't see "bind" anywhere
[04:38] <Kamping_Kaiser> oracleofmist, do you see 'named' or 'dnsmasq'?
[04:39] <oracleofmist> http://pastebin.com/d276cb278
[04:39] <oracleofmist> no but i see named running from "top"
[04:40] <hads> That's not all of your netstat
[04:40] <oracleofmist> ok killed "named" and dnsmasq starts
[04:40] <Kamping_Kaiser> so bind is still installed
[04:40] <oracleofmist> that was everything put out by netstat
[04:41] <oracleofmist> the only thing i excluded was one line above the top that has the titles for each column
[04:51] <Kamping_Kaiser> oracleofmist, fwiw, you should check you've removed bind9
[04:57] <oracleofmist_> however i do see bind9-host and libbind9-40 installed
[05:34] <smultron> after you `export` a env-variable, should it stick to that on subsequent logins?
[05:35] <Kamping_Kaiser> no
[05:35] <smultron> how do you get it to 'stick'?
[05:37] <Kamping_Kaiser> you could add it to your bashrc if its just for you
[05:37] <smultron> ah
[05:39] <Doonz> Hey im lookking at a way to speed up internet browsing. Crurrently i have my xp bo running to my ubuntu box wich is the firewall and the dns server. What can i do on the Ubuntu box to speed things up?
[05:40] <smultron> Doonz: have you tested your internet speed from the ubuntu box and compared it to that on the xp box?
[05:40] <Kamping_Kaiser> setup a caching proxy presumably
[05:43] <Doonz> smultron yeah its almost identical
[05:43] <Doonz> Like if i downlad a large file my speed is fine. but when im just browsing the web it seems sluggish
[05:43] <smultron> perhaps DNS or cache, like Kamping_Kaiser suggested
[05:44] <Doonz> see i was kinda thinking caching on the ubuntu box. Right now the ubuntu box does all the dns fetching
[05:46] <smultron> something like squid cache would do
[05:47] <Doonz> ok ill give that a shot
[07:36] <uvirtbot`> New bug: #313650 in mysql-dfsg-5.0 (main) "package mysql-server-5.0 5.0.67-0ubuntu6 [modified: /var/lib/dpkg/info/mysql-server-5.0.list] failed to install/upgrade: subprocess pre-installation script returned error exit status 1" [Undecided,New] https://launchpad.net/bugs/313650
[11:46] <J-_> After a break from the server, I turned it back on and I found that sudo /etc/init.d/networking restart doesn't work. So, I cd /etc/init.d/ and networking isn't there. Is there a way to reconfigure the system to bring it back? My server still works both locally(with internal IP), and people say my website is working. Though, I can't access it through my LAN with either WAN IP, or domain name.
[12:27] <genii> J-_: You have no /etc/init.d/networking ? Is your /etc partition maybe getting corrupt is my wonder
[12:27] <J-_> genii: How can I see if that's the problem?
[12:28] <J-_> Or, at least, does anyone have /etc/init.d/networking in 8.04? Would be awesome if I could copy, and re-add it. If I can
[12:28] <genii> J-_: Boot to recovery and run fsck on it comes firstly to mind
[12:29] <Kamping_Kaiser> that file is in 'netbase', and i'm not sure how you'd have any networking without that file. i can only assume you've rm'd something you shouldnt, or that genii 's suggestion of a fsck is in order
[12:45] <shubuntu> hi, i have two tlds for the same domain name. i want them to load the same pages and one to be an alias for the other. I set it in the Vhosts_ispconfig.conf file but it's not working, help please?
[12:45] <Kamping_Kaiser> what is 'it', what provides that file?
[12:46] <shubuntu> it's basically a file that is included in the apache2.conf
[12:46] <shubuntu> it is used by ispconfig (a web control panel)
[12:46] <shubuntu> the domain.com works when aliased for www.domain.net
[12:47] <shubuntu> but
[12:47] <shubuntu> www.domain.com doesn't work
[12:47] <Kamping_Kaiser> i've just added both into the top of my vhosts, so cant comment on that file setup sorry
[12:51] <genii> shubuntu: PErhaps ask in #apache
[12:52] <shubuntu> did that
[12:52] <shubuntu> no answer
[14:36]  * Gargoyle stumbles into 2009. Hello! :-)
[15:27] <uvirtbot`> New bug: #313735 in mysql-dfsg-5.0 (main) "ysql-server-5.0: il sottoprocesso pre-removal script ha restituito un codice di errore 1" [Undecided,New] https://launchpad.net/bugs/313735
[17:18] <ball> How do I configure Ubuntu Server to be a DHCP server on one interface only?
[17:31] <ball> umm... how do I check what version of Ubuntu Server I have installed?  uname -a just tells me about the kernel
[17:31] <jtaji> ball: lsb_release -a
[17:33] <ball> Ah, I'm all ibexed up then.
[17:37] <ball> I have to go, time to feed my daughter
[17:37] <ball> Thanks jtaji
[18:17] <ball> I think I need more network cards.
[18:17] <Deeps> can never have too many
[18:18] <ball> I suppose I could scrap one of my oldest machines and re-deploy the NIC from that.
[19:23] <Jeeves_> adns: /etc/resolv.conf:2: invalid nameserver address `2001:7b8:3:2c::1:53'
[19:23] <Jeeves_> That's strange
[19:27] <ball> Jeeves_: are on an ipv6 network?
[19:29] <Jeeves_> Jups
[19:29] <Jeeves_> And resolving works, usually
[19:31] <ball> Does the :: between 2c and 1 signify 0 ?
[19:33] <Jeeves_> jups
[19:33] <Jeeves_> it's the AAAA-record of nscache1.bit.nl
[19:46] <ball> I have to go.
[20:32] <backenfutter> Call to undefined function mysql_connect()
[20:32] <backenfutter> How do I get rid of that?
[20:33] <ProfFalken> backenfutter: programming language?
[20:33] <backenfutter> php
[20:33] <backenfutter> extension=mysql.so is commented in
[20:33] <backenfutter> still I get the error
[20:34] <ProfFalken> backenfutter: have you installed php5-mysql?
[20:34] <ProfFalken> (it's an obvious one, but still catches me out every so often!)
[20:34] <backenfutter> nope, and it seems that was the missing link ;) thx
[20:34] <ProfFalken> lol :o)
[20:34] <ProfFalken> no probs, glad to help!
[20:37] <finite9> can someone please help me with what is hopefully a simple solution?  I really need a GUI on Ubuntu Server and the wiki says to install xserver-xorg and xserver-xorg-core then either openbox or fluxbox, but how do you start X after installing these?  Starting fluxbox just says cannot connect to X server?
[20:37] <ProfFalken> finite9: usually just type "startx" at a cmd-prompt, however you may need other packages...
[20:38] <finite9> startx wasnt installed
[20:38] <ProfFalken> hmmm, that'd do it, can't remember off the top of my head which package you need for that, but once that's installed you're probably up and running...
[20:54] <finite9> I tried "sudo Xorg" and that seems to start basic X but then I tried to start fluxbox again from tty2 and it still says cannot coonect to xserver
[20:54] <ProfFalken> finite9: check out your .xinitrc - should have a line in it that starts fluxbox...
[20:54] <ProfFalken> finite9: if it's not there, add it! :oP
[20:55] <finite9> ok, thanks!
[22:13] <pteague> what's the suggested fs for lvm these days?
[22:27] <TTT_Travis> Hi, I have an old ubuntu server with a few drives setup as an LVM, I moved those drives to my new server and copied the config file and the mount line from the FSTAB but now when it mounts all of the files are read only and are highlighted green on the server
[22:33] <pteague> it's been a while since i looked at lvm...  doesn't lvm use more than just fstab to define things?  have you gone through the process of pvcreate, etc ?
[22:34] <pteague> hmm... maybe you don't need to run pvcreate on the drives... but i'm wondering if you need to set up the volume groups & such
[22:35] <TTT_Travis> well they were already setup on the old server, i just copied the same lvm config files to the new one
[22:35] <TTT_Travis> it mounts right, and I can see all of my files, but I just can't change anything
[22:36] <pteague> ok, so you did copy the lvm configs & not just /etc/fstab ... have you looked at the lvm config files to see if they're using the correct dev ids for the drives?
[22:37] <TTT_Travis> yes I copied both, but ill check the dev ids
[22:37] <pteague> i know when dealing with mdadm for software raid i've had issues even in major updates of ubuntu-server with the drives ending up with different ids which screws things up & i have to regenerate the software raid
[22:40] <pteague> i'm currently going through http://tldp.org/HOWTO/LVM-HOWTO/ , but it's not been updated since 2006... not sure how much lvm or any of the filesystems have changed since then
[22:40] <hads> Should be still valid
[22:41] <pteague> i'm just wondering if ext3 works well with lvm or if i should use something else
[22:43] <pteague> then again i'd also like to mess around with zfs...
[23:02] <TTT_Travis> hmmm
[23:03] <TTT_Travis> the physical volumes in the LVM config do each have IDs but what would that have to do with them not being writeable