Skip to content

Tag: rhel7

Node JS process running under PM2 and file permissions

I have a small node.js (v13.5.0) server running under PM2 (v4.4.0) on a RHEL 7.6 box. As a part of it’s function it writes a small CSV file to the disc for every incoming request. This app is writing these files with the perms (rw-r—–). The user I am having PM2 executing my process as has um…

SSH Key Exchange with alternate user

So I am using RHEL 7. I have two servers with the following user accounts root (obvious) admin I want the setup to work in the following manner. passwordless SSH from server 1 to server 2 using the admin user, but the SSH initiation is done from the root user always. We are not allowed to do ssh key exchange

Not able to create SSIS DB Catlog in linux RHEL 7

I am not able to create SSIS DB Catalog on my MS SQL Server which is installed on Linux RHEL 7 Server. Though I have installed SSIS on Linux RHEL 7. Whenever I am trying to create SSIS DB Catalog i am getting this error. TITLE: Microsoft SQL Server Management Studio The path to the catalog backup file could n…

Running jre keytool results in the Permission Denied error

I have a script running the command: Got the error: Checked all permission on the directories and keytool – all are executable. I am at RHEL-7 Answer A lot of Distributions do not allow files to be executed from within the /tmp directory. Either move the jre out of /tmp (why is it even in there?) or make it e…

Demon function on RHEL 7

I have script in RHEL 6 which is using default function such as /etc/rc.d/init.d/functions can we use same functions on RHEL 7 to start the daemon process? . Also let me know, if there is any difference for /etc/rc.d/ between RHEL 6 and RHEL 7? Answer This file is provided by the initscripts package, which is…