[12:13] <Corbeaux> hi
[12:13] <Corbeaux> anyone here?
[12:15] <Corbeaux> I'm trying to reinstall GRUB on an HP-DL380, I tried using the rescue option on th install CD but I'm probably entering the wrong options for root(hdx,y). Anyone has suggestions?
[01:24] <kr8> hello people... anyone here care to help me with a mdamd raid issue on edgy?
[01:24] <kr8> make that, mdadm :)
[01:26] <kr8> why on earth does mdadm-raid try to assemble md0 on boot when i have no md0 ?
[01:27] <kr8> or rather, why does initrd do this even after a dpkg-reconfigure mdadm with a sensible and accurate mdadm.conf for an md10 ?
[01:28] <kr8> i have a feeling this issue is resolved in feisty from what i have read but I wondered if there was a hack/fix/patch magic spoon that will help me now...
[01:29] <kr8> many thanks, i hope you have a nice hot cup of coffee standing by ;-)
[04:20] <Gruelius> Hey all, im having trouble getting samba to work. I had it setup perfectly on gentoo however i cant get it to work right on ubuntu. What i want to do is have all users who dont have the right credentials get set to a guest account however if i login with my details i can shift files e.t.c.
[04:36] <Rescue9> anyone home?
[04:36] <Burgundavia> yep
[04:36] <Rescue9> Kewl... usually freenode has full rooms but no one chatting. :-P
[04:37] <Rescue9> I'm thinking about switching from Gentoo to ubuntu-server, but have a few questions first
[04:38] <Rescue9> How "stable" is the apt-get upgrade? I do upgrades with gentoo, but EVERY time I do, something breaks! I'm tired of that. How does ubuntu fair in the upgrade department?
[04:41] <Rescue9> come on guys.... someone has to have experience upgrading their server?!?!?!? 
[04:43] <Burgundavia> if you are using a stable version of Ubuntu, it is very stable
[04:43] <Burgundavia> however, that depends on your server needs
[04:43] <Burgundavia> what are you doing with this?
[04:44] <Rescue9> LAMP, IMAP server, Firewall, ispconfig, etc. 
[04:45] <Burgundavia> ok, that is pretty simple stuff
[04:45] <Burgundavia> do you understand the divide between main and universe?
[04:45] <Rescue9> yea... nothing big... Gallery2 and WOrdpress w/mysql takes up most my processing power
[04:46] <Rescue9> Um... I believe so. Main is stuff that ubuntu people make sure works well... universe is just opensource that others work on??
[04:46] <Burgundavia> sort of
[04:46] <Burgundavia> main is supported by Canonical with free security updates
[04:46] <Burgundavia> universe is supported by teh community and only some packages get security update
[04:46] <Rescue9> aah. ok...
[04:47] <Rescue9> I had something like that in mind... just didn't come out right.
[04:47] <Burgundavia> basically, figure out exactly which packages you need and look them up on packages.ubuntu.com
[04:48] <Rescue9> what am I looking for?
[04:48] <Rescue9> Not "packages" but what am I looking for when I look them up. :-P
[04:48] <Burgundavia> the package name
[04:48] <Burgundavia> whether they are in main or not
[04:48] <Burgundavia> which version you can get
[04:48] <Burgundavia> basically, for a server, you have two different version choices
[04:49] <Burgundavia> you can use 6.06, which is now a year old, but is supported on the server until 2009
[04:49] <Rescue9> yea... LTS and non"lts"
[04:49] <Burgundavia> or you can use 7.04, the recently released version, which is only supported for 18 months
[04:49] <Burgundavia> or sept 09, basically
[04:50] <Rescue9> Personally... I don't want or expect to use Canonical support. I've worked with linux enough to fix my own problems. My main reason for moving to Ubuntu is to avoid too many problems though. :-P
[04:51] <Burgundavia> ye[
[04:51] <Burgundavia> I enjoy the security support
[04:51] <Burgundavia> it makes my life a lot easier
[04:51] <Rescue9> So what you're saying basically is that if it's in main or universe, then it should upgrade cleanly every time, but if it's not, then it's anyones guess?
[04:52] <leonel> yes
[04:53] <Burgundavia> yep
[04:53] <leonel> and  remember  universe has no official  security updates  even  there are    and  not   security announces
[04:53] <Burgundavia> the packages in the ubuntu archive have fairly high standards
[04:53] <Burgundavia> you may run into issues still, but remember to report them as bugs
[04:53] <Rescue9> kewl. That helps lotz. At least I'm only taking a chance with a few packages, vs the whole system when upgrading. 
[04:53] <leonel> so  you  must  know what  are you using from universe   and if there's  a bug  you should report it  in lauchpad
[04:54] <leonel> so it can get attention and get fixed
[04:54] <Rescue9> when a new ubuntu comes out though, the universe will be upgraded most of the time to include the bugfixes right?
[04:54] <leonel> but remember  there's no oficial support  for universe 
[04:54] <leonel> Rescue9: yes
[04:54] <Burgundavia> yes
[04:54] <Rescue9> kewl.
[04:54] <Burgundavia> and there is an update tool
[04:55] <leonel> in case  you need  a newer package  you can  backportit   or request  a backport  from the next new version 
[04:55] <Rescue9> my biggie was the compile time gentoo took up when updating my 800mhz 256M server. :-P
[04:55] <Burgundavia> heh
[04:55] <Burgundavia> welcome to binary distros, they are much better
[04:56] <Rescue9> ok... elaborate on backports a bit.... sorry if this is newbie stuff but I'v only been using ubuntu for 3 weeks. loaded it on my laptop and have loved it since!
[04:56] <Burgundavia> the only place I can see compiling to gain 1% is if you have that massive server farm and 1% means an hour or more of processing time
[04:56] <leonel> easier  cleaner   and  faster to install
[04:56] <Burgundavia> backports are packages taken from the development version of Ubuntu and rebuild in a stable environment
[04:56] <Rescue9> I liked the saying that I saw in the forums "I want to spend time working with my OS, not on my OS."
[04:57] <leonel> ha ha
[04:57] <Rescue9> so I can request backports of security issue packages, and they "might" get built?
[04:57] <Burgundavia> pretty much
[04:58] <Rescue9> Ok... that brings another question. Gentoo has a GLSA (Gentoo linux security advisories) that kept me informed of security holes. If the package isn't in main and I have to keep an eye on it myself... where do I find out about holes?
[04:58] <Rescue9> amd i going to have to monitor the cert myself?
[04:59] <Burgundavia> http://www.ubuntu.com/usn
[04:59] <leonel> or suscribe to the announce list for that package
[05:00] <leonel> Burgundavia: there's only  for main and restricted  not  for  universe
[05:00] <leonel> universe has no announces
[05:00] <Burgundavia> yep
[05:01] <leonel> Rescue9: I use  clamav   and it's on universe   and  I'm suscribed to the clamav announce list  
[05:01] <Rescue9> where would I go to subscribe? I can't find it on packages.ubuntu.com
[05:01] <leonel> Rescue9: even  you can  fix  those packages  backporting the  bugfix   and let a sponsor  to upload your fix
[05:01] <Rescue9> yea... clamav was one I was looking at in the univ.
[05:02] <leonel> Rescue9:  I've patched  today  clamav  for  feistyt
[05:02] <Rescue9> I'm good at fixing problems... but not coding. :-(
[05:02] <Rescue9> anyway.... how to subscribe?
[05:02] <Burgundavia> for the security stuff?
[05:02] <leonel> and  I'm looking to fix  dapper's  clamav
[05:02] <Burgundavia> rss or security-announce
[05:03] <leonel> Rescue9: what packages  need  a  from universe 
[05:03] <leonel> ?
[05:03] <Rescue9> not sure right now... have to look them all up. :-P Clamav for sure.
[05:04] <leonel> clamav  is  safe now  even  there's the  message that the package is outdated  but has the  security bugs  fixed 
[05:04] <Rescue9> I'm starting from scratch on a new machine... so there is a lot going into it. spamassassin, etc.
[05:05] <leonel> for this case  you can  go to the  spamassassin  mailing list  and suscribe for announces   once there's a security bug
[05:05] <Rescue9> WOW..... mysql isn't in main?!
[05:05] <leonel> you can  reportit in launchpad
[05:06] <Burgundavia> shoudl be
[05:06] <Burgundavia> look for mysql5
[05:06] <leonel> mysql-server-5.0  is in main 
[05:06] <Rescue9> you mean the spamassassin mailing list through http://wiki.apache.org/spamassassin/MailingLists
[05:07] <leonel> yes
[05:07] <leonel> for that package 
[05:07] <Rescue9> I was looking at mysql-client
[05:07] <leonel> or search for the CVE
[05:07] <Rescue9> it's not
[05:07] <Rescue9> See... I'm getting a bit of a lesson in security, and thats what I need more than anything.
[05:08] <Rescue9> I always relied on building the newest package to fix bugs, but if I can track the bugs myself... then I don't have to constantly upgrade.
[05:08] <leonel> mysql-client-5.0  is in main
[05:08] <Rescue9> Are you guys on all the lists that aren't in main?
[05:08] <leonel> just the packages I use :)
[05:09] <Rescue9> leonel: yea... duh. :-P
[05:09] <leonel> squirrelmail  clamav   for example
[05:09] <Rescue9> yea... squirelmail is another I need.
[05:09] <leonel> that's updated  
[05:09] <Rescue9> so by looking at the packages.ubuntu.com site... if it says universe next to it, it's not in main... but if it doesn't say anything, it's in main?
[05:09] <leonel> yes
[05:10] <Rescue9> thats where I was mistaken. I thought it would say (main)
[05:11] <Rescue9> Ok.... here's an OT, but how do you keep up with what you've installed?
[05:12] <leonel> ???
[05:13] <Burgundavia> dpkg has a list of installed packages
[05:13] <Rescue9> does it tell if they are in main, univ, etc?
[05:14] <Burgundavia> there are different components
[05:14] <leonel> good question ..
[05:15] <Rescue9> leonel: ??
 does it tell if they are in main, univ, etc? ...
