Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hi, i am trying to install qlik replicate version november 2023 on OEL 9 Linux.
I ran this command:
user=attunity group=attunity verbose=true debug=true iport=1024 rport=1025 data=/local2/oel9/data rpm -ivh --prefix /opt /local2/areplicate-2023.11.0-547.x86_64.rpm
I have this error output:
Failed to install areplicate as a service, areplicate will not be run + exit 9
So cheking the script from debug mode i found this part where it fails:
else # clean install
verbose "installing areplicate as a service ..."
# determine ports
# if no ports specified on command line, use defaults
[ -z "$iport" ] && iport=3550
[ -z "$rport" ] && rport=3552
verbose=$verbose data=$data iport=$iport rport=$rport pass=$pass reuse=yes $RPM_INSTALL_PREFIX/attunity/replicate/bin/arep.sh install areplicate
if [ $? != 0 ]
then
echo "Failed to install areplicate as a service, areplicate will not be run"
exit 9
fi
chown -R ${REP_USER}:${REP_GROUP} $RPM_INSTALL_PREFIX/attunity/replicate/bin/areplicate
fi
What is wrong ? Where could I find more details of the error?
Hello @danielrf ,
Thanks for reaching out to Qlik Community!
I'm not sure which build of 2023.11 you are trying to install. If it's the GA build 2023.11.0.159, I recommend installing the latest build, 2023.11.0.860, instead. Please note that Qlik Replicate 2023.11 supports RHEL 9 starting from build 226.
Hope this helps.
John.
Hi John,
I am trying to install the package 2023, 11, 547
areplicate-2023.11.0-547.x86_64.rpm
I installed successfully the same rpm package in lower environment with same linux OEL9
Do you have any clue why it fails on exit 9?
Hello @danielrf ,
Thanks for the update.
Looks to me you installed 2023.11.0.547 successfully, however as you turned on verbose mode and debug mode, so you got some information in red, like:
You may confirm if it's done:
[root@rhel91 kit]# rpm -qa|grep replicate
areplicate-2023.11.0-547.x86_64
Regards,
John.
You are right john,
$ rpm -qa|grep replicate
areplicate-2023.11.0-547.x86_64
But when i try to init the service ir fails and i have no logs .
$ /opt/attunity/replicate/bin/areplicate status
not running: /opt/attunity/replicate/bin/repctl -d /local2/oel9/data service start port=1024 rest_port=1025
$ /opt/attunity/replicate/bin/areplicate start
Failed to start service
Hello @danielrf ,
Regarding the error:
>> $ /opt/attunity/replicate/bin/areplicate start
>> Failed to start service
Please add debug option to know the failure reason:
cd /opt/attunity/replicate/bin
source arep_login.sh
debug=true /opt/attunity/replicate/bin/areplicate start
Regards,
John.
Thanks John!
I tried the debug start, and this is the result (it look some problem with server password)
+ '[' true ']'
+ arepdata='-d /local2/oel9/data'
+ /opt/attunity/replicate/bin/repctl.sh -d /local2/oel9/data service start port=1024 rest_port=1025
REPCTL initialization - failed to initialize environment (status 1000195)
[base/environment.c:318] (1000195) Class 'ENCRYPTION_CLASS' failed to initialize.
[base/encryption.c:1436] (1000195) Failed to save server password
+ stop_start_stat=3
+ '[' 3 '!=' 0 ']'
+ echo 'Failed to start service'
Failed to start service
+ return 3
+ exit_status=3
exit $exit_status
+ exit 3
Hello @danielrf ,
Thanks for the update.
Would you please confirm if you ever set password, or if the password is strong enough?
NOTE!
The password should not be empty and must be strong enough.
Regards,
John.
Hi John,
I didnt set any password, but now i set the password and i have the same result trying to start the replicate server:
( i dont have root access , all the actions are with attunity user)
+ echo '/opt/attunity/replicate/bin/areplicate: /opt/attunity/replicate/bin/repctl belongs to attunity'
/opt/attunity/replicate/bin/areplicate: /opt/attunity/replicate/bin/repctl belongs to attunity
+ true
+ '[' attunity '!=' attunity ']'
+ verbose 'running arepdata=-d /local2/oel9/data /opt/attunity/replicate/bin/repctl.sh -d /local2/oel9/data service start port=1024 rest_port=1025'
+ '[' true ']'
+ echo '/opt/attunity/replicate/bin/areplicate: running arepdata=-d /local2/oel9/data /opt/attunity/replicate/bin/repctl.sh -d /local2/oel9/data service start port=1024 rest_port=1025'
/opt/attunity/replicate/bin/areplicate: running arepdata=-d /local2/oel9/data /opt/attunity/replicate/bin/repctl.sh -d /local2/oel9/data service start port=1024 rest_port=1025
+ true
+ '[' true ']'
+ arepdata='-d /local2/oel9/data'
+ /opt/attunity/replicate/bin/repctl.sh -d /local2/oel9/data service start port=1024 rest_port=1025
REPCTL initialization - failed to initialize environment (status 1000195)
[base/environment.c:318] (1000195) Class 'ENCRYPTION_CLASS' failed to initialize.
[base/encryption.c:1436] (1000195) Failed to save server password
+ stop_start_stat=3
+ '[' 3 '!=' 0 ']'
+ echo 'Failed to start service'
Failed to start service
+ return 3
+ exit_status=3
by the way: I am following this page to install Qlik Replicate in linux, but it seems no comment on set password: