The pbs_postinstall fail to create pbs.conf and home directories due to hard coded path.
See developer test logs attached to PP-472, item 6:
6) PP-492: pbs_postinstall fails due to hard coded path
steps:
======
./autogen.sh
./configure --prefix=/usr/pbs/exec --with-pbs-server-home=/usr/pbs/home
make
make install
[root@lotus pbspro]# /usr/pbs/exec/libexec/pbs_postinstall
Â
Â
PBS Installation Summary
***
Postinstall script called as follows:
/usr/pbs/exec/libexec/pbs_postinstall
***
No configuration file found.
Creating new configuration file: /etc/pbs.conf
Replacing /etc/pbs.conf with /etc/pbs.conf.14.0.1
/etc/pbs.conf has been created.
***
Registering PBS Pro as a service.
***
PBS_HOME is /usr/pbs/home
Creating new file /usr/pbs/home/pbs_environment
WARNING: TZ not set in /usr/pbs/home/pbs_environment
***
The PBS Pro server has been installed in /usr/pbs/exec/sbin.
***
The PBS Pro scheduler has been installed in /usr/pbs/exec/sbin.
***
The PBS Pro communication agent has been installed in /usr/pbs/exec/sbin.
***
The PBS Pro MOM has been installed in /usr/pbs/exec/sbin.
***
The PBS commands have been installed in /usr/pbs/exec/bin.
***
End of /usr/pbs/exec/libexec/pbs_postinstall
[root@lotus pbspro]# cat /etc/pbs.conf
PBS_SERVER=lotus
PBS_START_SERVER=1
PBS_START_SCHED=1
PBS_START_COMM=1
PBS_START_MOM=0
PBS_EXEC=/usr/pbs/exec
PBS_HOME=/usr/pbs/home
PBS_CORE_LIMIT=unlimited
PBS_SCP=/bin/scp
PBS started successfully
=======================
[root@lotus pbspro]# /etc/init.d/pbs start
Starting PBS
PBS Home directory /usr/pbs/home needs updating.
Running /usr/pbs/exec/libexec/pbs_habitat to update it.
***
Â
Â
Setting default queue and resource limits.
***
Connecting to PBS dataservice....connected to PBS dataservice@lotus
End of /usr/pbs/exec/libexec/pbs_habitat
Home directory /usr/pbs/home updated.
PBS comm
/usr/pbs/exec/sbin/pbs_comm ready (pid=130175), Proxy Name:lotus:17001, Threads:4
PBS mom
PBS sched
Connecting to PBS dataservice....connected to PBS dataservice@lotus
Licenses valid for 1000000 Floating hosts
PBS server