Posts

Showing posts from January, 2015

InternalServerError: 500 Internal Server Error

InternalServerError: 500 Internal Server Error Sometimes when Sometimes the content view hung or the product view also Looking into the production.log we can found the following error Rendered /opt/rh/ruby193/root/usr/share/gems/gems/katello-1.5.0/app/views/katello/api/v2/providers/show.json.rabl within katello/api/v2/layouts/resource (510.5ms) 500 Internal Server Error (RestClient::InternalServerError) Sometimes this errors are related to the database something is wrong on it one of the solution you can try is the following Use pulp-manage-db as user apache [root@host]# sudo -u apache pulp-manage-db Loading content types. Content types loaded. Ensuring the admin role and user are in place. Admin role and user are in place. Beginning database migrations. Migration package pulp.server.db.migrations is up to date at version 9 Migration package pulp_puppet.plugins.migrations is up to date at version 2 Applying pulp_rpm.plugins.migrations version 17 Migration to pulp_

Access denied after setup the authentication via ldap or FreeIPA on Satellite 6

Access denied after setup the authentication via ldap or FreeIPA After setup authentication via LDAP or FreeIPA and try to login is give us a error of authentication fail, access denied The reason of this is because a selinux policy is restricted the communication between the ldap and the gui via the passenger protocol for this reason you need to allow the following boolean setboolean for allow the connection with the ldap passenger_can_connect_all --> on

How to restrict users to send only mail to the local domain in Zimbra

How to restrict users to send only mail to the local domain in Zimbra 1. Open file /opt/zimbra/conf/zmconfigd/smtpd_recipient_restrictions.cf and add this line below reject_non_fqdn_recipient. This is example on my system permit_sasl_authenticated check_sender_access lmdb:/opt/zimbra/postfix/conf/restricted_senders permit_mynetworks 2. Open file /opt/zimbra/conf/zmconfigd.cf and add those lines before RESTART mta. This is example on my system POSTCONF smtpd_restriction_classes local_only POSTCONF local_only FILE postfix_check_recipient_access.cf RESTART mta 3. Create a file /opt/zimbra/conf/postfix_check_recipient_access.cf and add the following line.  check_recipient_access lmdb:/opt/zimbra/postfix/conf/local_domains, reject 4. Create a file "/opt/zimbra/postfix/conf/restricted_senders" and list all the users, whom you want to restrict. Follow this syntax: user@yourdomain.com local_only 5. Create a file "/opt/zimbra/postfix/con