473,785 Members | 2,449 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Pgsql 7.3.3 on redhat 7.2

> I can't get a rest for a min guys.

I go away for the weekend and my server is getting this error.

Fatal error: Call to undefined function: pg_connect() in
/var/www/html/crohns/phpBB2/db/postgres7.php on line 79


Your PHP doesn't have support for PostgreSQL.

Look at phpinfo();

--->
From the backup to the current php.ini file... this is what was changed...
Looks like an autoupdate on php happened.

This was turned off in the current php.ini
;;;;;;;;;;;;;;; ;
; File Uploads ;
;;;;;;;;;;;;;;; ;

; Whether to allow HTTP file uploads.
file_uploads = Off
the backup had this tuned on

?

this cause it?

-Dan

---------------------------(end of broadcast)---------------------------
TIP 1: subscribe and unsubscribe commands go to ma*******@postg resql.org

Nov 12 '05
11 2352
hi,
it seems you use the /usr/bin/pg_dumpall featured by the redhat default
install

verify this with "which pg_dumpall"
(rpm -ql postgresql to see all the files of this package)

you upgraded from sources didn't you ?

your fresh new install has the default prefix /usr/local (redhat uses /usr)

2 ways : recompile/install with ./configure --prefix=/usr ...
or remove completely the redhat postgresql package (rpm -e postgresql)

By the way, UPGRADE YOU GCC!

2.96's is a redhat experimental buggy compiler (it should never have
been released)

I don't mean installing gcc-3.x but don't stay with 2.96 (2.95.x is good)
Daniel E. Fisher wrote:
Ok...ran into problems backing database up.

trying to run pg_dumpall > backup102003

gives me

Database version 7.3.3 compiled by gcc 2.96

Archiver DB ver 7.1.3
Aborting cause of version mismatch.

use ignore if ok?

Now it does have 7.3.3 on it but that is the old version of 7.1.3
before the upgrade. I really want to backup my data before I do this..
but is it safe to ignore...

I did copy /usr/local/pgsql to another directory just incase...
is this good enough?

-Dan

-----Original Message-----
From: pg************* ****@postgresql .org
[mailto:pg****** ***********@pos tgresql.org]On Behalf Of Alvaro Herrera
Sent: Monday, October 20, 2003 3:03 PM
To: Daniel E. Fisher
Cc: PGSQL List
Subject: Re: [GENERAL] Pgsql 7.3.3 on redhat 7.2
On Mon, Oct 20, 2003 at 01:03:23PM -0400, Daniel E. Fisher wrote:
After reading all my server logs:

No error messages or nothing. Weird..


Including Apache's /var/log/httpd/access_log and
/var/log/httpd/error_log during restart?
(or wherever you may have moved them)
May have something to do with reading wrong libpq Alvaro?


Maybe ... check out what ldd path-to-pgsql.so says (PHP's support
library)

---------------------------(end of broadcast)---------------------------
TIP 5: Have you checked our extensive FAQ?

http://www.postgresql.org/docs/faqs/FAQ.html

Nov 12 '05 #11

On 22/10/2003 14:36 frbn wrote:
hi,
it seems you use the /usr/bin/pg_dumpall featured by the redhat default
install

verify this with "which pg_dumpall"
(rpm -ql postgresql to see all the files of this package)

you upgraded from sources didn't you ?

your fresh new install has the default prefix /usr/local (redhat uses
/usr)

2 ways : recompile/install with ./configure --prefix=/usr ...
or remove completely the redhat postgresql package (rpm -e postgresql)


I've found the easiest way to over-write a RPM installed version with one
one compiled from source is to use pg_config --configure to get all the
original options which the RMP version was built with. I then supply these
options to the configure script. This way, I know that the new version
will over-write the old version.

HTH

--
Paul Thomas
+------------------------------+---------------------------------------------+
| Thomas Micro Systems Limited | Software Solutions for the Smaller
Business |
| Computer Consultants |
http://www.thomas-micro-systems-ltd.co.uk |
+------------------------------+---------------------------------------------+

---------------------------(end of broadcast)---------------------------
TIP 7: don't forget to increase your free space map settings

Nov 12 '05 #12

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1668
by: Levent | last post by:
Folks, I am getting following message from pear. I am running RedHat 8.0, PostgreSQL is 7.3.2 PHP Version 4.2.2 and pear:db 1.6.5. Warning: pg_errormessage(): supplied argument is not a valid PostgreSQL link resource in /usr/share/pear/DB/pgsql.php on line 449 Any idea. Thanks
0
1085
by: Travel Jadoo | last post by:
I have found an pgsql-mode.el file which I want to install in my xemacs but sorry, I am lost as to how install it. Or is there a better solution to pgsql programming in xemacs? I am using Redhat 9 Alfred ---------------------------(end of broadcast)---------------------------
1
1792
by: Hema Sekhar | last post by:
Hi I am Hemasekhar K.P I am trying to replicae pgsql on REDHATLinux 8, but the site http://gborg.postgresql.org/genpage?replication_72install. is giving instructions on REDHATLinux 7, is there any site which gives instructions on how to replicate on REDHATLinux 8, Actually in postgresql.conf which is under /usr/local/pgsql/data/postgresql.conf, I added the following lines
3
3642
by: D. Stimits | last post by:
I've found a number of basic references for PL/PGSQL, but am looking for something more complete. First question, is there available a *complete* reference for PL/PGSQL? I'm using PostgreSQL version 7.2.3-5.73 (for Redhat rpm packaging version), so it is version 7.2 I am concerned with information on (this is a default version, so at least on this machine, I'm not interested in updates in version). The situation that leads me to ask for...
1
1687
by: Daniel E. Fisher | last post by:
My sysadmin just called and tol me he updated the php.rpm... he happens to be in California totally across the US from me for a week... So I check the ver and... Php version 4.1.2-7.2.6 recently updated - yesterday Postgresql 7.3.3 installed in august sometime - upgraded from basic redhat 7.2 postgresql Since he upgraded the php rpm this problem started.
13
2339
by: Erick Papadakis | last post by:
hello, i am a newbie to the pgsql world, so pls bear with a possibly stupid question. i want to test out pgsql but i only have a shared hosting account. is it possible to install pgsql without root access, only for my account? my webhost uses redhat i think. thanks! ..ep
4
1838
by: Postgresql | last post by:
Hello, I am unable to get on many of the postgresql mailing lists. I usually get this message back with no attachment and no email comes afterwards with a confirmation. I've tried this over and over on multiple lists. After a while I was able to get on pgsql-admin...but it took a few tries. It's been a couple days now, so I'm assuming majordomo has had time to process my request.
7
2320
by: snpe | last post by:
Is it down ? regards ---------------------------(end of broadcast)--------------------------- TIP 9: the planner will ignore your desire to choose an index scan if your joining column's datatypes do not match
3
2187
by: Deepa K | last post by:
---------------------------- Original Message ---------------------------- Subject: Abrupt close of pgsql backend From: "Deepa K" <kdeepa@midascomm.com> Date: Mon, October 25, 2004 8:04 pm To: postgresql-general@postgresql.org -------------------------------------------------------------------------- Hi, I am running postgresql 7.1.3 in RedHat Linux 7.2. From an external C application, three connections are established with...
0
10325
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10147
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10091
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8972
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7499
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6739
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5511
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4050
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3645
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.