Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
danielrf
Contributor III
Contributor III

Failed install

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?

Labels (1)
14 Replies
john_wang
Support
Support

Hello @danielrf ,

There is a step to set the server password in the page you mentioned. 

BTW, 

 

Hope this helps.

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
danielrf
Contributor III
Contributor III
Author

Hi John,

I requested to admins to remove the rpm and reinstal , it seems some permission files issues

I checked where the data folder attunity has permissions of write and read files before installl, but after admin install as root replicate rpm, i have this error, i can not access any read file unde data folder

[at_secure.c:1608] (1000196) failed to read passwords file </local2/oel9/data/mk.dat>
[at_file.c:412] (1000198) failed to open file </local2/oel9/data/mk.dat>
[at_file.c:407] (1000121) Permission denied (apr status = 13)
+ stop_start_stat=4
+ '[' 4 '!=' 0 ']'
+ echo 'Failed to start service'
Failed to start service
+ return 4
+ exit_status=4

 

john_wang
Support
Support

Hello @danielrf ,

Please check the file owner and permission to see why it's inaccessible of "/local2/oel9/data/mk.dat". And I'd like to suggest you clean up the folder /local2/oel9/data/ before re-installation.

If you still cannot manage it to work, please open a support ticket, Our support team will be more than happy to assist you.

Regards,

John.

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
DesmondWOO
Support
Support

Hi @danielrf ,

Please ensure that your installation and the service is running under the root account. Before starting Replicate, make sure arep_login.sh is executed first.

Regards,
Desmond

Help users find answers! Do not forget to mark a solution that worked for you! If already marked, give it a thumbs up!
danielrf
Contributor III
Contributor III
Author

Thanks everyone for your help. The root cause of the issue was a bad mountpoint , The location of the new install is a NFS volume , and this was not well mounted giving permission user issues.

Thanks again for your fast response, even much better than qlik support team!