Hi,
We are trying to get the Webinator working on
OS: Linux Redhat 7.2
App./webserver: Bea Weblogic 6.0sp2
The installation stops as soon as it tries to retrieve the
page '/texis/installtest/func.html'. Below is a debug dump and
a snippet from the Weblogic logfiles.
Can someone help me with this?
**********************************************************************
- Script output (install)
Where is your web server's CGI directory? This is the full path to
the file system (*not* URL) directory on this machine containing your
CGI programs. Usually this is under the top directory for the web
server. For Apache servers, it is probably the second argument to
ScriptAlias in your conf file.
This installation will install some programs (symlinks) in the CGI
directory you specify. Programs there must be executable by the web
server. The install will verify this with a web fetch.
+ firstcgiask=y
+ true
+ getdir 'CGI dir' ''
+ prompt=CGI dir
+ defdir=
+ create=
+ empty=
+ '[' '!' -z '' ']'
+ true
+ showprompt 'CGI dir: '
+ echo -n 'CGI dir: '
CGI dir: + read dir
/data/wls/mydomain/cgi-bin
+ '[' -z /data/wls/mydomain/cgi-bin ']'
++ echo /data/wls/mydomain/cgi-bin
++ sed -n '/^[/]/p'
+ x=/data/wls/mydomain/cgi-bin
+ '[' /data/wls/mydomain/cgi-bin = '' ']'
+ '[' '' = url -o -d /data/wls/mydomain/cgi-bin ']'
+ break
++ echo /data/wls/mydomain/cgi-bin
++ sed 's@[/\]$@@'
+ CgiDir=/data/wls/mydomain/cgi-bin
+ pfxbar=y
+ true
+ rm -f /tmp/install-10805-1.tmp
+ p=
+ '[' '' '!=' '' ']'
+ '[' /data/wls/mydomain/cgi-bin = '' -a '' '!=' '' ']'
++ basename /data/wls/mydomain/cgi-bin
+ CgiUrl=/cgi-bin
+ '[' y = y ']'
+ cat
-------------------------------------------------------------------------
+ pfxbar=y
+ cat
What is the prefix for CGI URLs (the part of the URL before the program)?
o You may enter a URL, such as http://localhost/cgi-bin
if your site uses virtual hosts or a port other than 80. The site
must reside on this machine (the one running the install).
o Or you can enter just a URL path such as /cgi-bin (assumes host above)
o Or enter /newdir to start over with a new CGI directory instead.
+ CgiUrl=http://localhost/cgi-bin
+ getdir 'CGI URL prefix' http://localhost/cgi-bin url
+ prompt=CGI URL prefix
+ defdir=http://localhost/cgi-bin
+ create=url
+ empty=
+ '[' '!' -z http://localhost/cgi-bin ']'
+ prompt=CGI URL prefix [ENTER for http://localhost/cgi-bin]
+ true
+ showprompt 'CGI URL prefix [ENTER for http://localhost/cgi-bin]: '
+ echo -n 'CGI URL prefix [ENTER for http://localhost/cgi-bin]: '
CGI URL prefix [ENTER for http://localhost/cgi-bin]: + read dir
http://localhost:7001/cgi-bin
+ '[' -z http://localhost:7001/cgi-bin ']'
++ echo http://localhost:7001/cgi-bin
++ sed -n '/^[/]/p'
+ x=
+ '[' '' = '' ']'
+ '[' url = url ']'
++ echo http://localhost:7001/cgi-bin
++ sed -n '/^http:[/][/][a-zA-Z_0-9-][.a-zA-Z_0-9-]*:*[0-9]*[/]/p'
+ x=http://localhost:7001/cgi-bin
+ '[' http://localhost:7001/cgi-bin = '' ']'
+ break
++ echo http://localhost:7001/cgi-bin
++ sed 's@[/\]$@@'
+ CgiUrl=http://localhost:7001/cgi-bin
+ '[' http://localhost:7001/cgi-bin = /newdir ']'
+ cat
---------------------------------------------------------------------------
What is the extension for CGI URLs (the filename extension of the program)?
This may be .cgi if your CGI programs are named like "mysearch.cgi" in URLs.
Or it may be "none" if you have a dedicated CGI dir and URL instead.
+ p=CGI extension
+ def=
+ '[' '' '!=' '' ']'
+ '[' '' = '' ']'
+ p=CGI extension [ENTER for none]
+ showprompt 'CGI extension [ENTER for none]: '
+ echo -n 'CGI extension [ENTER for none]: '
CGI extension [ENTER for none]: + read CgiExt
+ '[' '' = '' ']'
+ CgiExt=
+ replace=y
+ CgiTmpExt=
+ tmplink=/data/wls/mydomain/cgi-bin/texis
+ cmp /data/wls/mydomain/cgi-bin/texis /opt/morph3/bin/monitor
+ '[' y = y -a -x /data/wls/mydomain/cgi-bin/texis ']'
+ '[' y = y ']'
+ rdsymlink /data/wls/mydomain/cgi-bin/texis
++ ls -ald /data/wls/mydomain/cgi-bin/texis
++ sed -n '/ -> /s@^.* -> \(.*\)$@\1@p'
+ sym=
+ '[' '' = /opt/morph3/bin/monitor -o '' = /opt/morph3/bin/texis ']'
+ '[' -f /data/wls/mydomain/cgi-bin/texis ']'
+ issymlink /data/wls/mydomain/cgi-bin/texis
++ ls -ald /data/wls/mydomain/cgi-bin/texis
++ sed -n '/^l/p'
+ '[' '' '!=' '' ']'
+ return 1
+ ln -s /opt/morph3/bin/monitor /data/wls/mydomain/cgi-bin/texis
+ TmpLink=/data/wls/mydomain/cgi-bin/texis
++ echo http://localhost:7001/cgi-bin
++ sed -n '/^[/]/p'
+ x=
+ '[' '' '!=' '' ']'
+ tryurl=http://localhost:7001/cgi-bin/texis/ins ... html?-dump
+ '[' y = y ']'
+ firstcgiask=n
+ echo -n 'Stopping monitor processes'
Stopping monitor processes+ echo -n .
.+ /opt/morph3/bin/monitor -k
+ sleep 1
+ echo -n .
.+ sleep 1
+ echo -n .
.+ sleep 1
+ echo -n .
.+ sleep 1
+ echo -n .
.+ sleep 1
+ /opt/morph3/bin/rmlocks -f /opt/morph3/texis/testdb
+ echo done
done
+ rm -f /opt/morph3/texis/testdb/SYSLOCKS
+ echo -n 'Checking dir with a web fetch...'
Checking dir with a web fetch...+ /opt/morph3/bin/geturl -t35
'http://localhost:7001/cgi-bin/texis/ins ... html?-dump'
++ sed -n /Can.t.connect/p
+ '[' '' '!=' '' ']'
+ echo 'failed, will try again'
failed, will try again
+ echo -n 'Trying again with file...'
Trying again with file...+ rm -f /data/wls/mydomain/cgi-bin/texis
/tmp/install-10805-1.tmp /tmp/install-10805-2.tmp
+ cp /opt/morph3/bin/monitor /data/wls/mydomain/cgi-bin/texis
+ TmpLink=/data/wls/mydomain/cgi-bin/texis
+ optchown /data/wls/mydomain/cgi-bin/texis
+ '[' bea '!=' '' ']'
+ chgrp bea /data/wls/mydomain/cgi-bin/texis
+ '[' wls60 '!=' '' ']'
+ chown wls60 /data/wls/mydomain/cgi-bin/texis
+ '[' 0 '!=' 0 -o y = y ']'
+ chmod u+s /data/wls/mydomain/cgi-bin/texis
+ PrevErrorSz=
+ '[' '' '!=' '' ']'
+ /opt/morph3/bin/geturl -t35
'http://localhost:7001/cgi-bin/texis/ins ... html?-dump'
+ echo '*** Failed ***'
*** Failed ***
+ cat /tmp/install-10805-2.tmp
++ sed -n '/^HTTP/p'
+ respline=HTTP/1.1 404 Not Found
+ rm -f /data/wls/mydomain/cgi-bin/texis /tmp/install-10805-1.tmp
/tmp/install-10805-2.tmp
+ cat
The URL http://localhost:7001/cgi-bin/texis/ins ... html?-dump
could not be fetched.
Possibly the CGI URL prefix (http://localhost:7001/cgi-bin)
or the CGI extension (none) is wrong.
' '!=' '' ']'.1 404 Not Found
' echo 'The web server response was: HTTP/1.1 404 Not Found
The web server response was: HTTP/1.1 404 Not Found
+ '[' '' '!=' '' ']'
+ true
+ rm -f /tmp/install-10805-1.tmp
+ p=
+ '[' '' '!=' '' ']'
+ '[' /data/wls/mydomain/cgi-bin = '' -a '' '!=' '' ']'
++ basename /data/wls/mydomain/cgi-bin
+ CgiUrl=/cgi-bin
+ '[' y = y ']'
+ cat
-------------------------------------------------------------------------
+ pfxbar=y
+ cat
What is the prefix for CGI URLs (the part of the URL before the program)?
o You may enter a URL, such as http://localhost/cgi-bin
if your site uses virtual hosts or a port other than 80. The site
must reside on this machine (the one running the install).
o Or you can enter just a URL path such as /cgi-bin (assumes host above)
o Or enter /newdir to start over with a new CGI directory instead.
+ CgiUrl=http://localhost/cgi-bin
+ getdir 'CGI URL prefix' http://localhost/cgi-bin url
+ prompt=CGI URL prefix
+ defdir=http://localhost/cgi-bin
+ create=url
+ empty=
+ '[' '!' -z http://localhost/cgi-bin ']'
+ prompt=CGI URL prefix [ENTER for http://localhost/cgi-bin]
+ true
+ showprompt 'CGI URL prefix [ENTER for http://localhost/cgi-bin]: '
+ echo -n 'CGI URL prefix [ENTER for http://localhost/cgi-bin]: '
CGI URL prefix [ENTER for http://localhost/cgi-bin]: + read dir
**********************************************************************
- Weblogic server log output
**********************************************************************
Jun 5, 2002 7:04:41 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis/installtest/func.html'
in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:04:41 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis/installtest/func.html'
in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:07:13 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis.cgi/installtest/func.ht
ml' in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:07:13 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis.cgi/installtest/func.ht
ml' in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:27:16 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis/installtest/func.html'
in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:27:17 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis/installtest/func.html'
in
'/data/wls/mydomain/cgi-bin:'
**********************************************************************
Regards,
Arje Cahn
We are trying to get the Webinator working on
OS: Linux Redhat 7.2
App./webserver: Bea Weblogic 6.0sp2
The installation stops as soon as it tries to retrieve the
page '/texis/installtest/func.html'. Below is a debug dump and
a snippet from the Weblogic logfiles.
Can someone help me with this?
**********************************************************************
- Script output (install)
Where is your web server's CGI directory? This is the full path to
the file system (*not* URL) directory on this machine containing your
CGI programs. Usually this is under the top directory for the web
server. For Apache servers, it is probably the second argument to
ScriptAlias in your conf file.
This installation will install some programs (symlinks) in the CGI
directory you specify. Programs there must be executable by the web
server. The install will verify this with a web fetch.
+ firstcgiask=y
+ true
+ getdir 'CGI dir' ''
+ prompt=CGI dir
+ defdir=
+ create=
+ empty=
+ '[' '!' -z '' ']'
+ true
+ showprompt 'CGI dir: '
+ echo -n 'CGI dir: '
CGI dir: + read dir
/data/wls/mydomain/cgi-bin
+ '[' -z /data/wls/mydomain/cgi-bin ']'
++ echo /data/wls/mydomain/cgi-bin
++ sed -n '/^[/]/p'
+ x=/data/wls/mydomain/cgi-bin
+ '[' /data/wls/mydomain/cgi-bin = '' ']'
+ '[' '' = url -o -d /data/wls/mydomain/cgi-bin ']'
+ break
++ echo /data/wls/mydomain/cgi-bin
++ sed 's@[/\]$@@'
+ CgiDir=/data/wls/mydomain/cgi-bin
+ pfxbar=y
+ true
+ rm -f /tmp/install-10805-1.tmp
+ p=
+ '[' '' '!=' '' ']'
+ '[' /data/wls/mydomain/cgi-bin = '' -a '' '!=' '' ']'
++ basename /data/wls/mydomain/cgi-bin
+ CgiUrl=/cgi-bin
+ '[' y = y ']'
+ cat
-------------------------------------------------------------------------
+ pfxbar=y
+ cat
What is the prefix for CGI URLs (the part of the URL before the program)?
o You may enter a URL, such as http://localhost/cgi-bin
if your site uses virtual hosts or a port other than 80. The site
must reside on this machine (the one running the install).
o Or you can enter just a URL path such as /cgi-bin (assumes host above)
o Or enter /newdir to start over with a new CGI directory instead.
+ CgiUrl=http://localhost/cgi-bin
+ getdir 'CGI URL prefix' http://localhost/cgi-bin url
+ prompt=CGI URL prefix
+ defdir=http://localhost/cgi-bin
+ create=url
+ empty=
+ '[' '!' -z http://localhost/cgi-bin ']'
+ prompt=CGI URL prefix [ENTER for http://localhost/cgi-bin]
+ true
+ showprompt 'CGI URL prefix [ENTER for http://localhost/cgi-bin]: '
+ echo -n 'CGI URL prefix [ENTER for http://localhost/cgi-bin]: '
CGI URL prefix [ENTER for http://localhost/cgi-bin]: + read dir
http://localhost:7001/cgi-bin
+ '[' -z http://localhost:7001/cgi-bin ']'
++ echo http://localhost:7001/cgi-bin
++ sed -n '/^[/]/p'
+ x=
+ '[' '' = '' ']'
+ '[' url = url ']'
++ echo http://localhost:7001/cgi-bin
++ sed -n '/^http:[/][/][a-zA-Z_0-9-][.a-zA-Z_0-9-]*:*[0-9]*[/]/p'
+ x=http://localhost:7001/cgi-bin
+ '[' http://localhost:7001/cgi-bin = '' ']'
+ break
++ echo http://localhost:7001/cgi-bin
++ sed 's@[/\]$@@'
+ CgiUrl=http://localhost:7001/cgi-bin
+ '[' http://localhost:7001/cgi-bin = /newdir ']'
+ cat
---------------------------------------------------------------------------
What is the extension for CGI URLs (the filename extension of the program)?
This may be .cgi if your CGI programs are named like "mysearch.cgi" in URLs.
Or it may be "none" if you have a dedicated CGI dir and URL instead.
+ p=CGI extension
+ def=
+ '[' '' '!=' '' ']'
+ '[' '' = '' ']'
+ p=CGI extension [ENTER for none]
+ showprompt 'CGI extension [ENTER for none]: '
+ echo -n 'CGI extension [ENTER for none]: '
CGI extension [ENTER for none]: + read CgiExt
+ '[' '' = '' ']'
+ CgiExt=
+ replace=y
+ CgiTmpExt=
+ tmplink=/data/wls/mydomain/cgi-bin/texis
+ cmp /data/wls/mydomain/cgi-bin/texis /opt/morph3/bin/monitor
+ '[' y = y -a -x /data/wls/mydomain/cgi-bin/texis ']'
+ '[' y = y ']'
+ rdsymlink /data/wls/mydomain/cgi-bin/texis
++ ls -ald /data/wls/mydomain/cgi-bin/texis
++ sed -n '/ -> /s@^.* -> \(.*\)$@\1@p'
+ sym=
+ '[' '' = /opt/morph3/bin/monitor -o '' = /opt/morph3/bin/texis ']'
+ '[' -f /data/wls/mydomain/cgi-bin/texis ']'
+ issymlink /data/wls/mydomain/cgi-bin/texis
++ ls -ald /data/wls/mydomain/cgi-bin/texis
++ sed -n '/^l/p'
+ '[' '' '!=' '' ']'
+ return 1
+ ln -s /opt/morph3/bin/monitor /data/wls/mydomain/cgi-bin/texis
+ TmpLink=/data/wls/mydomain/cgi-bin/texis
++ echo http://localhost:7001/cgi-bin
++ sed -n '/^[/]/p'
+ x=
+ '[' '' '!=' '' ']'
+ tryurl=http://localhost:7001/cgi-bin/texis/ins ... html?-dump
+ '[' y = y ']'
+ firstcgiask=n
+ echo -n 'Stopping monitor processes'
Stopping monitor processes+ echo -n .
.+ /opt/morph3/bin/monitor -k
+ sleep 1
+ echo -n .
.+ sleep 1
+ echo -n .
.+ sleep 1
+ echo -n .
.+ sleep 1
+ echo -n .
.+ sleep 1
+ /opt/morph3/bin/rmlocks -f /opt/morph3/texis/testdb
+ echo done
done
+ rm -f /opt/morph3/texis/testdb/SYSLOCKS
+ echo -n 'Checking dir with a web fetch...'
Checking dir with a web fetch...+ /opt/morph3/bin/geturl -t35
'http://localhost:7001/cgi-bin/texis/ins ... html?-dump'
++ sed -n /Can.t.connect/p
+ '[' '' '!=' '' ']'
+ echo 'failed, will try again'
failed, will try again
+ echo -n 'Trying again with file...'
Trying again with file...+ rm -f /data/wls/mydomain/cgi-bin/texis
/tmp/install-10805-1.tmp /tmp/install-10805-2.tmp
+ cp /opt/morph3/bin/monitor /data/wls/mydomain/cgi-bin/texis
+ TmpLink=/data/wls/mydomain/cgi-bin/texis
+ optchown /data/wls/mydomain/cgi-bin/texis
+ '[' bea '!=' '' ']'
+ chgrp bea /data/wls/mydomain/cgi-bin/texis
+ '[' wls60 '!=' '' ']'
+ chown wls60 /data/wls/mydomain/cgi-bin/texis
+ '[' 0 '!=' 0 -o y = y ']'
+ chmod u+s /data/wls/mydomain/cgi-bin/texis
+ PrevErrorSz=
+ '[' '' '!=' '' ']'
+ /opt/morph3/bin/geturl -t35
'http://localhost:7001/cgi-bin/texis/ins ... html?-dump'
+ echo '*** Failed ***'
*** Failed ***
+ cat /tmp/install-10805-2.tmp
++ sed -n '/^HTTP/p'
+ respline=HTTP/1.1 404 Not Found
+ rm -f /data/wls/mydomain/cgi-bin/texis /tmp/install-10805-1.tmp
/tmp/install-10805-2.tmp
+ cat
The URL http://localhost:7001/cgi-bin/texis/ins ... html?-dump
could not be fetched.
Possibly the CGI URL prefix (http://localhost:7001/cgi-bin)
or the CGI extension (none) is wrong.
' '!=' '' ']'.1 404 Not Found
' echo 'The web server response was: HTTP/1.1 404 Not Found
The web server response was: HTTP/1.1 404 Not Found
+ '[' '' '!=' '' ']'
+ true
+ rm -f /tmp/install-10805-1.tmp
+ p=
+ '[' '' '!=' '' ']'
+ '[' /data/wls/mydomain/cgi-bin = '' -a '' '!=' '' ']'
++ basename /data/wls/mydomain/cgi-bin
+ CgiUrl=/cgi-bin
+ '[' y = y ']'
+ cat
-------------------------------------------------------------------------
+ pfxbar=y
+ cat
What is the prefix for CGI URLs (the part of the URL before the program)?
o You may enter a URL, such as http://localhost/cgi-bin
if your site uses virtual hosts or a port other than 80. The site
must reside on this machine (the one running the install).
o Or you can enter just a URL path such as /cgi-bin (assumes host above)
o Or enter /newdir to start over with a new CGI directory instead.
+ CgiUrl=http://localhost/cgi-bin
+ getdir 'CGI URL prefix' http://localhost/cgi-bin url
+ prompt=CGI URL prefix
+ defdir=http://localhost/cgi-bin
+ create=url
+ empty=
+ '[' '!' -z http://localhost/cgi-bin ']'
+ prompt=CGI URL prefix [ENTER for http://localhost/cgi-bin]
+ true
+ showprompt 'CGI URL prefix [ENTER for http://localhost/cgi-bin]: '
+ echo -n 'CGI URL prefix [ENTER for http://localhost/cgi-bin]: '
CGI URL prefix [ENTER for http://localhost/cgi-bin]: + read dir
**********************************************************************
- Weblogic server log output
**********************************************************************
Jun 5, 2002 7:04:41 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis/installtest/func.html'
in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:04:41 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis/installtest/func.html'
in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:07:13 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis.cgi/installtest/func.ht
ml' in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:07:13 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis.cgi/installtest/func.ht
ml' in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:27:16 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis/installtest/func.html'
in
'/data/wls/mydomain/cgi-bin:'
Jun 5, 2002 7:27:17 PM CEST Info HTTP
[WebAppServletContext(4829590,DefaultWebApp_myserver)] CGISe
rvlet:
Could not find script '/texis/installtest/func.html'
in
'/data/wls/mydomain/cgi-bin:'
**********************************************************************
Regards,
Arje Cahn