Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Wikipedia: Mediawiki

Installation errors with postgresql 8.3.7

 

 

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded


madhavancha at gmail

Sep 2, 2009, 12:00 PM

Post #1 of 2 (885 views)
Permalink
Installation errors with postgresql 8.3.7

Hi,

When trying to run the configuration script from the browser, I get the
following error. Doesn't look like its connecting to postgres. But from a
shell, I can successfully do a psql -U wikiuser -d wikidb. Did anyone else
encounter this issue?

Thanks,
Madhav.
MediaWiki 1.15.1 Installation

- *Don't forget security updates!* Keep an eye on the low-traffic release
announcements mailing
list<http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce>.


Checking environment...

*Please include all of the lines below when reporting installation problems.
*

- PHP 5.2.9 installed
- Found database drivers for: MySQL PostgreSQL SQLite
- PHP server API is apache2handler; ok, using pretty URLs (
index.php/Page_Title)
- Have XML / Latin1-UTF-8 conversion support.
- Session save path (/var/lib/php/session) appears to be valid.
- PHP's memory_limit is 32M.
- Couldn't find Turck MMCache <http://turck-mmcache.sourceforge.net/>,
eAccelerator <http://eaccelerator.sourceforge.net/>,
APC<http://www.php.net/apc>or
XCache <http://trac.lighttpd.net/xcache/>; cannot use these for object
caching.
- Found GNU diff3: /usr/bin/diff3.
- Found ImageMagick: /usr/bin/convert; image thumbnailing will be enabled
if you enable uploads.
- Installation directory: /var/www/html/intrakgp
- Script URI path: /intrakgp
- Installing MediaWiki with php file extensions
- Environment checked. You can install MediaWiki.
-

*Generating configuration file...*
- Database type: PostgreSQL
- Loading class: DatabasePostgres
- Attempting to connect to database "wikidb" as "wikiuser"... error: No
database connection
- Checking the version of Postgres...
*Warning*: pg_version(): supplied argument is not a valid PostgreSQL link
resource in */var/www/html/intrakgp/includes/db/DatabasePostgres.php* on
line *1078*
*FAILED*. Required version is 8.1. You have 7.3 or earlier
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


madhavancha at gmail

Sep 2, 2009, 12:13 PM

Post #2 of 2 (811 views)
Permalink
Re: Installation errors with postgresql 8.3.7 [In reply to]

It was a SELinux block. Fixed it.

On Wed, Sep 2, 2009 at 2:00 PM, Madhav Ancha <madhavancha [at] gmail> wrote:

> Hi,
>
> When trying to run the configuration script from the browser, I get the
> following error. Doesn't look like its connecting to postgres. But from a
> shell, I can successfully do a psql -U wikiuser -d wikidb. Did anyone else
> encounter this issue?
>
> Thanks,
> Madhav.
> MediaWiki 1.15.1 Installation
>
> - *Don't forget security updates!* Keep an eye on the low-traffic
> release announcements mailing list<http://lists.wikimedia.org/mailman/listinfo/mediawiki-announce>.
>
>
> Checking environment...
>
> *Please include all of the lines below when reporting installation
> problems.*
>
> - PHP 5.2.9 installed
> - Found database drivers for: MySQL PostgreSQL SQLite
> - PHP server API is apache2handler; ok, using pretty URLs (
> index.php/Page_Title)
> - Have XML / Latin1-UTF-8 conversion support.
> - Session save path (/var/lib/php/session) appears to be valid.
> - PHP's memory_limit is 32M.
> - Couldn't find Turck MMCache <http://turck-mmcache.sourceforge.net/>,
> eAccelerator <http://eaccelerator.sourceforge.net/>, APC<http://www.php.net/apc>or
> XCache <http://trac.lighttpd.net/xcache/>; cannot use these for object
> caching.
> - Found GNU diff3: /usr/bin/diff3.
> - Found ImageMagick: /usr/bin/convert; image thumbnailing will be
> enabled if you enable uploads.
> - Installation directory: /var/www/html/intrakgp
> - Script URI path: /intrakgp
> - Installing MediaWiki with php file extensions
> - Environment checked. You can install MediaWiki.
> -
>
> *Generating configuration file...*
> - Database type: PostgreSQL
> - Loading class: DatabasePostgres
> - Attempting to connect to database "wikidb" as "wikiuser"... error: No
> database connection
> - Checking the version of Postgres...
> *Warning*: pg_version(): supplied argument is not a valid PostgreSQL
> link resource in *
> /var/www/html/intrakgp/includes/db/DatabasePostgres.php* on line *1078*
> *FAILED*. Required version is 8.1. You have 7.3 or earlier
>
>
>
_______________________________________________
MediaWiki-l mailing list
MediaWiki-l [at] lists
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Wikipedia mediawiki RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.