Hi Team, our osTicket machine gets a weekly securitys scan. In the previous versions of osticket this did not cause serious errors but on our new server with the latest version we get a lot of db errors like this one. Is it possible to make the logging a bit more quiet ? i got 3000 of them last week in my mailbox... I am running 1.10 stable at this moment.  Duplicate entry 'http://www.outpost24.com/probe/php.txt' for key 'PRIMARY'---- Backtrace ----#0 (root)/include/mysqli.php(204): osTicket->logDBError('DB Error #1062', '[INSERT INTO `o...')#1 (root)/include/class.orm.php(3133): db_query('INSERT INTO `os...', true, true)#2 (root)/include/class.orm.php(597): MySqlExecutor->execute()#3 (root)/include/class.ostsession.php(216): VerySimpleModel->save()#4 (root)/include/class.ostsession.php(158): DbSessionBackend->update('http://www.outp...', 'csrf|a:{s:"...')#5 : SessionBackend->write('http://www.outp...', 'csrf|a:{s:"...')#6 : session_write_close()#7 {main}

Logging level is set in: Admin panel -> Settings -> Default Log Level.

But I do not think that is going to help you. The error says that its trying to insert session data into your database, and your database says that this information already exists. Are you running cron.php regularly?

And I have no idea what this would have to do with "outpst scans", or "weekly securitys scan" or even what you mean by that.

Hi, outpost is a security scanning service, we use  this service to scan our sites on vulnerabilitys.I am running the cron.php on every 5 minutes indeed. It could also be the scheduled script we use to proces the emails. And we have had some issues with those scripts in the past. All mails have been processed and moved to the backup folder.The errors are all created by ip 91.216.32.31

6 days later

This weekend we received again 3000 messages, i changed the warn level to error level. Lets see if this helps.Regardseelco

Write a Reply...