Entries by admin

Phalcon Php Framework 3.x Installation

Phalcon 3.x (old version) installation steps on Cyber Panel + Ubuntu 20 server 1.Install the pecl and pear plugins for the php version you want. apt install lsphp72-pecl lsphp72-pear   2. Download Phalcon 3.4.5 tar file. wget https://github.com/phalcon/cphalcon/archive/refs/tags/v3.4.5.tar.gz tar zxvf v3.4.5.tar.gz cd cphalcon-3.4.5/build/ ./install   3.If all steps are successful, add the ini file Create […]

Centos /Cloudlinux 7 error restarting a systemd service

Unable to register authentication agent ** (pkttyagent:478736): WARNING **: 18:16:34.777: Unable to register authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject Error registering authentication agent: GDBus.Error:org.freedesktop.PolicyKit1.Error.Failed: Cannot determine user of subject (polkit-error-quark, 0) # groupadd -g 23 nohidproc # usermod -a -G nohidproc polkitd # mount -o remount,rw,hidepid=2,gid=nohidproc /proc # systemctl restart polkit     […]

Fix the glibc error at boot

Environment: Centos 7 Boot Process Error : System Hanging at “Starting Switch Root”,Boot fails. Solution: Replace/Reinstall glibc-x.x.x.el7.x86.64 package after boot your server with centos rescue dvd / cd / iso image rpm -ivh –root=/mnt/sysimage –replacefiles –replacepkgs /run/install/repo/Packages/glibc-x.x.x.el7.x86.64.rpm

Imunify360 enable malware cleanup for all users

One line script for enable malware cleanup for all users.It can be used as batch script for every feature those can be applied only user basis. Other command line options described here for i in $(awk -F: ‘ $3 >= 10000 {print $1}’ /etc/passwd); do imunify360-agent feature-management enable –feature av –users $i; done

List access or error log files with their sizes plesk hosting servers

List all access log files; find /var/www/vhosts/*/logs/error_log -exec ls -la {} \; | awk ‘{print $5 ” ” $9}’ | sort -n List all error log files; find /var/www/vhosts/*/logs/access_log -exec ls -la {} \; | awk ‘{print $5 ” ” $9}’ | sort -n For access logs,there are also other access log files in that […]