[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference orarep::nomahs::rdb_60

Title:Oracle Rdb - Still a strategic database for DEC on Alpha AXP!
Notice:RDB_60 is archived, please use RDB_70..
Moderator:NOVA::SMITHISON
Created:Fri Mar 18 1994
Last Modified:Fri May 30 1997
Last Successful Update:Fri Jun 06 1997
Number of topics:5118
Total number of notes:28246

5017.0. "rdbweb can't "execute script"" by M5::PSOEHL (Go see THE RELIC!!!) Tue Feb 11 1997 10:09

    I installed SQL/Services mv 7.0, Rdb v7.0 eco1 and the rdbweb agent on
    a vax here. VAX is running 6.2 vms.  I've got the CERN server running
    on the vax. I've put the rdbweb.com, rdbweb.exe and the rdbweb.config
    in WWW_ROOT:[BIN].  I've got an RDBWEB.RC in the root directory for the 
    HTTP_SERVER account, which has 
    
    RDBWEB_HOME www_root:[bin]
    RDBWEB_LOG  www_root:[bin]
    master somepasswordhuh
    
    in it.  
    
    $ dir www_root:[bin] ! returns
    RDBWEB.COM;4                                   2  
    RDBWEB.CONFIG;1                                1  
    RDBWEB.EXE;1                                 106  
    
    My httpd_dir:http80.conf file looks like this:
    
    inputtimeout    300
    outputtimeout   300
    scripttimeout   300
    spawninit       /HTTPD_Dir/SpawnInit.com
    scratchdir      /WWW_Root/SCRATCH/
    accesslog       /HTTPD_Dir/http80.log
    errorlog        /HTTPD_Dir/http80_error.log
    logfileformat   new
    logtime         localtime
    exec    /htbin/*        /WWW_Root/bin/*
    map     /www/*  /WWW_Root/000000/*
    map     /       /WWW_Root/000000/Welcome.html
    pass    /WWW_Root/000000/*
    pass *
    #fail   *
    
    
When I try to go to 
    http://NODENAME/htbin/rdbweb/config 
    
    I get the following:
    ------------
    Error 400 
    Could not execute script.  Server error
    
    Cern httpd 3.0pre6vms3
    ------------
    
    The http80_error.log doesn't give much more data.  It shows
    
     [host: insun2.us.oracle.com] Could not execute
     script. Server error. (400) "GET /htbin/rdbweb/config HTTP/1.0"
    
    There is not an Rdbweb.log file in www_root:[bin].
    
    If I go to http://NODENAME/www/bin/rdbweb I see the text of the file,
    so I'm guessing I'm not getting bit by some file protection stuff.
    
    Any ideas?
    
    I appreciate any help.  TIA.
T.RTitleUserPersonal
Name
DateLines
5017.1AVMSV1::EKREISLEErich KreislerTue Feb 11 1997 10:495
You could try http://NODENAME/htbin/rdbweb.com/config, I think I got it to work
with this some time ago.

Ciao,
	erich
5017.2nopeM5::PSOEHLGo see THE RELIC!!!Tue Feb 11 1997 12:245
    Thanks, but no go. Get the same error.  Tried rdbweb.exe/config also.
    
    Chow,
    
    Pat
5017.3I have files in a few different places...BOUVS::OAKEYI'll take Clueless for $500, AlexTue Feb 11 1997 14:5710
~~             <<< Note 5017.0 by M5::PSOEHL "Go see THE RELIC!!!" >>>
~~                       -< rdbweb can't "execute script" >-

What does your rdbweb.com file look like?  

I have my rdbweb.com file in the [.DAEMON.ETC] directory and it points to 
where you have rdbweb.exe (which I have in SYS$SYSTEM).

Are the test CERN scripts running correctly?

5017.4M5::PSOEHLGo see THE RELIC!!!Tue Feb 11 1997 16:1853
    Mine looks just like the one on Blanca, where I copied it from.  I'm
    using the same tcpip port for the sqlsrv disp as on Blanca. My
    rdbweb.exe is in my www_root:[bin], just like the one on blanca.  Oh,
    yeah, the one on blanca works. 
    
    > Are the test CERN scripts running correctly?
    
    If you mean the various com files like echo.com, no, they're not
    working either. Other stuff works ok, though. It doesn't seem to want 
    to work with /htbin
    
     
    
    Here's the rdbweb.com
    
    ! 'f$verify(0)'
    $!============================================================================
    $! ----------
    $! RDBWEB.COM
    $! ----------
    $!
    $!      this script activates the rdbweb cgi image for the CERN
    $!      http server
    $!
    $!============================================================================
    $!
    $!
    $!
    $ say := "write WWW_OUT"
    $ say "Content-Type: text/html"
    $ goto nodebug
    $ !
    $ say ""
    $ say "<TITLE>Echo for htbin</TITLE>"
    $ say "<H1>Echo for htbin</H1>"
    $ say "The following symbols were passed to this script:<br>"
    $ say "<PRE>"
    $ say "Global symbols"
    $ show sym/global *
    $ say "Local symbols"
    $ show sym/local *
    $ show proc/all
    $ say "</PRE>"
    $ !
    $ nodebug:
    $ define /user sys$output www_out:
    $ define /user sys$error www_out:
    $!
    $ define SQLSRV$TCPIP_PORT "49152"
    $ run WWW_ROOT:[BIN]RDBWEB.EXE
    $ purge/nolog/keep=5 www_root:[bin]rdbweb.log
    $ exit
    
5017.5dum, de dum dumM5::PSOEHLGo see THE RELIC!!!Tue Feb 11 1997 16:2810
    Boy, do I feel dumb.  
    
    I hadn't created a www_root/scratch directory.  I did that and
    everything's working now. 
    
    Thanks, and be merciful.
    
    That means you too, Ms. Oakey.
    
    8*)
5017.6Lots of little pieces parts fused into one big part :)BOUVS::OAKEYI&#039;ll take Clueless for $500, AlexTue Feb 11 1997 16:3714
~~             <<< Note 5017.5 by M5::PSOEHL "Go see THE RELIC!!!" >>>
~~                              -< dum, de dum dum >-

~~    Thanks, and be merciful.
~~    
~~    That means you too, Ms. Oakey.

I wasn't gonna be that nasty ;)

Actually, if the other scripts that come with the web server don't work
either, then I'd recommend getting them working first (since they're a
known entity and usually far simpler than setting up the web agent) and
then fuss with the Rdb Web Agent stuff. 

5017.7got itM5::PSOEHLGo see THE RELIC!!!Tue Feb 11 1997 17:419
    Yes, I got your message.  That's why I started looking around at other
    things.  
    
    Pat, proving once again that's he's human and (very) fallible.  And 
    willing to admit it.
    
    Thanks for your help guys.