=== nictuku [n=yves@200-140-164-227.bsace706.dsl.brasiltelecom.net.br] has joined #ubuntu-server === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server === maestrojed [n=outliers@75-164-136-142.ptld.qwest.net] has joined #ubuntu-server === pschulz01 [n=pschulz0@ubuntu/member/pschulz01] has joined #ubuntu-server [12:47] 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] archive.ubuntu.com [12:51] 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] archive.ubuntu.com/ubuntu/pool [12:59] 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? === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server [01:26] maestrojed: What distribution does your production server run? [01:29] ScottK: Of Linux? [01:30] ScottK: Linux 2.4.20-021stab028.19.777-smp [01:31] Right, but what distro? [01:32] 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] That's all pretty extraordinarily ancient. [01:33] I would not assume that php 4.3/4.4 would behave the same, but is not a PHP expert. [01:34] 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] :) [01:35] OK. [01:35] I am trying to figure out what distribution but I am not sure how to figure that out [01:36] Try less /etc/lsb-release [01:43] I get no such file or directory [01:43] I looked through the etc folder but I dont see anything similar [01:46] check /etc/redhat-release [01:49] or /etc/fedora-release [01:49] Google hints it's Red Hat or a derivative. [02:10] yeah there is redhat-release [02:11] What's it say? === raky [n=kent@24-197-132-105.dhcp.spbg.sc.charter.com] has joined #ubuntu-server [02:17] I am getting a permissions denied but I am in as root [02:17] Trying to figure it out [02:18] Odd. [02:18] CentOS release 3.8 (Final) [02:18] does that sound right [02:19] 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] Yes. [02:19] But, that is ancient and so you might consider something newer for your production server too perhaps. [02:19] I've got to run, maybe someone else can help you further. [02:19] yeah, It is a managed server so I will talk to them [02:19] thanks for your help [02:20] No problem, but just to give you an idea, PHP 4 has been completely removed from the current Ubuntu version. [02:20] That's how old that is. [02:23] 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] 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] basically, mysql doesnt start when my server boots, any ideas ? [02:38] Yahooadam: Does /var/run/mysql exist? [02:39] ./var/run/mysqld does [02:40] OK. [02:40] So much for my idea on that one. [02:49] :( [02:57] oh well time to sleep, gnite, thx anyway :) [02:57] if anyone has any ideas and reads this later, please do post on that thread === Yahooadam [n=Adam@host81-157-3-200.range81-157.btcentralplus.com] has left #ubuntu-server [] === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server === pschulz01 [n=pschulz0@ubuntu/member/pschulz01] has joined #ubuntu-server === ICU [n=me@sechzig.dd.ewetel.de] has joined #ubuntu-server === jbrouhard [n=jbrouhar@24.121.169.166] has joined #ubuntu-server === Pyretic [n=typing@timor.zolder.org] has joined #ubuntu-server === rvfh [n=rvfh@fe2adsl-2.wyplay.net] has joined #ubuntu-server === asisak [n=conp@ubuntu/member/coNP] has joined #ubuntu-server === WaVeR [n=Cobra@217-196-176-5.static.worldsoft-isp.net] has joined #Ubuntu-Server [09:17] moin === pschulz01_ [n=pschulz0@eth3010.sa.adsl.internode.on.net] has joined #ubuntu-server === YourMomsHero [n=cirish@ip24-251-191-203.ph.ph.cox.net] has joined #ubuntu-server === coNP [n=conp@ubuntu/member/coNP] has joined #ubuntu-server === tck [n=tck@212.2.166.64] has joined #ubuntu-server === ivoks [n=ivoks@36-150.dsl.iskon.hr] has joined #ubuntu-server === dexem [n=dani@222.Red-88-23-207.staticIP.rima-tde.net] has joined #ubuntu-server === mdz [i=mdz@nat/canonical/x-79f915f8758c624a] has joined #ubuntu-server === zul [n=chuck@ubuntu/member/zul] has joined #ubuntu-server === pschulz01 [n=pschulz0@ubuntu/member/pschulz01] has joined #ubuntu-server === jdstrand [n=james@mail.strandboge.com] has joined #ubuntu-server === mathiaz [n=mathiaz@dsl-207-112-50-64.tor.primus.ca] has joined #ubuntu-server === fernando_ [n=fernando@189.0.215.152] has joined #ubuntu-server === ivoks [n=ivoks@36-150.dsl.iskon.hr] has joined #ubuntu-server === fernando_ [n=fernando@200.220.231.177] has joined #ubuntu-server === spiekey [n=dasdas@91.89.147.172] has joined #ubuntu-server [03:59] hi [04:00] 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] when i log in via ssh i tell it to use common-auth where i have my pam_ldap.so written down. [04:03] then i GUESS it will check out /etc/libnss-ldap.conf, /etc/pam_ldap.secret /etc/pam_ldap.conf [04:03] so it knows where to auth. [04:04] correct so far? [04:07] Almost :) [04:08] almost? [04:08] I don't think it uses libnss-ldap.conf for the authentication, but only immediately after. [04:08] Not that it matters, really. [04:09] ok. [04:09] During authentication it checks if the username and password corresponds. It doesn't need nss for that. [04:09] nss is just for the enviorment stuff like homedir? [04:09] ...but as soon as it actually does a setuid and all that, it needs nss. [04:10] spiekey: At any point where you need to do uid <-> username translation, you need nss. [04:10] so pam_ldap is for auth only. [04:10] how does it know where to find it in the ldap database? [04:10] 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] spiekey: Find what? [04:11] to see if password and username matches [04:11] (this still looks like magic to me9 [04:11] :) [04:11] It's quite simple, actually. [04:12] 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] oh, so pam just asks ldap if the auth is okay? And ldap does the rest with its schema? [04:13] well, ldap looks it up by using the schema it has in its config [04:13] 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] spiekey: Yes. [04:14] spiekey: That's the usual arrangement, anyway. [04:14] spiekey: (In my experience, that is) [04:14] There are other ways to do it, though. [04:15] well. I guess this applies for the pam_ldap module :) [04:15] 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] easy enought though [04:15] soren: oh yes! i did that once with pam_mysql ;) [04:16] ...but usually you want to use ldap for other interesting stuff, too. [04:16] Hang on. Phone call... [04:16] np, thanks! [04:18] Ok, I'm back. [04:19] Um... Did that clear everyhithin up? [04:19] in that case, yes! :) [04:19] Alright. Great. [04:20] 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] spiekey: No, samba usually can't use pam. [04:21] oh, okay. [04:21] 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] ...but when you're using samba, it sends a hash of the password, rather then the password itself. [04:22] that makes sense [04:22] This means that the server needs to be able to compare that hash with something, and that's not how pam works. [04:23] This is why samba doesn't just use the system's passwd file for authentication. [04:24] Back in the day when you could still use unencrypted passwords, you could do that, but that was a looong time ago :) [04:25] 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? === kshah [n=kunalash@ool-44c0ac9c.dyn.optonline.net] has joined #ubuntu-server [04:25] I want to set up a Wake on LAN for my server, should I install etherwake? [04:26] i think etherwake might be the client [04:26] you need ethtool though [04:26] oye [04:26] k [04:26] i had it working on my non-ubuntu machine a while ago [04:29] thank you, testing time [04:30] spiekey: Sounds right. [04:31] soren: wonderful! [04:31] 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] spiekey: I'll try. [04:32] spiekey: Is it urgent? [04:32] its basically what i asked you just with drawn pictures :) [04:32] soren: no, not at all [04:32] spiekey: Alright. Then no problem :) [04:32] soren: are you here regularry? [04:32] spiekey: All day, every day :) [04:33] :)) How come? [04:36] 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] ok, cool! === dexem [n=dani@14.Red-88-26-177.staticIP.rima-tde.net] has joined #ubuntu-server === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server === nandemonai [n=nandemon@ppp121-45-66-168.lns10.adl6.internode.on.net] has joined #ubuntu-server === ivoks [n=ivoks@36-150.dsl.iskon.hr] has joined #ubuntu-server === boggle [n=spindler@conf.dow.cam.ac.uk] has joined #ubuntu-server === boggle [n=spindler@conf.dow.cam.ac.uk] has joined #ubuntu-server === boggle [n=spindler@conf.dow.cam.ac.uk] has joined #ubuntu-server === leonel [n=leonel@189.155.150.218] has joined #ubuntu-server [05:42] what client program are you using (win) to send Wake on LAN requests? === Yahooadam [n=Adam@host81-157-3-200.range81-157.btcentralplus.com] has joined #ubuntu-server === Drazha is now known as Drazha[away] === Nicke [n=niclasa@ua-83-227-140-135.cust.bredbandsbolaget.se] has joined #ubuntu-server === boggle [n=spindler@conf.dow.cam.ac.uk] has joined #ubuntu-server === WaVeR [n=Cobra@80-218-162-121.dclient.hispeed.ch] has joined #Ubuntu-Server [07:40] say, how would one enable lvm to enable on startup ? === osmosis [n=steven@cpe-76-80-127-252.socal.res.rr.com] has joined #ubuntu-server [07:56] Pyretic: install with the alternate cd [07:57] oh, there's no way to enable it lateron ? [07:58] it just doesn't seem to do a "vgchange -a y data" === ubotu [n=ubotu@ubuntu/bot/ubotu] has joined #ubuntu-server === ivoks [n=ivoks@36-150.dsl.iskon.hr] has joined #ubuntu-server === maestrojed [n=outliers@75-164-136-142.ptld.qwest.net] has joined #ubuntu-server [09:21] 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? === Pyretic [n=typing@timor.zolder.org] has left #ubuntu-server [] === Drazha781 [n=drazha@89.100.195.195] has joined #ubuntu-server === Drazha781 is now known as Drazha === ivoks [n=ivoks@36-150.dsl.iskon.hr] has joined #ubuntu-server === lbm [n=lbm@0x555373ab.adsl.cybercity.dk] has joined #ubuntu-server [09:41] how come I dont see a amazon EC2 image of ubuntu ? [09:45] maestrojed: you can find mysql deb in the archives. [09:48] 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] mysql++/ [09:48] mysql-admin/ [09:48] mysql-dfsg-4.1/ [09:48] mysql-dfsg/ [09:48] mysql-navigator/ [09:48] mysql-ocaml/ [09:48] mysql-query-browser/ [09:48] mysql-ruby/ [09:48] mysqlcc/ [09:48] mysqltcl/ [09:50] maestrojed: mysql-dfsg-4.1 is the mysql-server [09:51] mathiaz: Great! Thank you. === ivoks_ [n=ivoks@21-31.dsl.iskon.hr] has joined #ubuntu-server === konam [n=konam@201.229.136.217] has joined #ubuntu-server [10:03] hi [10:04] 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] 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] konam: have you tried ifconfig? [10:11] usually it's eth0 [10:28] sommer_ thanks [10:46] anyone using EC2 ? === lousygarua [n=lousygar@CBL217-132-224-125.bb.netvision.net.il] has joined #ubuntu-server === maestrojed [n=outliers@75-164-136-142.ptld.qwest.net] has joined #ubuntu-server [11:08] 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] it then says to run sudo apt -get install -f to fix it but that returns sudo: apt: command not found [11:09] maestrojed: s/apt -get/apt-get/ [11:10] Anarch: I run that in terminal? [11:10] 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] maestrojed: Yes, apt-get in terminal. [11:12] maestrojed: on which version of ubuntu are you trying to install 4.1 ? [11:12] Desktop 7 [11:12] maestrojed: well. It won't work as mysql-server-4.1_4.1.15-1ubuntu5_i386.deb is from dapper (6.06) [11:12] doh [11:13] mathiaz: is there a build that will? [11:13] maestrojed: this is why apt and dpkg are not happy. [11:13] maestrojed: not for feisty. [11:13] maestrojed: mysql-server-4.1 is no longer available for feisty [11:14] maestrojed: it's replaced with mysql-server-5.0. [11:14] so If I am tying to build it just like my production server. Is there a solution? [11:14] build from the binaries? === pschulz01 [n=pschulz0@ubuntu/member/pschulz01] has joined #ubuntu-server [11:15] maestrojed: you could try to build from the dapper source on you feisty box.. But I don't know if that would actually work. === dexem [n=dani@212.97.172.119] has joined #ubuntu-server === jbrouhard [n=jbrouhar@24.121.169.166] has joined #ubuntu-server [11:56] Howdy all [11:56] Anyone here consider a SOHO version of Ubuntu Server ?