Re: dbi:oracle win2k ORA-1222 problems



ORA-1222 is "MAXINSTANCES of %s requires MAXLOGFILES be at least %s,
not %s" which is incurred during database or controlfile creation.

Maybe a different error message you are seeing?

IAC, an Oracle 9.2 client cannot connect to an Oracle 7 database, so
maybe an upgrade of the database is in order, or a downgrade of the
client you are using to 8.1

HTH

Jared

On Wed, 2005-06-15 at 19:38, Hope Peter wrote:
> Aloha.
>
> Have just inherited a failed web app. It originally was running on unix. Then got ported to NT. Then ported to Win2k. Client network admins recently updated the server and the web application will no longer connect to the database.
>
>
>
> The web server is a WIN2k w/sp4 box running IIS5, Oracle Client 9.2, ActiveState Perl 5.8.6.811, DBI 1.43, DBD-Oracle 1.16, Oraperl 1.44.
>
>
>
> The database is Oracle 7 running on a totally different machine.
>
>
>
> The scripts running in the web browser come back with a ORA-1222 invalid protocol error.
>
> But if I run them from the command prompt, they execute fine.
>
>
>
> I found a bit of code that would check all available DBI drivers and their data sources.
>
>
>
> #!/usr/bin/perl -w
>
> use DBI;
>
> my @drivers = DBI->available_drivers();
>
>
>
> die "No drivers found!\n" unless @drivers; # should never happen
>
> foreach my $driver ( @drivers ) {
>
> print "Driver: $driver\n";
>
> my @dataSources = DBI->data_sources( $driver );
>
> foreach my $dataSource ( @dataSources ) {
>
> print "\tData Source is $dataSource\n";
>
> }
>
> print "\n";
>
> }exit;
>
>
>
> When this was run from the command prompt I got
>
>
>
> Driver: Oracle
>
> Data Source is DBI:Oracle:Space
>
> Data Source is DBI:Oracle:GSS
>
>
>
> When run from the web page all that comes up is
>
> Driver: Oracle
>
>
>
> I can not figure out why the web version isnt working correctly.
>
> Pete
>

.



Relevant Pages

  • Re: Point at which WAN latency affects perceived app response?
    ... applications accessing an Oracle database over a WAN? ... We are using Oracle Server 9ir2 as our back end database ... but they must touch on SQL*Net eventually as the Oracle client ...
    (comp.databases.oracle.misc)
  • Re: Why not Access...?
    ... Next, I DID NOT SAY Oracle was considered a "best choice," only a sufficient ... It is a desktop application and the database in also on the same machine. ... I also want to know why Oracle is considered a best choice as compared to SQL Server. ... > Also, you need to answer the question regarding whether or not each client> will be using an individual database, and individual copy of a central> organization database, or making straight calls to a centralized ...
    (microsoft.public.sqlserver.server)
  • Re: oracle performance
    ... order to diagnose the reasons behind a performance problem on oracle ... Tuning database applications requires ... could be on the server: Oracle not told to use the available memory, ... network cabling, failing switch or hub equipment, client network card ...
    (comp.databases.oracle.server)
  • Re: NLS_LANG
    ... From the "Oracle Database Globalization Support Guide" I understand ... If you really plan to use WE8ISO8859P1 on the Windows client, ... But even if you plan to use a different character set on the Windows client ...
    (comp.databases.oracle.misc)
  • Re: ORA-12842
    ... I am getting this error on a Database that is running on UAT. ... The error message text says that Cursor Invalidated during parallel ... This message according to the metalink pertains to 10g ... this version of the oracle database. ...
    (comp.databases.oracle.server)