[railroad-dev] Some help wanted
JR
jrcourtois at jrcourtois.net
Tue Jan 11 10:38:35 MET 2005
Hi,
I will have to build a new website and we're looking for the
opportunity to use Plone.
Railroad seems to be very useful cause we have to put many large
files...
The main problem is that I didn't manage to install RailRoad.
I feel like a newbie cause I didn't understand that the server side
must be installed.
Maybe I am the only one to think that but I feel there is not too much
documentation.
Trying to install RR without database the script repoadmin.py failed
because
there was not the Module admconf.
admconf is built only if there is a DB support.
So I am trying to install Postgre and now it tell me that it can not
connect :
+++++
sgi4:/Users/jrc/Desktop/railroad-0.1.4 postgre$ python repoadm.py
Traceback (most recent call last):
File "repoadm.py", line 23, in ?
CON = DB.connect(admconf.dbopts)
File "/Users/jrc/Desktop/railroad-0.1.4/db_pg.py", line 104, in
connect
_db = DBConn(dbopts)
File "/Users/jrc/Desktop/railroad-0.1.4/db_pg.py", line 22, in
__init__
self.connect(dbopts)
File "/Users/jrc/Desktop/railroad-0.1.4/db_pg.py", line 58, in connect
_db = SQL.connect(dsn, minconn=min_conns, maxconn=max_conns,
serialize=0)
psycopg.OperationalError: could not connect to server: Connection
refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
+++++++
To check this is working and not working...
+++++++
sgi4:/usr/local/share postgre$ psql -p 5432 dav
Welcome to psql 7.4.6, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
dav=# \q
sgi4:/usr/local/share postgre$ psql -h localhost -p 5432 dav
psql: could not connect to server: Connection refused
Is the server running on host "localhost" and accepting
TCP/IP connections on port 5432?
++++++
I got something strange
++++++
sgi4:/usr/local/share postgre$ psql -h "" -p 5432 dav
Welcome to psql 7.4.6, the PostgreSQL interactive terminal.
Type: \copyright for distribution terms
\h for help with SQL commands
\? for help on internal slash commands
\g or terminate with semicolon to execute query
\q to quit
dav=#
++++++
So I put nothing in question 13 of script mk_conf.py...
At this point it is not easy to redo mk_conf.py
This is the story of a non easy installation of RR.
I hope it is the end of my trouble.
But from now on I don't know how to check if it is running well...
--
JR
More information about the railroad-dev
mailing list