[12:47] <maestrojed>  I need to turn my Ubuntu 7.04 Desktop installation into a LAMP server.  But I need to use older versions of Apache, PHP, MySQL, etc.  Can anyone help me with this?  Where can I get older versions of php for linux?
[12:49] <Pumpernickel> archive.ubuntu.com
[12:51] <maestrojed> Pumpernickel: Thank you, I have to admit I dont really know what I am doing.  I went there and see legacy versions of ubuntu but were should I go to get the legacy php install
[12:52] <Pumpernickel> archive.ubuntu.com/ubuntu/pool
[12:59] <maestrojed> I am building a linux webserver to be a test server.  My production server is running php 4.3.11.  I only see files for php 4.4.2.  Should I try to find the exact same version of PHP? or do I assume that those point updates are just security fixes and would not make a difference as far as how the php parses?
[01:26] <ScottK> maestrojed: What distribution does your production server run?
[01:29] <maestrojed> ScottK: Of Linux?
[01:30] <maestrojed> ScottK: Linux 2.4.20-021stab028.19.777-smp
[01:31] <ScottK> Right, but what distro?
[01:32] <ScottK> Unless you build from the same distribution/version you will not be able to be sure you get the same behavior on your test server.
[01:32] <ScottK> That's all pretty extraordinarily ancient.
[01:33] <ScottK> I would not assume that php 4.3/4.4 would behave the same, but is not a PHP expert.
[01:34] <maestrojed> Humm Cool.  I wanted to go with Ubuntu because of the GUI.  As you can tell I only bearly know what I am doing
[01:34] <maestrojed> :)
[01:35] <ScottK> OK.
[01:35] <maestrojed> I am trying to figure out what distribution but I am not sure how to figure that out
[01:36] <ScottK> Try less /etc/lsb-release
[01:43] <maestrojed> I get no such file or directory
[01:43] <maestrojed> I looked through the etc folder but I dont see anything similar
[01:46] <ajmitch> check /etc/redhat-release
[01:49] <ScottK> or /etc/fedora-release
[01:49] <ScottK> Google hints it's Red Hat or a derivative.
[02:10] <maestrojed> yeah there is redhat-release
[02:11] <ScottK> What's it say?
[02:17] <maestrojed> I am getting a permissions denied but I am in as root
[02:17] <maestrojed> Trying to figure it out
[02:18] <ScottK> Odd.
[02:18] <maestrojed> CentOS release 3.8 (Final)
[02:18] <maestrojed> does that sound right
[02:19] <ScottK> OK.  Well if what you are after is something in a test server to emulate closely your production environment, you should probably be looking at something from CentOS.
[02:19] <ScottK> Yes.
[02:19] <ScottK> But, that is ancient and so you might consider something newer for your production server too perhaps.
[02:19] <ScottK> I've got to run, maybe someone else can help you further.
[02:19] <maestrojed> yeah,  It is a managed server so I will talk to them
[02:19] <maestrojed> thanks for your help
[02:20] <ScottK> No problem, but just to give you an idea, PHP 4 has been completely removed from the current Ubuntu version.
[02:20] <ScottK> That's how old that is.
[02:23] <maestrojed> yeah I know.  I have a php5 server too but I have some old big CMS sites that are not ready for php5 so I keep this one around too
[02:33] <Yahooadam> can anyone help me with my MySQL problem, i posted on the forums, but its kinda ground to a halt (http://ubuntuforums.org/showthread.php?t=539909)
[02:33] <Yahooadam> basically, mysql doesnt start when my server boots, any ideas ?
[02:38] <ScottK> Yahooadam: Does /var/run/mysql exist?
[02:39] <Yahooadam> ./var/run/mysqld does
[02:40] <ScottK> OK.
[02:40] <ScottK> So much for my idea on that one.
[02:49] <Yahooadam> :(
[02:57] <Yahooadam> oh well time to sleep, gnite, thx anyway :)
[02:57] <Yahooadam> if anyone has any ideas and reads this later, please do post on that thread
[09:17] <kraut> moin
[03:59] <spiekey> hi
[04:00] <spiekey> i have set up a ubuntu with smbldap-tools. I can log in with ssh and so on. It all works. Now i would like to know why ;)
[04:02] <spiekey> when i log in via ssh i tell it to use common-auth where i have my pam_ldap.so written down.
[04:03] <spiekey> then i GUESS it will check out /etc/libnss-ldap.conf, /etc/pam_ldap.secret /etc/pam_ldap.conf
[04:03] <spiekey> so it knows where to auth.
[04:04] <spiekey> correct so far?
[04:07] <soren> Almost :)
[04:08] <spiekey> almost?
[04:08] <soren> I don't think it uses libnss-ldap.conf for the authentication, but only immediately after.
[04:08] <soren> Not that it matters, really.
[04:09] <spiekey> ok.
[04:09] <soren> During authentication it checks if the username and password corresponds. It doesn't need nss for that.
[04:09] <spiekey> nss is just for the enviorment stuff like homedir?
[04:09] <soren> ...but as soon as it actually does a setuid and all that, it needs nss.
[04:10] <soren> spiekey: At any point where you need to do uid <-> username translation, you need nss.
[04:10] <spiekey> so pam_ldap is for auth only.
[04:10] <spiekey> how does it know where to find it in the ldap database?
[04:10] <soren> spiekey: And that's at the final stages of logging in (i.e. after verifying your credentials, but before running your shell and such)
[04:10] <soren> spiekey: Find what?
[04:11] <spiekey> to see if password and username matches
[04:11] <spiekey> (this still looks like magic to me9
[04:11] <soren> :)
[04:11] <soren> It's quite simple, actually.
[04:12] <soren> The LDAP server is set up to let the user authenticate. So pam proxies the login request to the LDAP server. If that succeeds, pam succeeds.
[04:13] <spiekey> oh, so pam just asks ldap if the auth is okay? And ldap does the rest with its schema?
[04:13] <spiekey> well, ldap looks it up by using the schema it has in its config
[04:13] <soren> Pam receives a username.. it passes the username to each of the configured modules and asks them what they feel like doing with it. Most of them will ask for a password. In the case of ldap, it takes the username, inserts it into a scheme like cn=theusername,ou=People,dc=foo,dc=bar and tries to authenticate with that dn and the given password.
[04:14] <soren> spiekey: Yes.
[04:14] <soren> spiekey: That's the usual arrangement, anyway.
[04:14] <soren> spiekey: (In my experience, that is)
[04:14] <soren> There are other ways to do it, though.
[04:15] <spiekey> well. I guess this applies for the pam_ldap module :)
[04:15] <soren> You can also let pam do the authentication directly. You tell pam how to extract the userPassword attribute for the user, and then verifies it. This is useful if you don't want the users to be able to access the ldap server directly at all.
[04:15] <spiekey> easy enought though
[04:15] <spiekey> soren: oh yes! i did that once with pam_mysql ;)
[04:16] <soren> ...but usually you want to use ldap for other interesting stuff, too.
[04:16] <soren> Hang on. Phone call...
[04:16] <spiekey> np, thanks!
[04:18] <soren> Ok, I'm back.
[04:19] <soren> Um... Did that clear everyhithin up?
[04:19] <spiekey> in that case, yes! :)
[04:19] <soren> Alright. Great.
[04:20] <spiekey> I have got another question though: Where does samba auth against? Does that work via pam_ldap, too? Since i have a "passdb backend = ldapsam:ldap://127.0.0.1/" line in here i am not quite sure.
[04:20] <soren> spiekey: No, samba usually can't use pam.
[04:21] <spiekey> oh, okay.
[04:21] <soren> spiekey: You see, when you're using ssh, the password is sent over the ssh channel, so that the server can choose what to do with it (typically something about calculating an md5 and comparing it to something).
[04:21] <soren> ...but when you're using samba, it sends a hash of the password, rather then the password itself.
[04:22] <spiekey> that makes sense
[04:22] <soren> This means that the server needs to be able to compare that hash with something, and that's not how pam works.
[04:23] <soren> This is why samba doesn't just use the system's passwd file for authentication.
[04:24] <soren> Back in the day when you could still use unencrypted passwords, you could do that, but that was a looong time ago :)
[04:25] <spiekey> Samba gets all the samba-Specific information from ldap. Like: Ihave user Foo with passwd far. Auth OK? If yes it asks for the homedir, passwordexpiredate, etc, too?
[04:25] <kshah> I want to set up a Wake on LAN for my server, should I install etherwake?
[04:26] <Pyretic> i think etherwake might be the client
[04:26] <Pyretic> you need ethtool though
[04:26] <kshah> oye
[04:26] <kshah> k
[04:26] <Pyretic> i had it working on my non-ubuntu machine a while ago
[04:29] <kshah> thank you, testing time
[04:30] <soren> spiekey: Sounds right.
[04:31] <spiekey> soren: wonderful!
[04:31] <spiekey> soren: i am about to draw/write a chart about the whole system thing. Would you mind reading/correcting it when its finished?
[04:31] <soren> spiekey: I'll try.
[04:32] <soren> spiekey: Is it urgent?
[04:32] <spiekey> its basically what i asked you just with drawn pictures :)
[04:32] <spiekey> soren: no, not at all
[04:32] <soren> spiekey: Alright. Then no problem :)
[04:32] <spiekey> soren: are you here regularry?
[04:32] <soren> spiekey: All day, every day :)
[04:33] <spiekey> :)) How come?
[04:36] <soren> spiekey: Well, I don't log off IRC when I'm not around, and I'm around at least during business hours (central european ones) and a lot of my spare time, too.
[04:37] <spiekey> ok, cool!
[05:42] <kshah> what client program are you using (win) to send Wake on LAN requests?
[07:40] <Pyretic> say, how would one enable lvm to enable on startup ?
[07:56] <leonel> Pyretic: install with the alternate cd
[07:57] <Pyretic> oh, there's no way to enable it lateron ?
[07:58] <Pyretic> it just doesn't seem to do a "vgchange -a y data"
[09:21] <maestrojed> I am trying to install an older version of MySQL on Ubuntu.  I do not see a bulld in archives.ubuntu.com/pool.  Does this me that there are not DEB(s) for MySQL?
[09:41] <osmosis> how come I dont see a amazon EC2 image of ubuntu ?
[09:45] <mathiaz> maestrojed: you can find mysql deb in the archives.
[09:48] <maestrojed> mathiaz: thanks, but all I see in the archives is the list below.  Am I looking in the wrong place (pool/universe/m/)
[09:48] <maestrojed> mysql++/
[09:48] <maestrojed> mysql-admin/
[09:48] <maestrojed> mysql-dfsg-4.1/
[09:48] <maestrojed> mysql-dfsg/
[09:48] <maestrojed> mysql-navigator/
[09:48] <maestrojed> mysql-ocaml/
[09:48] <maestrojed> mysql-query-browser/
[09:48] <maestrojed> mysql-ruby/
[09:48] <maestrojed> mysqlcc/
[09:48] <maestrojed> mysqltcl/
[09:50] <mathiaz> maestrojed: mysql-dfsg-4.1 is the mysql-server
[09:51] <maestrojed> mathiaz: Great! Thank you.
[10:03] <konam> hi
[10:04] <konam> how do i know the interface that my server is using? there's a command for that. I have ubuntu server in a virtualbox vm
[10:04] <konam> is just that i set the internet connection in that virtual machine and shut it down. when i turn it on again the internet connection was gone
[10:11] <sommer_> konam: have you tried ifconfig?
[10:11] <sommer_> usually it's eth0
[10:28] <konam> sommer_ thanks
[10:46] <osmosis> anyone using EC2 ?
[11:08] <maestrojed> I am trying to install an older version of MySQL server.  I downloaded mysql-server-4.1_4.1.15-1ubuntu5_i386.deb it said it needed libmysqlclient14_4.1.15-1ubuntu5_i386.deb so I downloaded and installed it first.  Now on package install I get and error.  Error:Failed to satisfy all dependencies (broken cache)
[11:08] <maestrojed> it then says to run sudo apt -get install -f   to fix it but that returns sudo: apt: command not found
[11:09] <Anarch> maestrojed: s/apt -get/apt-get/
[11:10] <maestrojed> Anarch: I run that in terminal?
[11:10] <Anarch> maestrojed: But this may not solve all your problems.  When I can't get the package manager to Just Work, I cope by building from source.
[11:10] <Anarch> maestrojed: Yes, apt-get in terminal.
[11:12] <mathiaz> maestrojed: on which version of ubuntu are you trying to install 4.1 ?
[11:12] <maestrojed> Desktop 7
[11:12] <mathiaz> maestrojed: well. It won't work as mysql-server-4.1_4.1.15-1ubuntu5_i386.deb is from dapper (6.06)
[11:12] <maestrojed> doh
[11:13] <maestrojed> mathiaz: is there a build that will?
[11:13] <mathiaz> maestrojed: this is why apt and dpkg are not happy.
[11:13] <mathiaz> maestrojed: not for feisty.
[11:13] <mathiaz> maestrojed: mysql-server-4.1 is no longer available for feisty
[11:14] <mathiaz> maestrojed: it's replaced with mysql-server-5.0.
[11:14] <maestrojed> so If I am tying to  build it just like my production server.  Is there a solution?
[11:14] <maestrojed> build from the binaries?
[11:15] <mathiaz> maestrojed: you could try to build from the dapper source on you feisty box.. But I don't know if that would actually work.
[11:56] <jbrouhard> Howdy all
[11:56] <jbrouhard> Anyone here consider a SOHO version of Ubuntu Server ?