I'm trying to execute a ./run sentence, but when I try to execute it I get this error:
ERROR: could not open extension control file "C:/Program Files/PostgreSQL/9.4/share/extension/plv8.control": No such file or directory
Is that problem related to the version of the postgresql?
Make sure your PLV8 version is the correct version for your Postgres DB.
if youre using PSQL 9.4, then you need the plv8 files for PostgreSQL 9.4
I know for Postgresql 9.5 you can find them here:
http://www.postgresonline.com/journal/archives/360-PLV8-binaries-for-PostgreSQL-9.5-windows-both-32-bit-and-64-bit.html
and for Postgres 9.4 you can find them here:
http://www.postgresonline.com/journal/archives/341-PLV8-binaries-for-PostgreSQL-9.4-windows-both-32-bit-and-64-bit.html
Related
I've just upgraded my Heroku app's PostgreSQL to version 12.
I'm currently having an issue with Heroku's pg:pull, where the extension/library from the server's pg_dump is apparently an older version:
pg_restore: error: could not execute query: ERROR: incompatible library "/usr/local/lib/postgresql/btree_gin.so": version mismatch
DETAIL: Server is version 10, library is version 12.
Command was: CREATE EXTENSION IF NOT EXISTS btree_gin WITH SCHEMA public;
The command I run is: heroku pg:pull ${SERVER_DB} ${DEV_DB} -a ${APP}
I have attempted ALTER EXTENSION btree_gin UPDATE; but it wasn't any help.
Any ideas?
I didn't realize that this error was concerning my local machine's PostgreSQL server version—not the server on Heroku.
Doing brew postgresql-upgrade-database would resolve this by upgrading the server version.
I ended up just deleting my existing local database and reinstalling PostgreSQL instead because running brew postgresql-upgrade-database involves copying entire tables; I didn't have enough space in local storage.
I tried installing PostgreSQL 11.2 on Windows through this link: https://www.openscg.com/bigsql/postgresql/installers.jsp/
but the program would not start no matter what I tried. A quick black window would appear for a tenth of a second, disappear, and then absolutely nothing would happen.
Thus, I uninstalled it and deleted the directory and tried to install PostgreSQL 11.2 on Windows through this link:
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
It installed properly, but when I opened my file explorer to C: where the directory should have been installed I was given an error "PostgreSQL could not be found". I thought my previous installation was causing issues, so I did a 'Search Local C:' in file explorer and found over 9,000 files involving PostgreSQL. I 'Ctrl+A' deleted all of them and skipped the exceptions saying 'You need permission to delete this file', 'This file is in use', 'Unable to locate file', etc.
I then tried to reinstall PostgreSQL 11.2 via this link (same as second link):
https://www.enterprisedb.com/downloads/postgres-postgresql-downloads
However, after saying yes to 'permission to make changes on this computer', I immediately get the error box "There has been an error. Error reading file C;/Program Files/PostgreSQL/11/data/postgresql.conf", and I can no longer install PostgreSQL.
How do I fix this?
Thank you to Mike from the comments. Here is what I did:
1) I found all the old PostgreSQL stuff, including the program files directory tree, and deleted all of it using the uninstall function when I could.
2) Next, I reset my postgresql system environment variables and restarted my computer.
3) I deleted all top level directories for PostgreSQL and downloaded the PostgreSQL distributed by postgresql.org. I was finally able to install PostgreSQL again.
4) PGAdmin4 works, and if I use the command line type 'cmd.exe /c chcp 1252' and then type something like 'psql -U postgres postgres" and enter your password.
Oracle Database Home patches installed successfully
Executing cr9idata.pl
Executing: perl /u01/db/VIS/12.1.0/nls/data/old/cr9idata.pl
Unable to execute cr9idata.pl
RW-50010: Error: - script has returned an error: 2
RW-50004: Error code received when running external process. Check log file for details.
Running Database Install Driver for VIS instance
I executed command in terminal with root account:
[root#ntcs ~]# perl /u01/db/VIS/12.1.0/nls/data/old/cr9idata.pl
Directory /u01/db/VIS/12.1.0/nls/data/9idata already exist. Overwriting...
Copying files to /u01/db/VIS/12.1.0/nls/data/9idata...
Copy finished.
Please reset environment variable ORA_NLS10 to /u01/db/VIS/12.1.0/nls/data/9idata!
Thanks advanced for helping !
After serveral day debugging. I found the reason is my oracle user error.
I installed perl into /home/oracle/perl5...then make oracle user error.
I cannot su oracle from root user.
when i install perl for oracle user then .bashrc of oracle user auto add two routine line:
eval perl -I ~/perl5/lib/perl5 -Mlocal::lib
export MANPATH=$HOME/perl5/man:$MANPATH
I just remove above two lines above then i can su oracle from root user.
Conclusion:
When you install Oracle EBS 12.2.0 on CentOS 7.3. rapidwiz tool will su to oracle user automatically to install DB. But our oracle error cannot be su to so make error. But it show the symtom very strange so it is difficult to debug.
Now i install Oracle EBS 12.2 sucessfully !
I am very happy to share this to anyone meet this error.
I am installing EBS 12 at the moment.
Looking a bit deeper into the logs for the cr9idata.pl script, I saw that this error is caused by a missing Perl module. The Perl version that is installed with Oracle includes this library, so setting the path manually works in that case.
If you (like me) have installed Perl from YUM, install this module: perl-File-CheckTree
I installed PostgreSQL 8.3 for windows. But while creating the database I am getting the following error:
could not access file "/usr/lib64/pgsql/plpgsql.so": No such file or directory
I am looking for the path specified above in the installation directory but I am not getting anything.
Please help me or give any suggestions.
On Mac Server OSX 10.9.5 running Postgres 9.3.4
I'm trying to run a crosstab query, but was getting
ERROR: function crosstab(unknown, unknown) does not exist
so, I tried to install tablefunc, but now getting:
postgres=# CREATE EXTENSION tablefunc;
ERROR: could not open extension control file
"/Applications/Server.app/Contents/ServerRoot/usr/share/postgresql/extension/tablefunc.control": No such file or directory
So, looks like some search path somewhere is screwed up.
Any ideas how to fix?
EDIT: This obviously has to do with having two Postgres instances on the machine, at
/Applications/Server.app/Contents/ServerRoot/usr/bin/psql
and
/Library/PostgreSQL/9.3/bin/psql
And currently only the /Library version has tablefunc.control underneath it. So the first question is - should I try to switch which instance of Postgres the machine uses? Or should I try to install tablefunc into the /Server.app instance?
This problem disappeared magically after I upgraded to Yosemite