Upgrade CGIDEV2

68 views
Skip to first unread message

RobertoTempesti

unread,
Jul 16, 2012, 6:32:28 AM7/16/12
to cgidev2...@googlegroups.com
Ho appena scaricato l'ultimo rilascio CGIDEV2 e devo eseguire l'upgrade.

Il sistema mi impedisce di rinominare la libreria CGIDEV2 perche' risulta allocata dal lavoro QSYSSCD.

Non riesco a capire come/dove il sistema possa trovare l'istruzione per allocare questa libreria; non certo fra i valori di sistema (li ho controllati).


Mario Martoriello

unread,
Jul 16, 2012, 6:54:27 AM7/16/12
to cgidev2...@googlegroups.com
Probabilmente dall’istanza Http che usa cgidev2

antonio

unread,
Jul 16, 2012, 7:01:58 AM7/16/12
to cgidev2...@googlegroups.com
con
WRKOBJLCK OBJ(CGIDEV2) OBJTYPE(*LIB)
dovresti vedere le istanze che lockano la libr, per poi fare un endtcpsvr dell'istanza  

antonio

unread,
Jul 16, 2012, 7:04:58 AM7/16/12
to cgidev2...@googlegroups.com
per dirla meglio
 
ENDTCPSVR SERVER(*HTTP) HTTPSVR(NOME_ISTANZA)

Il giorno lunedì 16 luglio 2012 12:32:28 UTC+2, RobertoTempesti ha scritto:

RobertoTempesti

