Login
Discover
Waves
Decks
Upgrade
Login
Signup
36
pcx3
PCx3
Available
Used
Resource Credits
1 Followers
0 Following
https://pcx3.,com
November 30, 2021
RSS feed
Posts
Blog
Posts
Comments
Communities
Wallet
Follow
pcx3
security
Sunday, May 1, 2022 4:10 PM
🚨 Critical Vulnerability in Sitepad cPanel plugin ≤ 1.7.0
I 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 some scripts are only visible
$ 0.000
0
pcx3
wordpress
Friday, April 29, 2022 10:48 AM
Fatal 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 file descriptor (9) To fix the
$ 0.000
0
pcx3
wordpress
Wednesday, April 27, 2022 1:13 PM
Remove custom reseller branding when transferring cPanel accounts
Scenario: 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 Transfer Tool or Backup&Restore
$ 0.000
1
pcx3
wordpress
Thursday, April 21, 2022 2:15 PM
No 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 delivery notification has been
$ 0.575
1
pcx3
wordpress
Tuesday, April 19, 2022 10:01 AM
aaPanel security log is vulnerable to stored XSS
aaPanel 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 only get in premium panels
$ 0.000
0
pcx3
wordpress
Sunday, April 17, 2022 11:14 AM
logrotate usage with examples
For 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 EXAMPLE 1: logrotate file that
$ 0.000
0
pcx3
wordpress
Wednesday, April 13, 2022 10:02 AM
Exclude ai1wm-backup folder from Softaculous backups
For WordPress websites that use both Softaculous backups and AllInOne Migration plugin backups, Softaculous backups include the .wpress files created by the ai1wm plugin and therefore this will significantly
$ 0.000
4
1
pcx3
wordpress
Friday, April 8, 2022 9:32 AM
CWP Successful login keeps redirecting back to the login page
A 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. According to cwpsrv status the error
$ 0.000
4
pcx3
wordpress
Monday, April 4, 2022 8:33 AM
UID 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 even cPanel in the past used
$ 0.000
1
pcx3
wordpress
Friday, April 1, 2022 9:42 AM
Softaculuos Prestashop installation error: Unable to generate new_cookie_key, hence can not install Prestashop 1.7
When 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 problem isn't with PrestaShop,
$ 0.000
4
1
pcx3
wordpress
Saturday, March 26, 2022 9:18 AM
Softaculuos Moodle installation error: Unable to generate kid and privatekey, hence can not install Moodle 3.9
When 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 problem isn't with Moodle, but with
$ 0.000
5
pcx3
wordpress
Thursday, March 24, 2022 3:32 PM
Don't run cPanel installation script if a web server is already installed
I 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 the sources that this
$ 0.000
1
pcx3
wordpress
Monday, March 21, 2022 11:50 AM
Error 503 Backend fetch failed Guru Meditation: XID: 118217200 Varnish cache server
A 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 directly from the webserver,
$ 0.069
7
1
pcx3
wordpress
Thursday, March 17, 2022 9:52 AM
How to check Drupal version from the terminal
First go into your application folder and check the following files: Drupal 8 & Drupal 9 grep VERSION core/lib/Drupal.php Drupal 7 grep VERSION includes/bootstrap.inc Drupal 6 and older grep VERSION
$ 0.000
1
pcx3
wordpress
Saturday, March 12, 2022 3:08 PM
Migrating DNS records from Cloudflare to cPanel
Both 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, when transferring DNS from
$ 0.000
1
pcx3
wordpress
Wednesday, March 9, 2022 4:57 PM
Ceph RuntimeError: Failed to execute command: env DEBIAN_FRONTEND=noninteractive DEBIAN_PRIORITY=critical
Encountered an error when deploying ceph cluster with the command: ceph-deploy new ceph-node1 ceph-node2 ceph-node3 [ceph-node][DEBUG ] Err:1 xenial-updates/main amd64 apt-transport-https amd64 1.2.24
$ 0.000
1
pcx3
wordpress
Friday, March 4, 2022 12:36 PM
Postgres DB backup script
To 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 "FILENAME.sql" < FILENAME.sql Now
$ 0.000
1
pcx3
wordpress
Tuesday, March 1, 2022 1:59 PM
List all cronjobs for all cPanel users
To 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 single user, navigate to /var/spool
$ 0.077
7
pcx3
wordpress
Saturday, February 26, 2022 10:22 AM
How to block / quarantine extensions in Proxmox Mail Gateway
To 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 the filename (files that end
$ 0.000
0
pcx3
wordpress
Friday, February 18, 2022 9:14 AM
How to check and change runlevels in RHEL
A 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 the machine. The following
$ 0.000
3
1