September 2019  |  01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30

PBSPro 18.1.3から19.1.2 に更新でエラー

JUGEMテーマ:コンピュータ

 

CentOS7 に PBSPro 18 は rpm から簡単にインストールできるようになった。

PBSProの新しいバージョン 19がリリースされているので、久々に PBSProのバージョンアップをすることにした。

PBSPro 18は更新も問題なくでき、手元の実験用サーバは、PBSPro 18.1.3 になっていた。

Githubのリリースを見ると( https://github.com/PBSPro/pbspro/releases )、PBSPro 19.1.2 がリリースされていたので、そのCentOS7用のRPMアーカイブをダウンロードし、pbspro-server をインストールしてみた。

 

# wget https://github.com/PBSPro/pbspro/releases/download/v19.1.2/pbspro_19.1.2.centos_7.zip

# unzip pbspro_19.1.2.centos_7.zip

# cd pbspro_19.1.2.centos_7

 

# rpm -Uvh pbspro-server-19.1.2-0.x86_64.rpm
Preparing...                          [  176.663318] random: crng init done0%)
################################# [100%]
Updating / installing...
   1:pbspro-server-19.1.2-0

...


*** PBS Installation Summary
***
*** Postinstall script called as follows:
*** /opt/pbs/libexec/pbs_postinstall server 19.1.2 /opt/pbs /var/spool/pbs postgres
***
*** Existing configuration file found: /etc/pbs.conf

 

ところが、pbs サービスをリスタートしてみると、dataservice (PBSのデータベース)の更新を行おうとして、失敗したようで、pbs_server は走らなくなってしまった。


# /etc/init.d/pbs restart
Restarting PBS
Stopping PBS
Shutting server down with qterm.
PBS server - was pid: 1514
PBS mom - was pid: 1230
PBS sched - was pid: 1251
PBS comm - was pid: 1191
Waiting for shutdown to complete
Starting PBS
PBS Home directory /var/spool/pbs needs updating.
Running /opt/pbs/libexec/pbs_habitat to update it.
***
NOTICE:  ALTER TABLE / ADD PRIMARY KEY will create implicit index "jobid_pk" for table "job"
ERROR:  could not open extension control file "/usr/share/pgsql/extension/hstore.control": No such file or directory
ERROR:  type "public.hstore" does not exist
LINE 1: ALTER TABLE pbs.job ADD attributes public.hstore DEFAULT '':...
                                           ^
ERROR:  function hstore(text[], text[]) does not exist
LINE 2: SELECT hstore(array_agg(attr.key ), array_agg(attr.value))
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
ERROR:  column "attributes" does not exist
LINE 1: UPDATE pbs.job SET attributes='' WHERE attributes IS NULL;
                                               ^
ERROR:  column "attributes" of relation "job" does not exist
ERROR:  type "public.hstore" does not exist
LINE 1: ALTER TABLE pbs.node ADD attributes public.hstore DEFAULT ''...
                                            ^
ERROR:  function hstore(text[], text[]) does not exist
LINE 2: SELECT hstore(array_agg(attr.key ), array_agg(attr.value))
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
ERROR:  column "attributes" does not exist
LINE 1: UPDATE pbs.node SET attributes='' WHERE attributes IS NULL;
                                                ^
ERROR:  column "attributes" of relation "node" does not exist
ERROR:  type "public.hstore" does not exist
LINE 1: ALTER TABLE pbs.queue ADD attributes public.hstore DEFAULT '...
                                             ^
ERROR:  function hstore(text[], text[]) does not exist
LINE 2: SELECT hstore(array_agg(attr.key ), array_agg(attr.value))
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
ERROR:  column "attributes" does not exist
LINE 1: UPDATE pbs.queue SET attributes='' WHERE attributes IS NULL;
                                                 ^
ERROR:  column "attributes" of relation "queue" does not exist
ERROR:  type "public.hstore" does not exist
LINE 1: ALTER TABLE pbs.resv ADD attributes public.hstore DEFAULT ''...
                                            ^
ERROR:  function hstore(text[], text[]) does not exist
LINE 2: SELECT hstore(array_agg(attr.key ), array_agg(attr.value))
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
ERROR:  column "attributes" does not exist
LINE 1: UPDATE pbs.resv SET attributes='' WHERE attributes IS NULL;
                                                ^
ERROR:  column "attributes" of relation "resv" does not exist
ERROR:  type "public.hstore" does not exist
LINE 1: ALTER TABLE pbs.scheduler ADD attributes public.hstore DEFAU...
                                                 ^
ERROR:  function hstore(text[], text[]) does not exist
LINE 2: SELECT hstore(array_agg(attr.key ), array_agg(attr.value))
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
ERROR:  column "attributes" does not exist
LINE 1: UPDATE pbs.scheduler SET attributes='' WHERE attributes IS N...
                                                     ^
ERROR:  column "attributes" of relation "scheduler" does not exist
ERROR:  type "public.hstore" does not exist
LINE 1: ALTER TABLE pbs.server ADD attributes public.hstore DEFAULT ...
                                              ^
ERROR:  function hstore(text[], text[]) does not exist
LINE 2: SELECT hstore(array_agg(attr.key ), array_agg(attr.value))
               ^
HINT:  No function matches the given name and argument types. You might need to add explicit type casts.
ERROR:  column "attributes" does not exist
LINE 1: UPDATE pbs.server SET attributes='' WHERE attributes IS NULL...
                                                  ^
ERROR:  column "attributes" of relation "server" does not exist
Connecting to PBS dataservice...connected to PBS dataservice@edison7
Server@edison7: Server@edison7, Failed to initialize PBS dataservice:[Prepare of statement insert_job failed: ERROR:  column "attributes" of relation "job" does not exist
LINE 1: ...ji_4ash,ji_credtype,ji_qrank,ji_savetm,ji_creattm,attributes...
                                                             ^]
Connection refused
qmgr: cannot connect to server
Connection refused
qterm: could not connect to server  (111)
*** End of /opt/pbs/libexec/pbs_habitat
Home directory /var/spool/pbs updated.
PBS comm
/opt/pbs/sbin/pbs_comm ready (pid=4015), Proxy Name:edison7:17001, Threads:4
PBS mom
Creating usage database for fairshare.
PBS sched
Connecting to PBS dataservice...connected to PBS dataservice@edison7
Server@edison7: Server@edison7, Failed to initialize PBS dataservice:[Prepare of statement insert_job failed: ERROR:  column "attributes" of relation "job" does not exist
LINE 1: ...ji_4ash,ji_credtype,ji_qrank,ji_savetm,ji_creattm,attributes...
                                                             ^]
pbs_server startup failed, exit 255 aborting.
#

 

一旦インストールした PBSを削除して、最初からやり直し。今度は yum コマンドを使ってやってみた。

 

# rpm -e pbspro-server

...

# yum install pbspro-server-19.1.2-0.x86_64.rpm

...

 

相変わらずエラー、PBSProのインスタンス /var/spool/pbs/ ディレクトリを削除してやり直してもエラーとなり、諦めモードに。

 

 

スポンサーサイト

comments

   

trackback

pagetop