unread,
Jul 16, 2012, 7:58:02 AM7/16/12
to cgidev2...@googlegroups.com
Questo e' il contenuto dell'istanza:
#=========================================================================
# APACHE directives to run CGIDEV2
#
# To complete the installation of these directives,
# execute the following command:
# CPYF FROMFILE(CGIDEV2/QATMHINSTC) TOFILE(QUSRSYS/QATMHINSTC)
# FROMMBR(CGIDEV2APA) TOMBR(CGIDEV2APA) MBROPT(*REPLACE) CRTFILE(*YES)
#
# To start the HTTP instance for CGIDEV2,
# execute the following command:
# STRTCPSVR SERVER(*HTTP) HTTPSVR(CGIDEV2APA)
# Then, run command WRKACTJOB SBS(QHTTPSVR) and make sure that more than
# one CGIDEV2APA is running.
# If not, the CGIDEV2APA HTTP instance failed being started.
# You should then look in the joblogs for CGIDEV2APA jobs and find out
# what the error was.
#
# To run CGIDEV2, type the following in the location line of your browser:
# http://yourAS400IpAddr:8014/cgidev2/start
#
#=========================================================================
# PART 1
#=========================================================================
ServerRoot /www/webigea
DocumentRoot /www/webigea/docs
Listen *:8014
DefaultType text/html
# CGI
CGIConvMode %%EBCDIC/EBCDIC%%
ThreadsPerChild 53
MaxCGIJobs 100
StartCGI 2 QTMHHTP1
Timeout 1800
DefaultFsCCSID 280
DefaultNetCCSID 819
# PERSISTENT CGI
MaxPersistentCGI 50
CGIRecyclePersist on
PersistentCGITimeout 60
# PERFORMANCE
DynamicCache on
CacheLocalSizeLimit 25000
FRCAEnableFileCache On
FRCACacheLocalFileRunTime /www/webigea/*.gif
#=========================================================================
# PART 2
#=========================================================================
Options +ExecCGI -FollowSymLinks -SymLinksIfOwnerMatch +Includes -Indexes -MultiViews
ServerName www.igeayarn.it:8014
AlwaysDirectoryIndex off
DirectoryIndex index.html welcome.html home.html
# The following directives regard the HTTP instance logs
# They are commented out. Uncomment them to have the logs generated
ErrorLog /www/webigea/logs/basic_error_log
LogFormat "%h %l %u %t \"%r\" %>s %b" common
CustomLog /www/webigea/logs/access_log Common
LogMaint /www/webigea/logs/basic_error_log 60 0
LogMaint /www/webigea/logs/access_log 30 0
LogLength 512000000
FileETag +INode +MTime +Size
#
SetEnvIf User-Agent "Mozilla/2" nokeepalive
SetEnvIf User-Agent "JDK/1\.0" force-response-1.0
SetEnvIf User-Agent "Java/1\.0" force-response-1.0
SetEnvIf User-Agent "RealPlayer 4\.0" force-response-1.0
SetEnvIf User-Agent "MSIE 4\.0b2;" nokeepalive
AddOutputFilter INCLUDES .shtml
SetEnv QIBM_CGI_LIBRARY_LIST IGEA00;ACGWDATV3;ACG_OBJV3;FRANCESCO;UTILITY;LIBHTTP;TAATOOL
<Directory /www/webigea/docs>
Order Allow,Deny
#allow from 192.168.0.0/24
#allow from 192.168.1.0/24
#allow from 192.168.2.0/24
#allow from 192.168.3.0/24
#allow from 192.168.4.0/24
#allow from 192.168.5.0/24
#allow from 192.168.6.0/24
#deny from all
allow from all
require valid-user
passwdfile %%SYSTEM%%
userid %%CLIENT%%
authtype basic
authname "Igea Intranet Access"
</Directory>
#=========================================================================
# PART 3
#=========================================================================
#---- CGIDEV2 directives
#AliasMatch /cgidev2h/(.*)\.htm /QSYS.LIB/CGIDEV2.LIB/HTMLSRC.FILE/$1.mbr
#AliasMatch /cgidev2o/(.*)\.htm /QSYS.LIB/CGIDEV2.LIB/DEMOHTML.FILE/$1.mbr
#AliasMatch /cgidev2oit/(.*)\.htm /QSYS.LIB/CGIDEV2.LIB/DEMOHTMLIT.FILE/$1.mbr
#Alias /cgidev2/start /qsys.lib/cgidev2.lib/demohtml.file/demoframe.mbr
Alias /cgi-doc/ /www/webigea/docs
ScriptAlias /cgi-bin/ /QSYS.LIB/WIGEAPGM.LIB/
#Alias /cgidevf/ /cgidev/
#Alias /cgidevexthtml/ /cgidevexthtml/
#Alias /cgi-bin/ /qsys.lib/WIGEAPGM.lib/
#Alias /cgidev2h/ /QSYS.LIB/CGIDEV2.LIB/HTMLSRC.FILE/
#Alias /cgidev2o/ /QSYS.LIB/CGIDEV2.LIB/DEMOHTML.FILE/
#Alias /cgidev2oit/ /QSYS.LIB/CGIDEV2.LIB/DEMOHTMLIT.FILE/
#=========================================================================
# PART 3
#=========================================================================
#---- CGIDEV2 directives
<Directory /www/webigea/>
order allow,deny
</Directory>

#<Directory /cgidevexthtml>
#AllowOverride None
#Options None
#order allow,deny
#allow from all
#</Directory>

<Directory /QSYS.LIB/WIGEAPGM.LIB>
Order Allow,Deny
#allow from 192.168.0.0/24
#allow from 192.168.1.0/24
#allow from 192.168.2.0/24
#allow from 192.168.3.0/24
#allow from 192.168.4.0/24
#allow from 192.168.5.0/24
#allow from 192.168.6.0/24
#deny from all
allow from all
require valid-user
passwdfile %%SYSTEM%%
userid %%CLIENT%%
authtype basic
authname "Igea Intranet Access"
</Directory>

Non c'e' traccia della libreria CGIDEV2

Sono nel caos piu' completo.....

Il giorno lunedì 16 luglio 2012 12:32:28 UTC+2, RobertoTempesti ha scritto:
Il giorno lunedì 16 luglio 2012 12:32:28 UTC+2, RobertoTempesti ha scritto:

Giovanni B. Perotti

unread,
Jul 16, 2012, 8:12:50 AM7/16/12
to cgidev2...@googlegroups.com

Chiuda le istanze http.

 

 

Da: cgidev2...@googlegroups.com [mailto:cgidev2...@googlegroups.com] Per conto di RobertoTempesti
Inviato: lunedì 16 luglio 2012 12:32
A: cgidev2...@googlegroups.com
Oggetto: [CGIDEV2 Italia:202] Upgrade CGIDEV2

RobertoTempesti

unread,
Jul 16, 2012, 8:22:24 AM7/16/12
to cgidev2...@googlegroups.com
Ho terminato tutte le istanze con:

ENDTCPSVR SERVER(*HTTP)

ma rimane ancora il lock da parte del lavoro QSYSSCD

Giovanni B. Perotti

unread,
Jul 16, 2012, 8:24:32 AM7/16/12
to cgidev2...@googlegroups.com

La esorto ad usufruire di una famosa figura retorica, il chiasmo:

               “A mali estremi, estremi rimedi”.

 

Faccia CLRLIB CGIDEV2, poi, anzichè fare un RSTLIB, faccia un RSTOBJ *ALL.

 

G.B. Perotti

Giovanni B. Perotti

unread,
Jul 16, 2012, 8:16:34 AM7/16/12
to cgidev2...@googlegroups.com

Forse qualche sprovveduto ha messo CGIDEV2 nella system library list?

 

Da: cgidev2...@googlegroups.com [mailto:cgidev2...@googlegroups.com] Per conto di RobertoTempesti
Inviato: lunedì 16 luglio 2012 12:32
A: cgidev2...@googlegroups.com
Oggetto: [CGIDEV2 Italia:202] Upgrade CGIDEV2

 

Ho appena scaricato l'ultimo rilascio CGIDEV2 e devo eseguire l'upgrade.

RobertoTempesti

unread,
Jul 16, 2012, 8:27:23 AM7/16/12
to cgidev2...@googlegroups.com
Il Suo pragmatismo mi trova assolutamente d'accordo.

Le faro' sapere

RobertoTempesti

unread,
Jul 16, 2012, 9:36:42 AM7/16/12
to cgidev2...@googlegroups.com
Lo sprovveduto posso essere solo io ;o)
Ma ho controllato e questa volta sono innocente.

P.S. L'installazione e' perfettamente riuscita
Reply all
Reply to author
Forward
0 new messages