Re: [Todd-admin] help ... getting segmentation fault
Status: Beta
Brought to you by:
bshirk
|
From: Ken B. <ka...@me...> - 2000-10-30 16:43:15
|
Austin, I don't really want to build/install new python & postgres on this box, because I have existing apps running on postgres. (don't want to screw anything up :-). But I did go as far as getting the matching postgres source and compiling the python interface (first hat to get and load the python-devel RPM) to get me a _pg.so file. I put that in the lib-dynload dir, but I still get the seg fault. I'll have to get complete sources for Postgres and Python and do this all on another box. I wish it would have worked out of the box (w/ the RPMs), but I guess sometimes I expect too much from Redhat/RPM :) Thx for the ideas, but sounds my best bet is to do it slowly from sources. Anything in particular I should pay attention to if I go with Python 2.0? I'll probably go with Postgres 7 as well. Thx- Ken Austin wrote: > Hello, > Are you aware of what is actually causing the segmentation fault or do you > just think it's a random bug. Are you sure that your PostgreSQL server is > actually up and running as well as the included postmaster script? The > RPMs are not very reliable for redhat, especially since new version of > both python and postgres are out. I would suggest downloading the source > tree from a CVS server for postgres(one which should compile on your > system) or just downloading the latest release. WHich I think is version > 7.0.2. Also, Pythin version 2.0 has been released and I was having > problems getting TODD up and running until I had worked hard enough at > it. Also, make sure you install the _pg.so module into Python's > dynamically loaded set. This can be found in > postgresql-x.x.x/src/interfaces/python. I had that problem as well. At > anyrate, try these things, and as a general note I wouldn't use RPM's to > install things that have a wide setting over your system. > > Cheers- > Austin > > On Mon, 30 Oct 2000, Ken Beyer wrote: > > > Hi, > > > > I'm trying to get TODD 0.6 pre4 up and running on Redhat 6 > > (linux 2.2.5-15). I've got postgres and python RPMs installed, > > though I haven't used python all that much on this box, but > > postgres I have. Here's my RPMs... > > > > postgresql-python-6.5.1-2 > > pythonlib-1.22-5 > > python-1.5.1-10 > > > > So - I created my database, user, passwd, etc. and put todd.py > > in /usr/lib/python1.5 and modified it to my settings. All steps 1-6 > > completed as per the INSTALL file. Then I'm trying to run a variant > > of step 7 - it says to run - "createdb.py", but I don't have that, so > > I'm trying to run "admin/createtable.py" - ?this could be an INSTALL > > doc bug? Anyway, when I run it, I get the segmentation fault. > > > > Any ideas ?? Any way I can debug? Again, I'm not that familiar > > with Python (yet). > > > > Thanks for any help. Ken > > > > -- > > Ken Beyer > > Metatec Internet Products Group > > http://www.metatec.net/ > > ka...@me... > > > > > > > > _______________________________________________ > > todd-admin mailing list > > tod...@li... > > http://lists.sourceforge.net/mailman/listinfo/todd-admin > > > > _______________________________________________ > todd-admin mailing list > tod...@li... > http://lists.sourceforge.net/mailman/listinfo/todd-admin -- Ken Beyer Metatec Internet Products Group http://www.metatec.net/ ka...@me... |