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

pbs_server exit code 0 even if fails to start with invalid nodes file #337

Open
necrolyte2 opened this issue Nov 10, 2015 · 1 comment
Open

Comments

@necrolyte2
Copy link
Contributor

OS: CentOS 6.7
Torque Ver: torque-5.1.1.2-1_18e4a5f1

Create invalid nodes file

echo "node.example.com np=" >> /var/spool/torque/server_priv/nodes

Start/Restart torque server

/usr/local/sbin/pbs_server -d /var/spool/torque

The return code is 0 even though it failed to start

Relevant log file

11/10/2015 12:48:30.595;64;PBS_Server.10715;Req;setup_nodes;setup_nodes()
11/10/2015 12:48:30.595;64;PBS_Server.10715;Req;setup_nodes;token "np" in error on line 1 of file nodes
11/10/2015 12:48:30.595;01;PBS_Server.10715;Svr;PBS_Server;LOG_ERROR::PBS_Server, pbsd_init failed
@depiBASC
Copy link

depiBASC commented May 5, 2016

I can confirm this behaviour.

In our case, the nodes file had duplicate node names.

The "service pbs_server start" command reported success, yet the server did not start. Removing the duplicate node names resulted in the correct behaviour.

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

2 participants