HTMLDB ORA-1017 with a twist
hi
we've installed HTMLDB on Linux several times and got it working eventually. i've read all the FAQ (i think!). But on this most recent installation of HTMLDB on linux redhat I have encountered a problem I cannot fix or find any solution to.
We complete a full and error-free install.
But I am getting an error when I try to load the HTMLDB admin pages.
http:\\server:7779 - gives me the welcome page
http:\\server:7779\pls\htmldb - gives me
403 - Forbidden - You don't have permission to access /pls/htmldb/htmldb on this server.
The apache log line reads:
[Tue Mar 21 14:00:24 2006] [notice] Accept mutex: fcntl (Default: sysvsem)
[Tue Mar 21 14:00:30 2006] [error] [client 192.168.1.211] [ecid: 1142949629:127.0.0.1:20856:0:2,0] mod_plsql: /pls/htmldb/htmldb HTTP-403 ORA-1017
So there is my ORA-1017 error, which implies that the HTMLDB_PUBLIC_USER password is wrong. So i do the following:
1) ALTER USER on the database, reset the password to a simple string.
2) Supply the same password in the marvel.conf just to get it to work.
3) restart apache
BUT I still get ORA-1017!!!!! grrrrrrrr! no change apparent.
note:
1) There are no other databases on this machine.
2) The service name provided is correct (if i change it in marvel to an invalid setting, i get a page reading 'Service Unavailable', naturally).
3) sqlplus works for the username/password.
Why would I be able to connect using sqlplus but HTMLDB is getting ORA-1017 using the SAME username/password?
any clues or suggestions would be great.
is is possible that it thinks my new password is still encrypted? it is now plain text.
please help everyone - cheers
god bless metalink. I TOLE you this wasn't a problem with HTMLDB!! :-)
I am posting the solution here for the benefit of future generations (why do so few poeple ever bother doing this).
the problem was in the database install and the way HTTP works; HTMLDB was an innocent victim.
here is the solution taken from Note:341694.1
very happy - cheers everyone and thanks for the comments, made sure i wasnt going mad.
thanks again
Kevin
NLS_LANG was not set before starting the HTTP Server.
NLS_LANG needs to be set in the environment of the user that started OPMN to the same character
set as the database character set.
See also the following note:
Note 299979.1 - ORASSO Fails With HTTP-403 Forbidden
SolutionTo implement the solution, please execute the following steps:
1. Get the NLS_LANG setting of your Portal database using the following query:
sqlplus system/<password>
SQL> select * from nls_database_parameters
where parameter in ('NLS_LANGUAGE','NLS_TERRITORY','NLS_CHARACTERSET');
2. Set the NLS_LANG using the values returned in step 1:
i.e: export NLS_LANG=AMERICAN_AMERICA.AL32UTF8
3. Restart the HTTP Server in the same shell:
opmnctl stopproc process-type=HTTP_Server
opmnctl startproc process-type=HTTP_Server
Similar Messages
-
ORA-1017 when installing companion 10.2.0.1 on Linux with 9207 db
During installation, after having specified HTML DB Database Details, clicking on Next-button immediately produces ORA-1017 even if I know I am giving the correct password for SYS.
The 9207 DB is installed in userid "orasos".
The 10201 companion is being installed in userid "apex".
Both "orasos" and "apex" belong to same OS group.
REMOTE_LOGIN_PASSWORDFILE=EXCLUSIVE
I can login to 9207 DB from userid "apex" by setting PATH and ORACLE_HOME to 9207-values.
I can login to 9207 DB from "orasos" with password specified in companion installation.
Can anyone help with this?The installation doc you should be following is Oracle's.
http://docs.oracle.com -
Intermittent ora-1017; poor workaround lsnrctl stop/start
Running Oracle 11.2.0.3 on a redhat Linux x86_64 installation.
I've mapped the servicename to the desired sid in the listener.ora to avoid continually remapping the config information in the source code. This allows the URL to remain consistent for all developers, "jdbc:oracle:thin@//host:port/service" and during predeployment testing it is changed in the listener.ora file to reflect the "production" deployment for final testing.
This has been working great until recently when we began to receive intermittent ora-1017 during connection. If I stop and start the listener, lsnrctl stop:lsnrctl start, I can connect successfully for two sessions and then the ora-1017 reappears.
os authentication is in use(until ??? & I know it's bad) with remote_os_authent=true os_authent_prefix=''. User accounts are the same in both instances, "scott identified externally" for instance
The client is Windows XP and the connection is made using hibernate 3.26 (empty pwd/uid in hibernate.cfg.xml)
listener.ora:(example)
sid_list_listener =
(sid_list =
(sid_desc =
(global_dbname = productionServiceName)
(ORACLE_HOME = /the/oracle/home)
(sid_name = developmentName)
(sid_desc =
(global_dbname = developmentName)
(ORACLE_HOME = /the/oracle/home)
(sid_name = developmentName)
two connections and ora-1017 consistently.
I've noticed that the lsnrctl status reports an increased number of handlers as soon as this error occurs for the "productionServiceName" but I'm unsure whether theere's a connection to the error
host > lsnrctl status
Service "productionServiceName" has 1 instance(s)
Instance "developmentName"status UNKNOWN, has 1 handler(s) for this service
ORA-1017...
host > lsnrctl status
Service "productionServiceName" has 2 instance(s)
Instance "developmentName"status UNKNOWN, has 1 handler(s) for this service
Instance "productionServiceName", status READY, has 2 handler(s) for this service
Thanks for any helpVery insightful response, thanks :|. I asked the same question of our administrator and she insists she changed nothing.
However, I found that dynamic service registration via PMON/service_names init parameter and what appears to be "load-balancing" is causing the 1017 error regardless of what I specify in the listener.ora. According to the oracle docs (link here) the dynamic service registration takes precedence over the static sid list entries in the listener.ora. The invalid username/password error was occurring because the "production instance" had remote_os_authent set to false, so as the uncontrollable load balance switch occurred the username of course is invalid.
I asked our administrator to set the remote_os_authent to true on the "production" instance and now i receive a different failure - intermittently - due to the absence of a collection object in that instance accessed during application launch.
Now to determine when the switch is occurring and control it OR find an alternative to allow constant jdbc configuration with a dynamically configured back-end...as well as to determine what allowed this to work in the first place?
My configuration was based on the statement in the listener.ora configuration documentation that says:
"Use the parameter GLOBAL_DBNAME to identify the database service.
While processing a client connection request, the listener tries to match the value of this parameter with the value of the SERVICE_NAME parameter in the client connect descriptor. If the client connect descriptor uses the SID parameter, then the listener does not attempt to map the values" It does go on to state this is mainly for Oracle8 , 7 but does not indicate issues with newer releases nor that it may be OBE.
****** SOLUTION I FOUND *********
is to use the new 11G parameter DEFAULT_SERVICE_<listener>=<serviceName> configuration in the listener.ora and to NOT specify a service in my jdbc connect string, jdbc:oracle:thin:@//host:port. This provides the functionality I need cleaner than the initial config -
Thanks to all who helped -
OracleException ORA-1017: invalid username/password; logon denied at Oracle
Hi,
SYS@EHS06T>select from v$version;*
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bi
PL/SQL Release 10.2.0.5.0 - Production
CORE 10.2.0.5.0 Production
TNS for 64-bit Windows: Version 10.2.0.5.0 - Production
NLSRTL Version 10.2.0.5.0 - Production
I have checked the PWADM and PWSYS account and tried to connect to the DB using sqlplus both. I didn’t got any error while connecting.
Also checked the Event viewer logs and found nothing.
But end user getting below error from application :
Message: Error saving emissions
Oracle.DataAccess.Client.OracleException ORA-1017: invalid username/password; logon denied at Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) at Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) at Oracle.DataAccess.Client.OracleConnection.Open() at Ess.Framework.DA.BulkOperations.InsertDataOracle(String tableName, DataTable table, Int32 timeout) at Ess.Framework.DA.BulkOperations.InsertData(String tableName, DataTable table) at Ess.ESuite.Air.BO.Calculator.Controller.SaveEmissions(List`1 list) at Ess.ESuite.Air.BO.Calculator.Controller.SaveCachedEmissions()
Request your assistance in solving this issue. Thanks!hi,
Try a SQL*Net trace on the client (your PC) for the connection that works and the one that does not. Compare to see what is different.
Client Side Tracing:
Your SQLNET.ORA file should contain the following lines to produce a client side trace file:
trace_level_client = 10
trace_unique_client = on
trace_file_client = sqlnet.trc
trace_directory_client =
regards, -
"ORA-1017: invalid username/password; logon denied"
I am running Oracle Database 11g R1.
Oracle.DataAcess.dll 10.2
My code as below:
string oradb = "Data Source=orcldemo;User ID=HR;Password=hr;";
OracleConnection conn = new OracleConnection(oradb);
conn.Open();
I keep on getting error:
"ORA-1017: invalid username/password; logon denied"
But if I tried to access from the same host using Oracle SQL Developer ver 1.2 and using the same username and password then I have no problem at all.
Any help? Thanks
Ming ManThis is what I found on Metalink
Applies to:
Oracle Data Provider for .NET - Version: 9.2.0.8.0 to 10.2.0.3.0
Microsoft Windows (32-bit)
Symptoms
You are trying to connect to 11g database using 10g ODP.NET (or lower version) and you receive
ORA-1017 - invalid username /password
While using 11g ODP.NET or 10g sqlplus ,this problem does not occur.
Cause
Whenever we send the passwords using 10g ODP.NET ,it converts them into all upper cases.
Prior to 11g database , the passwords were case-insensitive.
So sending all-capital password would not cause problem there.
However, from 11g onwards , passwords are case sensitive.
Hence when ODP.NET sends all-capital password to a 11g database , password validation fails and results in the ORA-1017 error.
This issue is reported in an internal bug .The bug number is not revealed for confidentiality policy reasons. The backport request has been created for 10.2 and 10.1 but the patch was not available at the time of writing this note.
Solution
There are several solutions for this issue:
Configure the database to not support case-sensitivity in passwords.
Create all-capital passwords
Pass a lowercase password by wrapping the password field in quotes.
e.g.
("Data Source=ORCL;User ID=scott;Password = \"tiger\"");
The bug is also fixed in the 10.2.0.4.0 Oracle Database Patch 6810189. -
OBI 7.9.6.1 Invalid username / password (ORA-1017) in dashboards
Hi folks,
I've got OBI Fusion installed, I've done an ETL, everything looks to be in order. I'm still figuring out how all of the pieces of this fit together, that was quite an install. Anyway, the problem I'm having is when I go into the dashboards of presentation services, all of the dropdowns show ORA-1017's, and I'm not sure where the setting is stored that I have to change, I know it's the OLAP data warehouse account, I just don't know where I have to go to change it.
Any insight would be most appreciated.
-AdamI found it.. I had an incorrect password in the Data Warehouse connection pool definition in the physical layer of my OracleBIAnalyticsApps.rdp file.
Problem solved :) -
Concurrent request - view output - Error connecting to database ORA-1017
Hi all,
When I run Active Users concurrent request.
It complete sucessfully without any error.
but when i click on view output then i get following error.
Error connecting to database ORA-1017
Reg
Chirag Patel
NairobiHi All,
I followed this metalink note.
Copy File : Error connecting to database ORA-1017 [ID 269511.1]
and it if working fine now.
Reg
Chirag Patel -
Replace local tnsnames.ora-files with OID
Hi there,
I would like to replace our local tnsnames.ora-files with an central OID-Instance. I know I will have to use the ldap.ora on clientside, but how can I add service names to the OID?
Is there any guide or manual which describes this functionality?
Best RegardsYou need the Net Configuration Assistant, not Net Manager!
- select configure Directory Usage
- select correct type and name, and port(s)
- select correct default context (NOT cn=OracleContext!)
Next, you should be able to navigate to Local Naming, select an entry from your tnsnames.ora, and select from the mennu: Command->Directory->Export Net Service Names
- select one or more entries to be migrated -
ORA-600 with HTMLDB 1.6
Hi guys,
I meet OERI again.
Symptoms:
When I change any page element (i.e region - I need to change region source from txt to html) I've got ORA-600.
In HTMLDB it look like this:
ERR-1029 Unable to store session info. session=7510900237229644713 item=3469326686
Return to application. ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
In background dump file:
Errors in file /export/home/OraHome1/admin/SUN92/udump/sun92_ora_972.trc:
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Mon Jan 17 17:35:12 2005
Errors in file /export/home/OraHome1/admin/SUN92/udump/sun92_ora_978.trc:
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Mon Jan 17 17:35:54 2005
Errors in file /export/home/OraHome1/admin/SUN92/udump/sun92_ora_988.trc:
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Mon Jan 17 17:36:37 2005
Errors in file /export/home/OraHome1/admin/SUN92/udump/sun92_ora_1010.trc:
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Mon Jan 17 17:38:07 2005
Errors in file /export/home/OraHome1/admin/SUN92/udump/sun92_ora_1064.trc:
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Mon Jan 17 17:40:15 2005
Errors in file /export/home/OraHome1/admin/SUN92/udump/sun92_ora_1066.trc:
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Mon Jan 17 17:41:25 2005
Peace of one of reference UDUMP files:
/export/home/OraHome1/admin/SUN92/udump/sun92_ora_972.trc
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning and Oracle Label Security options
JServer Release 9.2.0.6.0 - Production
ORACLE_HOME = /export/home/OraHome1/app/oracle/product/9.2.0
System name: SunOS
Node name: blade
Release: 5.9
Version: Generic_112233-11
Machine: sun4u
Instance name: SUN92
Redo thread mounted by this instance: 1
Oracle process number: 12
Unix process pid: 972, image: oracle@blade (TNS V1-V3)
*** SESSION ID:(12.692) 2005-01-17 17:34:48.672
*** 2005-01-17 17:34:48.671
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Current SQL statement for this session:
INSERT INTO WWV_FLOW_DATA ( FLOW_INSTANCE, ITEM_ID, ITEM_ELEMENT_ID, ITEM_NAME, ITEM_VALUE, SESSION_STATE_STATUS, FLOW_ID ) VALUES ( :B6 , :B5 , :B4 , :B3 , :B2 , 'I', :B1 )
----- PL/SQL Call Stack -----
object line object
handle number name
39786c0e8 810 package body FLOWS_010600.WWV_FLOW
39786c0e8 4573 package body FLOWS_010600.WWV_FLOW
39786c0e8 10074 package body FLOWS_010600.WWV_FLOW
39aa6f690 8 anonymous block
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp()+328 CALL ksedst() 00000000B ? 000000000 ?
000000000 ? 00000004A ?
FFFFFFFF7FFF2C58 ?
102F5EFF8 ?
kgerinv()+184 PTR_CALL 0000000000000000 000103349 ? 103349000 ?
103349BA8 ? 10334E000 ?
It not first incident with ORA-600 after upgrade HTMLDB on our local site.
Whats wrong?SMON: enabling tx recovery
Wed Jan 26 15:31:05 2005
Database Characterset is CL8MSWIN1251
replication_dependency_tracking turned off (no async multimaster replication found)
Completed: ALTER DATABASE OPEN
Wed Jan 26 15:33:06 2005
Errors in file /export/home/OraHome1/admin/SUN92/udump/sun92_ora_1207.trc:
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
ORA-00001: unique constraint (FLOWS_010600.WWV_FLOW_DATA_IDX1) violated
/export/home/OraHome1/admin/SUN92/udump/sun92_ora_1207.trc
Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
With the Partitioning and Oracle Label Security options
JServer Release 9.2.0.6.0 - Production
ORACLE_HOME = /export/home/OraHome1/app/oracle/product/9.2.0
System name: SunOS
Node name: blade
Release: 5.9
Version: Generic_112233-11
Machine: sun4u
Instance name: SUN92
Redo thread mounted by this instance: 1
Oracle process number: 12
Unix process pid: 1207, image: oracle@blade (TNS V1-V3)
*** SESSION ID:(9.19) 2005-01-26 15:33:06.290
*** 2005-01-26 15:33:06.290
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
ORA-00001: unique constraint (FLOWS_010600.WWV_FLOW_DATA_IDX1) violated
Current SQL statement for this session:
UPDATE WWV_FLOW_DATA SET ITEM_VALUE = :B4 , SESSION_STATE_STATUS = DECODE(SESSION_STATE_STATUS,'R','I','U') WHERE FLOW_INSTANCE = :B3 AND ITEM_ELEMENT_ID = :B2 AND ITEM_ID = :B1
----- PL/SQL Call Stack -----
object line object
handle number name
3979f8a70 836 package body FLOWS_010600.WWV_FLOW
3979f8a70 4573 package body FLOWS_010600.WWV_FLOW
3979f8a70 10074 package body FLOWS_010600.WWV_FLOW
397aa79f0 8 anonymous block
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp()+328 CALL ksedst() 00000000B ? 000000000 ?
000000000 ? 00000004A ?
FFFFFFFF7FFF2C58 ?
102F5EFF8 ?
kgerinv()+184 PTR_CALL 0000000000000000 000103349 ? 103349000 ?
103349BA8 ? 10334E000 ?
000102800 ? 000000000 ?
kgeasnmierr()+28 CALL kgerinv() 103349E08 ? 10344B650 ?
0000013C8 ? 000000000 ?
10334BF14 ? 10334B1D8 ?
*** SESSION ID:(24.5784) 2005-01-24 22:10:39.442
*** 2005-01-24 22:10:39.441
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Current SQL statement for this session:
INSERT INTO WWV_FLOW_DATA ( FLOW_INSTANCE, ITEM_ID, ITEM_ELEMENT_ID, ITEM_NAME, ITEM_VALUE, SESSION_STATE_STATUS, FLOW_ID ) VALUES ( :B6 , :B5 , :B4 , :B3 , :B2 , 'I', :B1 )
----- PL/SQL Call Stack -----
object line object
handle number name
3990a5318 810 package body FLOWS_010600.WWV_FLOW
3990a5318 4573 package body FLOWS_010600.WWV_FLOW
3990a5318 10074 package body FLOWS_010600.WWV_FLOW
39f8b51d0 8 anonymous block
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp()+328 CALL ksedst() 00000000B ? 000000000 ?
000000000 ? 00000004A ?
FFFFFFFF7FFF2C58 ?
102F5EFF8 ?
kgerinv()+184 PTR_CALL 0000000000000000 000103349 ? 103349000 ?
*** SESSION ID:(13.1360) 2005-01-26 15:25:05.977
*** 2005-01-26 15:25:05.977
ksedmp: internal or fatal error
ORA-00600: internal error code, arguments: [kpoblblen: pos1], [], [], [], [], [], [], []
Current SQL statement for this session:
INSERT INTO WWV_FLOW_DATA ( FLOW_INSTANCE, ITEM_ID, ITEM_ELEMENT_ID, ITEM_NAME, ITEM_VALUE, SESSION_STATE_STATUS, FLOW_ID ) VALUES ( :B6 , :B5 , :B4 , :B3 , :B2 , 'I', :B1 )
----- PL/SQL Call Stack -----
object line object
handle number name
397958a68 810 package body FLOWS_010600.WWV_FLOW
397958a68 4573 package body FLOWS_010600.WWV_FLOW
397958a68 10074 package body FLOWS_010600.WWV_FLOW
399aa3960 8 anonymous block
----- Call Stack Trace -----
calling call entry argument values in hex
location type point (? means dubious value)
ksedmp()+328 CALL ksedst() 00000000B ? 000000000 ?
000000000 ? 00000004A ?
FFFFFFFF7FFF2C58 ?
102F5EFF8 ?
kgerinv()+184 PTR_CALL 0000000000000000 000103349 ? 103349000 ?
103349BA8 ? 10334E000 ?
000102800 ? 000000000 ?
kgeasnmierr()+28 CALL kgerinv() 103349E08 ? 10344B650 ?
0000013C8 ? 000000000 ?
10334BF14 ? 10334B1D8 ?
kpoblblen()+84 CALL kgeasnmierr() 103349E08 ? 10344B650 ?
Anyway database problem? -
TT ReadOnly Group fails with ORA-1017
Please help...
I actually got this to work at one point about a week ago. I opened an SR# to explore all the setup aspects of the accounts. Trying to create a simple readonly group now fails:
Command> connect "dsn=HrData;uid=hr;pwd=....";
Connection successful: DSN=HrData;UID=hr;DataStore=/tmp/HrData;DatabaseCharacterSet=WE8ISO8859P1;ConnectionCharacterSet=US7ASCII;DRIVER=/oras/u01/app/tt701/product/7.0.1/TimesTen/tt70/lib/libtten.so;OracleId=oemprod;PermSize=200;TempSize=200;TypeMode=0;
(Default setting AutoCommit=1)
Command> call ttcacheuidpwdset('ttsys','ttsys');
Command> call ttcachestart();
Command> create readonly cache group hr.cg_readonly_sample_data
autorefresh interval 1 second
from hr.sample_data(
samp_id number(10) not null,
weight number(38,2),
primary key (samp_id));5213: Bad Oracle login error in OCISessionBegin(): ORA-01017: invalid username/password; logon denied rc = -1
5131: Cannot connect to Oracle database: connect_string = "oemprod", uid = "HR", pwd is hidden
The command failed.
I have checked all account logins to oemprod and they work AOK.
thanks for any suggestions to resolve this problem.
Henri Tuthill, DBAI don't see an attribute 'OraclePWD' in your connect string. When using Cache Connect, you are effectively connecting to both TimesTen and Oracle. You need the right usernames and passwords for both. In addition, certain cache connect operations (such as AUTOREFRESH) atre perforemed using a different Oracle username/password.
So, firstly you must establish a suitable oracle username/passowrd to use for the background operations. You do this using the ttCacheUidPwdSet() builtin. The values passed to that must be a valids Oracle username/password with the appropriate priviliges for the tables you are caching (see the docs for more details).
Next, you must have a TT user created for the userid you will use to connect to TT (so you should have installed Tt with Access Control enabled...). Since Tt uses the same userid to connect to Oracle this username should match the main one you are using in Oracle. In this example it looks like the username is 'hr', which is fine. The password used to authenticate this user (hr) in TT is provided by the PWD attribute in the connect string. However, Tt also needs ot ocnnect to Oracle as the user 'hr' and we recognise that the password in Oracle may be different so you also need to tell us the Oracle password for user 'hr' by including the OraclePWD=<somevalue> in the connect string. For example:
connect "DSN=HrData;UID=hr;PWD=tt_password_for_hr;OraclePWD=oracle_password_for_hr";
Hope that helps,
Chris -
I could not able to connect with INTERNAL, says ORA-1017 invalid username/password,
Hellow Everybody,
PLZ Help...
I could not able to connecct as INTERNAL.
Some days ago I got connected gracefully.
But now what has happedned it is no more connecting as INTERNAL.
But can connect as SYS and SYSTEM gracefully in one attemt.
Thankyou,
Sumeetcheck the listener status in server end,
lsnrctl status
lsnrctl servicesif not start
lsnrctl startThanks -
SVG CHart error ORA-20001 with Stacked Bar Chart HTML DB 1.6.0.00.87
Hi,
during I put a How-To into execution (How To Create a Stacked Bar Chart) I'll get the following error code:
SVG Chart error:ORA-20001:line_Chart error:ORA-20001:
get_data error:ORA-20001:Parse error:ORA009
(see http://www.oracle.com/technology/products/database/htmldb/howtos/index.html)
This Situation occurs when i add a second series to the
chart. The first series works fine. I've used the following SQL-Statement:
select null l, sales_month, revenue from (select to_char(o.order_timestamp,'Mon YYYY') sales_month, sum(oi.quantity * oi.unit_price) revenue, to_date(to_char(o.order_timestamp,'Mon YYYY'),'Mon YYYY') sales_month_order from DEMO_PRODUCT_INFO p, DEMO_ORDER_ITEMS oi, DEMO_ORDERS o where o.order_timestamp <= (trunc(sysdate,'MON')-1)and o.order_timestamp > (trunc(sysdate-365,'MON'))and o.order_id = oi.order_id and oi.product_id = p.product_id and p.category = 'Audio' group by to_char(o.order_timestamp,'Mon YYYY') order by sales_month_order);
Please help.
Regards
DetlevWell,
I've just been struggling for a couple of hours with a cluster bar chart giving the same problem.
The problem is definitely with "ORDER BY".
I guess the graphing chart is taking the sql query as a string and then does some other manipulation on it which ends abnormally when you include the order by clause.
I presume that if you embed the query in a
SELECT * FROM (<actual query with order by>)
it might mitigate the problem.
Bye,
Flavio -
SVG line chart raises ORA-20001 witha valid SQL query
Hi,
I am on version 1.6 & 10g database. I developed an SVG line chart which was working fine, but I wanted to fill in some sparse data by using data densification. So I enhanced my query with a partitioned outer join as follows:
select null l, month_start, issue_count
from
(with dates as
(select add_months
( to_date( '01-jul-2004' ),
column_value-1) dt
from table( vtable(12) )),
iss as
(select trunc(start_date, 'MON') mon , count(*) cnt
from issues
group by trunc(start_date, 'MON'))
select dates.dt month_start, NVL(iss.cnt, 0) issue_count
from dates left outer join iss on (dt=mon)
Now the chart throws an ORA-20001 get_data error. The query is valid as it runs in SQL*plus no problems. What is it choking on?
Thanks,
SteveSteve,
I didn't mean for you to put in on the Studio, just install the app in your workspace on htmldb.oracle.com, use SQL Workshop there to compile your procedures, tell us the app ID, and that's it.
The error message presentation needs some improvement, give us time. We're spending most of our energy on improving the capability of the product.
Scott -
Ora-00942 with grant through a role
Hi,
I have a User, called Hugo, and made him an HTMLDB Workspace. Standard Parsing Scheme is also hugo.
I also have a Table in a different scheme UCARD and a Role called UCARD_SELECT that grants select to the Table UCARD.
If I grant Hugo the Role UCARD_SELECT he can access the Table via sqlplus, no problem. But in HTMLDB SQL-Workshop he gets an "ORA-00942 Table does not exist".
If I grant Hugo a direct select on Table UCARD he can access the Table via sqlplus and also via HTMLDB.
How can I persuade HTMLDB to accept Grants through roles?
Thanks,
SiegmarHi,
Application Express (HTML DB) is developed in PL/SQL.
Because stored procedures/packages are compiled,
, they requires direct grants for accessing
tables/database objects. That is what you are
running into.Thats bad. Is there any way to bypass this restriction? Can I force HTMLDB to create the PL/SQL-code with the AUTHID CURRENT_USER phase?
Tnx,
Siegmar -
Problem with Individual Registration of HTMLDB app schema with SSO
I have successfully registered HTML DB instance as partner application to SSO and it works well.
Then, I also want to try with Individual registration of partner application schemas on the same HTML DB instance.
I have followed every steps in 'How-To' but keep getting this following error message:
Error Unable to run parse_url_cookie procedure as schema ICONNFNB with partner app name ICONNFNB_WORKSPACE
ORA-06550: line 1, column 7: PLS-00306: wrong number or types of arguments in call to 'PARSE_URL_COOKIE' ORA-06550: line 1, column 7: PL/SQL: Statement ignored
Anyone knows how to deal with this error ?
Thanks in advance for any help.
-GaryTo add more info to my previous question, my HTML DB version is 1.6.0.00.87
I have successfully registered HTML DB instance as
partner application to SSO and it works well.
Then, I also want to try with Individual registration
of partner application schemas on the same HTML DB
instance.
I have followed every steps in 'How-To' but keep
getting this following error message:
Error Unable to run parse_url_cookie procedure as
schema ICONNFNB with partner app name
ICONNFNB_WORKSPACE
ORA-06550: line 1, column 7: PLS-00306: wrong number
or types of arguments in call to 'PARSE_URL_COOKIE'
ORA-06550: line 1, column 7: PL/SQL: Statement
ignored
Anyone knows how to deal with this error ?
Thanks in advance for any help.
-Gary
Maybe you are looking for
-
Not getting all objects with Universe connection
I am using CR 2008 SP2 and I am trying to create my first report using a Universe as the connection. I click on Blank Report and it opens the Database Expert. I then open Universes under Create New Connection and the Universe that I want to connect
-
Sync error incorrect account name or password
I attempted to activate sync between my desktop and my Android phone today. I have used Firefox as my desktop browser for probably about a decade. I had synced this computer once before without issue to a previous phone, but I did not like the mobile
-
I have atempted to gift a song to someone. I have been charged for it but it was not received. I tried to re-gift it and was charges a second time but the recipient still has not received it. How can I get the song to her or my money back?
-
Unable to find an Instance of reporting services
Hi, I doing a fresh installation of MBAM 2.5 and getting error "Unable to find an instance of Reproting service" during check prerequisites page. Actually my SQL is running in cluster on different machine not on the same machine on which MBAM going t
-
Dear all, I am connecting <b>3 r/3</b> systems into one BW system. There will be only <b>one cube</b> in the BW, which is material movement. Now i would like to know, How i can identify which data is comeing from which r/3 and how can i use