While checking Red Hat Satellite 6 service status throwing error `shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory `

Solution Verified - Updated -

Issue

  • While checking Satellite service status throwing error below error :
[root@example.satellite]# satellite-maintain service status  
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Running Status Services
================================================================================
Get status of applicable services:
Displaying the following service(s):
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

rh-mongodb34-mongod, postgresql, qdrouterd, qpidd, squid, pulp_celerybeat, pulp_resource_manager, pulp_streamer, pulp_workers, smart_proxy_dynflow_core, tomcat, dynflowd, httpd, puppetserver, foreman-proxy
/ shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
/ shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
- shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

Environment

  • Red Hat® Satellite 6.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In