[05:15] <leonel> that question ..
[05:15] <Rescue9> aah.. thx.
[05:16] <Rescue9> lets get back to the backporting. whats the site to request a backport or to "submit" a backport?
[05:16] <Burgundavia> via the backports team and launchpad
[05:17] <Burgundavia> http://ubuntuforums.org/showthread.php?t=153402
[05:17] <Rescue9> thanks. I'm looking at the launchpad page too.
[05:18] <Rescue9> I registered a few days ago in response to pigdin not getting any love. :-P
[05:18] <Burgundavia> pidgin is a tricky one, apparently
[05:18] <Rescue9> why? WOrks good with the get-deb pkg I got
[05:18] <Burgundavia> get-deb should be not trusted on a server
[05:19] <Rescue9> I'd assume they don't want to backport cause it "clases" with gaim.
[05:19] <Burgundavia> the other issue is the sheer number of other package they would need to backport
[05:19] <Rescue9> Burgundavia: agreed... it's on my lappy.
[05:19] <Burgundavia> the same issue exists with FF
[05:19] <Rescue9> yea... but theres a bin for FF isnt' there?
[05:20] <Rescue9> in the repository?
[05:20] <Burgundavia> yes, but Firefox is the rendering engine for about 15 other apps
[05:20] <Burgundavia> anything that uses gecko thus also needs to be backported
[05:20] <Rescue9> aah... yea. I see what you're meaning now.
[05:22] <Rescue9> it was unfortunate that Sean had to change the names, but thats what happens with big money gets threatened.
[05:22] <Burgundavia> he should have bowed sooner
[05:23] <Rescue9> ROFLOL!!!! someone has already put up a pigdin.im site. for aMSN.
[05:23] <Rescue9> we'll agree to disagree there. I think he should have stuck it out. 
[05:26] <Rescue9> Thanks a lot for the information guys. I'll definitely be lurking the room. 
[05:26] <Burgundavia> sounds good
[05:33] <Rescue9> leonel: I'd like to chat with you more about security one day soon.
[05:34] <Rescue9> Thanks again guys!
[06:20] <Gruelius> Do you guys know how i can speed up printing using windows drivers through samba?
[06:20] <Gruelius> windows almost locks up
[06:24] <Gruelius> using the http://server:631/printers/name prints things real fast
[06:27] <r00tintheb0x> Anyone got any "hard" problems they want to throw @ me, please feel free to do so.
[06:31] <foo> r00tintheb0x: Help! How can I change the root password!?!?
[06:31] <r00tintheb0x> lol
[06:31] <r00tintheb0x> just type it in here
[06:31] <r00tintheb0x> easy
[06:31] <r00tintheb0x> :)
[06:31] <foo> passwd r00tpwindab0x
[06:31] <foo> oh, wait, the user goes there, darn it
[07:03] <Gruelius> how do i rebuild my raid5 array if the partition names have changed
[07:15] <r00tintheb0x> Anyone with advanced problems that no one else can seem to solve... please don't hesitate to contact me. If i don't answer right away, thats because im in #guruhelp. :D
[07:15] <r00tintheb0x> =)
[07:16] <Pumpernickel> Or #smug.
[07:21] <r00tintheb0x> lol
[07:21] <r00tintheb0x> foo, dont make me stab you with my ub3rn3ss...
[07:22] <foo> r00tintheb0x: :P
[07:26] <r00tintheb0x> ;)@foo
[07:26] <r00tintheb0x> foo, join my new chan man
[07:26] <r00tintheb0x> #guruhelp
[07:26] <r00tintheb0x> :D
[07:27] <r00tintheb0x> ANDELAY!
[11:06] <r00tintheb0x> ok, im making a samba server that is going to bind to the windows active directory server using winbindd. This samba server is also going to be our NIS and NFS server. For some reason, i can pull users and groups from the AD with gwbinfo... but i can tconnect to samba shares through the AD accounts.
[11:13] <ivoks> http://us1.samba.org/samba/docs/man/Samba3-HOWTO/domain-member.html#ads-member
[12:14] <kr8> anyone have a clue whats broken on 7.04 latest kernel and what the fix is? i'm running on last 6.10 kernel for now... :(
[12:15] <kr8> for some reason a remount of / fails with a device busy and then the /root/dev dir creation fails (of course) and i get dumped into a busybox prompt with nothing...
[04:34] <eldunco> need a quick hand if at all possible
[07:45] <Wooksta> im having a problem with ubuntu feisty server... i have an old box which was running ubuntu desktop (edgy eft) and i just re-installed to fiesty server but now every time when the system tries to start it gets past grub, i get a "Starting up..." message and then the system resets, how can i debug this issue?
[08:28] <kr8>  Wooksta: boot the recovery image or edit the boot line and remove "quiet" to see more details.
[08:29] <Wooksta> kr8, thanks just re-installing atm then i'll give it a try :)
[08:30] <kr8> Wooksta: if you run the recovery image, remember you get dumped into single user and an exit will continue to boot. not sure if all the modules are the same between that and the regular kernel image for the same version.
[08:33] <Wooksta> kr8, ok cheers
[08:33] <kr8> Wooksta: np :)
[08:34] <Wooksta> kr8, while im here, do you know of a good ftp server i can install? (wanna set this system up as a LAMP server with ftp & subversion as well)
[08:34] <kr8> Wooksta: i use vsftp but proftp might be better - if its in ubuntu...
[08:35] <Wooksta> kr8, ok cheers :)
[09:00] <Wooksta> kr8, i've tried booting the recovery image / removing the quiet from the normal grub entry but it still dont work, i get "Starting up..." in the top corner for about 1-2 seconds then it resets
[09:01] <Wooksta> could it somehow be pointing to the wrong kernel or something?
[09:02] <kr8> no you would see that...
[09:02] <Wooksta> bizzare :<
[09:02] <Wooksta> im just checking my install cd to make sure everything is ok
[09:02] <kr8> have you tried removing/disconnecting any non-essential peripherals?
[09:03] <Wooksta> not yet, its bizzare though i installed debian 4.0 just to test it and it installed / ran fine :S
[09:03] <kr8> some usb devices and sata devices cause loooooong delays in starting but perhaps something you have attached is causing the box to reset.
[09:03] <Wooksta> no periphrials bar monitor/keyboard/network attached
[09:03] <kr8> maybe a memory issue? running it too close to the end of its max speed?
[09:03] <Wooksta> scsi cdrw in it
[09:04] <kr8> if you don't need it too boot remove it. its a good place to start.
[09:04] <Wooksta> ok will try that after this check
[09:04] <kr8> run the memtest on it thru 1 pass minimum just to see.
[09:04] <Wooksta> its been runing fine with edgy dekstop on it
[09:04] <Wooksta> will do as well
[09:05] <kr8> the server kernel is more tuned though and will likely contain drivers not used for desktop.
[09:05] <kr8> can you boot the live version?
[09:05] <Wooksta> ok, i'll rip out the scsi controller after the tests
[09:06] <Wooksta> is the live version on a seperate disk?
[09:06] <kr8> yeah, on one of the other cd/dvd's
[09:07] <kr8> try booting the live version of 7.04
[09:07] <Wooksta> i could try , i know for desktop i cant install using the live gui as there aint enough ram
[09:07] <Wooksta> its an old machine 
[09:07] <Wooksta> cyrix 700mhz cpu with 256 of ram :D
[09:07] <kr8> can't recal how to get rid of the splash screen though so you see all the goings on, going on :)
[09:07] <kr8> is cyrix even supported?
[09:07] <Wooksta> no idea :P
[09:08] <Wooksta> edgy worked well on it
[09:08] <Wooksta> :P
[09:08] <kr8> best check then, you could be chassing a red herring...
[09:09] <kr8> you not trying to run the 64bit version are you? ;-)
[09:09] <Wooksta> no :P
[09:09] <kr8> lol
[09:09] <kr8> just checkin
[09:09] <Wooksta> give me a lil credit :P
[09:09] <Wooksta> not too much though :P:
[09:09] <Wooksta> hmm
[09:09] <Wooksta> the cd integrity check failed
[09:10] <Wooksta> on a samba .deb file
[09:10] <kr8> well i only say that as i expect the loader is still going to be 32bit... so you would get so far... then die. no idea what 64bit code does on a 32bit cpu... it may just cause a reboot :D
[09:10] <Wooksta> think i should try another download / burn?
[09:10] <kr8> do a mem check, you need to know your minimum spec is capable and stable.
[09:11] <Wooksta> mem test running just now
[09:11] <Wooksta> i tell a lie its 128 mb :D
[09:12] <kr8> get some more ram you fool. lol
[09:12] <Wooksta> nah i just need it to run apache for my dev and thats it :P
[09:12] <kr8> s/to/tu/
[09:12] <Wooksta> its just an old banger made out of parts from pcs lost long ago
[09:13] <kr8> and you want to dev what on it? 
[09:13] <Wooksta> php
[09:13] <Wooksta> well dev on my system
[09:13] <Wooksta> test / run web server on it
[09:13] <kr8> don't think that box is upto it inho...
[09:13] <kr8> imho even
[09:14] <Wooksta> hehe it was running a vent server well enough for about 3-4 months ne ways :P
[09:14] <kr8> better off runnin a minimal vm to do that.
[09:14] <kr8> anyway teatime here... have fun :)
[09:15] <Wooksta> will do & cheers for the help, enjoy ur tea
[10:30] <cottima> hello
[10:30] <Burgundavia> hello
[10:32] <cottima> I am confused about ubuntu in general, but my main questions are:  If server edition has just what it needs (I like) how does LTSP work without graphics?  2)does the desktop edition have everything or could I used the server then add what i need from the ubuntu repos?
[10:33] <Burgundavia> both servera nd desktop come from the same repos, use similar kernels, etc.
[10:33] <Burgundavia> to use LTSP, you would need to install stuff ont eh server
[10:33] <cottima> So, the only diff is a config file on what packages to install?
[10:34] <Burgundavia> basically yes
[10:34] <Burgundavia> what is installed is controlled through seeds and tasks
[10:34] <cottima> so I should read up on seeds and tasks
[10:34] <Burgundavia> seeds are pretty easy
[10:35] <Burgundavia> tasks are controlled through tasksel and are generally highlevel things, like a dns server or a lamp server
[10:35] <Burgundavia> basically, in the case of the server, the server seed is enough to get your computer up and running and nothing more, not even an ssh server
[10:35] <Burgundavia> https://code.launchpad.net/ubuntu-seeds
[10:36] <Burgundavia> those are the seeds
[10:36] <Burgundavia> then you choose a task afterwards
[10:37] <cottima> so ubuntu has centralized the configuration in tasks?
[10:37] <Burgundavia> tasks are actually a debian thing and are still pretty new in ubuntu
[10:37] <Burgundavia> the server team is still building more tasks
[10:38] <Burgundavia> of course, a task is nothing more than a group of packages to install
[10:38] <cottima> oh, I am a lazy fedora user, so that is why I do not know about tasks
[10:38] <Burgundavia> right
[10:39] <cottima> Sounds very simple
[10:39] <Burgundavia> so the key difference between fedora and ubuntu is the sheer number of packages in our repository, based on our debian heritage
[10:39] <Burgundavia> also, there is a difference in how long things are supported and what those things are
[10:39] <Burgundavia> basically, each version of Ubuntu is supported for 18 months, except for our LTS release, which is supported for 5 years on the server
[10:40] <Burgundavia> by support, we are referring to free security updates
[10:40] <Burgundavia> however, only things which are in the "main" repository are supported in this way
[10:40] <Burgundavia> those in universe may or may not be, that depends on the community
[10:41] <cottima> is it pretty simple to upgrade between versions?
[10:41] <Burgundavia> recently, yes
[10:41] <Burgundavia> between 6.10 and 7.04 there is a tool to update servers
[10:41] <Burgundavia> that tool existed for earlier versions of ubuntu, but only graphically
[10:42] <cottima> that is still good for desktop use.
[10:42] <cottima> Are you a debian user by default?
[10:42] <Burgundavia> nope
[10:42] <Burgundavia> came from RH8 to Ubuntu in 20045
[10:42] <Burgundavia> 2004, rather
[10:46] <cottima> With your transition did you find ubuntu easier and the same for easier in terms of managing?
[10:47] <Burgundavia> much easier
[10:47] <Burgundavia> I run a group of WBEL and Ubuntu at work
[10:47] <Burgundavia> the ubuntu stuff is a magnatude easier to control
[10:48] <cottima> And do you think a lazy linux user could improve linux skills in ubuntu (commandline, security, etc.)?  In other words so a lazy user such as myself would do better to the point of being on other distros in command line?
[10:48] <Burgundavia> hmm
[10:49] <Burgundavia> ubuntu has a lot more sane defaults, so it is less hard to really screw up
[10:49] <Burgundavia> such as no open ports or running services by default
[10:49] <Burgundavia> or sudo by default
[10:50] <cottima> okay, is swtiching between run levels in desktop possible, so if I need I could kill graphics?
[10:50] <Burgundavia> debian/ubuntu do not use run levels in the same way
[10:51] <Burgundavia> there is no 3/5 distinction
[10:51] <cottima> ouch
[10:51] <cottima> is it possible to turn the graphic server X on and off though
[10:52] <Burgundavia> yes
[10:53] <cottima> How would that be done?
[10:53] <Burgundavia> YourMomsHero: your nick is a little bit rude
[10:53] <Burgundavia> hmm, not certain
[10:53] <Burgundavia> I run all my servers headless and my desktops not
[10:53] <cottima> HAHAHA
[10:54] <cottima> COX communications has needed a new new for a while, but fits the prices sometimes
[10:54] <YourMomsHero> Burgundavia: thx
[10:57] <cottima> if I do not know how to do a command though and want to do it graphically, do I do it from another machine or could i turn the start X or whatever ubuntu does and then kill it?
[10:58] <cottima> YourMomsHero do not feel bad, all I can get is that cable co. for my internet
[10:58] <Burgundavia> YourMomsHero: no, I am qute serious. I would like you to change it
[11:00] <cottima> oh, i was looking at his ip not his nickname, sorry.  yeah our society is too vulgar
[11:00] <cottima> Burgundavia I really appreciate your help.
[11:01] <Burgundavia> no worries
[11:01] <cottima> Thank you!
[11:01] <Burgundavia> I am frequently here
[11:01] <cottima> That is good to know
[11:01] <cottima> I am looking for a distro away from Fedora
[11:01] <YourMomsHero> Burgundavia: do you have nothing better to do than worry about my nick....?  I wasn't even actively chatting in this channel til you started talkin to me.  Either way, no I won't change it :)
[11:03] <cottima> YourMomsHero do you live near the star city?
[11:03] <YourMomsHero> star city? i'm in phx, az
[11:03] <pirroh> hi, maybe someone of you have read the same question on the general channel, I beg pardon for that
[11:03] <cottima> OH, you have Cox Comm. as your ip
[11:03] <pirroh> anyway, I'm trying to upgrade a dapper minimal install to a fresh feisty server
[11:03] <YourMomsHero> cottima: yeah they're pretty big here
[11:04] <cottima> same here, but I would like to have Verizon since they are a bit pricy
[11:06] <pirroh> oops, gotta go, hope to find you here later :)
[11:06] <YourMomsHero> if Verizon ever brings their FiOS service to my area I'll jump on it
[11:19] <cottima> YourMomsHero SAME HERE!!!
[11:23] <cottima> Everyone, food time for me, thanks and have a blessed evening.  Hope to see everyone again soon.
[11:29] <foo> cottima: See ya
[11:48] <gejr> I'm trying to add python to my apache server
[11:48] <gejr> How does ubuntu's apache handle this? as of now it recognizes .php files, but no .py files
[11:49] <gejr> I thought there would be an addhandler for .php in apache2.conf, but php isn't even mentioned in the file
[11:49] <leonel> sudo apt-get install libapache2-mod-python
[11:49] <gejr> so how does the apache server know how to handle php files?
[11:49] <gejr> leonel: I have added that and the module is loaded
[11:49] <gejr> added/installed
[11:50] <leonel> http://modpython.org/live/current/doc-html/inst-testing.html
[11:50] <gejr> what is this mptest? I have no file called mptest on my system
[11:51] <gejr> i'll try following that guide
[11:51] <gejr> thank you
[11:51] <leonel> it's your python script    mptest.py
[11:51] <leonel> you can use   a handler    or  a dispacher 
[11:52] <leonel> i mean
[11:52] <leonel> you can use   a handler    or  a  publisher
[11:52] <leonel> the handler is a script that will respond to all requests in a directory
[11:53] <gejr> I don't want python to only work for one filename?:)
[11:53] <leonel> and with a publisher  you can make python work  with  many  python scripts 
[11:53] <gejr> so with this example it'll only work for mptest.py and no other .py files?
[11:53] <leonel> that's a handler
[11:53] <gejr> i feel pretty useless now. Guess I have to read up a lot on this :/
[11:54] <leonel> for that example
[11:54] <gejr> ok..with that in my apache2.conf i get "No module named mptest"
[11:54] <leonel> is configured for    /test  on  your   htdocs 
[11:54] <gejr> I altered it to /
[11:54] <leonel> of you  request  http://yourserver.com/test/a/b/s/c/e/e/f/sa/as
[11:54] <gejr> since my example .py file is in /var/www/
[11:55] <leonel> that request will be responded by mptest
[11:55] <leonel> you need to put  mptest  in your  python  path 
[11:55] <gejr> and mptest is any python file i create?
[11:55] <leonel> yes
[11:56] <gejr> it's confusing...is this python script valid? #!/usr/bin/python \n print "something"
[11:56] <gejr> with a real new line of course..
[11:57] <leonel> yes
[11:57] <leonel> but that something  must be    Content-type
[11:57] <gejr> that's what's in my mptest.py now
[11:57] <gejr> it's now in /var/www/mptest.py
[11:57] <hads> Yeah, does mod-python require you to send a Content-type header first?
[11:57] <leonel> yes
[11:58] <leonel> gejr: if  you want  like  php  does    check the config  for   the publisher
[12:01] <gejr> what's the publisher?:)
[12:01] <gejr> I'm trying my best to get it to work the way of that guide now
[12:01] <leonel> http://modpython.org/live/current/doc-html/tut-pub.html
[12:03] <gejr> i'm really struggling.. :S
[12:03] <gejr> it keeps trying to download the script
[12:04] <gejr> i now have /var/www/test/mptest.py
[12:04] <gejr> which contains what i found in the first link you gave at http://modpython.org/live/current/doc-html/inst-testing.html
[12:04] <leonel> you need to put  mptest  in your  python  path 
[12:04] <leonel> not in your browser
[12:05] <leonel> i mean 
[12:05] <leonel> not in your apache 
[12:05] <leonel> in your python path
[12:05] <gejr> hm..this might be the problem
[12:05] <gejr> what's my python path?:D
[12:05] <gejr> /etc/python?
[12:05] <leonel> sys.path 
[12:06] <leonel> print that in python
[12:06] <gejr> got a lot of hits on that one
[12:06] <gejr> /usr/lib/python2.5 ?
[12:06] <leonel>  or
[12:06] <leonel> you can
[12:06] <leonel> mkdir  /home/mypythonscripts
[12:06] <leonel> and in your apache cnfiguration
[12:07] <leonel>   PythonPath "sys.path + ['/home/mypythonscripts'] "
[12:07] <gejr> anywhere in apache conf?
[12:07] <leonel> where you configured  your  mptest ..
[12:08] <gejr> [ ]  as in optional right? I don't need the brackets?
[12:08] <leonel> have you worked with  python before ?
[12:09] <gejr> barely..I've only created really simple scripts.
[12:09] <hads> http://docs.python.org/tut/tut.html
[12:09] <gejr> I'm used to using php for web-stuff. Now I just wanted to try python for that