If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to REGISTER before you can post. To start viewing messages, select the forum that you want to visit from the selection below.
You must specify cpan deps file location. If you're in plugin directory, then it's gonna be dot.
Alternatively you can do so: cpanm --installdeps /opt/zdba
/sbin/service zdba start
Starting ZabbixDBA service: su: user zdba does not exist
ZabbixDBA failed to start
After that, I create an user and a group called zdba and put the permissions in all the path. but it gives me the same error but without saying that the user misses.
I have only changed the Zabbix Server's IP address because mu username and password from db is the same that yours.
If I put the following command ( perl /opt/zdba/ZabbixDBA.pl /opt/zdba/conf/config.pl ), this is the result
[root@zabbix3 ~]# perl /opt/zdba/ZabbixDBA.pl /opt/zdba/conf/config.pl
Can't locate forks.pm in @INC (@INC contains: /usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 .) at /opt/zdba/ZabbixDBA.pl line 7.
BEGIN failed--compilation aborted at /opt/zdba/ZabbixDBA.pl line 7.
I hope that we get the solution.
Thank you so much,
Miguel Ángel
Well, this error indicates that you didn't install "forks" module. I've suggested you to run 'cpan --installdeps /opt/zdba', it will install all the requirements.
Next, you need to install Oracle client on Zabbix server (download instantclient from oracle.com) and DBD module (DBD::Oracle for Oracle databases)
rpm install instantclient-* # Oracle instant client supplied both in zip and rpm formats, choose one that suitable for you
cpanm DBD::Oracle
Comment