Report Generation 500 Internal Server Error Net_Gearman_Exception

101 views
Skip to first unread message

GS

unread,
Feb 22, 2018, 8:09:57 PM2/22/18
to AtoM Users
Hi All,

I am seeing similar issues to the following posts

https://groups.google.com/forum/#!searchin/ica-atom-users/500$20error%7Csort:date/ica-atom-users/eYSP6r9zyeM/7Xewe_DhDgAJ
https://groups.google.com/forum/#!searchin/ica-atom-users/generate$20report$202.4%7Csort:date/ica-atom-users/srrf_oIKn4I/BoAEGQMBAwAJ

First of all this is on a RHEL6 installation which has recently been upgraded to v2.4.0 (no issues with v2.3.0).
On report generation the 500 exception is thrown as atom appears unable to connect.
gearmand appears to be installed OK and listening on 127.0.0.1:4730 as it can be accessed via telnet (see below)


telnet 127.0.0.1 4730
Trying 127.0.0.1...
Connected to 127.0.0.1.
Escape character is '^]'.
status
dfad4d20b7514d6d7398837196605f94-arGenerateReportJob    0       0       1
dfad4d20b7514d6d7398837196605f94-qtSwordPluginWorker    0       0       1
dfad4d20b7514d6d7398837196605f94-arFileImportJob        0       0       1
dfad4d20b7514d6d7398837196605f94-arRepositoryCsvExportJob       0       0       1
dfad4d20b7514d6d7398837196605f94-arXmlExportSingleFileJob       0       0       1
dfad4d20b7514d6d7398837196605f94-arInformationObjectCsvExportJob        0       0       1
dfad4d20b7514d6d7398837196605f94-arObjectMoveJob        0       0       1
dfad4d20b7514d6d7398837196605f94-arUpdatePublicationStatusJob   0       0       1
dfad4d20b7514d6d7398837196605f94-arFindingAidJob        0       0       1
dfad4d20b7514d6d7398837196605f94-arInformationObjectXmlExportJob        0       0       1
dfad4d20b7514d6d7398837196605f94-arActorXmlExportJob    0       0       1
dfad4d20b7514d6d7398837196605f94-arInheritRightsJob     0       0       1
dfad4d20b7514d6d7398837196605f94-arActorCsvExportJob    0       0       1


qtSwordPluginWorker is enabled and it appears that the atom-worker is also available (see below)

2018-02-22 16:35:39 > New ability: arFindingAidJob
2018-02-22 16:35:39 > New ability: arInheritRightsJob
2018-02-22 16:35:39 > New ability: arObjectMoveJob
2018-02-22 16:35:39 > New ability: arInformationObjectCsvExportJob
2018-02-22 16:35:39 > New ability: qtSwordPluginWorker
2018-02-22 16:35:39 > New ability: arUpdatePublicationStatusJob
2018-02-22 16:35:39 > New ability: arFileImportJob
2018-02-22 16:35:39 > New ability: arInformationObjectXmlExportJob
2018-02-22 16:35:39 > New ability: arXmlExportSingleFileJob
2018-02-22 16:35:39 > New ability: arGenerateReportJob
2018-02-22 16:35:39 > New ability: arActorCsvExportJob
2018-02-22 16:35:39 > New ability: arActorXmlExportJob
2018-02-22 16:35:39 > New ability: arRepositoryCsvExportJob
2018-02-22 16:35:39 > Running worker...
2018-02-22 16:35:39 > PID 2178

I have tried most of the suggestions in the other posts but although I can telnet to Gearman atom does not appear to be able to connect to it.

500 | Internal Server Error | Net_Gearman_Exception

Could not connect to 127.0.0.1:4730

stack trace

  • at ()
    in SF_ROOT_DIR/vendor/net_gearman/Net/Gearman/Manager.php line 83 ...
      1.         $errMsg     '';
      2.         $this->conn = @fsockopen($host$port$errCode$errMsg$timeout);
      3.         if ($this->conn === false) {
      4.             throw new Net_Gearman_Exception(
      5.                 'Could not connect to ' $host ':' $port
      6.             );
      7.         }


Suggestion appreciated.

Regards,

George

GS

unread,
Feb 23, 2018, 7:48:23 AM2/23/18
to AtoM Users
Hi All,

I think I've sorted this out myself, may have been a combination of factors but the final block was of course selinux.

Regards,

George

Dan Gillean

unread,
Feb 23, 2018, 10:22:08 AM2/23/18
to ICA-AtoM Users
Hi George, 

I'm glad to hear that you've managed to solve your own issue! Thanks for updating the thread and letting us know. 

Cheers, 

Dan Gillean, MAS, MLIS
AtoM Program Manager
Artefactual Systems, Inc.
604-527-2056
@accesstomemory

--
You received this message because you are subscribed to the Google Groups "AtoM Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ica-atom-users+unsubscribe@googlegroups.com.
To post to this group, send email to ica-atom-users@googlegroups.com.
Visit this group at https://groups.google.com/group/ica-atom-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/ica-atom-users/284f571b-6787-46c3-b723-eee0eb2438c3%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

luizi...@seplag.mt.gov.br

unread,
May 15, 2020, 4:35:56 PM5/15/20
to AtoM Users
What was the solution?

I have a similar problem

GS

unread,
May 19, 2020, 8:17:49 PM5/19/20
to AtoM Users
Hi
Are you on CentOS6/RHEL6?
Have you tried disabling selinux temporarily to check it is an selinux issue?
Regards
Reply all
Reply to author
Forward
0 new messages