検索

記事
· 2025年2月14日 3m read

Having trouble with your IRIS instance after installing it on Linux? Filecheck to the rescue!

Hi beloved members of the Community!

It is very common in the daily life of IRIS or Health Connect users that it is necessary to install new instances or update the ones they already have and in many cases it is not these same users who carry out the installation, but rather systems personnel who often do not take into account the particularities of the assignment of permissions necessary for the installation.

An incorrect assignment of permissions will cause a series of erroneous operations that will produce a feeling of uncertainty and distrust in users that is later very difficult to solve. To avoid these problems, InterSystems provides users with the  filecheck function  that will allow us to review the permissions of all the files in the standard IRIS / Health Connect installation.

How does filecheck work?

Well, it couldn't be simpler, you just need to run the following command in a terminal on your server:

iris filecheck <instance>

Replacing the <instance> with the name of the instance you are working with, the command will check the  filecheck.isc configuration file  located in the /mgr  path of your installation and line by line it will check the permissions assigned to each file against those indicated on the line. Let's take a look inside that file:

filecheck.isc 1

[InstallDir]
dr-x------ irisowner irisowner /usr/irissys/

[RegistryDir]
drwxr-xr-x irisowner irisowner /home/irisowner/irissys/

/home/irisowner/irissys/
-rwxr-xr-x irisowner irisowner ISCAgent
-r-xr-xr-x irisowner irisowner ISCAgentUser
-rw-r--r-- irisowner irisowner Registry.XML
-rwxr-xr-x irisowner irisowner iris
-rw-r--r-- irisowner irisowner iris.reg
-rwxr-xr-x irisowner irisowner irisdb
-rwxr-xr-x irisowner irisowner irissession
-rwxr-xr-x irisowner irisowner libicudata.so
-rwxr-xr-x irisowner irisowner libicudata.so.69
-rwxr-xr-x irisowner irisowner libicudata.so.69.1
-rwxr-xr-x irisowner irisowner libicui18n.so
-rwxr-xr-x irisowner irisowner libicui18n.so.69

As you can see, the file contains the permissions that each file must have for its correct operation.

In case you cannot find the filecheck.isc file you can always recreate it by running the following command:

iris filecheck <instance> update

Again replacing the <instance> with the name of your instance. With this command the file will be regenerated.

With the file correctly regenerated, you can run the filecheck command again without any problem, which, once the review of the files is finished, will leave you again in the /mgr path  a file called filecheck.log with the result of the review. Let's see what this log file looks like:

Expected Database Permission *rwx****** doesn't match current dr-xr-xr-x for /usr/irissys/mgr/irislib/
Expected Database Permission *rwx****** doesn't match current dr-xr-xr-x for /usr/irissys/mgr/enslib/
Expected Stream Permission *rwx****** doesn't match current dr-xr-xr-x for /usr/irissys/mgr/irislib/stream
Expected Stream Permission *rwx****** doesn't match current dr-xr-xr-x for /usr/irissys/mgr/enslib/stream

As you can see, it is a fairly descriptive log indicating the permissions it expects to find on certain routes and the permissions actually assigned to that route.

You can take a look at the documentation here . I hope you find it useful!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2025年2月14日 3m read

¿Problemas con tu instancia de IRIS tras instalarla en Linux? ¡Filecheck al rescate!

Es muy habitual en el día a día de los usuarios de IRIS o de Health Connect que sea necesario instalar nuevas instancias o bien actualizar las que ya tienen y en muchas ocasiones no son estos mismos usuarios los que realizan la instalación, si no personal de sistemas que en muchas ocasiones no tiene en consideración las particularidades de la asignación de permisos necesarios para la instalación.

Una incorrecta asignación de permisos va a provocar un conjunto de funcionamientos erróneos que va a producir una sensación de incertidumbre y desconfianza en los usuarios que posteriormente cuesta mucho solucionar. Para evitar estos problemas InterSystems pone a la disposición de los usuarios la funcionalidad filecheck que nos permitirá repasar los permisos de todos los ficheros de la instalación estándar de IRIS / Health Connect.

¿Cómo funciona filecheck?

Pues no puede ser más sencillo, sólo necesitáis ejecutar el siguiente comando en un terminal de vuestro servidor:

iris filecheck <instance>

