HP-UX General
1825754 メンバー
2415 オンライン
109687 解決策
新規ポスト

リモートからのswinstallでエラー

 
T_Ka
コントリビューター

リモートからのswinstallでエラー

host02上のデポをhost01からswinstallでインストールしようとしたところ、下記のエラーが出ました。

これはhost02側で"swreg" or "swacl"のコマンドを使用して何か設定する必要があるということでしょうか?

# swinstall -x autoreboot=true -s host02:/tmp.dep exp1

======= 03/28/07 16:00:48 JST BEGIN swinstall SESSION

(non-interactive) (jobid=host01-0007)

* Session started for user "root@host01".



* Beginning Selection

* Target connection succeeded for "host01:/".

ERROR:

"host02:/tmp.dep":

You do not have permission for this operation. The depot

owner, system administrator, or alternate root owner may need

to use the "swreg" or "swacl" command to give you permission.

Or, to manage applications designed and packaged for

nonprivileged mode, see the "run_as_superuser" option in the

"sd" man page.

* Source connection failed for

"host02:/tmp.dep".



WARNING: More information may be found in the daemon logfile on this

target (default location is

host02:/var/adm/sw/swagentd.log).

* Selection had errors.





======= 03/28/07 16:00:49 JST END swinstall SESSION (non-interactive)

(jobid=host01-0007)

#

1件の返信1
hazelwood
信頼あるコントリビューター

リモートからのswinstallでエラー

リモートのdepotを読み込むためには、swregでdepotとして登録する必要があります。

本件の場合、host02で以下のコマンドを実行します。

swreg -l depot @ /tmp.dep

ただし、登録できるのはdepotディレクトリだけだったような気がします。(tape depot(depot形式で1ファイルにまとめられたもの)は登録できなかったと思います。)