[ic] sdbm (and maybe locale)

DB db at m-and-d.com
Tue Dec 3 16:06:34 UTC 2024


On 12/1/24 6:58 PM, Peter via interchange-users wrote:
> On 2/12/24 08:55, DB via interchange-users wrote:
>> I was able to get the 5.12 interchange rpm installed. Files are in 
>> different locations compared to my old Centos7 installation. I assume 
>> my catalog would go into /etc/interchange?
> 
> Catalogs will go into /var/lib/interchange and server config goes into 
> /etc/interchange.
> 
>> Also is there documentation about using the systemd multi-instance 
>> support? It sounds interesting.
> 
> I should write some, but basically put you can put additional server 
> configs under /etc/interchange/multi/instancename then you can 
> start/stop them with systemctl start interchange at instancename, etc.
> 
> The static server files are in /usr/lib/interchange, you shouldn't need 
> to change those as any files you change would go in /etc/interchange.
> 
> The previously mentioned environment variable MINIVEND_STORABLE_DB can 
> be set in systemd by running `systemctl edit interchange` and putting 
> the following in:
> 
> [Service]
> Environment="MINIVEND_STORABLE_DB=1"
> 
> You can also set additional Environment lines if you want or other 
> systemd settings such as Restart=on-failure
> 
> You need to do this separately for each instance.
> 
> One final note, it is not necessary to compile vlink separately for each 
> IC instance, but you do need to set an environment variable in your 
> apache (or nginx) config to point to the appropriate socket location for 
> any instance other than the main one, an example apache vhost config 
> snippet:
> 
> SetEnv MINIVEND_SOCKET /run/interchange-instancename/socket
> ScriptAlias / /usr/lib/interchange/bin/vlink/
> <Directory /usr/lib/interchange/bin>
>          <Files vlink>
>              Require all granted
>          </Files>
> </Directory>
> 
> 
> Also you will probably get selinux denials until you set a module to 
> allow the web server to access vlink, this can be done with audit2allow.
> 
> 
> Peter

Thanks. I will give that a try, but I'm having issues getting makecat to 
complete using your rpm and a fresh install of Alma 9. I have 
perl-Bundle-Interchange-1.08-1.gf.el9.noarch.rpm 
         and perl-Bundle-InterchangeKitchenSink both installed. It gets 
pretty far along then dies with:

run "sh /home/user/catalogs/store/config/add_global_usertag"? y 
 

Add catalog to interchange.cfg? y 
 

Use of uninitialized value $from in string eq at 
/usr/share/perl5/File/Copy.pm line 66.
Use of uninitialized value in stat at /usr/share/perl5/File/Copy.pm line 
104.
Use of uninitialized value $from in open at 
/usr/share/perl5/File/Copy.pm line 151.

Couldn't copy : No such file or directory. Do you have any thoughts on why?

DB



More information about the interchange-users mailing list