Open vappiah opened 1 year ago
Check the file permissions on /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy: ls -l /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy
If it is not executable, do a chmod
on /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy
Hi @dglos. Here is what I did not I extracted krona tools to /opt/apps/kronatools/2.8.1
Then installed krona using this command ./install.pl --prefix /opt/apps/kronatools/2.8.1
When I tried to run ktImportTaxonomy it gave this error Can't locate KronaTools.pm in @INC (@INC contains: /home/ha/apps/bioinfo/kronatools/2.8.1/scripts/../lib
But if I do ls, I see the KronaTools.pm file there.
I have also changed the permission (chmod +x /home/ha/apps/bioinfo/kronatools/2.8.1/scripts/../lib/KronaTools.pm
But the error message still persists. Please advice
I resolved it now.
First I had to load another perl version.
Then I did chmod -R 777 on the lib, src and scripts directories.
Hi Developers,
I installed Kronatools as root on a system so that different users can use it. I tried running ktImportTaxonomy using a regular user account and I got this error message
Can't locate KronaTools.pm /opt/apps/kronatools/KronaTools-2.8.1/scripts/../lib/KronaTools.pm: Permission denied at /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy line 17 Begin failed--compilation aborted at /opt/apps/kronatools/KronaTools-2.8.1/bin/ktImportTaxonomy line 17
I tried setting execution permissions but the error message still persists. Please advice