From: Tim B. <tim...@wc...> - 2002-01-18 17:54:33
|
I think I'm a little closer to success. I've tweaked the index.php database section and have been able to modify the error I'm getting to... Fatal error: Cannot instantiate non-existent class: wikidb_backend_psql in /var/www/html/phpwiki/lib/WikiDB/SQL.php on line 17 That line of code says ... $backend = new $backend_class($dbparams); Any more clues? Anyone? Tim On Thursday 17 January 2002 04:19 pm, Jeff Dairiki wrote: > Tim Bogart said: > > Ah Hah! My db server is not set up properly. In short the postmaster > > is not running with the -i option. I tried to edit the > > /var/init.d/postgres file to include it but the service fails to > > restart no matter where I try to put the thing. > > I the db server running on a different host than the HTTP server? > If not, there may be a way to avoid the -i. (Using -i may have > security implications...) > > > The whole line looks like this... > > > > su -l postgres -s /bin/sh -c > > "/usr/bin/pg_ctl -D $PGDATA -p /usr/bin/postmaster start > /dev/null > > 2>&1" < /dev/null > > Here, you are running pg_ctl which in turn runs postmaster. (Actually, > your are running su, which in turn runs /bin/sh which in turn runs pg_ctl, > which finally runs postmaster...) > > In any case, to get pg_ctl to pass options to postmaster you need to use > the -o option (to pg_ctl). So something like: > > su -l postgres -s /bin/sh -c "/usr/bin/pg_ctl -D $PGDATA -o '-i' -p > /usr/bin/postmaster start > /dev/null 2>&1" < /dev/null > > might work. (It's just a guess though.) > > > > > _______________________________________________ > Phpwiki-talk mailing list > Php...@li... > https://lists.sourceforge.net/lists/listinfo/phpwiki-talk |