Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ZWESVSTC fails to start - can't execute run-zowe.sh #1079

Closed
John-A-Davies opened this issue Feb 11, 2020 · 1 comment
Closed

ZWESVSTC fails to start - can't execute run-zowe.sh #1079

John-A-Davies opened this issue Feb 11, 2020 · 1 comment
Labels

Comments

@John-A-Davies
Copy link
Contributor

Describe the bug
Zowe server ZWESVSTC fails to start because it can't execute run-zowe.sh. This is because user ZWESVUSR can't traverse the instance directory along the path to run-zowe.sh due to file permissions and ownership of the instance directory's parent directory.

To Reproduce
Steps to reproduce the behavior:

  1. install zowe
  2. run zowe-configure-instance.sh -c zowe-instance-dir
  3. run zowe-instance-dir/bin/zowe-start.sh
  4. See error in JESMSGLG
ICH408I USER(ZWESVUSR) GROUP(ZWEADMIN) NAME(J. A. DAVIES        ) 
  /u/userid1/zowe-instance-dir/bin/internal/run-zowe.sh           
  CL(DIRSRCH ) FID(F3C2C8F0F0F45A260000000000010001)              
  INSUFFICIENT AUTHORITY TO STAT                                  
  ACCESS INTENT(--X)  ACCESS ALLOWED(GROUP      ---)              
  EFFECTIVE UID(0000000271)  EFFECTIVE GID(0000000215)            
ICH408I USER(ZWESVUSR) GROUP(ZWEADMIN) NAME(J. A. DAVIES        ) 
  /u/userid1/zowe-instance-dir/bin/internal/run-zowe.sh           
  CL(DIRSRCH ) FID(F3C2C8F0F0F45A260000000000010001)              
  INSUFFICIENT AUTHORITY TO LSTAT                                 
  ACCESS INTENT(--X)  ACCESS ALLOWED(GROUP      ---)              
  EFFECTIVE UID(0000000271)  EFFECTIVE GID(0000000215)            

and in STDERR
/u/userid1/zowe-instance-dir/bin/internal/run-zowe.sh: /u/userid1/zowe-instance-dir/bin/internal/run-zowe.sh: not found

Expected behavior
ZWESVSTC starts without these errors

Additional context
This is a very common mistake. It's because the user installing Zowe creates the zowe-instance-dir but does not set the permission of its parent directory (often the user's home directory) to allow ZWESVUSR to traverse it.

The installation script must not alter the permissions of that parent directory, but at least we should warn the user to do so.

@John-A-Davies John-A-Davies changed the title ZWESVSTC fails to start - because it can't execute run-zowe.sh ZWESVSTC fails to start because it can't execute run-zowe.sh Feb 11, 2020
@John-A-Davies John-A-Davies changed the title ZWESVSTC fails to start because it can't execute run-zowe.sh ZWESVSTC fails to start - can't execute run-zowe.sh Feb 11, 2020
@MarkAckert
Copy link
Member

Zowe v1 is end of life.

@github-project-automation github-project-automation bot moved this from New to Done in zOS Squad Board Feb 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

No branches or pull requests

4 participants