[00:42] Hey everyone. [00:43] Does anybody have experience installing suPHP on Ubuntu Hardy? [00:58] i use mod_fastcgi... [00:59] su_php is rather slow if you consider using in prod [00:59] but fastcgi is a bit buggy, but faster, make your choice :) [00:59] gotta go, good luck [04:13] hey guys [04:13] 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] connect to what? [04:15] eachother [04:16] would i have to setup my server with bind9? [04:17] that doesnt really answer my question [04:17] since 'connect' is a very lose word, and could mean a whole heap of things [04:17] i want all the computer on the network to be able to connect to eachother via ssh, etc using hostnames [04:18] or if i have a local smtp server resolve smtp.copanetwork.com as the server on the lan [04:19] 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] alright, this is a bit of a project for me as this area is new [04:20] 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] how would i configure it to be on the domain? [04:21] 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] dnsmasq is neat [04:22] 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] so dnsmasq over bind9? [04:23] oracleofmist, if you want to really understand dns, bind9 is where its at [04:23] ok [04:23] if you just want things to start working, dnsmasq might be a nicer solution [04:23] 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] however handle large scale in the long run [04:24] How large do you onsider large. [04:24] dnsmasq can do a lot of people's large. [04:24] well if i keep the existing infrastructure about 40 or so computers by the end of the year, with possible vpn [04:27] is it easier to manage? i'm just wondering what the advantages are of each [04:30] Well if you want DHCP and DNS it will handle that for you easily. [04:31] iok [04:32] already off to a bad start [04:32] dnsmasq: failed to create listening socket: Address already in use [04:32] that was just installing it [04:32] because bind is running [04:32] i uninstalled bind9 but you are talking about something different? [04:34] how do i stop bind from running? [04:34] did you remove bind before installing dnsmasq? [04:35] i did apt-get purge bind9 [04:35] do i have to remove regular bind as well? [04:35] that would have errored. `apt-get --purge remove bind9` would be the proper command [04:35] i thought bind conflicted with bind9 [04:36] oh, nvmnd, there is no bind package anymore [04:36] well in either case it is gone [04:36] probably restart then? [04:36] The purge should have stopped it at well as removed it. [04:37] * Kamping_Kaiser isnt convinced its gone. [04:37] netstat [04:38] from netstat i don't see "bind" anywhere [04:38] oracleofmist, do you see 'named' or 'dnsmasq'? [04:39] http://pastebin.com/d276cb278 [04:39] no but i see named running from "top" [04:40] That's not all of your netstat [04:40] ok killed "named" and dnsmasq starts [04:40] so bind is still installed [04:40] that was everything put out by netstat [04:41] the only thing i excluded was one line above the top that has the titles for each column [04:51] oracleofmist, fwiw, you should check you've removed bind9 [04:57] however i do see bind9-host and libbind9-40 installed [05:34] after you `export` a env-variable, should it stick to that on subsequent logins? [05:35] no [05:35] how do you get it to 'stick'? [05:37] you could add it to your bashrc if its just for you [05:37] ah [05:39] 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] Doonz: have you tested your internet speed from the ubuntu box and compared it to that on the xp box? [05:40] setup a caching proxy presumably [05:43] smultron yeah its almost identical [05:43] Like if i downlad a large file my speed is fine. but when im just browsing the web it seems sluggish [05:43] perhaps DNS or cache, like Kamping_Kaiser suggested [05:44] see i was kinda thinking caching on the ubuntu box. Right now the ubuntu box does all the dns fetching [05:46] something like squid cache would do [05:47] ok ill give that a shot [07:36] 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 === mcasadevall is now known as NCommander [11:46] 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] J-_: You have no /etc/init.d/networking ? Is your /etc partition maybe getting corrupt is my wonder [12:27] genii: How can I see if that's the problem? [12:28] 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] J-_: Boot to recovery and run fsck on it comes firstly to mind [12:29] 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] 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] what is 'it', what provides that file? [12:46] it's basically a file that is included in the apache2.conf [12:46] it is used by ispconfig (a web control panel) [12:46] the domain.com works when aliased for www.domain.net [12:47] but [12:47] www.domain.com doesn't work [12:47] i've just added both into the top of my vhosts, so cant comment on that file setup sorry [12:51] shubuntu: PErhaps ask in #apache [12:52] did that [12:52] no answer [14:36] * Gargoyle stumbles into 2009. Hello! :-) [15:27] 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 === apachelogger is now known as movedlogger [17:18] How do I configure Ubuntu Server to be a DHCP server on one interface only? [17:31] umm... how do I check what version of Ubuntu Server I have installed? uname -a just tells me about the kernel [17:31] ball: lsb_release -a [17:33] Ah, I'm all ibexed up then. [17:37] I have to go, time to feed my daughter [17:37] Thanks jtaji === _AshTray- is now known as AshTray- [18:17] I think I need more network cards. [18:17] can never have too many [18:18] I suppose I could scrap one of my oldest machines and re-deploy the NIC from that. === movedlogger is now known as apachelogger [19:23] adns: /etc/resolv.conf:2: invalid nameserver address `2001:7b8:3:2c::1:53' [19:23] That's strange [19:27] Jeeves_: are on an ipv6 network? [19:29] Jups [19:29] And resolving works, usually [19:31] Does the :: between 2c and 1 signify 0 ? [19:33] jups [19:33] it's the AAAA-record of nscache1.bit.nl [19:46] I have to go. === _AshTray- is now known as AshTray- [20:32] Call to undefined function mysql_connect() [20:32] How do I get rid of that? [20:33] backenfutter: programming language? [20:33] php [20:33] extension=mysql.so is commented in [20:33] still I get the error [20:34] backenfutter: have you installed php5-mysql? [20:34] (it's an obvious one, but still catches me out every so often!) [20:34] nope, and it seems that was the missing link ;) thx [20:34] lol :o) [20:34] no probs, glad to help! [20:37] 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] finite9: usually just type "startx" at a cmd-prompt, however you may need other packages... [20:38] startx wasnt installed [20:38] 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] 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] finite9: check out your .xinitrc - should have a line in it that starts fluxbox... [20:54] finite9: if it's not there, add it! :oP [20:55] ok, thanks! [22:13] what's the suggested fs for lvm these days? === seximexi__ is now known as altf2o [22:27] 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] 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] 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] well they were already setup on the old server, i just copied the same lvm config files to the new one [22:35] it mounts right, and I can see all of my files, but I just can't change anything [22:36] 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] yes I copied both, but ill check the dev ids [22:37] 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] 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] Should be still valid [22:41] i'm just wondering if ext3 works well with lvm or if i should use something else [22:43] then again i'd also like to mess around with zfs... [23:02] hmmm [23:03] the physical volumes in the LVM config do each have IDs but what would that have to do with them not being writeable