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

/etc/profile.d/azpbs_autocomplete.sh is breaking PBS Dataservice restart #62

Open
xpillons opened this issue Mar 21, 2024 · 0 comments
Open

Comments

@xpillons
Copy link

xpillons commented Mar 21, 2024

Context

  • Standalone Scheduler VM
  • OpenPBS 22.05.11
  • Ubuntu 20.04
  • cyclecloud-pbspro 2.0.21

after executing this

    ./initialize_pbs.sh 
    ./initialize_default_queues.sh
    ./install.sh  --install-python3 --venv /opt/cycle/pbspro/venv --cron-method pbs_hook

PBS is failing to restart :

root@scheduler:/etc/profile.d# /opt/pbs/libexec/pbs_init.d stop
Stopping PBS
Shutting server down with qterm.
PBS server - was pid: 103121
PBS sched - was pid: 103025
PBS comm - was pid: 103010
Waiting for shutdown to complete
root@scheduler:/etc/profile.d# /opt/pbs/libexec/pbs_init.d start
Starting PBS
/opt/pbs/sbin/pbs_comm ready (pid=104252), Proxy Name:scheduler.internal.cloudapp.net:17001, Threads:4
PBS comm
PBS sched
-sh: 32: eval: Syntax error: "(" unexpected (expecting "}")
-sh: 32: eval: Syntax error: "(" unexpected (expecting "}")
Failed to start PBS dataservice. 
-sh: 32: eval: Syntax error: "(" unexpected (expecting "}")
Failed to start PBS dataservice. 
-sh: 32: eval: Syntax error: "(" unexpected (expecting "}")
-sh: 32: eval: Syntax error: "(" unexpected (expecting "}")
Failed to start PBS dataservice. 
-sh: 32: eval: Syntax error: "(" unexpected (expecting "}")
Failed to start PBS dataservice. 
-sh: 32: eval: Syntax error: "(" unexpected (expecting "}")
-sh: 32: eval: Syntax error: "(" unexpected (expecting "}")
Failed to start PBS dataservice. 
^C
root@scheduler:/etc/profile.d# 

Workaround

after removing /etc/profile.d/azpbs_autocomplete.sh it works again

root@scheduler:/etc/profile.d# rm azpbs_autocomplete.sh 
root@scheduler:/etc/profile.d# /opt/pbs/libexec/pbs_init.d start
Starting PBS
PBS comm already running.
PBS scheduler already running.
/opt/pbs/sbin/pbs_ds_systemd: 43: [: xdegraded: unexpected operator
Connecting to PBS dataservice....connected to PBS [email protected]
PBS server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant