id / zookeeper-el7-rpm

A set of scripts to package Apache Zookeeper into an rpm (CentOS/RedHat 7)
73 stars 51 forks source link

sometimes it not install from rpm #6

Closed breezzz closed 5 years ago

breezzz commented 6 years ago

no difference rpm or yum

[root@kafka2 rz]# rpm -ivh ./zookeeper-3.4.10-1.x86_64.rpm
Подготовка...               ################################# [100%]
useradd: не удалось создать каталог /opt/zookeeper
ошибка: %pre(zookeeper-3.4.10-1.x86_64) scriptlet failed, exit status 12
ошибка: zookeeper-3.4.10-1.x86_64: установить failed
[root@kafka2 rz]# rpm -ivh ./zookeeper-3.4.10-1.x86_64.rpm
Подготовка...               ################################# [100%]
Обновление / установка...
   1:zookeeper-3.4.10-1               ################################# [100%]

after second install /opt/zookeeper is created but service file not