Rechercher

Article
· Juil 8, 2024 2m de lecture

Configuring IRIS autostart on Linux

For practical reasons, it may be desirable that after a Linux server restart, the IRIS instance is automatically started. 

Below you will find the steps to follow to automate the startup of IRIS during a reboot of the Linux server, via systemd :

1. Create an iris.service file in /etc/systemd/system/iris.service containing the following information

[Unit]
Description=InterSystems IRIS Data Platform
After=network.target

[Service]
Type=forking
User=irisusr
ExecStart=/usr/bin/iris start iris
ExecStop=/usr/bin/iris stop iris quietly
Restart=on-failure
RemainAfterExit=yes

[Install]
WantedBy=multi-user.target

NB : the User should correspond to the one you've used during IRIS installation while answering to the question "What user should be the owner of this instance?" 

2. Reload systemd configuration manager

sudo systemctl daemon-reload

3. Enable the iris service to automate its startup

sudo systemctl enable iris

This activation creates the symbolic links to automate the startup of IRIS:

Synchronizing state of iris.service with SysV service script with /usr/lib/systemd/systemd-sysv-install.
Executing: /usr/lib/systemd/systemd-sysv-install enable iris
Created symlink /etc/systemd/system/multi-user.target.wants/iris.service → /etc/systemd/system/iris.service.

4. Restart the Linux server

sudo reboot

5. Reconnect to check that IRIS is started

ssh guilbaud@192.168.102.130
guilbaud@192.168.102.130's password: 
Welcome to Ubuntu 24.04 LTS (GNU/Linux 6.8.0-36-generic x86_64)
$ iris all
    Instance Name     Version ID        Port   Directory
    ----------------  ----------------  -----  --------------------------------
up >IRIS              2024.1.0.267.2    1972   /usr/irissys
17 Comments
Discussion (17)4
Connectez-vous ou inscrivez-vous pour continuer
Discussion (3)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juil 6, 2024

Handling non-8-bit characters in HTTP headers.

Hi all,

When passing on the content of a file in a REST API call, I need to put the original file name in an HTTP header. As it happens, some file names have non-8-bit characters in them ("å", "ö", and the like), and these arrive garbled on the other side. Does anybody know the correct way to encode them (assuming they should be encoded at all)?

$zconvert(filename, "O", "UTF8") does not appear to be it. I'm leaning towards $zconvert(filename, "O", "URL"), but leaning isn't good enough.

Thanks,
Otto

2 Comments
Discussion (2)1
Connectez-vous ou inscrivez-vous pour continuer
Annonce
· Juil 4, 2024

积极参与社区互动,赢取中文社区最佳贡献奖!

👉即日起积极参与社区互动,就有机会获得赠书《AI医疗革命》(中文版)!

Hi 开发者们,

为鼓励大家积极参与社区建设,即日起我们将持续、按月举办💡“中文社区最佳贡献奖”💡活动。

📅  活动简介

我们会在每个月的新增成员现有成员中分别抽取一名当月积分最高的社区成员,奉上“中文社区最佳贡献奖”,奖品为《AI医疗革命》(中文繁体译版)一本。本书中文简体译版为《超越想象的GPT医疗》,原著The AI REVOLUTION IN MEDICINE(GPT-4 AND BEYOND) 出版于2023年,作者Peter Lee,Carey Goldberg,Isaac Kohane分享了以GPT-4 为代表的大语言模型在医学领域的诸多应用可能性,更重要的是向大家展现了一种可能出现的人- 机相结合的“关系”范式。本书(中文简体译版)也在CHIMA 2024期间作为优秀图书得到了推荐,值得一读。

🎉  哪些成员可以参与?

InterSystems开发者社区中文社区现有成员,以及当月新加入中文社区的成员(非InterSystems员工),均在此次活动范围。

✅如何参与?

我们欢迎您在社区进行以下互动:

  • 发布文章/经验帖;
  • 在Open Exchange发布应用;
  • 在现有的帖子下,积极发布有效评论/回复;
  • 将英文社区的文章翻译到中文社区;
  • 邀请新成员加入开发者社区(如果您邀请了新成员,请通过站内信联系 @Claire Zheng 并告知)。

🎁  获奖须知

  • 每位社区成员仅有一次获奖机会,我们会在抽奖时排除已获得过“中文社区最佳贡献奖”的成员。
  • 我们会于次月公布上月的获奖者,通过开发者社区站内信与获奖者取得联系并进行奖品邮寄。敬请您留意。

 🍀 如果您对此次活动有任何疑问,欢迎跟帖提问!🍀 

Discussion (0)1
Connectez-vous ou inscrivez-vous pour continuer
Question
· Juil 3, 2024

Why does the Rule Editor display a sad face?

Hello,

I have a slight issue that's causing me some inconvenience when using the rule editor within Microsoft Edge (Version 126.0.2592.81).

Whenever I try to load up any ruleset, the ruleset displays an unhappy face like this:

This has only recently started, when opening up the rule editor in another browser e.g. Chrome, the problem disappears.

I've tried to remedy the situation by resetting Edge, Updating Edge Version, Clearing Cache/Cookies etc. but nothing seems to fix it.

I have other colleagues opening the same rule sets in the same version as Edge without any issue, so I do not believe it's an issue with the ruleset itself.

Has anyone else encountered this issue and fixed it?

Thanks.

5 Comments
Discussion (5)3
Connectez-vous ou inscrivez-vous pour continuer