SysAdmin

Failed to create temporary file: /var/lib/mod_security/20xx

Today, the developer reported that the he is not able to upload some files. As we checked, we were getting the following error on mod_security log. It looks like apache is getting denied while writing in to /var/lib/mod_security/ location. As a quick fix, we have modified the mod_security.conf configuration file located at /etc/httpd/conf.d/mod_security.conf Once modified, […]

Failed to create temporary file: /var/lib/mod_security/20xx Read More »

phpmyadmin gives Function get_magic_quotes_gpc() is deprecated

Hello Folks,   Today I was installing PHPMyAdmin and I was getting the below error while accessing http://IP/phpmyadmin page. The error was repeating even after logging in.   I have gone through the Google search results, but I couldn’t find any quick results. Most of the links were talking about reinstalling the php-gettext package and

phpmyadmin gives Function get_magic_quotes_gpc() is deprecated Read More »

Ansible Playbook – How to pass hostname or IP in the Command line

Today I was thinking about passing the host IP on the ansible-playbook I’m going to run to automate something. As per the documentation, it says  –i hostname in a comma separated input will work fine. I was trying to give the IP like ansible-playbook playbook.yml -i 1.1.1.1 in the playbook command line and it was not working, then I figured out that we need

Ansible Playbook – How to pass hostname or IP in the Command line Read More »

How to exclude virtfs or any Mount Point from Zabbix Filesystem Discovery

I was configuring Zabbix for our cPanel servers. A few years back I had configured Zabbix with Manual mount points. But this time, I want to use the File System Discovery to make the setup easier for the team. The default configuration of Zabbix will detect all the virtfs mount point from the cPanel servers

How to exclude virtfs or any Mount Point from Zabbix Filesystem Discovery Read More »

How to Install RedMine on CentOS 7

Install Software Collections yum -y install yum-plugin-priorities Add [priority=1] to official repository sed -i -e “s/\]$/\]\npriority=1/g” /etc/yum.repos.d/CentOS-Base.repo yum -y install epel-release Add [priority=5] to the EPEL repo sed -i -e “s/\]$/\]\npriority=5/g” /etc/yum.repos.d/epel.repo Add CentOS SCLo Software collections Repository. [root@aws ~]# yum -y install centos-release-scl-rh centos-release-scl Add [priority=10] to the SCL repository [root@aws ~]# sed -i

How to Install RedMine on CentOS 7 Read More »

CentOS RHEL – reboot after kernel update or if reboot needed

Yum-Cron Yum-cron is used to update the server automatically. This service will update the server with all the packages or only the security patches as configured on /etc/yum/yum-cron.conf But, the yum-cron lack in reboot feature. If any packages, say kernel, glibc or gcc require a reboot of the server then we have to do the reboot manually.

CentOS RHEL – reboot after kernel update or if reboot needed Read More »

IPA wait_for_open_ports: localhost [8080, 8443] timeout 300

Issue: IPA wait_for_open_ports: localhost [8080, 8443] timeout 300 Today we were updating the server with yum update on our IPA server. The yum update finished successfully, but the IPA was not starting after the upgrade. the ipactl restart was also throwing an error. The web interface came up after the server restart but it was

IPA wait_for_open_ports: localhost [8080, 8443] timeout 300 Read More »

Scroll to Top