go to post Alexander Koblov · Feb 21 The basic solution -- don't enable "Retain All Log Files". Then you would have only two log files -- current one, and old one which is replaced every time current log reaches its Log Rotation Size For more complex strategies -- yes, use OS tools. E.g. logrotate in linux https://docs.intersystems.com/iris20243/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Feb 21 I wonder if indeed server and port do not match with the ones in the ssldefs.ini What is the connection string and what is the contents of ssldefs.ini?
go to post Alexander Koblov · Jan 30 Hi Yaron. SQL Injection police here ;-) You can pass query parameters to %ExecDirect as well SET variable = 2000 SET sql = "SELECT Column FROM Table WHERE ID = ?" DO ##class(%SQL.Statement).%ExecDirect(, sql, variable)
go to post Alexander Koblov · Nov 18, 2024 Other idea -- try to put ojdbc8.jar in some publicly available folder. Like /tmp to rule out permissions issue. You wrote that you checked the permissions, however I wonder if MacOS treats folders in the /Users folder in a special way
go to post Alexander Koblov · Nov 11, 2024 Hi David. Take a look in the %Net.SMTP:GetResponse method. There is a commented out "#define SMTPTRACE" macro. Uncomment it, recompile %Net.SMTP Reproduce the error, then check ^SmtpTrace global Hopefully it should have some details on the interaction with the SMTP server. Do this on the TEST instance, as each %Net.SMTP:Send clears out the debug global.
go to post Alexander Koblov · Oct 31, 2024 iris_phys_mem_percent_used in IRIS is (total - free - buff/cache) * 100 / total Zabbix provides different memory metrics [0]. If it's "Used" then it's just (total - free) without accounting for buff/cache. That' why you might see the difference https://www.zabbix.com/documentation/current/en/manual/appendix/items/vm...
go to post Alexander Koblov · Oct 25, 2024 In Audit -> Configure System events in the Portal https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Oct 24, 2024 Audit does not happen automatically. For some record to appear in the Audit log you need to call the following method: Do $SYSTEM.Security.Audit(EventSource,EventType,Event,EventData,Description) So in order for the REST-calls of the REST API to be audited you need to add the call above in the REST API EventSource in this case is anything you specify when calling the Audit() method. Later, in the Audit Database UI you can filter by this EventSource https://docs.intersystems.com/iris20242/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Aug 20, 2024 Please note, "InterSystems urges users to discontinue use of the PKI features". https://docs.intersystems.com/iris20242/csp/docbook/Doc.View.cls?KEY=ROA... So rather -- create your own certificates, instead of investigating PKI Configuration in IRIS
go to post Alexander Koblov · Aug 15, 2024 ^$GLOBAL likely does not cache the list of the globals in the current namespace So each time you do $Order(^$GLOBAL(name)) it gets the list and looks which global is next after the one in the name. That's fine because globals might appear and disappear between the calls. If you'd like to loop through the globals -- use merge, and then loop through the temp variable a merge a = ^$GLOBAL("") Note, that your loop is much faster if you run it in the database, not namespace, as here ther are no possible mappings to account for USER>s z1=$zh,n="" f { s n = $O(^$Global(n)) q:n="" } w $zh-z1 3.302887 USER>zn "^^..\user" ...iris\mgr\user\>s z1=$zh,n="" f { s n = $O(^$Global(n)) q:n="" } w $zh-z1 .098734
go to post Alexander Koblov · Aug 1, 2024 Welcome to the InterSystems Developer Community, Alex! Persister-1.0.0.jar library is incompatible with 2024.1 -- see DP-423341 note in the Incompatibility Checklist: https://docs.intersystems.com/iris20241/csp/docbook/changes/index.html If possible -- take intersystems-persister-1.1.0.jar from IRIS 2024.2 installation
go to post Alexander Koblov · Jul 31, 2024 Jeffrey, please try : /csp/documatic/%25CSP.Documatic.cls It should be available Check if the /csp/documatic/ is enabled on your instance
go to post Alexander Koblov · Jul 25, 2024 There is no basic authentication for SOAP Services in Ensemble. Password authentication is done via UsernameToken. The SOAP request should have it. See here for the details https://docs.intersystems.com/ens201817/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Jul 24, 2024 This line is suspicious: Set request.HTTPVersion = "HTTP/2.0" %Net.HttpRequest works only with HTTP 1.0, 1.1, and the server replies with HTTP/1.1. So, try not to set HTTPVersion
go to post Alexander Koblov · Jul 24, 2024 Good! CSPSystem user should have READ privilege on c:\intersystems\irishealth202312\mgr\user\ database Give such privilege to that user via some role Then restart the web server or close all connections from the web server to IRIS and try again See IMPORTANT note here: https://docs.intersystems.com/iris20241/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Jul 19, 2024 /api is active in the Web Gateway Does Apache forward /api to the Web Gateway? Do you have something like the following in httpd.conf <Location /api/> CSP On </Location>
go to post Alexander Koblov · Jul 17, 2024 There is a $System.Encryption.MD5HashStream() that does not read whole stream into the memory
go to post Alexander Koblov · Jul 10, 2024 Cachè 2017.2 supports SQL Audit. There are three audit events: - %System/%SQL/DynamicStatement — for Dynamic SQL Queries - %System/%SQL/EmbeddedStatement — for Embedded SQL Queries - %System/%SQL/XDBCStatement - for ODBC/JDBC Queries https://docs.intersystems.com/ens201817/csp/docbook/DocBook.UI.Page.cls?...
go to post Alexander Koblov · Apr 22, 2024 Generally, on start you should have at least one workspace -- Default If you don't have it -- check with browser web developers tools if there are any CORS errors. If there are errors -- adjust KONG_ADMIN_GUI_URL See IAM Management Portal or Developer Portal Is Empty
go to post Alexander Koblov · Apr 11, 2024 Scott, take a look inside iam-setup.sh Based on the inputs it constructs a URL and then tries to 'curl' it. And fails for some reason. Check which URL it constructs and check if curl indeed works fine for that URL The URL should look like: https://IAM: @xxx.xxx.xxx.xxx:443/api/iam/license Check if you can access it from the bash