go to post Feng Wang · Apr 30, 2024 yeah, since "kill ^IRIS.TempIntegrityOutput(+$job)" errors out in the function and I had to remove it. anyways. thanks and will look into the link and learn more!
go to post Feng Wang · Apr 26, 2024 actually I have tried 2 ways to do this. the other way isnt working. function integrityChk{# function to freeze the instance #/usr/bin/iris terminal $ENV -U%SYS "set sc=$$CheckList^Integrity(,,,,5)"iris terminal $ENV -U%SYS << EOFDo CheckList^Integrity(,,,,5)do Display^Integrity(,1,)EOF } any idea why this method not working?
go to post Feng Wang · Apr 25, 2024 thanks Alexander! there is my function of the script, it worked just fine. I noticed that there is a mistake in my code that didnt remove the temp file as the results of the check, so every time the script runs, it will dump results into the same file and the file got send to me as email. anyways, silly me and all fixed. function integrityChk{# function to freeze the instance echo 'set sc=$$CheckList^Integrity(,,,,5) do Display^Integrity(,1,) kill ^IRIS.TempIntegrityOutput(+$job)' | irissession $ENV -U%SYS} then passing the parameter to it to let it adapt to environment you want to run with
go to post Feng Wang · Apr 5, 2024 i am using a different method which is quite similar to this, also added the http to https redirect. in httpd.conf file add one line to include ssl.conf file Include conf/ssl.conf create a new ssl.conf Listen 52443 httpsSSLPassPhraseDialog exec:/usr/libexec/httpd-ssl-pass-dialogSSLCryptoDevice builtin<VirtualHost *:52773> ServerName localhost Redirect "/" "https://example.com:52443/"</VirtualHost><VirtualHost _default_:52443>ErrorLog logs/ssl_error_logTransferLog logs/ssl_access_logLogLevel warnSSLEngine onSSLProtocol all -TLSv1 -TLSv1.1 -TLSv1.2 -SSLv3SSLHonorCipherOrder onSSLCipherSuite PROFILE=SYSTEMSSLProxyCipherSuite PROFILE=SYSTEMSSLCertificateFile /etc/pki/tls/certs/localhost.crtSSLCertificateKeyFile /etc/pki/tls/private/localhost.keySSLCertificateChainFile /etc/pki/tls/certs/server-chain.crt<FilesMatch "\.(log|ini|pid|exe|so)$"> Require all denied SSLOptions +StdEnvVars </FilesMatch> nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0CustomLog logs/ssl_request_log \ "%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"</VirtualHost> restart database, you will still seeing the http process listening on the original port. but when you copy the original url (http) to browser, it will redirect to https.