Reemplazando el <instance> por el nombre de la instancia con la que estéis trabajando. El comando revisará el fichero de configuración filecheck.isc ubicado en la ruta /mgr de vuestra instalación y línea a línea irá comprobando los permisos asignados a cada fichero con respecto a los indicados en la línea. Echemos un vistazo al interior de dicho fichero:

filecheck.isc 1

[InstallDir]
dr-x------ irisowner irisowner /usr/irissys/

[RegistryDir]
drwxr-xr-x irisowner irisowner /home/irisowner/irissys/

/home/irisowner/irissys/
-rwxr-xr-x irisowner irisowner ISCAgent
-r-xr-xr-x irisowner irisowner ISCAgentUser
-rw-r--r-- irisowner irisowner Registry.XML
-rwxr-xr-x irisowner irisowner iris
-rw-r--r-- irisowner irisowner iris.reg
-rwxr-xr-x irisowner irisowner irisdb
-rwxr-xr-x irisowner irisowner irissession
-rwxr-xr-x irisowner irisowner libicudata.so
-rwxr-xr-x irisowner irisowner libicudata.so.69
-rwxr-xr-x irisowner irisowner libicudata.so.69.1
-rwxr-xr-x irisowner irisowner libicui18n.so
-rwxr-xr-x irisowner irisowner libicui18n.so.69

Como véis el fichero contiene los permisos que cada fichero debe tener para su correcto funcionamiento.

En el caso de que no podáis encontrar el fichero filecheck.isc siempre podréis recrearlo ejecutando el siguiente comando:

iris filecheck <instance> update

Nuevamente reemplazando el <instance> por el nombre de vuestra instancia. Con dicho comando el fichero se regenerará.

Con el fichero correctamente regenerado podréis ejecutar nuevamente sin problema el comando filecheck, el cual, concluida la revisión de los ficheros os dejará nuevamente en la ruta /mgr un fichero llamado filecheck.log con el resultado de la revisión. Veamos que pinta tiene este archivo de logs:

Expected Database Permission *rwx****** doesn't match current dr-xr-xr-x for /usr/irissys/mgr/irislib/
Expected Database Permission *rwx****** doesn't match current dr-xr-xr-x for /usr/irissys/mgr/enslib/
Expected Stream Permission *rwx****** doesn't match current dr-xr-xr-x for /usr/irissys/mgr/irislib/stream
Expected Stream Permission *rwx****** doesn't match current dr-xr-xr-x for /usr/irissys/mgr/enslib/stream

Como podéis ver, es un log bastante descriptivo indicando los permisos que espera encontrar en determinadas rutas y los permisos asignados realmente a dicha ruta.

Aquí podéis echar un vistazo a la documentación. ¡Espero que os sea de utilidad!

2 Comments
ディスカッション (2)2
続けるにはログインするか新規登録を行ってください
記事
· 2025年2月14日 1m read

QuinielaML - Predicción de la 43ª jornada de la Quiniela

Venga, al lío, que tenemos nueva jornada de la Quiniela, veamos que partidos entran de Primera (24ª jornada) y Segunda (27ª).

Predicciones para Primera División:

Y las de Segunda:

Esto nos da la siguiente Quiniela:

¡Suerte y feliz viernes!

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
記事
· 2025年2月13日 2m read

第二十三章 R 开头的术语

第二十三章 R 开头的术语

恢复 (recovery)

系统

在系统故障后恢复数据完整性的方法。

重定向 (redirection)

系统

使全局的位置对应用程序不可见的一种方式。IRIS 支持两种类型的重定向:命名空间定义和复制。

引用 (reference)

对象(Objects)

引用指向另一个对象或表,创建属性或字段与引用对象或表之间的单向关系。

注册类 (registered class)

对象(Objects)

注册类源自 %RegisteredObject 类。IRIS 自动管理注册类的对象引用,并支持多态性。

关系型数据库 (relational database)

通用

根据关系模型组织的相关数据集合。

ディスカッション (0)1
続けるにはログインするか新規登録を行ってください
質問
· 2025年2月13日

How to append to a list in a for loop using ObjectScript

I want to append items to the list inside a for loop

Example:

set mylist = $ListBuild()
for i = 1:1:5 {
    set item = "item"_i
    set mylist = $ListBuild(mylist,item)
}

zw mylist

The output should be:

mylist = $lb("item1", "item2", "item3", "itme4", "item5")

The code snippet written above is not working, looking for correct way to do it.

10 Comments
ディスカッション (10)7
続けるにはログインするか新規登録を行ってください