HTTP ERROR 500 - install Atom 2.4 on an RHEL7

289 views
Skip to first unread message

jcsba...@gmail.com

unread,
Sep 21, 2017, 9:12:09 AM9/21/17
to AtoM Users
I am trying to install Atom 2.4 on an RHEL7 server and it displays the following error message in the log:

HTTP ERROR 500

[Thu Sep 21 10: 11: 00.789078 2017] [: error] [pid 2217] [client 10.16.0.166:56712] Empty module and / or action after parsing the URL "/" (/).
[Thu Sep 21 10: 11: 00.805758 2017] [: error] [pid 2217] [client 10.16.0.166:56712] PHP Fatal error: Uncaught Zend_Acl_Exception: addRole () expects $ role to be of type Zend_Acl_Role_Interface in / admsis / htdocs /atom-2.4.0/plugins/qbAclPlugin/lib/vendor/Zend/Acl.php:124\nStack trace: \ n # 0 /admsis/htdocs/atom-2.4.0/plugins/qbAclPlugin/lib/QubitAcl.class .php (328): Zend_Acl-> addRole (NULL) \ n # 1 /admsis/htdocs/atom-2.4.0/plugins/qbAclPlugin/lib/QubitAcl.class.php (63): QubitAcl-> buildUserRoleList (Object ( myUser)) \ n # 2 /admsis/htdocs/atom-2.4.0/plugins/qbAclPlugin/lib/QubitAcl.class.php(70): QubitAcl -> __ construct () \ n # 3 / admsis / htdocs / atom- 2.4.0 / plugins / qbAclPlugin / lib / QubitAcl.class.php (261): QubitAcl :: getInstance () \ n # 4 /admsis/htdocs/atom-2.4.0/plugins/qbAclPlugin/lib/QubitAcl.class. php (134): QubitAcl :: isAllowed (Object (myUser), 'userInterface', 'translate', Array) \ n # 5 /admsis/htdocs/atom-2.4.0/apps/qubit/templates/_footer.php 3): QubitAcl :: check ('userInterface', Array) \ n # 6 /admsis/htdocs/atom-2.4.0/ cache / qubit / prod / config / config_core_compile.yml.php (3895): require ('/ admsis / htdocs / ...') \ n # 7 /admsis/htdocs/atom-2.4.0/vendor/symfon in / admsis / htdocs / atom-2.4.0 / plugins / qbAclPlugin / lib / vendor / Zend / Acl.php on line 124

Dan Gillean

unread,
Sep 21, 2017, 10:55:11 AM9/21/17
to ICA-AtoM Users
Hi Julio, 

Unfortunately, we do not test installations on RedHat or other Linux flavors than Ubuntu - there are so many possible distributions, each with different packages available, that we cannot possibly cover them all. Since RHEL is essentially the same as 
CentOS with a few added features, you might want to look at previous posts tagged in our user forum as centOS

Read more about using the tags in the AtoM user forum on our wiki, here: https://wiki.accesstomemory.org/Resources/User_forum/Tags

For example, this recent post might be useful: 

You might also find some of the information in the PHP manual on the curl extension useful, such as this comment:

Another user has also shared some instructions on how they got AtoM working on RHEL 7.1, here: 

We have not tested these instructions ourselves, but hopefully they will give you some ideas. 


Further, I tried searching for your error message in the User forum, and the two results I saw that seemed most relevant were the following: 

First, there is this thread about how Apache handles URL rewriting. Note that the .htaccess file sample shown in the response is old (from 2013, before AtoM 2.0 was released) so it may have changed, but this might give you ideas of where to begin looking: 

Second, it could have to do with a missing PHP extension - see this thread: 
You can also try generating slugs in your database - if the task fails completely, this might indicate that the inconv PHP extension is not installed. From the root directory of your AtoM installation, run: 

You can look over other threads related to your error message for more ideas, but I suggest starting by looking at some of the installation guides, and making sure that you have all necessary PHP extensions and libraries installed. 

Good luck! Let us know how it goes. 



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/05bbdc36-1490-4042-8b68-81e5299e317e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages