Pupbld.sql
hai
when i tried to connect to a user i am getting the following error, what exactly happening here, i tried to run the pupbld.sql as system but no use.
and where pupbld.sql reside. i found it is not there in $ORACLE_HOME/sqlpus/admin
SQL> conn u1/u1
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Connected.
SQL>
quick response will be highly appreciated
Edited by: sr_d on May 18, 2009 3:39 AM
and where pupbld.sql reside. i found it is not there in $ORACLE_HOME/admin/demoIts under $OH/sqlplus/admin
i tried to run the pupbld.sql as system but no use.If you could not find it, what have you run as SYSTEM then?
Similar Messages
-
Error while using SQL* PLUS due to PUPBLD.SQL script
DATABASE: 10G Release2
Upon creation of a database, while accessing a schema using sqlplus i received the error
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEMSo i logged in as SYSTEM and ran @$ORACLE_HOME/sqlplus/admin/pupbld.sql. But i am still getting the above mentioned error when try to log in to a schema. Before i executed pupbld.sql , i mistakenly executed this script while i was logged in as SYS. Could this be the problem?
This is what i get when i execute pupbld.sql logged in as SYSTEM
SQL> @$ORACLE_HOME/sqlplus/admin/pupbld.sql
DROP SYNONYM PRODUCT_USER_PROFILE
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
DATE_VALUE FROM PRODUCT_USER_PROFILE
ERROR at line 3:
ORA-00980: synonym translation is no longer valid
DROP TABLE PRODUCT_USER_PROFILE
ERROR at line 1:
ORA-00942: table or view does not exist
ALTER TABLE SQLPLUS_PRODUCT_PROFILE ADD (LONG_VALUE LONG)
ERROR at line 1:
ORA-00942: table or view does not exist
Table created.
DROP TABLE PRODUCT_PROFILE
ERROR at line 1:
ORA-00942: table or view does not exist
DROP VIEW PRODUCT_PRIVS
ERROR at line 1:
ORA-00942: table or view does not exist
View created.
Grant succeeded.
Synonym dropped.
Synonym created.
DROP SYNONYM PRODUCT_USER_PROFILE
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
Synonym created.
Synonym dropped.
Synonym created.
SQL>
SQL> show user
USER is "SYSTEM"
SQL> @$ORACLE_HOME/sqlplus/admin/pupbld.sql
Synonym dropped.
CREATE TABLE SQLPLUS_PRODUCT_PROFILE AS
ERROR at line 1:
ORA-00955: name is already used by an existing object
DROP TABLE PRODUCT_USER_PROFILE
ERROR at line 1:
ORA-00942: table or view does not exist
ALTER TABLE SQLPLUS_PRODUCT_PROFILE ADD (LONG_VALUE LONG)
ERROR at line 1:
ORA-01430: column being added already exists in table
CREATE TABLE SQLPLUS_PRODUCT_PROFILE
ERROR at line 1:
ORA-00955: name is already used by an existing object
DROP TABLE PRODUCT_PROFILE
ERROR at line 1:
ORA-00942: table or view does not exist
View dropped.
View created.
Grant succeeded.
Synonym dropped.
Synonym created.
DROP SYNONYM PRODUCT_USER_PROFILE
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
Synonym created.
Synonym dropped.
Synonym created.
SQL>Hi,
You'll need to tidy-up the failed install in the sys schema, then run pupbld again as system.
The easiest way to tidy up sys is to run the drop statments in the pupbld script while attached as sys. You can get a list of the drop commands by grepping the script for 'drop'...
grep -i drop $ORACLE_HOME/sqlplus/admin/pupbld.sql
..review the output - if your happy, copy&past it into sqlplus. Then connect as system and run pupbld again.
Cheers,
Andy Barry
http://www.shutdownabort.com -
**BE NICE NEW TO ORACLE**
I just created a database in Oracle 11g (on OEL). I created serveral users. I tested the login of one of the users and came up with a warning: Product user profile information not loaded
You may need to run PUPBLD.SQL.
Okay so connected to the db using system and used the correct location of the script when running it. However, when running the script I recieve errors:
1)DROP SYNONYM PRODUCT_USER_PROFILE
ERROR at line 1:
ORA-01434: private synonym to be dropped does not exist
I only posted one due to everything in the script errors out after that. And I know why because then it asked to create the table TABLE SQLPLUS_PRODUCT_PROFILE and can't so then the rest will error out too.
Anyways I was wondering if anyone ran into errors like this and could give me advice.
Thanks
KlcopelaThis forum is for Oracle Linux questions. Please look for one of the Database, SQL, or Installation forums here: http://forums.oracle.com/
Sergio -
What is the latest version of sql server has been supported by forms 6i (patch 2)
I am trying to connect to sql server 2000 from forms 6i (patch
2) using sql odbc drivers version msql odbc-03.80.0194 with
oracle open client adapter version 6.0.5.29.0
by using the following command at command prompt
plus80 <username>/<password>@odbc:sqlserver
But while connecting it gives following error:
SQL*Plus: Release 8.0.6.0.0 - Production on Tue Oct 24 17:36:56
2000
(c) Copyright 1999 Oracle Corporation. All rights reserved.
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
ORA-00022: invalid session id; access denied
Connected to:
Oracle Open Client Adapter for ODBC 6.0.5.29.0
Microsoft SQL Server 08.00.0194
anybody please suggest any solution for this.
Thanks in advance
yogeshrefresh
-
Connectiong to MS-SQL server 7.0
I'm trying to connect to SQL SERVER 7.0 thru OCA using ODBC.
I've created a database on the SQL server(name TestVisual) and created a DSN "TestVisual".The userid and password for the database is scott/tiger.
I'm trying to run the following SQL script
supplied by oracle
plus80.exe scott/tiger@odbc:TestVisual:TestVisual
@c:\orant\oca60\sql\sqlsrv\sqs60bld.sql
1)The script executes but no tables/Views are created.
2) when i invoke sqlplus thru the command line
plus80.exe scott/tiger@odbc:TestVisual:TestVisual
I get the follwing message:
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
ORA-00022: invalid session id; access denied
Connected to:
Oracle Open Client Adapter for ODBC 6.0.5.29.0
Microsoft SQL Server 07.00.0623
can anyone help
Thanks in AdvanceWhile both the Oracle Open Client Adapter for ODBC and Oracle8 ODBC driver use the ODBC protocol, they're completely separate products, so I'm not sure how much OCA expertise there will be in this forum.
Oracle support will probably be better able to help you out.
Justin Cave
ODBC Development -
Connecting Forms 6i to MS SQL Server
Dear friends,
I am really struggling to solve this connection issue. I am working with forms 6i, oracle 8i, in Windows 2000 professional environment. Developing programs using oracle 8i tables is ok, but I want to connect to SQL Server 2000 and MS Access also, as I want my application to run on any of the back end databases. The things I have done are
- I have already tables in MS SQL Server database.
- I Installed ODBC for Microsoft and Oracle. I am able to connect to SQL Sever database using SQL Plus from Oracle ODBC, with the following string
USERNAME/PASSWORD@ODBC:<DSN NAME>:<DATABASE NAME>
- I also installed OCA for developer from the CD.
I have followed the instructions in Developer Help menu and I was able to connect through SQL Plus, although it gives some error message while connecting and also while disconnecting. But I am not able to connect the same through Forms 6i. While using the same connect string with Forms 6i, gives an unknown error 'I'. I will appreciate if anyone provide me some tips. Thanks in advance.
Best Regards
Amit TamrakarNo there are no entries required in the TNSNAMES.ORA
When you are using ODBC for connection, Oracle does not look fo rany enteries in TNSNAMES.ORA file.
Now I am able to connect to both SQL Plus and Forms 6i. But while connecting to SQL Plus its giving an error
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
Connected to:
Oracle Open Client Adapter for ODBC 6.0.5.35.0
Microsoft SQL Server 08.00.0534
Also while disconnecting the Windows Program Error comes, and the application closes abruptly. -
Invalid session : connecting from developer 6i to sql server 2000
Hi ,
I am facing the following problem for connecting to sql server
2000 from oracle forms 6i.
Oracle developer 6i(form builder 6.0.8.11.3)
sql server 2000
o/s windows 2000 server
plus80.exe <username>/<password>@odbc:<dsn_name>
SQL*Plus: Release 8.0.6.0.0 - Production on Tue Oct 24 17:36:56
2000
(c) Copyright 1999 Oracle Corporation. All rights reserved.
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
ORA-00022: invalid session id; access denied
Connected to:
Oracle Open Client Adapter for ODBC 6.0.5.29.0
Microsoft SQL Server 08.00.0194
SQL>
pls help
Thanks in advance
YogeshHello ,
this forum must have a attachment option , so it very easy for others to update their development
Now how can i paste the procedure it have 6 - 8 pages and when i paste it, the words merge or join with others word, it become very difficult to read,,
anyhow
mail me i send the document
[email protected] -
[HELP] How to records user who use SQLPlus or SQL editor?
Dear Gurus,
Is onyone know how to record user who use SQLplus or any SQL editor?
for instance...
user1 using SQLplus on monday august 9.30.21 PM...and I have table which record this for audit user.
Or..
Can I block user who connect to oracle using SQLPlus?
If anyone know how to do this..please inform me...
Thanks and Regards
ErieYou can enable Auditing (AUDIT_TRAIL) and audit at the Session Level to record Logon and Log off of a required user. This can be enabled to be recorded in the audit table or operation system file. You can also audit user statements etc.
For example, to enable auditing connect for user UGONIC
SQL>audit connect by UGONIC;
TO disable it
SQL>noaudit connect by UGONIC;
Check in the SQL Reference for the AUDIT statement and requirements.
If you do not want the user to connect at all via SQL*Plus, you can use PRODUCT_USER_PROFILE to disable a users access to SQL*Plus or at the lower level, disable specified SQL*Plus and SQL commands for the user. You need to run the PUPBLD.SQL script as system user (if not run yet) and add records to it as required.
Example: After running PUPBLD.SQL. This entry stops the user UGONIC from using the drop command at the backend in SQL*Plus.
INSERT into product_user_profile (product,userid,attribute,char_value,date_value)
values('SQL*Plus','UGONIC','DROP','DISABLED',NULL);
Note that if a user is already connected by the profile entry, it is not activated on that session, but on subsequent logons. Again read the requied security documentations for this.
For both auditing, you need to set the required database intialisation parameters and know where to get the audit records (in tables, views or OS file). For instance, when using tables, you maintain and query tables like audit$ to view the logs. When using OS type logging, it is recorded on the path specified in the AUDIT_FILE_DEST init parameter (In Windows, it is logged in the Windows Event and you can view it from the event viewer). -
Connect to Oracle database from SQL Sever
Can you help on an issue of connection from SQL Server to Oracle database:
In SQL Server, I create a "linked server" to connect to Oracle database on a different machine. But it will take a unreasonable time (about 30 seconds) to call a Oracle query from SQL Server.No there are no entries required in the TNSNAMES.ORA
When you are using ODBC for connection, Oracle does not look fo rany enteries in TNSNAMES.ORA file.
Now I am able to connect to both SQL Plus and Forms 6i. But while connecting to SQL Plus its giving an error
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
Connected to:
Oracle Open Client Adapter for ODBC 6.0.5.35.0
Microsoft SQL Server 08.00.0534
Also while disconnecting the Windows Program Error comes, and the application closes abruptly. -
How to install SQL*Plus help facilities and demos.
Hi, everyone
It appears error message say "failure to login" during SQL*Plus
part of the Oracle8 full installation. I knew that system want
to install SQL*Plus help and demos through logining one of
dba account(maybe system user account). However, due to
password's reason, can not log in SQL*Plus, so installer can't
execute named pupbld.sql script, result in SQL*Plus help and
demos can not be installed.
Now, I am intend to install these stuff lonely.
Could anyone help me? thank a lot.
William
nullHi,
The pupbld.sql isn't the correct script to create the help
facility, it just creates product and user profile tables.
The help script is at $ORACLE_HOME/sqlplus/admin/help (run as
system)
cd $ORACLE_HOME/sqlplus/admin/help
sqlplus system/<password> @helptbl
sqlldr system/<password> control=plushelp.ctl
sqlldr system/<password> control=plshelp.ctl
sqlldr system/<password> control=sqlhelp.ctl
sqlplus system/<password> @helpindx
I think it is necessary to run the pupbld.sql script, without
this script everyone who logins in oracle with sqlplus will see
an error message, but... Run the script again:
$ORACLE_HOME/sqlplus/admin/pupbld.sql
Best regards,
Ari
William (guest) wrote:
: Hi, everyone
: It appears error message say "failure to login" during SQL*Plus
: part of the Oracle8 full installation. I knew that system want
: to install SQL*Plus help and demos through logining one of
: dba account(maybe system user account). However, due to
: password's reason, can not log in SQL*Plus, so installer can't
: execute named pupbld.sql script, result in SQL*Plus help and
: demos can not be installed.
: Now, I am intend to install these stuff lonely.
: Could anyone help me? thank a lot.
: William
null -
Run catalog.sql and catproc.sql?
Hi,
Does the install procedure for Oracle 9i Release 2 run catalog.sql and catproc.sql? Or should they be run manually after install? Thanks for the help.
rmc.If I run catalog.sql and catproc.sql in a production database (when application is not accessing db), they will recreate data dictionary, views and recompile packages. But, wiil my data be affected by this?Refer the foll link:
https://forums.oracle.com/forums/thread.jspa?threadID=2410592
Refer Metalink Doc Id:
*Why do I have to run the CATPROC.SQL PUPBLD.SQL Oracle Scripts ? [ID 1033107.1]*
*Best Practices for running catalog, catproc and utlrp script [ID 863312.1]*
Edited by: Vedant.. on Dec 11, 2012 4:10 PM -
Help!!!: catalog.sql and catproc.sql damage my db
after running the file my.sql (see below), i encounter some error:
when i try to edit the table data, the following error displayed:
ORA-04045 ... SYS.DBMS_OUTPUT
ORA-06508 ...
ORA-06512 ...
ORA-06508 ...
ORA-06512 ...
then i go to the package SYS.DBMS_OUTPUT, the status is "invalid", i try to recompile it, the following error displayed:
ORA-04045 ... SYS.CDC_ALTER_CTABLE_BEFORE
ORA-06508 ...
ORA-06512 ...
ORA-06508 ...
ORA-06512 ...
my db works well before running the file my.sql. it seems the execution of catalog.sql and catproc.sql cause the error. i am using 9i, and the document histories show that the catalog.sql and catproc.sql are last updated in Apr,2001.
my questions are:
1.with 9i db, do i need to run the two files?
2.how can i recover my db?(i don't have backup, can i use redoXX.log?)
***my.sql***
connect sys/change_on_install@orcl as sysdba
@/opt/oracle/rdbms/admin/catalog.sql
connect sys/change_on_install@orcl as sysdba
CREATE database mydb
@/opt/oracle/rdbms/admin/catproc.sql
***my.sql***how can i get my db work properly just as it was?
what do you mean by "create database script"?
Database configuration assistant allows you to create the database template and then save it as a set of scripts that you
can later customize and run to create the database. If you created your "create database scripts" using this option then
these scripts automatically run the catproc.sql and catalog.sql scripts along with several other scripts.
If you use Database configuration assistant to create such a set of DB creation scripts, than look at the
CreateDBCatalog.sql script, as you can see it runs both the scripts. so, if you do it this way, you do not need to do any
extra steps (apart from your custom scripts that may be part of your post install steps).
A sample of such DB creation script will be as below (for your reference):
===================================================================
connect SYS/change_on_install as SYSDBA
set echo on
spool /home/oracle/Ora9i/assistants/dbca/logs/CreateDBCatalog.log
@/home/oracle/Ora9i/rdbms/admin/catalog.sql;
@/home/oracle/Ora9i/rdbms/admin/catexp7.sql;
@/home/oracle/Ora9i/rdbms/admin/catblock.sql;
@/home/oracle/Ora9i/rdbms/admin/catproc.sql;
@/home/oracle/Ora9i/rdbms/admin/catoctk.sql;
@/home/oracle/Ora9i/rdbms/admin/owminst.plb;
connect SYSTEM/manager
@/home/oracle/Ora9i/sqlplus/admin/pupbld.sql;
connect SYSTEM/manager
set echo on
spool /home/oracle/Ora9i/assistants/dbca/logs/sqlPlusHelp.log
@/home/oracle/Ora9i/sqlplus/admin/help/hlpbld.sql helpus.sql;
spool off
spool off
exit;
=========================================================================== -
Trying to Connect to Reports 6i/NT Developer to SQL Server 7 using ODBC
I am trying to connect Reports 6i Developer on NT through ODBC to SQL Server 7 (on same NT machine), and get an error message:
ORA00022: invalid session id; access denied.
When I try connecting using SQL*Plus, I get the following message:
SQL*Plus: Release 8.0.6.0.0 - Production on Thu Mar 15 09:57:48 2001
(c) Copyright 1999 Oracle Corporation. All rights reserved.
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
ORA-00022: invalid session id; access denied
Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUPBLD.SQL as SYSTEM
Server not available or version too low for this feature
ORA-00022: invalid session id; access denied
I can run SQL queries only after I have run a DESC <table name> command once. Otherwise, I get the following error:
SQL> select * from authors;
SQL*Plus internal error state 2090, context 246:0:0
Unsafe to proceed
Even with a DESC command is run, I can connect, but with an error as follows:
SQL> desc authors
ORA-00022: invalid session id; access denied
Name Null? Type
AU_ID NOT NULL VARCHAR2(11)
AU_LNAME NOT NULL VARCHAR2(40)...
ODBC Drivers used: I get the same results in Reports 6i and SQL *Plus with the Intersolv/Merant or Microsoft ODBC drivers for SQL Server. (Merant Version 3.7 for 32-bit SQL Server 6, 12/1/00)
Please HELP.harry,
i am assuming you are using 6.0.8.8 of reports6i, which is base-release. there have been problems withthe OCA in this version. by using the latest patch you should solve this problem. for further details, please contact oracle support services.
regards,
the oracle reports team -
hi all,
i created the database manually in 9ir2 redhat linux...
even after executing the pupbld.sql as system...when users login sql they get warnings...
what should i do ?
TA
SNYAssuming pupbld.sql has been run successfully, there are several other known problems:
1) SYSTEM tablespace has no more space. Solution: increase its size and rerun the script.
2) User default tablespace is offline. Solution: make it online
3) Pupbld.sql was run, while system user was connected as SYSDBA ("CONNECT SYSTEM/<password> AS SYSDBA"). That does not work, because doing this Oracle connects as SYS. Solution: don't connect as SYSDBA
Werner -
hi
i created a newdatabase..then ran "catalog.sql" and then "catproc.sql" and then
"scott.sql" for demo schema...now when i tried to connectthrough scott...it get me connected but
also gave an error message
"Error accessing PRODUCT_USER_PROFILE
Warning: Product user profile information not loaded!
You may need to run PUBLIC.SQL as SYSTEM"
can anybody tell me why am i facing this error and why is this error ocurring
RegardsAre you sure it wasn't pupbld.sql? You can find this script in ORACLE_HOME\sqlplus\admin. It should be run once when you first created your database instance.
The comments in the beginning explain what it's used for.
-- DESCRIPTION
-- Script to install the SQL*Plus PRODUCT_USER_PROFILE tables. These
-- tables allow SQL*Plus to disable commands per user. The tables
-- are used only by SQL*Plus and do not affect other client tools
-- that access the database. Refer to the SQL*Plus manual for table
-- usage information.
-- This script should be run on every database that SQL*Plus connects
-- to, even if the tables are not used to restrict commands.
Maybe you are looking for
-
Multiple occurances of lin itm seg based on a field using graphical mapping
Hi I have a scenario where in i have to populate the target segment multiple times based on quantity field LFIMG Source structure in IDOC and target structure is XSD. In the following we need to have multiple occurances of S_LIN based on LFIMG. So if
-
I bought an iphone5 at NY in 2012, which fit your battery replacement program. But I'm in China now, please kindly advice me how and where can I change the battery? Thanks a lot!
-
Placing the transaction in SAP Menu
hi all, i have created a ztable and maintaining a transaction for that. T-code is zm93f. this transaction i have to place in the SAP Menu logistics -> Material Management->Purchasing->Purchase Order-->Messages Please let me know the procedure to fol
-
Relation between msg type & Idoc type
i have a X msg type which is already assigned to Y idoc type. can I assign the same X msg type to a new Z Idoc type. If yes, what is the effect on the old assignment? note: Y & Z have no relation at all. both of then are two different Idoc types.
-
We have a issue in one users' system where the essbase add-in vanishes each time we close the excel. We have to again browse the .xll files to bring the Essbase menu appear in Excel. Have any one come across this issue before? Is tehre any permanent