We have migrated Gestio 3.2 (patch v6) from RHEL 6 to 7. Migration was successful.
Now we are having an issue with exporting hosts to CSV through a cronjob (/opt/scripts/export_csv.pl)
(It was working fine with old server)
Could you please suggest how to fix this issue
Cronjob: 00 16 * * 5 /opt/scripts/export_csv.pl
Here is the error
/opt/scripts/export_csv.pl
cat: /tmp/gestioip.10.1.1.0.csv: No such file or directory
cat: /tmp/gestioip.10.1.3.0.csv: No such file or directory
ERROR 1086 (HY000) at line 1: File '/tmp/gestioip.10.1.3.0.csv' already exists
cat: /tmp/gestioip.10.1.3.0.csv: No such file or directory
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
The script is not part of GestióIP. Have a look into the script. Maybe you find there a hint where the script comes from.
Please be aware that the GestióIP project offers a commercial support service. If you need help with the script you can write a mail to contact@gestioip.net.
Regards,
Marc
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
We have migrated Gestio 3.2 (patch v6) from RHEL 6 to 7. Migration was successful.
Now we are having an issue with exporting hosts to CSV through a cronjob (/opt/scripts/export_csv.pl)
(It was working fine with old server)
Could you please suggest how to fix this issue
Cronjob: 00 16 * * 5 /opt/scripts/export_csv.pl
Here is the error
/opt/scripts/export_csv.pl
cat: /tmp/gestioip.10.1.1.0.csv: No such file or directory
cat: /tmp/gestioip.10.1.3.0.csv: No such file or directory
ERROR 1086 (HY000) at line 1: File '/tmp/gestioip.10.1.3.0.csv' already exists
cat: /tmp/gestioip.10.1.3.0.csv: No such file or directory
Hi Ravikumar
The script is not part of GestióIP. Have a look into the script. Maybe you find there a hint where the script comes from.
Please be aware that the GestióIP project offers a commercial support service. If you need help with the script you can write a mail to contact@gestioip.net.
Regards,
Marc
Last edit: Ravikumar Arigela 2021-05-20