pcx3 (36)in #security • 4 years ago🚨 Critical Vulnerability in Sitepad cPanel plugin ≤ 1.7.0I recently rented a tiny VPS with cpanel in order to have a better understanding of all of the cpanel files, scripts, and so on. During browsing cpanel files, I discovered that…pcx3 (36)in #wordpress • 4 years agoFatal Error Unable to create lock file: Bad file descriptor (9)503 error on user websites caused by CageFS Check the logs tail /var/log/apache2/stderr.log Fri Apr 29 12:32:02 2022 (95855): Fatal Error Unable to create lock file: Bad…pcx3 (36)in #wordpress • 4 years agoRemove custom reseller branding when transferring cPanel accountsScenario: cPanel user X was under a reseller account that applied custom branding, so now when user X wants to migrate its cPanel account to another hosting and uses either…pcx3 (36)in #wordpress • 4 years agoNo request delivery notification has been received from LSAPI application, possible dead lock.On a small VPS runing CyberPanel and NextCloud the NextCloud pages were loading forever. When checking the cyberpanel error log the following error stood out: No request…pcx3 (36)in #wordpress • 4 years agoaaPanel security log is vulnerable to stored XSSaaPanel is one of my favorite free hosting panels because it is lightweight and simple to use. The panel gets regular updates, and it offers several unique features that you…pcx3 (36)in #wordpress • 4 years agologrotate usage with examplesFor logrotate we create a configuration file inside /etc/logrotate.d/ directory and check if there is a logrotate file in /etc/cron.hourly/ - if not copy it from cron.daily…pcx3 (36)in #wordpress • 4 years agoExclude ai1wm-backup folder from Softaculous backupsFor WordPress websites that use both Softaculous backups and AllInOne Migration plugin backups, Softaculous backups include the .wpress files created by the ai1wm plugin and…pcx3 (36)in #wordpress • 4 years agoCWP Successful login keeps redirecting back to the login pageA strange problem with the CentOS Web panel was caused by 100% disk usage. The user gets redirected to the login page despite the fact that the login was successful.…pcx3 (36)in #wordpress • 4 years agoUID MOVE: IMAP session state is inconsistent, please relogin.On cPanel emails are stored by default in Maildir format where each email is stored as a separate file in the /home/user/mail/domain/email//cur directory. On older systems and…pcx3 (36)in #wordpress • 4 years agoSoftaculuos Prestashop installation error: Unable to generate new_cookie_key, hence can not install Prestashop 1.7When installing PrestaShop 1.7 via Softaculous auto-installer the following error is displayed: Unable to generate new_cookie_key, hence can not install Prestashop 1.7 The…pcx3 (36)in #wordpress • 4 years agoSoftaculuos Moodle installation error: Unable to generate kid and privatekey, hence can not install Moodle 3.9When installing Moodle 3.5 via Softaculous auto installer the following error is displayed: Unable to generate kid and privatekey, hence can not install Moodle 3.9 The…pcx3 (36)in #wordpress • 4 years agoDon't run cPanel installation script if a web server is already installedI was recently looking into the source code of the cpanel installation script in order to gain a better grasp of the installation process and possibly examine the security of all…pcx3 (36)in #wordpress • 4 years agoError 503 Backend fetch failed Guru Meditation: XID: 118217200 Varnish cache serverA 503 error means that the webserver trying to be reached is unavailable overloaded, down for maintenance, or not fully functional for another reason. First, test the website…pcx3 (36)in #wordpress • 4 years agoHow to check Drupal version from the terminalFirst go into your application folder and check the following files: Drupal 8 & Drupal 9 grep VERSION core/lib/Drupal.php Drupal 7 grep VERSION…pcx3 (36)in #wordpress • 4 years agoMigrating DNS records from Cloudflare to cPanelBoth Cloudflare and cpanel store DNS zones in standard BIND files. When moving a DNS zone from cPanel to Cloudflare, Cloudflare checks and inserts DNS entries automatically. But…pcx3 (36)in #wordpress • 4 years agoCeph RuntimeError: Failed to execute command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=criticalEncountered an error when deploying ceph cluster with the command: ceph-deploy new ceph-node1 ceph-node2 ceph-node3 [ceph-node][DEBUG ] Err:1 http xenial-updates/main amd64…pcx3 (36)in #wordpress • 4 years agoPostgres DB backup scriptTo export a postgres database We use the pg_dump command: pg_dump -U postgres -v DATABASE -f FILENAME.sql And to import it back we use psql: psql -U postgres -W -d…pcx3 (36)in #wordpress • 4 years agoList all cronjobs for all cPanel usersTo list all cronjobs for all users on a cPanel server use the following command for user in $(cut -f1 -d: /etc/passwd); do crontab -u $user -l; done To list cronjobs for a…pcx3 (36)in #wordpress • 4 years agoHow to block / quarantine extensions in Proxmox Mail GatewayTo block incoming emails in Proxmox Mail Gateway that contain attachments with a specific extension, for example, .cab I recommend blocking both the extension (MIME type) and…pcx3 (36)in #wordpress • 4 years agoHow to check and change runlevels in RHELA runlevel is one of the modes that a Unix-based OS will run on. Each runlevel has a certain number of services stopped or started, giving the user control over the behavior of…