Error 77 EX_NOPRRM
Hello
I have try to use osticket on different server , and different provider of email , local email server too
And i have always same error
Invalid login. Check POP settings
pop3 connection broken
I check , all is ok with all email tools. same as outlook , winmail..
I try with soms Pop account and provider , and local server , same problems
So we have api error 77 when i try to run cron Job.
In Api setting , witch IP and key need ?
Indeed I had the same error, it is generated by api.inc.php
define('EX_NOPERM', 77); /* permission denied */
Normally if you have an incorrect API key or the ip address it is logged against is incorrect, for example if you moved OSTicket to a server with a different IP or you got a new DHCP assigned IP Address
What I was noticing was from a shell I could type (from the root directory of the site):
$ php -q api/cron.php
That worked perfectly, however if I set this up to run as a cron job on the server it gave this error 77, presumably down to the user cron runs as and/or a missing ENV var most likely.
I fixed it by issuing the following command
$ sudo apt-get install sendmail-bin
Obviously I'm using Ubuntu but the point is to install the sendmail binary so if there is any smtp authentication error(s) it should fall back to sendmail or as in my case use sendmail as the default.
After that it worked perfectly as a cron job
Also if you do that then remove the autocron.php img line from include/client/footer.inc.php
You'll notice a very good performance increase. At the moment I can check tickets with a 1sec page load where previoussly it was 5s-30s and also if a user emails a ticket that user will get a response in 90 secs.