Resources, Articles, Tricks, and Solutions in connection to Server Management Service

PostgreSQL backup failed in Web help desk - Fix it Now ?

This article covers methods to resolve PostgreSQL database and fix PostgreSQL error. It may be necessary to create a backup and restore your Web Help Desk database.

This is how to back up and restore the Web Help Desk 12.x PostgreSQL embedded database. The process involves creating a backup from the web interface and restore using the embedded pgAdmin application on the Web Help Desk.

Read More


PostgreSQL Error code 23505 - Fix it Now ?

This article covers methods to fix PostgreSQL Error code 23505 for our customers. This issue happens when you are trying to insert a value in a column that already exists there. If you have a sequencer on the field (like with a serial column type), it is likely out of sync with the table because you have done an insert and supplied a value (rather than letting the "default" mechanism handle it by getting the nextval from the sequencer). If this is the case, reset the sequencer with a setval statement to the max value of the field.

Read More


PostgreSQL Error code 42703 - Fix it Now ?

This article covers steps to resolve PostgreSQL Error code 42703 for our customers. PostgreSQL database 42703 error triggers an error message "column does not exist" which indicates either that the requested column does not it exist, or that the query is not correct.

There are many possible reasons for this issue.

To get started, check your query for any mistakes. Often, the error is caused by a lack of quotes.

If this is the case, add double quotes to the column name, then try again. 

Read More


AWS RDS MySQL Error 1227 - Fix it Now ?

This article covers how to fix AWS RDS MySQL Error 1227 for our customers. In order to fix this issue, you’ll need to leverage DB parameter groups. To modify parameter values in a customer-created DB parameter group, you can’t change the parameter values in a default DB parameter group. Changes to parameters in a customer-created DB parameter group are applied to all DB instances that are associated with the DB parameter group.

To modify a DB parameter group, use the AWS CLI modify-db-parameter-group command with the following required parameters:

--db-parameter-group-name
--parameters

Read More


Google Cloud Error code 4003 - Fix it Now ?

This article covers methods to resolve the Google Cloud Error code 4003 for our customers. This issue can cause the start-up connectivity test to the VM instance to fail.

Therefore, Ensure that the listening process on the VM is running and listening on the correct port. Also, verify that your Google Cloud firewall is configured correctly and open on the port you're connecting to.

Read More


AWS ERROR 2003 (HY000): Can't connect to MySQL server - Fix it Now ?

This article covers methods to tackle AWS "ERROR 2003 (HY000): Can't connect to MySQL server" for our customers.

You can easily fix this issue by adding the public ip address of my EC2 server to the DB security group default policy.

You can create a new security group with the corresponding IP range/subnet of your EC2 instances(s). You can use the exact IP(s), or use your VPC's subnet(s) as the range.

Once created, you can right click your RDS instance in the management console and select 'Modify'. From there, you can change the associated security groups.

Read More


Openvz "Failed to mount image" - Fix it Now ?

This article covers methods to tackle Openvz "Failed to mount image" error for our customers. 

To fix this error after the hardware reboot,

# ploop check -F /vz/private/139/root.hdd/root.hdd
# ploop mount /vz/private/139/root.hdd/DiskDescriptor.xml
# fdisk -l /dev/ploop56824
# e2fsck /dev/ploop56824p1
# vzctl start 139

Read More


SolusVM error Unable to find ostemplate - Best Fixes ?

This article covers methods to resolve SolusVM errors for our customers. 

To fix Unable to find ostemplate error:

Simply Re-install OS

$ vzctl reinstall <CTID> --ostemplate <template_name>

where <CTID> should be replaced with actual VPS CT ID and <template_name> should be replaced with the template name without ".tar.gz" part.

Read More


Error: EACCES: permission denied with npm - Best Fixes ?

This article covers methods to resolve "Error: EACCES: permission denied with npm" for our customers. If you see an EACCES error when you try to install a package globally, you can either:

  • Reinstall npm with a node version manager (recommended).
  • Manually change npm's default directory.


To download the latest version of npm, on the command line, run the following command:

$ npm install -g npm

Read More


mysqldump error 1194 table is marked as crashed - Best Fixes ?

This article covers methods to resolve the mysqldump error 1194 for our customers. Generally database administrators use MySQL tables to store some important files along with their professional data or records. Though users store their important data but they are unaware of the situation that they can also lose their important data some day when the database gets corrupt or damaged. 

When MySQL database gets corrupted then it displays several error messages, one such error is "ERROR 1194 (HY000): Table 'table_name' is marked as crashed and should be repaired". And this error is very annoying so its very important to fix MySQL error 1194 as soon as you can.


Main causes of MySQL Error 1194:

  • Due to sudden system shutdown.
  • Virus/malware infection.
  • File system corruption after the newly installed program like hardware or software.

Read More


VMware error, Missing credentials for vCenter server - Fix it Now ?

This article covers methods to fix VMware errors for our customers. Basically, this guide provides information on troubleshooting common issues with logging in to the vSphere Web Client when using the Use Windows Session Credentials feature.

Read More


VMware error "Failed to build vmmon" - Fix it Now ?

This article covers method to resolve VMware error "Failed to build vmmon" for our customers. Linux for Workstation requires additional packages and steps in order to complete installation. The following steps have been tested on Fedora 28 and Fedora 29 but otherwise would be generally applicable to other Linux distributions. Please adjust for your specific version.

Read More


MySQL dump error 'illegal mix of collations' - Fix it Now ?

This article covers methods to resolve MySQL dump error 'illegal mix of collations'. 

You should set both your table encoding and connection encoding to UTF-8:

ALTER TABLE keywords CHARACTER SET UTF8; -- run once

and

SET NAMES 'UTF8';
SET CHARACTER SET 'UTF8';

You can try to run SHOW CREATE TABLE my_table; and see which column was not converted or just fix incorrect character set on problematic column with query below (change varchar length and CHARSET and COLLATE according to your needs):

ALTER TABLE `my_table` CHANGE `my_column` `my_column` VARCHAR(10) CHARSET utf8 
COLLATE utf8_general_ci NULL;

Read More


AWS s3 lambda 500 Internal Service Error - Fix it Now ?

This article covers methods to resolve AWS s3 lambda 500 Internal Service Error.

Basically,  this error occurs if Lambda function's resource-based policy doesn’t include permission for your API to invoke the function.

This error occurs if your Lambda function's resource-based policy doesn't include permission for your API to invoke the function.

When you build an API Gateway API with standard Lambda integration using the API Gateway console, the console automatically adds the required permissions. However, when you set up a stage variable to call a Lambda function through your API, you must manually add these permissions.

Finally, To verify that the error is caused by missing permissions, review your API's logs.

Read More


Webmin "Error code ssl_error_rx_record_too_long" - Fix it Now ?

This article covers how to troubleshoot "Error code ssl_error_rx_record_too_long" in Webmin. Usually the ssl_error_rx_record_too_long error means that the service is not speaking in SSL - for example, if you try to access an http-only service via https. 

Are you sure that webmin is set up to talk in ssl on port :10000?

Read More


AWS S3 403 Forbidden Error - Fix it Now ?

This article covers methods to fix HTTP 403 Forbidden error for our customers. 

To troubleshoot the HTTP 403 Forbidden error from the Amazon S3 console, check the following:

  • Missing permissions to s3:PutObject or s3:PutObjectAcl.
  • Missing permissions to use an AWS Key Management Service (AWS KMS) key.
  • Explicit deny statement in the bucket policy.
  • Bucket access control list (ACL) doesn't allow the AWS account root user to write objects.
  • AWS Organizations service control policy doesn't allow access to Amazon S3.

Read More


AWS MySQL error 1419 - Fix it Now ?

This article covers methods to resolve AWS MySQL error 1419. When automated backup is enabled for a MySQL DB instance, it also enables binary logging.

You might receive the following error message when creating a trigger: "ERROR 1419 (HY000): You do not have the SUPER privilege and binary logging is enabled (you might want to use the less safe log_bin_trust_function_creators variable)".

Read More


AWS MySQL error 10060 – Can't connect to MySQL server ?

This article covers methods to resolve AWS MySQL error 10060. This error is a result of the inbound connection rule set on your DB instance.

For each RDS database instance we create, there are Inbound & Outbound connection-security groups.

In AWS RDS console, under 'Databases', click on the 'DB Identifier' of your RDS instance. Then in the 'Security group rules' section, click on 'Inbound' type security group and edit the inbound rule to allow appropriate inbound connections.

You get 3 options here, under 'source' column:

  • Custom.
  • Anywhere (Allows connections from any IP. Not recommended for production.).
  • My IP (Automatically detects your machine's IP).

Read More


sec_error_ocsp_try_server_later in cPanel - Fix it Now ?

This article covers methods to resolve cPanel: Firefox users see "sec_error_ocsp_try_server_later". 

To fix this cPanel error:

  • Log in to your server's WHM interface as root or a priveledged user.
  • Go to Service Configuration, then Apache Configuration.
  • Choose Include Editor, then from the drop down for Pre Main Include select All Versions.

Once you see the text editor for the include file of All Versions, there may already be some configuration lines in there. If there are, simply scroll to the bottom of the window, then paste in the following:

SSLUseStapling on
SSLStaplingCache shmcb:/tmp/stapling_cache(32768)

Read More


Autossl 403 (Forbidden) error – Fix it Now ?

This article covers AutoSSL not working on cPanel / WHM.

To fix it, just try to assign 755 permissions and the correct owner to your public_html directory:

$ chmod 755 /home/user/public_html -v
$ chown user.user /home/user/public_html/ -R

Make sure you change user.user with your real cPanel user for that website.

Read More


Troubleshoot kubernetes error with linode – Fix it Now ?

This article covers how to troubleshoot Kubernetes error with linode.

  • To troubleshoot issues with the applications running on your cluster, you can rely on the kubectl command to gather debugging information. kubectl includes a set of subcommands that can be used to research issues with your cluster.
  • To troubleshoot issues with your cluster, you may need to directly view the logs that are generated by Kubernetes' components.

Read More


Error accessing file for config file ///etc/yum.conf – Fix it Now ?

This article covers methods to resolve the error, "CRITICAL:yum.cli: Config Error: Error accessing file for config file:///etc/yum.conf" occurs while performing certain actions with yum. 

The replacement of the source-compiled version of curl is to use the rpms instead, eg:

$ yum install libcurl-devel

As the libcurl and curl rpms should already be there by default, as yum needs them.

Read More


HTTP error 403: forbidden yum – Fix this error Now ?

This article covers methods to resolve HTTP error 403 which happens as a result of issues with files in repos.d, permissions or SELinux. 

To fix this error:

Grant read permission for other users inside CentOS/RHEL/OL 6 latest channel directory on local yum server.

Read More


Drupal 7 "website encountered an unexpected error" - Fix it Now ?

This article covers method to resolve Drupal 7 "website encountered an unexpected error" ?


To find out what the real problem is,

  1. Add to settings.php: $config['system.logging']['error_level']='verbose';
  2. Also, In phpMyAdmin,delete some respective config files in the database.
  3. Just click on "config" and look for the reported files.

Read More


Install pgAdmin with Docker - Step by Step Process ?

This article covers how to go about installing pgAdmin with Docker. By using Docker, we don’t have to worry about the installation of the PostgreSQL or pgAdmin. Moreover, you can use Docker to run this project on macOS, Windows, and Linux distributions.

Database management via a command-line interface can be nerve-racking. To solve this issue, we can use a tool with an interface. The pgAdmin solves this problem. Moreover, Docker makes the entire process smoother. 


To fix pgAdmin using Docker Installation issues:

Issue with following command,

$ docker run -p 80:80 \
    -e PGADMIN_DEFAULT_EMAIL="atinesh.s@gmail.com" \
    -e PGADMIN_DEFAULT_PASSWORD="admin" \
    -d dpage/pgadmin4

Read More


pgAdmin "connection to the server has been lost" - Fix it Now ?

This article covers methods to resolve pgAdmin "connection to the server has been lost" error for our customers. When connecting to a PostgreSQL server, you may get this error message. From the error message you will be able to resolve the problem. 


If pgAdmin displays this message, there are two possible reasons for this:

  • the database server isn't running - simply start it.
  • the server isn't configured to accept TCP/IP requests on the address shown.


For security reasons, a PostgreSQL server "out of the box" doesn't listen on TCP/IP ports. Instead, it must be enabled to listen for TCP/IP requests. This can be done by adding listen_addresses=’*’; this will make the server accept connections on any IP interface.

Read More


"FATAL: no pg_hba.conf entry" – How to fix the PostgreSQL error ?

This article covers methods to resolve "FATAL: no pg_hba.conf entry" error. Basically, the "no pg_hba.conf entry" can happen due to missing entries in the configuration file. 


A quick way to fix this PostgreSQL server error is to do the following steps:

1. Add or edit the following line in your postgresql.conf :

listen_addresses = '*'

2. Add the following line as the first line of pg_hba.conf. It allows access to all databases for all users with an encrypted password:

# TYPE DATABASE USER CIDR-ADDRESS  METHOD
host  all  all 0.0.0.0/0 md5

3. Restart Postgresql after adding this with service postgresql restart or the equivalent command for your setup.

Read More


OnApp Boot from ISO

This article covers how to boot from ISO on Onapp. OnApp allows uploading your custom bootable ISOs for recovery purposes. These could be different images for Windows/Linux/FreeBSD or any additional software. As a cloud administrator, you can limit user's ability to upload and manage ISOs by permissions and in buckets. You can boot virtual servers from your own ISOs or the ISOs that are uploaded and made publicly available by other users. 


If your cloud deployment is not a fresh installation, make sure to enable the following permissions for your Admin and other roles as appropriate:

  • Any action on ISOs - the user can take any action on ISOs.
  • Create a new ISO - the user can create a new ISO.
  • Destroy any ISO - the user can delete any ISO (own, user, and public).
  • Destroy own ISO - the user can only delete own ISO .
  • Destroy user ISO - the user can delete ISOs created by any user, but not public ISOs .
  • Make any ISO public - the user can make public any ISO available to all users.
  • Make own ISO public - the user can make public own ISOs only.
  • Make user ISO public - the user can make public ISOs created by any user .
  • Create and manage own ISOs - the user can create and edit/delete/view own ISOs.
  • Manage all ISOs - the user can manage own/user/public ISOs.
  • Create and manage user ISOs - the user can view/create/edit/delete ISOs created by any user.
  • See all ISOs - the user can view all ISOs in the cloud.
  • See own ISOs - the user can only view the ISOs created by themselves.
  • See all public ISOs - the user can view all public ISOs.
  • See user ISOs - the user can view the ISOs created by any user in the cloud.
  • Update any ISO - the user can edit any ISO in the cloud.
  • Update own ISO - the user can only edit own ISO.
  • Update user ISO - the user can edit  the ISOs created by any user in the cloud.


By default ISOs are available only to those users who uploaded them. These ISO images are available in the My ISOs tab. 

To make your ISO public and accessible for all users:

  • Go to your Control Panel > Cloud > Templates > ISO List menu.
  • Click My ISOs tab.
  • Click the Actions button next to the ISO you want to make public, then select Make public.
  • Confirm the window that pops up.
  • When you make a user ISO public, it is moved to the System ISOs tab.

Read More


"psql :could not connect to server: no route to host" - Fix it Now ?

This article covers how to fix the "could not connect to server: No route to host" PostgreSQL error. Basically, the "could not connect to server: No route to host" triggers while connecting to PostgreSQL due to a number of reasons.

Make the Iptables rules different in Master and Slave.

iptables -L INPUT
iptables -P INPUT ACCEPT
iptables -P OUTPUT ACCEPT
iptables -P FORWARD ACCEPT
iptables -F INPUT 
iptables -F OUTPUT
iptables  -F FORWARD

Read More


"SR BACKEND FAILURE 181" error - Fix it Now ?

This article covers how to fix "SR BACKEND FAILURE 181" error. Generally, user experiences issues with any storage related operations after installation or upgrade to XenServer 6.x. 

As a workaround, you can remove all special characters from the virtual machine name-label and description fields.  Contact our Technical Support to assist you in resolving the issue. 

Note: Special character should not be used for the storage repository and description field.

Read More


Plesk git authentication failed - Fix it Now ?

This article covers how to authenticate via HTTP when connecting to a remote Git repository in Plesk. HTTP/HTTPS authentication is not supported.

Authentication should be performed with an SSH key generated by Plesk (refer to Use SSH Connection for details).

It is possible to use HTTP/HTTPS protocol only if a repository does not require authentication.

Read More


Citrix XenServer internal error - Fix it Now ?

This article covers methods to fix Citrix XenServer internal error for our customers. This error occurs because the Control Domain (Dom0) on the XenServer which runs the VM, attaches the Virtual Disk Image (VDI) of the VM to Control Domain. 

This attached disk is then operated by the Control Domain to perform the operations which has been initiated on the VM. As the operation fails, the VDI is still attached to the control domain through a Virtual Block Device (VBD) connection that needs to be destroyed. 

Read More


OnApp "Error unable to connect to node rabbit"

This article covers method to fix OnApp error  'unable to connect to node rabbit' for our customers. This issue can happen on power outages or just because a Control Panel server was restarted by Reset button.

Read More


SolusVM 'No bootable device' error - Fix it Now ?

This article covers methods to fix SolusVM 'No bootable device' error for our customers.

To fix this error:

  • Log into SolusVM Master interface.
  • Open Virtual Server and remove created VPS.
  • Create a new VPS via SolusVM > Virtual Servers > Add Virtual Servers > KVM with HDD Space bigger than the size of the sum of the main partition and SWAP and SWAP bigger than the default value of the template - from the example above - HDD Space should be 22 GB and SWAP - 2000 MB.

Read More


Allow remote access to phppgadmin - The easy way

This article covers how to Install, configure and enable remote access to phpPgAdmin. Here you will learn how to enable remote access to PostgreSQL server on a Plesk server.


To Access PhpPgAdmin On Linux And MacOS:

1. Open a new terminal window on your local system (for example, using “Finder -> Applications -> Utilities -> Terminal” in macOS or the Dash in Ubuntu).

2. Make sure that you have your SSH credentials (.pem key file) in hand.

3. un the following command to configure the SSH tunnel using the SSH key file. Remember to replace KEYFILE with the path to your private key and SERVER-IP with the public IP address or hostname of your server:

$ ssh -N -L 8888:127.0.0.1:80 -i KEYFILE bitnami@SERVER-IP

Remember that if you are redirecting HTTP requests to the HTTPS port, you must use destination port 443 instead of 80.

4. Access the phpPgAdmin console through the secure SSH tunnel you created, by browsing to http://127.0.0.1:8888/phppgadmin.

5. Log in to phpPgAdmin by using the following credentials:

Username: postgres.
Password: application password.

Read More


SolusVM slave connection error - Fix it Now ?

This article covers how to fix solusVM connection error. Basically, while accessing SolusVM Admin control panel users often receive different connection errors related to solusVM slave.


To fix Master SolusVM error:

1. Install repository:

$ yum install solusvm-release

2. shutdown lighttpd service:

$ service lighttpd stop
$ chkconfig lighttpd off

3. install nginx and legacy configuration file

$ yum install svmstack-nginx svmstack-nginx-legacy-slave-config

4. start new service

$ service svmstack-nginx restart
$ service svmstack-fpm restart

Read More


Exim message is frozen – Clear frozen emails Now?

This article covers fix the Exim error for our customers. While the mail server doesn't require much interaction for sending or receiving average volumes of email, there may be times when you need to manage Exim's settings.

To Remove all frozen messages, run the command:

# exiqgrep -z -i | xargs exim -Mrm

To Remove all messages older than a defined number of seconds:

# exiqgrep -o seconds -i | xargs exim -Mrm

Read More


Migrate solusvm to proxmox – easy steps to implement this task ?

This article covers how to Migrate solusvm to proxmox.

To Migrate KVM VM's from SolusVM to Promox:

  • Take LVM snapshot of currently running SolusVM KVM CentOS7 instance.
  • dd the snapshot and copy it to the Proxmox Hypverisor.
  • Create a new KVM on the Proxmox server with LVM disks the same size as the source.
  • dd the raw snapshot image to the LVM device ie vm-VMID-disk-0.
  • Boot the new VM with CentOS 7 rescue CD and fix device names, update initramfs, etc and reboot.

Read More


"no input file specified" error in Joomla – Fix it Now ?

This article covers how to resolve Joomla error "no input file specified" which occurs due to issues with the installation.

To fix this error:

  • You can login to back-end and check the "Global configuration -> SEO Settings". 
  • Switch off Search Friendly URLs. 
  • Now all menu links should work fine.

Read More


Magento 2: Error during compilation after upgrading to version 2.2.3

This article covers methods to fix Magento error which happens during compilation on upgrading to version 2.2.3. 

If you upgrade Magento older version to Magento 2.2.3 and you fetching same error in compile then below step you should follow to resolve this error.

Magento older version have 2 directories and 2 files in this path:

vendor\magento\module-backend\Model\View\Layout
  • Filter
  • Reader
  • Builder.php
  • GeneratorPool.php

And Magento version 2.2.3 have 1 directory and 2 files:

  • Reader
  • Builder.php file
  • StructureManager.php

So after merge files and folder, you should delete "filter" folder and "GeneratorPool.php" from Magento version 2.2.3 on this path:

vendor/magento/module-backend/Model/View/Layout/GeneratorPool.php

Then run the compile command

Read More


mysqldump error 1146 table doesn't exist – Fix it Now ?

This article covers methods to resolve mysqldump: Got error: 1146: Table doesn't exist. To fix this error, you can simply save the database and dump it with innodb_force_recovery option. Most InnoDB corruptions are hardware-related. Corrupted page writes can be caused by power failures or bad memory. The issue also can be caused by using network-attached storage (NAS) and allocating InnoDB databases on it.

Read More


mysqldump error "can't create/write to file" - Fix it Now ?

This article covers to fix mysqldump error "can't create/write to file" for our customers. This error can be as a result of lack of space in your /tmp keeping the file from being created. It may also be the result of a permissions error or configuration error.


We recommend restarting the service to clear any excessive temporary files:

$ /etc/init.d/mysqld restart

If that doesn't improve the situation, we recommend reviewing your configuration file and permissions, particularly if you are using SE Linux:

$ cat /etc/my.cnf | grep tmpdir
$ ls /var/tmp

Read More


Apache Error 'Failed to read FastCGI header' - Fix it Now ?

This article covers methods to resolve Apache Error 'Failed to read FastCGI header'. When this error occurs, the response sent to the browser will be "503 Service Unavailable". Basically, the error message "Failed to read FastCGI header" indicates that when Apache was communicating with PHP-FPM, the PHP process did not respond properly.

Read More


Plesk : error reading data from FastCGI server - Fix it Now ?

This article covers methods to resolve Plesk: Error reading data from fastcgi server. Basically, in most cases, this plesk error occurs when there are Corrupted WordPress plugins.

To fix Plesk error,  Connection reset by peer: mod_fcgid: error reading data from FastCGI server,

  • Log in to Plesk.
  • Deactivate one by one all plugins for the website at Domains > example.com > WordPress > Plugins until the issue is fixed.
  • Re-install or delete the plugin.

Read More


DirectAdmin error "can't connect to ssl" - Fix it Now ?

This article covers methods to fix DirectAdmin error "can't connect to ssl" for our customers. Every SSL/TLS connection begins with a "handshake" – the negotiation between two parties that nails down the details of how they’ll proceed. The handshake determines what cipher suite will be used to encrypt their communications, verifies the server, and establishes that a secure connection is in place before beginning the actual transfer of data. This all happens in the background, thankfully – every time you direct your browser to a secure site a complex interaction takes place to make sure that your data is safe.

Read More


cPanel Error: rpmdb open failed – Fix it Now ?

This article covers methods to resolve cPanel Error: rpmdb open failed. In conclusion, we run into the cPanel Error while updating yum on VPS with cPanel on it.

In order to resolve this issue you would want to attempt a rebuild of the RPM database using the following commands on the system:

$ mkdir /root/old_rpm_dbs/
$ mv /var/lib/rpm/__db* /root/old_rpm_dbs/
$ rpm --rebuilddb -vv
$ yum clean all

If that works well, the "yum update" command will now work properly on your machine.

Read More


Run cron job manually in Magento 2 - Do it Now ?

This article covers how to run cron job manually in Magento 2. Basically, Cron Job is one of the important features of Magento.


Generally, the syntax to write a cron is:

* * * * * /etc/cron.daily/script.sh

Here,

# ┌───────────── minute (0 - 59)
# │ ┌───────────── hour (0 - 23)
# │ │ ┌───────────── day of the month (1 - 31)
# │ │ │ ┌───────────── month (1 - 12)
# │ │ │ │ ┌───────────── day of the week (0 - 6) (Sunday to Saturday;
# │ │ │ │ │                                   7 is also Sunday on some systems)
# │ │ │ │ │
# │ │ │ │ │


#  * *  *  * * command to execute

/etc/cron.daily/script.sh – file to be executed.

This job will run every minute.


To run cron manually:

1. To run all crons:

$ php bin/magento cron:run

2. To run crons added under a group:

$ php bin/magento cron:run --group="your_group_id"

In our case, group id is default. 

So, command will be:

$ php bin/magento cron:run --group="default"

Read More


Drupal notice unserialize() error at offset - Fix it Now ?

This article covers method to fix 'drupal notice unserialize() error at offset'. Basically, this error happens when loading an improperly serialized array from the variables table. 

Read More


'Error InvalidArgumentException wrong file' in Magento 2 - fix it Now ?

This article covers methods to resolve 'Error InvalidArgumentException wrong file' in Magento 2 for our customers. 

You can resolve this error by applying the following changes in your php.ini file.

In your php.ini file increase values of below parameters:

max_execution_time = 18000
max_input_time = 1800
memory_limit = 1024M

Note : Make sure you increase max_input_time value to at least 1800 and it will works.

Read More


Setup Rate Limit for IP Addresses in DigitalOcean Account

This article covers how to set up rate limit for IP Addresses in DigitalOcean for our customers. 

Basically, limit standard ssh like this:

$ sudo ufw limit ssh/tcp

or

$ sudo ufw limit 22/tcp

Both will limit port 22.

The /tcp allows only a tcp connection to allow only udp you simply add /udp and to allow it on both you simply leave off the /* example: ufw limit ssh.

Read More


Prestashop error err_too_many_redirects - Fix it Now ?

This article covers methods to tackle 'err_too_many_redirects' Prestashop error which generally affects certain pages in Prestashop admin panel. The ERR_TOO_MANY_REDIRECTS in your Chrome browser indicates that the page you're attempting to visit is caught in a "redirect loop". The phrase "redirect loop" simply means that the site you're visiting can't stop trying to send your browser to a different location.

Read More


Smartermail 601 error - Ways to fix it ?

This article covers methods to fix the Smartermail 601 error. This can arise as a result to DNS lookup failure. You can try to contact your ISP and ask them to active PTR record on your ip and domain name.

Also, you can try the following fix:

  • check your domain or IP to be unblocked by spam checking website, the powerful website in this range is Barracuda'.
  • Try to test SMTP OUT by Telnet command by type: telnet IP port ( mostly 25 or 2525).
  • Get details about your PTR on the main domain you defined on Smartermail or etc mail server software.
  • Contact to your ISP to check to open the specific port 25).

Read More


Enable private networking Vultr - Step by Step Process ?

This article covers how to enable private networking vultr for our customers. Vultr provides many flexible networking options for your cloud servers. Private networks do not have DHCP. When deploying a Vultr cloud server with private networking, you must manually configure the private adapters or supply your own DHCP server. 


To setup a private IP address:

  • Allocate an IP range.
  • Go to the VPC networks page in the Cloud Console. Open the VPC networks page.
  • Under Name, click the VPC network in which you want to create a private Cloud Data Fusion instance.
  • On the VPC network details page, click the Private service connection tab.
  • Click Allocate IP range.

Read More


Install DirectAdmin on AlmaLinux - Step by Step Process ?

This article covers how to install Directadmin on Almalinux. AlmaLinux OS is an open-source, community-driven project that intends to fill the gap left by the demise of the CentOS stable release. AlmaLinux OS is a 1:1 binary compatible fork of RHEL 8 guided and built by the community. 


Operating systems supported by DirectAdmin:

  • CloudLinux - 6.x 64-bit, 7.x 64-bit, 8.x 64-bit.
  • AlmaLinux / RHEL / CentOS - 7.x 64-bit, 8.x 64-bit.
  • Debian - 8.x 64-bit, 9.x 64-bit, 10.x 64-bit, 11.x 64-bit ALPHA.
  • Ubuntu - 16.04 64-bit, 18.04 64-bit, 20.04 64-bit.
  • FreeBSD - 11.x 64-bit, 12.x 64-bit.


To Install Directadmin on Almalinux:

Login as root to your server, download the installation script, and run it.

bash <(curl -Ss https://www.directadmin.com/setup.sh || wget -O - https://www.directadmin.com/setup.sh) auto


Main Features of AlmaLinux:

1. Stable, production-ready, RHEL-based

AlmaLinux is an enterprise-grade server Operating System and a stable Linux distribution with normal releases. AlmaLinux is able to run critical workloads. 

2. Easy to switch from CentOS

AlmaLinux will be a 1:1 binary compatible fork of RHEL, which implies that the applications and administrations will stay viable, so switching is simple from CentOS to AlmaLinux. 

3. Free Operating System, and supported by Cloudlinux

CloudLinux offers a support commitment with Patches and maintenance through 2029 for AlmaLinux with a great investment. They also deliver AlmaLinux free of limitations, fees, and charges.

Read More


Install and Configure SNMP on RHEL/CentOS/Fedora - How to do it ?

This article covers how to install and configure SNMP on RHEL. SNMP (Simple Network Management Protocol) is widely used for monitoring and central management purposes. 


To Install SNMPd Agent on Ubuntu Server:

1. Type the following commands as root, then click Enter:

$ sudo apt-get update
$ sudo apt-get install snmp snmp-mibs-downloader
$ sudo apt-get update
$ sudo apt-get install snmpd

2. You might also need to execute:

$ sudo download-mibs


SNMPd Configuration

The snmpd daemon must be configured to work with Atera. The configuration file is located at "/etc/snmp/snmpd.conf". 

Make sure you are editing the snmpd.conf file and not the snmp.conf file.

Read More


Create New Destinations for JetBackup

This article covers how to create New Destinations for JetBackup. Basically, clients choose to store at least one copy of backups locally and additional copies in at least one or more remote destinations. Remote destinations are usually slower than local destinations to backup and restore from due to bandwidth requirements. With this in consideration, many clients choose to store at least one copy of backups locally and additional copies in at least one or more remote destinations.

Whatever backup destination option(s) you choose, please make sure that your destination path is secure and has the appropriate privileges.


How To Secure Local Backup Storage ?

Prior to adding a destination to JetBackup, we advise securing the backup directory, so that only the allowed users can access that folder.

In order to do that, please connect to the destination via console/GUI, and make the directory in which you want to store your backups.

For example:

$ mkdir [-p] /mnt/backup_vol/jetbackup

Then we advise securing that destination so only one user can access it's content (except root):

$ useradd <jetbackup>
$ chown jetbackup:jetbackup /mnt/backup_vol/jetbackup
$ chmod 700 /mnt/backup_vol/jetbackup

Right now only two users that can access this directory are root and jetbackup.

Please search online, how to secure a backup folder for your particular file system (EXT, NTFS, FAT, etc..) on your system (Windows, Linux, macOS, BSD, etc..)

Read More


Enable Firewall On AlmaLinux - How to implement this ?

This article covers how to enable Firewall On AlmaLinux. Basically, we can allow certain ports through the firewall, which lets incoming connections reach our services.


To open the port for HTTP to the public zone, run the command:

# firewall-cmd --zone=public --add-service=http --permanent

To Allow DNS through firewall, run the command:

# firewall-cmd --zone=public --add-service=dns --permanent

Allow PostgreSQL through firewall, run the command:

# firewall-cmd --zone=public --add-service=postgresql --permanent

Allow telnet through firewall, run the command:

# firewall-cmd --zone=public --add-service=telnet --permanent

Read More


"403 forbidden" error in phppgadmin - Fix it Now ?

This article covers methods to tackle "403 forbidden" error messages in phpPgAdmin. Basically, the "Forbidden" error happens while accessing phpPgAdmin when permissions in the phpPgAdmin configuration file are not intact. 


To resolve 403 forbidden error, In the Apache configuration, simply replace:

<Directory /usr/share/phppgadmin>
    DirectoryIndex index.php
    Order deny,allow
    Allow from all
</Directory>

With:

<Directory /usr/share/phppgadmin>
   Require all granted
</Directory>

Read More


Add Windows Disk Usage Checks In Nagios

This article covers how to monitor additional drives on a Windows client. To install Nagios monitoring agent, NSClient++, on a target Microsoft Windows desktop or server for the purposes of monitoring that machine with Nagios XI. This allows organizations to monitor vital metrics and ensure that a specific Windows desktop machine or server is functioning properly.


To access CCM:

  • When hovering the Configure button in the top menu bar you can select Core Config Manager.
  • On the Configure tab you can select Core Config Manager from the left pane or from the main screen.

Read More


Migrate WordPress to Google Cloud - How to do it ?

This article covers how to Migrate WordPress to Google Cloud. If you have a WordPress website, and want to move it on google cloud platform, then WordPress migration  is the way of achieving it. You can move your WordPress manually or by using a free or paid WordPress plugin.


To migrate WordPress to google cloud you have to follow those basic steps below:

  • Compress (Zip) your WordPress files folders.
  • Create a copy of your MySQL database.
  • Upload WordPress .zip file and MySQL .sql file to google cloud server.
  • Point your DNS to google cloud.


To migrate WordPress to Google cloud  you have to export an exact copy of your database to google cloud. 

There are multiple ways to do that:

  • Export database using myPhpAdmin.
  • Export database using a free WordPress Plugin.
  • Export database using terminal (command line).

Read More


Reserve Google Cloud Static IP Address - How to do it ?

This article covers how to reserve static IP for our customers. In Compute Engine, each VM instance can have multiple network interfaces. Each interface can have both internal and external IP addresses. Forwarding rules can have external IP addresses for external load balancing or internal addresses for internal load balancing.


If a virtual machine (VM) instance requires a fixed external IP address that does not change, you can obtain a static external IP address for that instance by using one of the following options:

  • Reserve a new static external IP address and then assign the address to a new VM instance.
  • Promote an existing ephemeral external IP address to become a static external IP address.

Read More


Setup CloudFlare CDN for WordPress on Google Cloud

This article covers how to setup Cloudflare CDN for WordPress on Google Cloud. Google Cloud CDN (Content Delivery Network) uses Google's globally distributed edge caches to cache HTTP(S) Load Balanced content close to your website visitors or users. Basically, Google Cloud CDN leverages Google's globally distributed edge points of presence to accelerate content delivery for websites and applications served out of Google Compute Engine and Google Cloud Storage. Cloud CDN lowers network latency, offloads origins, and reduces serving costs.


How to Activate Google Cloud CDN on Google Cloud Platform ?

  • Login to Google Cloud platform (GCP).
  • Under Network services select Cloud CDN.
  • Click on Add origin.
  • Next, just select the load balancer from origin drop-down and click add.
  • At this point you will see the new CDN created.

Read More


"Login disallowed for security reasons" phppgadmin error – Fix it Now ?

This article covers how to resolve "Login disallowed for security reasons" phppgadmin error. Basically, the "Login disallowed for security reasons" error can happen when extra login security is enabled in the phpPgAdmin configuration file.


To fix this issue, You will need to edit the phppgadmin config file from following directory /etc/phppgadmin/config.inc.php.

Finally modify the line $conf['extra_login_security'] = true; to $conf['extra_login_security'] = false;

Read More


Monitor MongoDB with Nagios XI - How to perform this ?

This article covers  how to monitor a MongoDB server with Nagios XI using the MongoDB Server Configuration Wizard in order to monitor the health of your server. The

wizard supplies checks to monitor the following: number of queries per second, memory usage, the number of databases on the server, and percentage of free connections available.


To Connect to MongoDB with the appropriate privileges:

Connect to mongod or mongos with the privileges specified in the Prerequisites section.

The following procedure uses the myUserAdmin created in Enable Access Control:

mongo --port 27017 -u myUserAdmin -p 'abc123' --authenticationDatabase 'admin'

The myUserAdmin has privileges to create roles in the admin as well as other databases.


To Modify Access for an Existing User in MongoDB:

  • You must have the grantRole action on a database to grant a role on that database.
  • You must have the revokeRole action on a database to revoke a role on that database.
  • To view a role's information, you must be either explicitly granted the role or must have the viewRole action on the role's database.

Read More


FTP permission denied errors on Google Cloud - Fix it Now ?

This article covers methods to fix Permission denied errors.  Basically, with chmod 777, we should be able to avoid Permission denied errors when uploading files via FTP. 

In Linux OS system every file or folder belong to some user and groups. This type of system is there for better security. Unauthorized users and groups can not modify or ever read  a file or directory. Only the ROOT user have the privilege to access any file or folder in the systems,  other user cannot access root user’s files or folders. But root user can access any other users file or folders.


If you are seeing this error below,

Error /...  : open for write:permission denied
Error File transfer failed

It means that you don't have a proper permission to modify or upload that files.

To fix this issue, Upload and move files to desire location and change file or directory(folder) permission, you can easily fix you permission denied problem.

Read More


Export config database in Nagios - How to do it ?

This article covers how to export config database in Nagios. Basically, Manual exports are useful when debugging configuration problems, including failures of Nagios XI to apply new configuration changes.

Read More


Qualities of customer service agents – What to look out for ?

This article covers the Qualities of customer service agents. Customer Service Agents and Representatives (CSR) interact with customers and provide information about products or services as well as handling and resolving customer complaints. They communicate in a variety of ways – by telephone; by e-mail, fax, regular mail; or in person. Multi-channel support is providing different methods of communication for your customers to reach you. This can include (but is not limited to) email, phone, chat, social media, knowledge base, etc.

Read More


Monitor Website Defacement With Nagios XI - How to do it ?

This article covers how to Monitor Website Defacement With Nagios. Basically, Nagios XI can monitor for potential Website defacement using the Website Defacement monitoring wizard. 


Benefits of Website Defacement Detection:

  • Fast detection of security breaches.
  • Fast detection of outages and website hijacking.
  • Increased website and web application availability.
  • Capacity planning information for future web server and application upgrades.

Read More


Install Docker Swarm Cluster on Debian 10 -Step by Step Process ?

This article covers how to install Docker Swarm Cluster on Debian 10. Docker Swarm is a tool used to orchestrate docker hosts. We can create a high availability and a high performance Docker cluster with applications distributed among the hosts. Docker swam uses a manager host and worker nodes architecture. You can have one or several manager nodes in your docker swarm cluster. The manager nodes uses the native Docker API and share the database of the Docker Swarm cluster with the worker nodes. The manager hosts maintain the cluster state, schedule tasks and handle the HTTP API endpoints.

Read More


Enable Memcached Support In Nagios - How to do it ?

This article covers how to enable Memcached for our customers. You can setup one or more memcached servers (hosts) for use by Nagios XI.

Each memcached host must have its firewall configured to allow traffic on TCP port 11211 to allow Nagios

XI to contact the memcached server. 


To create the firewall rules, run the commands:

$ ufw allow proto tcp from any to any port 11211
$ ufw reload

Read More


Google Cloud SDK error "Unzip Failed: Error opening zip file" - Fix it Now ?

This article covers how to fix Google Cloud error, "Unzip Failed: Error opening zip file". Basically, the Google Cloud SDK setup wizard triggers the "Unzip Failed: Error opening zip file" error mainly due to firewall restrictions.

To fix this error, do the following:

  • close your proxy.
  • add a new env: CLOUDSDK_PYTHON=\your Python27 path\python.exe

Read More


.env file not showing in cPanel – Fix it Now ?

This article covers methods to resolve .env file not showing in cPanel. Basically, the '.env' file not showing in cPanel can happen when the "show hidden files" option is turned off in the File Manager. 


To Show .env hidden files in File Manager:

  • Log in to your cPanel.
  • Under Files click File Manager.
  • Slick Settings in the upper right corner.
  • Select your Document Root and check the box for Show hidden files and click Save.


To display .htaccess file:

  • Login to your cPanel.
  • Under the Files section, click on File Manager.
  • Locate your .htaccess file, you may have to show hidden files.

Read More


How FCR improves Customer Satisfaction

This article covers how to use First contact resolution to increase customer satisfaction. Basically, The role of First contact resolution or FCR is important in improving customer service satisfaction. First Call Resolution (FCR) is a term used in call and contact centres to measure the number of customer support queries successfully resolved first time.


Best Practices to increase your first call resolution rate in no time:

  • Create an informative knowledge base.
  • Require minimal customer effort.
  • Get clear on the issue.
  • Be precise and don't overwhelm.
  • Anticipate customer needs.
  • Empower your customers.
  • Answer all of their questions.
  • Provide your team with quality training.

Read More


NCPA For Passive Checks – Using Nagios Remote Data Processor

This article covers how to configure NCPA For Passive Checks.

This guide will help you to configure the Nagios Cross Platform Agent (NCPA) to send passive check results to Nagios XI or Nagios Core using Nagios Remote Data Processor (NRDP).


Check results received from external devices / applications is what defines a Passive check. It's the responsibility of the external devices / applications to send the check results through, all Nagios [XI / Core] does is wait for the results (as opposed to Active checks where Nagios [XI / Core] is responsible for performing the check on a schedule).

Passive checks reduce the load on your Nagios [XI / Core] server by reducing the number of active checks run. Passive checks are also useful for security-related and asynchronous events you wish to monitor. 

Read More


WMI Error: Login to remote object in Nagios - Fix it Now ?

This article covers how to fix the WMI error for our customers. 

Sometimes the standard permission levels defined in the Monitoring Windows Using WMI documentation do not expose all the monitoring capabilities of the WMI plugin. 

In these cases you can elevate permissions by adding the WMI user to one of the two local groups:

  • Performance Monitor Users
  • Administrators

Read More


Need at least 2 WMI samples% - Fix it Now ?

This article covers how to tackle the error, Need at least 2 WMI samples%. The reason for the message is that the WMI user account does not have sufficient permissions. This can be resolved by adding the user account to the Performance Log Users security group on the windows computer. 

  • This can be performed by opening the Computer Management console (located in Administrative tools). 
  • Expand System Tools > Local Users and Groups > Groups. 
  • Edit the Performance Log Users security group and add the user account (wmiagent) to this group.

Read More


Restrict su access to Privileged Accounts in Linux - Steps to do it ?

This article covers how to restrict the su access in Linux. 

Important things to note:

  • Create a Linux group call sysadmins.
  • Configure PAM to permit users from a group permission to use su.
  • Switching as any other user with su will fail.

Read More


WMI ERROR: Retrieve result data - Fix it Now ?

This article covers process to fix WMI ERROR for our Customers. Due to a memory leak in the WMI functions in Windows 2008 and Windows 7, the system resources may be exhausted in the Windows system, resulting in the error message found above.

It has been seen that systeminfo and wmic commands executed via the command prompt fails in case this issue is present, displaying error messages such as:

The paging file is too small for this operation to complete.

Looking at the process list in the Windows system, it can be determined that the WmiPrvSE.exe process has allocated unusually large amounts of memory.

Read More


Service Not Listed in WMI Wizard in Nagios - Fix it Now ?

This article covers methods to tackle Service Not Listed in WMI Wizard in Nagios. Basically, Service may not get listed in WMI Wizard in Nagios due to reasons like lower value of Truncate Output Length or insufficient permission of the user account. Windows Management Instrumentation (WMI) is a part of Windows operating systems and can provide management data and operational information about those system. WMI can be used to automate administrative tasks on remote Windows-based computers. Nagios Core and Nagios XI are capable of monitoring Windows machines via WMI. .


To Check the permissions of the files, use this command:

ls -ls /tmp/*.state

Here you can see that the root user/group is the owner of the file:

-rw-r--r-- 1 root root 91 Apr 24 16:10 /tmp/cwpss_checkcpu__1025143___.state

The simplest option is to delete the files with this command:

rm -rf /tmp/*.state

Read More


Permission denied WMI error in Nagios - Fix it Now ?

This article covers methods to fix Nagios error WMI Remote "Access Denied". Basically, Nagios supports WMI monitoring, which provides admins with a simple method of monitoring their Windows servers and workstations without having to install or configure agents. 


How to fix DCOM permission ?

  • Open Dcomcnfg.
  • Expand Component Service -> Computers -> My computer.
  • Go to the properties of My Computer.
  • Select the COM Security Tab.
  • Click on "Edit Limits" under Access Permissions, and ensure "Everyone" user group has "Local Access" and "Remote Access" permission.
  • Click on the "Edit Limit" for the launch and activation permissions, and ensure "Everyone" user group has "Local Activation" and "Local Launch" permission.
  • Highlight "DCOM Config" node, and right click "Windows Management and Instruments", and click Properties.
  • <Please add the steps to check Launch and Activation Permissions, Access Permissions, Configuration Permissions based on the default of Windows Server 2008>.


How to fix Permission for the user to the WMI namespace ?

  • Open WMImgmt.msc.
  • Go to the Properties of WMI Control.
  • Go to the Security Tab.
  • Select "Root" and open "Security".
  • Ensure "Authenticated Users" has "Execute Methods", "Provider Right" and "Enable Account" right; ensure Administrators has all permission.


How to Verify WMI Impersonation Rights?

  • Click Start, click Run, type gpedit.msc, and then click OK.
  • Under Local Computer Policy, expand Computer Configuration, and then expand Windows Settings.
  • Expand Security Settings, expand Local Policies, and then click User Rights Assignment.
  • Verify that the SERVICE account is specifically granted Impersonate a client after authentication rights. 

Read More


Create Private Network Bridge on Proxmox VE 6 with NAT

This article covers how to create a Private Network Bridge on Proxmox. 

To do this:

1. Enable paket forwarding in /etc/sysctl.conf on the Proxmox host

2. Edit /etc/network/interfaces on the ProxMox host, to get 10.10.10.0/24 for your containers, that route through eth0 of the ProxMox host

Code:
# network interface settings; autogenerated# Please do NOT modify this file directly, unless you know what
# you're doing.
#
# If you want to manage parts of the network configuration manually,
# please utilize the 'source' or 'source-directory' directives to do
# so.
# PVE will preserve these directives, but will NOT read its network
# configuration from sourced files, so do not attempt to move any of
# the PVE managed interfaces into external files!
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet static
address YOUR-PUBLIC-STATIC-IP/YOUR-PUBLIC-MASK
gateway YOUR-STATIC-GATEWAY
auto vmbr1
iface vmbr1 inet static
address 10.10.10.1
netmask 255.255.255.0
bridge_ports none
bridge_stp off
bridge_fd 0
post-up iptables -t nat -A POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE
post-down iptables -t nat -D POSTROUTING -s '10.10.10.0/24' -o eth0 -j MASQUERADE


3. Configure a container inside 10.10.10.0/24 - as an example using 10.10.10.2 .

Read More


Install NRDP From Source - On different Linux Distribution

This article covers how to install NRDP from the source. NRDP is a simple, PHP-based passive result collector for use with Nagios. It is designed to be a flexible data transport mechanism and processor, with a simple and powerful architecture that allows for it to be easily extended and customized to fit individual users' needs.

Read More


Let's Encrypt with Cloudflare - How to Configure ?

This article covers how to set up Let's Encrypt and Cloudflare Universal SSL for end-to-end encryption. Basically, Improper configuration settings while using Let's Encrypt, could cause connection errors.

Cloudflare will act as the CDN while Let's Encrypt performs the SSL (HTTPS) encryption (in lieu of Cloudflare's Universal SSL).


Let's Encrypt is great, but it's not really a comparison with Cloudflare, you can use them both. I use Lets Encrypt on my server with Cloudflare. What we suggest is that you should first get Lets Encrypt installed on your domain and make sure it works.



To add lets encrypt to Cloudflare:

1. Set up the domain.

2. Verify the Let's Encrypt certificate has been issued.

3. Sign up for Cloudflare.

4. Update nameservers and verify.

Read More


Install Nagios NCPA on Linux and Windows - Step by Step Process ?

This article covers how to Install Nagios NCPA on Linux and Windows. Basically, NCPA simplifies monitoring configurations and maintenance by allowing Nagios to monitor servers using the same agent regardless of platform. NCPA is intended to simplify and universalize agent-based monitoring

across different operating systems.


To monitor Windows Machines you will need to follow several steps and they are:

  • Install NSClient++ addon on the Windows Machine.
  • Configure Nagios Server for monitoring Windows Machine.
  • Add new host and service definitions for Windows machine monitoring.
  • Restart the Nagios Service.


Why do we need Nagios?

Here, are the important reasons to use Nagios monitoring tool: 

  • Detects all types of network or server issues. 
  • Helps you to find the root cause of the problem which allows you to get the permanent solution to the problem. 
  • Active monitoring of your entire infrastructure and business processes.

Read More


SQL Server Error 19471: Create failed for Availability Group Listener

This article covers methods to fix SQL Server Error 19471. Basically,  "SQL Server Error 19471" can happen while configuring Always On Availability Group again on the database server.


To fix SQL Server Error 19471:

  • Create a Client Access Point (CAP) for the AOAG listener in Failover Cluster Manager.
  • Bring CAP Online.
  • Repair the CAP, if it is not coming ONLINE.
  • Once CAP comes online, remove it from failover cluster manager.
  • Add listener to AOAG in SSMS.

Read More


CDPUserSvc has stopped working – Fix it Now ?

This article covers different methods to fix CDPUserSvc has stopped working error. Basically, The function of the service as its description suggests is to make the connection with Bluetooth devices easier.

You can fix CDPUserSvc has Stopped Working in Windows 10 by isolating the process too.


1. Type cmd Cortana text field and from the suggestion, put a right-click on Command Prompt.

From the options that pop-up, click "Run as administrator".

2. Run the following command:

sc config cdpusersvc type=own

With this command, Windows will isolate this module forcibly. We know that isolation of any process is a default activity for that service.

As a result, Microsoft will find another correct way to run CDPuserSvc service in another mode by default.

Read More


MySQLdump: Got error: 1044 when selecting the database - Fix it Now ?

This article covers methods to resolve MySQLdump: Got error: 1044 when selecting the database. 

When this error happens, you will get an error message such as this:

mysqldump: Got error: 1044: Access denied for user ‘root’@’localhost’ to database ‘information_schema’ when using LOCK TABLES


To fix this MySQLdump error: 

1. You can pass the –single-transaction option to mysqldump command:

$ mysqldump --single-transaction -u user -p DBNAME > backup.sql

2. Also, you can simply grant LOCK TABLES to your user:

$ mysql -u root -p

And type:

mysql> GRANT SELECT,LOCK TABLES ON DBNAME.* TO 'username'@'localhost';

Read More


WMI Monitoring With Nagios - How to do it ?

This article covers how to monitor Windows machines with Nagios XI using WMI.

Basically, to set up WMI monitoring with Nagios, we need to configure A WMI User Account On The Windows Machine and then set up the WMI permissions. Windows Management Instrumentation (WMI) is a technology that allows for agentless monitoring of Windows servers and workstations.


Benefits of WMI Monitoring With Nagios:

  • Increased server, services, and application availability.
  • Fast detection of server and operating system failures.
  • Fast detection of service and application failures.
  • Agentless monitoring.

Read More


Install WMI Client in Nagios XI Server for Windows monitoring

This article covers how to perform the installation of the WMI Client in Nagios. Nagios provides complete monitoring of Windows operating systems via WMI – including operating system metrics, service state, process state, file system usage, and more. 

Windows Management Instrumentation (WMI) is a technology that allows for agentless monitoring of Windows servers and workstations.

Agentless technologies like WMI and SNMP allow IT administrator to deploy monitoring solutions without having to install agent software on each monitored system.

Read More


Configure inbound checks with Nagios – How to do it ?

This article covers how to easily configure inbound checks using both these APIs. Basically, there are two APIs available to handle inbound check transfers in Nagios XI:

  • NRDP - This api works on port 80 (HTTP) or 443 (HTTPS).
  • NSCA - This api works on TCP port 5667.


This will guide Nagios Administrators that needs to configure inbound checks.

Read More


Configure outbound checks in Nagios - How to do it ?

This article covers how to effectively Configure outbound checks with Nagios. Outbound checks are used in federated and distributed monitoring environments, as well as environments where the monitoring server sends passive check results to external applications. 


What is a distributed monitoring in Nagios ?

This is a method of scaling Nagios Xi and Nagios Core to monitor a lot of devices / machines - sometimes across different networks. Large organizations often want distributed monitoring, as do MSPs. Nagios Fusion's central dashboard can be ideal for distributed monitoring solutions. Both Nagios XI and Nagios Core can be configured for distributed monitoring.


What is a server ?

This is a dedicated computer system that generally runs databases, websites, etc. Servers are not used by people on a regular basis (as compared to workstations), but are rather used to run batch jobs, applications, and services.


What is passive check in Nagios ?

This is a check that is performed by an external application, operating system, or device and is submitted to Nagios Core or Nagios XI for processing.

Some monitoring agents - including NSCA, NCPA, and NRDP can be used to send passive checks to Nagios.

An SNMP trap is also considered a passive check.

Read More


Install Python 3.9 on Debian 10 - Step by Step Process ?

This article covers Python installation on Debian Linux System. Basically, Python is a programming and scripting language developed under open source license, making it freely usable and distributable, even for commercial use. 

Python 3.9 is the latest major release of the Python language. It includes many new features such as new dict operators, new str functions, support for IANA time zone, and more.


After Python 3.9 installation on your Linux System, you can verify it easily by running the command:

python3.9 --version

The output should show the Python version installed.

Read More


Install Joomla in CloudPanel - Step by Step Process ?

This article covers how to Install Joomla in CloudPanel control Panel. Basically, Joomla  is a free and open-source content management system for publishing web content on websites.


Step by Step how to setup Joomla 3.9 with CloudPanel:

1. Login via SSH to the server e.g. with john-ssh and go to the users tmp directory:

$ cd ~/tmp

2. Download and extract the latest Joomla 3.9 version.

$ mkdir ~/tmp/joomla-3.9 && curl -sL https://downloads.joomla.org/cms/joomla3/3-9-25/Joomla_3-9-25-Stable-Full_Package.tar.gz | tar xfz - -C ~/tmp/joomla-3.9/

3. Move files to the htdocs directory of the domain:

$ cp -R joomla-3.9/* /home/cloudpanel/htdocs/www.domain.com/

4. Reset permissions.

$ cd /home/cloudpanel/htdocs/
$ clpctl system:permissions:reset www.domain.com 775

5. Clean up the tmp directory.

rm -rf ~/tmp/*

6. Open your domain in the browser and go through the installation wizard.

7. Done! Joomla 3.9 is now installed.

Read More


Install Proxmox VE 6 on Debian Buster (Debian 10) - Step by Step Process ?

This article covers the installation of Proxmox VE 6 server on Debian 10 (Buster) Linux system. Please note that you need a 64-bit processor with support for the Intel 64 or AMD64 CPU extensions.

Visit Proxmox Documentation website  for advanced configurations and to master Proxmox VE Administration.


To Access Proxmox VE web interface:

1. Connect to the Proxmox VE admin web interface on (https://youripaddress:8006).

2. Select "PAM Authentication" and authenticate with server's root user password.

3. And add your first network interface to it.

Read More


Dnsmasq DHCP Server in Proxmox – How to use for VMs IP ?

This article covers methods to install, configure and resolve matters relating to Dnsmasq DHCP Server in Proxmox. When creating the VM we just need to specify the MAC address for specific IP and than just use DHCP to get the assigned IP.


To Install the DHCP server, run the command:

$ apt install isc-dhcp-server

Read More


Exclude Files from Backups in cPanel - How to do it ?

This article covers how to set up both global and local exclude files. Basically, we would require to exclude certain files from backups in cPanel either for security purposes or to reduce the size of the backup file. 

When backing up large accounts, it can be desirable to skip certain large directories or exclude files for security reasons. Whatever the reason, cPanel offers two methods for excluding files from the standard backup process.


To exclude files or directories from your user backups, perform either of the following actions:

  • Exclude the files from all user's backups.
  • Exclude the files from an individual user's backups.


For one cPanel user

Users or administrators can modify the user-level exclude file. /home/username/cpbackup-exclude.conf excludes files from a specific user's home directory.

$ nano /home/username/cpbackup-exclude.conf

# add new entries here

example/
dir/example.php

Read More


Monitoring Linux Using NCPA

This article covers how to go about setting up monitoring in Linux using NCPA. You will learn how to configure NCPA to monitor Linux.

NCPA is a cross-platform monitoring agent for Nagios Core and Nagios XI that runs on Windows, Linux/Unix, and Mac OS/X machines. Its features include both active and passive checks, remote management, and a local monitoring interface.


In Nagios XI wizards can be used to to perform configuration of hosts and services through the Web UI. Wizards take the complicated matter of creating hosts and services, defining configuration parameters, assigning contacts, contact groups, hostgroups, servicegroups, etc, into a easy steps form in the Nagios XI UI. 

Wizards can also be easily added to Nagios XI through the Admin -> Manage Wizards menu to expand the capabilities of Nagios XI.

Read More


WHM Internal server error 500 - Fix it Now ?

This article covers different ways to troubleshoot and resolve WHM / cPanel Internal server error 500.

Basically, the "Internal server error 500" message happens while accessing WHM panel or cPanel and one of the cPanel process failing to load or still running in the background.


Other causes of 500 Internal Server Error in WHM?

  • Incorrect permissions settings, usually due to having a file as "world" writeable.
  • Incorrect permissions settings for use by another script (this is common with manual installs of forums or blogs).
  • Incorrect coding in the .htaccess file.

Read More


Managing Snapshots and Maintenance in Nagios Log Server

This article covers how to manage Snapshots and Maintenance in Nagios Log Server. Here, You will learn method to create and manage backups and Repositories and how to manage your Nagios Log Server Maintenance.

Read More


Import Config Files From Nagios Core into Nagios XI

This article covers method to Import Config Files From Nagios Core into Nagios XI.

Importing configuration files automates setting up your existing Hosts, Services, Hostgroups, Servicegroups, and Host/Service Templates in your Nagios XI installation.


To Import Configuration Files Into Nagios XI:

1. In CCM expand Tools and select Config File Management. 

2. Click the Write Configs button to create / update the config files on the Nagios XI server. 

3. You can see in the screenshot to the right that the host and service config files were created and the existing hostgroups and commands config files were updated.

Read More


Sending ESXi logs to Nagios log server - How to set it up ?

This article covers how to go about Sending ESXi logs to Nagios log server. 

To Send ESXi Logs To Nagios Log Server:

1. Login to Nagios Log Server and navigate to Configure > Global (All Instances) > Global Config. 

2. Click the + Add Input button and select Custom. 

3. A new block will appear at the bottom of the list of Inputs. 

4. Type a unique name for the input which will be Syslog (ESXi).

Read More


Nagios – Monitor hosts using SSH: How to use the plugin ?

This article covers how to monitor Nagios using SSH. 

In order to monitor Linux hosts using the Nagios check_by_ssh plugin, there are a few prerequisites that must be met:

  • Create a Nagios user for monitoring on the host to be monitored.
  • Configure passwordless SSH authentication as nagios user on host to monitor.
  • Install Nagios plugins on the host to monitor.


To Create a Nagios user:

Login to the host to monitor and create a user called nagios and set the login password.

useradd -m nagios
passwd nagios

Read More


Remove Instance From Nagios Log Server Cluster

This article covers method to remove an instance from a Nagios Log Server cluster. Removing an instance from a Nagios Log Server cluster is as simple as updating the cluster_hosts configuration file and restarting the Elasticsearch database service on each node.

You can easily isolate an instance from the cluster for testing purposes. The instance that you want to isolate simply has it's own IP address in the cluster_hosts configuration file and none of the other instances. This means you will have two clusters that exist with the same cluster ID but they do not talk to each other. You

don't need to physically isolate this instance from the other instances on your network, the configuration file dictates who participates in the cluster.


To An Instance From A Nagios Log Server Cluster:

  • Open the Nagios Log Server web interface and navigate to Admin > System > Instance Status. 
  • In the Instances table click the trashcan icon to delete the removed instance. 
  • This completes the steps required to remove an instance from a Nagios Log Server cluster.

Read More


Configure Windows Firewall Rule using Group Policy

This article covers methods to Configure Windows Firewall Rule using Group Policy. Most of the procedures in this guide instruct you to use Group Policy settings for Windows Firewall with Advanced Security.


To open a GPO to Windows Firewall with Advanced Security:

1. Open the Group Policy Management console.

2. In the navigation pane, expand Forest: YourForestName, expand Domains, expand YourDomainName, expand Group Policy Objects, right-click the GPO you want to modify, and then click Edit.

3. In the navigation pane of the Group Policy Management Editor, navigate to Computer Configuration > Policies > Windows Settings > Security Settings > Windows Firewall with Advanced Security > Windows Firewall with Advanced Security - LDAP://cn={GUID},cn=

Read More


Restart Linux Services With NCPA in Nagios - How to do it Now ?

This article covers how to go about Restarting Linux Services With NCPA. In the configuration section you'll find that you will need to restart the services each time configuration changes are made. You can also view the services in the windows services administration panel, but you can also do it easily from the command line. This is an example for CentOS.


NCPA is an advanced, cross-platform agent that can be installed on Windows / Linux / AIX / Mac OS X machines. Target Audience. This document is intended for use by both Nagios administrators and users who wish to use NCPA. Installing NCPA.


How do I know if Nagios is installed?

Easiest way to check the Nagios Core version is using the Nagios GUI.

# /usr/local/nagios/bin/nagios –help

Read More


Munin plugin fails to install due to missing dependencies - Fix it Now ?

This article covers methods to resolve Munin installation error.

A quick fix to this error is to run the following commands as root should allow the installation of Munin to complete:

yum-complete-transaction --cleanup-only
yum install pango cairo pixman
/scripts/check_cpanel_rpms --targets munin

Read More


Package conflict errors with ea-nginx on CloudLinux - Fix it Now ?

This article covers how to resolve Package conflict errors with ea-nginx on CloudLinux. Basically, Cloudlinux servers with ea-nginx, yum or cPanel updates tend to fall with this error. 


On Cloudlinux servers where already packages for ModSecurity2 are installed (ea-modsec-sdbm-util & ea-apache24-mod_security2), trying to install ea-nginx or run a yum update/cPanel update fails because as a part of ea-nginx dependencies, some of ModSecurity3 packages (ea-modsec30 & ea-modsec30-connector-nginx) will also be attempted to be installed, and that causes a conflict between the packages belonging to ModSecuirty2 and Modsecurity3, which in turn causes yum and UPCP to fail. 


To resolve systems that are currently experiencing this error, update EA packages to the beta branch:

$ yum update ea-* --enablerepo=cl-ea4-testing

 

To install ea-nginx on affected systems using the beta repository, install it with the following command:

$ yum install ea-nginx --enablerepo=cl-ea4-testing

Read More


PHPMyAdmin import database timeout - Fix it Now ?

This article covers methods to fix PHPMyAdmin import database timeout error. This error happens because of a huge file and the restoration process fails with timeout.


To resolve this error, 

1. Login to the server over SSH.

2. Create the file config.inc.php.

For Plesk Onyx and Plesk Obsidian below 18.0.30:

# cp -p /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/libraries/config.default.php /usr/local/psa/admin/htdocs/domains/databases/phpMyAdmin/config.inc.php

For Plesk Obsidian 18.0.30 and above:

# cp -p /usr/local/psa/phpMyAdmin/libraries/config.default.php /usr/local/psa/phpMyAdmin/config.inc.php

3. Increase the value of $cfg['ExecTimeLimit'] in config.inc.php created on step 2:

$cfg['ExecTimeLimit'] = 3600;

4. Increase the settings in /etc/sw-cp-server/config to avoid '504 Gateway Timeout' error:

fastcgi_read_timeout 3600;
fastcgi_send_timeout 3600;

5. Restart sw-cp-server:

$ service sw-cp-server restart

Read More


Error – Cannot find a valid baseurl for repo: base - Fix it Now ?

This article covers methods to resolve Error – Cannot find a valid baseurl for repo: base. 

To get rid of these error messages and make it possible to update OP5 Monitor you need to change your Centos Base repos in /etc/yum.repos.d/CentOS-Base.repo as follows:

#mirrorlist=http://mirrorlist.centos.org/?release=$releasever&arch=$basearch&repo=os&infra=$infra
baseurl=http://vault.centos.org/centos/$releasever/os/$basearch/

Comment out all mirrorlist lines, remove the comment from baseurl and change it to "vault.centos.org". 

This way yum will stop complaining and you will be able to use the OP5 repos.

Read More


Modify the Default SSH Port on any Linux Distribution - Step by Step Process ?

This article covers how to change the default SSH port on your Linux machine.

To change the default port the SSHD daemon is listening on.

We can edit the configuration file using a nano editor:

$ sudo nano /etc/ssh/sshd_config

Once you make a change to the SSHD daemon configuration file, you should restart the services to reload the new changes.

$ sudo service sshd restart

Read More


Docker error "bind: address already in use" - Fix it Now ?

This article covers the best method to resolve Docker error "bind: address already in use".

Sometimes, when trying to start your docker instance, it's possible to be stunted by another process using the same port. 

Also, this docker error can happen when for any reason your host reboots. 

In this instance, try restarting your apache server. 

Stopping apache2 service in the host can solve it:

$ sudo /etc/init.d/apache2 restart 

If nginx is running globally this could be the reason too. 

Run the command:

$ sudo nginx -s stop

Read More


Configure Windows Firewall Rules with PowerShell

This article covers method to Configure Windows Firewall Rules with PowerShell. The New-NetFirewallRule cmdlet creates an inbound or outbound firewall rule and adds the rule to the target computer.

Some parameters are used to specify the conditions that must be matched for the rule to apply, such as the LocalAddress and RemoteAddress parameters. Other parameters specify the way that the connection should be secured, like the Authentication and Encryption parameters. Rules that already exist can be managed with the Get-NetFirewallRule and Set-NetFirewallRule cmdlets.

Filter objects, such as NetFirewallAddressFilter or NetFirewallApplicationFilter, are created with each firewall rule. The filter objects and rules are always one-to-one and are managed automatically.


To enable all three network profiles. Domain, Public and Private, use this command:

Set-NetFirewallProfile -All -Enabled True

Or set the specific profile instead All:

Set-NetFirewallProfile -Profile Public -Enabled True

To disable the firewall for all three network location, use the command:

Set-NetFirewallProfile -All -Enabled False

Read More


Install Wazuh Server on Ubuntu 20.04 - Step by Step Process ?

This article covers how to go about to install Wazuh Server on Ubuntu 20.04. Wazuh is a free and open source solution for security monitoring.

It monitors hosts at an application and operating system levels and offers  threat detection, incident response, integrity monitoring, and compliance. 


To restart Kibana, Elasticsearch and Wazuh-manager with the below commands:

$ sudo systemctl restart kibana
$ sudo systemctl restart elasticsearch
$ sudo systemctl restart wazuh-manager

Read More


Configure filters in Nagios log server - Do it Now ?

This article covers method to customize Nagios Log Server Filters. Basically, to configure filters in Nagios log server, one needs to be familiar with the Filter Configuration options available within the log server.

Filters can be applied to messages before they are sent to Elasticsearch for indexing. They perform actions such as breaking apart messages into fields for easy searching, adding geo location information, resolving IP to DNS names and dropping messages you do not want indexed.

Read More


Adding Additional Instances To Nagios Log Server Cluster

This article covers method to add instances to Nagios Log Server Cluster. You will need to have an existing Nagios Log Server cluster before following the steps in this guide. An existing cluster is one or more instances of Nagios Log server.

Read More


Manage Clusters In Nagios Log Server - Fix it Now ?

This article covers how to manage and identify key information on your Nagios Log. Nagios Log Server is a clustered application, it consists of one or more instances of Nagios Log Server. An instance is an installation of Nagios Log Server, it participates in the cluster and acts as a location for the received log data to reside. The log data is spread across the instances using the Elasticsearch database, a special database used by Nagios Log Server.

Read More


cPanel reported error number 1 when it ended - Fix it Now ?

This article covers methods to resolve cPanel reported error number 1 when it ended. This error makes cPanel copy action on an account from another server to fail.

The error means that the destination server isn't able to login into the source server to fetch files .


To fix this error, do the following:

1) Recheck your username and password used along with the IP too.

2) Firewall, the source firewall is blocking your destination server IP. 

You would need to login into the WHM of the source server and goto "ConfigServer Security & Firewall".

Retry you transfer and it should be working.

Read More


Import Nagios Log Server Into Microsoft Hyper-V - How to Do it?

This article covers how to easily Import Nagios Log Server Into Microsoft Hyper-V. Basically, to Import Nagios Log Server Into Microsoft Hyper-V we need to follow a series of steps outlined in this guide. 

Read More


cPanel Error Iproute Conflicts With Kernel - Fix it Now ?

This article covers method to fix cPanel Error Iproute Conflicts With Kernel. Basically, this error happens when we have an outdated kernel on the server. 


Instead of deleting conflicting kernels, you can also add the iproute package to the excludes of yum in /etc/yum.conf file, then the iproute package won't be marked for the update.

It can be useful when you need to perform an update but can't reboot the server at the given moment. 

It can be excluded manually using a preferred text editor or using the following command:

$ sed -i 's/exclude=/exclude=iproute /' /etc/yum.conf

The change can be reverted using this command:

$ sed -i 's/exclude=iproute /exclude=/' /etc/yum.conf

Read More


Configure SSL / TLS in Nagios Log Server - How to do it ?

This article covers how to configure SSL/TLS in Nagios Log Server. SSL/TLS provides security between the end user's web browser and Nagios Log

Server by encrypting the traffic. This guide is intended for use by Nagios Log Server Administrators who require encrypted connections to their Nagios Log Server.

Read More


cPanel error networkmanager is installed and running

This article covers how to resolve the error, NetworkManager is installed and running. Basically, this error happens if cPanel does not support NetworkManager-enabled systems.


To fix this error, simply run the commands below and then restart the installation of cPANEL:

$ systemctl stop NetworkManager.service
$ systemctl disable NetworkManager.service

Read More


Managing Instances In Nagios Log Server

This article covers Instances in Nagios Log Server and how we can manage them. 

Nagios Log Server is a clustered application, it consists of one or more instances of Nagios Log Server. An

instance is an installation of Nagios Log Server, it participates in the cluster and acts as a location for the

received log data to reside. The log data is spread across the instances using the Elasticsearch database, a

special database used by Nagios Log Server.

Read More


Install Wazuh Server on CentOS 7 - Step by Step Process ?

This article covers the installation procedure of Wazuh Server on CentOS Linux System. Basically, Wazuh is a free, open-source and enterprise-ready security monitoring solution for threat detection, integrity monitoring, incident response and compliance. 


You can use Wazuh for the following applications:

  • Security analysis
  • Log analysis
  • Vulnerability detection
  • Container security
  • Cloud security


To Install Java on CentOS 8.

1. Run the command below to install JDK:

$ sudo dnf install java-11-openjdk-devel

2. Confirm that you have it installed

$ java -version

Read More


Alerting On Log Events With Nagios Log Server

This article covers Alerting On Log Events With Nagios Log Server. Basically, for alerting on Log Events with Nagios Log Server one needs to be familiar with the options available.

With this guide, you will learn how to create various alerts in Nagios Log Server, such as sending

them to a Nagios XI or Nagios Core monitoring server using Nagios Remote Data Processor

(NRDP), sending an email, sending SNMP traps and executing scripts.

Read More


Analyzing Logs With Nagios Log Server

This article covers how to analyze  logs with Nagios Log Server.  Basically, in order to analyze logs with Nagios Log Server one needs to be familiar with the options in the Dashboards menu. This guide is very essential to Nagios Log Server administrators and users looking for information on querying, filtering and drilling down the data in Nagios Log Server.

You can audit your IT infrastructure, maintain historical records of usage of IT infrastructure, create reports, and analyze logs using the Nagios Log Server.

Read More


Access denied to VNC Server - How to fix this error ?

This article covers methods to fix the error, Access denied to VNC Server. Basically, this error occurs while trying to connect to a VNC server using a cloud connection. This message means that your RealVNC account has been signed out of VNC Viewer.

This will happen if you have recently changed the password for your RealVNC account, for example.


To resolve this VNC connection issue, click Sign in again and enter your RealVNC account credentials.

Once you see a green tick/check mark in the top right next to your name, try connecting to the VNC Server again.

Read More


SNMP Trap Hardening in Nagios - How it Works ?

This article covers how to go about SNMP Trap Hardening in Nagios.


When using the vi editor:

1. To make changes press i on the keyboard first to enter insert mode

2. Press Esc to exit insert mode

3. When you have finished, save the changes in vi by typing :wq and press Enter

 

How to Send Test Trap ?

When working through this documentation you may want to test the changes by sending a test trap. The following KB article provides examples on how to send a test trap, which can be very helpful:


How To Send A SNMP Test Trap ?

When a test trap is received on the Nagios XI server it should be logged in the /var/log/snmptt/snmpttunknown.log file.

The default SNMP Trap configuration is stored in the /etc/snmp/snmptrapd.conf file and contains just two lines:

disableAuthorization yes
traphandle default /usr/sbin/snmptthandler

Read More


NRPE Command Plugin Not Defined - How to fix it ?

This article covers methods to resolve 'NRPE Command Plugin Not Defined' for our customers.

This error is very straight forward. Usually this is caused by a mismatch between the command name declared in Nagios XI to be check through NRPE and the actual command name of the command directive in the remote host's nrpe.cfg file.

This problem will occur in versions of check_nrpe before v3. 

What is happening here is that the initial -c check_users is being overwritten by the -a -w 5 -c 10, as check_nrpe thinks the -c 10 argument is the command argument, not one of the -a arguments.

Read More


SNMP Trap v3 Configuration in Nagios - How to get it done ?

This article covers How to configure SNMP Trap v3 on the Nagios XI server.

The main difference between v2 and v3 traps is the authentication mechanisms. v2 is much simpler by design whereas v3 has multiple layers of authentication to strengthen it. Probably the biggest difference is that the SNMP Trap Daemon (snmptrapd) is configured by default to accept v2 traps from any device regardless of what SNMP community is provided. 

However snmptrapd cannot be configured to accept traps v3 from any device, it must be configured before it can receive an SNMP v3 trap.


The default SNMP Trap configuration is stored in the /etc/snmp/snmptrapd.conf file and contains just two lines:

disableAuthorization yes
traphandle default /usr/sbin/snmptthandler

 

The disableAuthorization directive allows SNMP v2 traps from any device to be sent to Nagios XI. 

Even if this line exists the Nagios XI server will not be able to receive SNMP v3 traps unless the server has been specifically configured for SNMP v3 traps.

Read More


Install PHP 8 on CentOS 7 / CentOS 8 - Step by Step Process ?

This article covers how to install PHP 8.0 on CentOS 8/7 and RHEL 8/7.

PHP is the most used scripting language for web development, both websites and web applications.

This guide will show you how to install PHP 8.0 on CentOS 8 | CentOS 7. 

Please note the GA release is fit for running in Production if the application already supports it.


To install any additional PHP package use command syntax:

$ sudo yum install php-xxx

To Check PHP version:

$ php --version

Read More


Install PHP 8 on Ubuntu 20.04 or 18.04 - Step by Step Process ?

This article covers steps to install PHP 8 on Ubuntu. PHP is arguably one of the most widely used server-side programming languages. It's the language of choice when developing dynamic and responsive websites. Basically, popular CM platforms such as WordPress, Drupal, and Magento are based on PHP.


To Install PHP as Apache Module

Run the commands:

$ sudo apt update
$ sudo apt install php8.0 libapache2-mod-php8.0

Once the packages are installed, restart Apache for the PHP module to get loaded:

$ sudo systemctl restart apache2


To Configure Apache with PHP-FPM

Php-FPM is a FastCGI process manager for PHP. 

1. Run the following command to install the necessary packages:

$ sudo apt update
$ sudo apt install php8.0-fpm libapache2-mod-fcgid

2. By default PHP-FPM is not enabled in Apache. 

To enable it, run:

$ sudo a2enmod proxy_fcgi setenvif
$ sudo a2enconf php8.0-fpm

3. To activate the changes, restart Apache:

$ systemctl restart apache2 


To install PHP 8.0 with Nginx

Nginx doesn't have built-in support for processing PHP files. We'll use PHP-FPM ("fastCGI process manager") to handle the PHP files.

Run the following commands to install PHP and PHP FPM packages:

$ sudo apt update
$ sudo apt install php8.0-fpm

Once the installation is completed, the FPM service will start automatically. 

To check the status of the service, run

$ systemctl status php8.0-fpm

Do not forget to restart the Nginx service so that the new configuration takes effect:

$ sudo systemctl restart nginx

Read More


Send test SNMP trap in Nagios - How does this work ?

This article covers how to send a trap to Nagios server to test SNMP Trap functionality.

Basically, when troubleshooting an SNMP Trap issue, it can be very helpful to remove the actual device that could be causing problems and use the snmptrap command instead.

So in this guide, you will learn all the methods of sending a trap to your Nagios server to test SNMP Trap functionality.


SNMP Trap Definition

The following trap definition can be placed in /etc/snmp/snmptt.conf which will allow the test traps sent above to be passed through to Nagios:

EVENT netSnmpExampleHeartbeatRate .1.3.6.1.4.1.8072.2.3.0.1 "netSnmpExampleHeartbeatRate" Normal
FORMAT SNMP netSnmpExampleHeartbeatRate
EXEC /usr/local/bin/snmptraphandling.py "$r" "SNMP Traps" "$s" "$@" "" "netSnmpExampleHeartbeatRate"


The default SNMP Trap configuration is stored in the /etc/snmp/snmptrapd.conf file and contains just two lines:

disableAuthorization yes
traphandle default /usr/sbin/snmptthandler

Read More


SMTP error no route to host - Fix it Now ?

This article covers methods to resolve SMTP error no route to host.

This error happens when the port is blocked at the hosting end or ISP.

In this guide we have outlined different methods to fix this SMTP error.

Read More


Install PHP 8 on Debian 10 / Debian 9 - Step by Step Process ?

This article covers how to install PHP 8 on any Linux distribution.


To install Apache with PHP 8 module:

$ sudo apt install apache2 libapache2-mod-php8.0 

After successful installation, restart Apache service to reload newly installed modules:

$ sudo systemctl restart apache2 


To check loaded PHP modules use the command:

$ php -m

Read More


PHPMailer SMTP error password command failed - Fix it Now ?

This article covers methods to resolve PHPMailer SMTP error password command failed. 


To fix this SMTP issue, you need to:

1) Login to your Gmail account using the web browser.

2) Click on this link to enable applications to access your account: https://accounts.google.com/b/0/DisplayUnlockCaptcha

3) Click on Continue button to complete the step.

4) Now try again to send the email from your PHP script. It should work.

Read More


Install Docker CE on AlmaLinux 8 - Step by Step Process ?

This article covers step by Step process to install Docker CE on AlmaLinux.

Docker is a tool that is used to run software in a container.

It's a great way for developers and users to worry less about compatibility with an operating system and dependencies because the contained software should run identically on any system.


To Install Docker on AlmaLinux:

1. We can add the Docker repository to our system with the following command.

$ sudo dnf config-manager --add-repo https://download.docker.com/linux/centos/docker-ce.repo

2. Before we begin installing Docker, we need to remove the podman and buildah packages from our system, as they conflict with Docker and will inhibit it from being installed.

$ sudo dnf remove podman buildah

3. Finally, we can install the three Docker packages we'll need by executing the following command.

$ sudo dnf install docker-ce docker-ce-cli containerd.io

4. Once installation is completed, start the Docker service and, optionally, enable it to run whenever the system is rebooted:

$ sudo systemctl start docker.service
$ sudo systemctl enable docker.service

5. You can verify that Docker is installed and gather some information about the current version by entering this command:

$ sudo docker version

Read More


DirectAdmin PhpMyAdmin error 500 - Fix it Now ?

This article covers methods to resolve DirectAdmin PhpMyAdmin error 500. This error happens as a result of a number of reasons that include PHP settings, modsecurity rules and so on.


To resolve this error, In the library is /usr/share/phpmyadmin/libraries/sql.lib.php,

You need to modify the file:

From && ($analyzed_sql_results['select_expr'][0] == '*')))

to && ($analyzed_sql_results['select_expr'][0] == '*'))

Read More


Drupal SMTP error "could not connect to smtp host" - Fix it Now ?

This article covers methods to resolve Drupal SMTP error "could not connect to smtp host".

Basically, this error happens as a result of improper Drupal SMTP settings such as wrong SMTP server name, wrong port settings, and so on. 


To resolve this SMTP error, follow the steps given below:

1. Login into myaccount.google.com.

2. Click on the link connected apps & sites.

3. Allow less secure apps" to "ON" (near the bottom of the page).


Also, you can try the following to fix this SMTP error,

1. System access configuration

Need to allow access for firewall or network to send mail for linux, windows and mac.

Following command set permission for linux.

i.  iptables -I OUTPUT -p tcp --dport 465 -j ACCEPT

ii.  iptables -I OUTPUT -p tcp --dport 587 -j ACCEPT


2.  SMTP Authentication Support

Set your gmail and google app information.

If you want to use Gmail as SMTP server,

SMTP server: smtp.gmail.com

SMTP port: 465

Use encrypted protocol: Use SSL 

SMTP Authentication

Username : youremail@gmail.com or ouremail@yourGoogleAppsDomainName.com(google app)

Password : yourpassword

Note : Remove leading and trailing space from "SMTP Authenitcation Username" if is there otherwise it's not authenticate your request to gmail.

Read More


Enable EPEL repository on AlmaLinux 8 - Step by Step Process ?

This article covers how to enable EPEL repository on AlmaLinux 8.

Extra Packages for Enterprise Linux (EPEL) is repository with a high quality set of additional packages for Enterprise Linux operating systems such as Red Hat Enterprise Linux (RHEL), CentOS and Scientific Linux (SL), Oracle Linux (OL), AlmaLinux and any other Linux distribution from the RHEL family.


Run the command below to install EPEL Repository on AlmaLinux OS 8:

# sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm

Accept installation using the y key.

Read More


Install WHM Cpanel on AlmaLinux 8 Server - Step by Step Process ?

This article covers the complete steps to install WHM Cpanel on AlmaLinux 8 Server.

To manage Linux servers for hosting purposes most of the services are using WHM's Cpanel.

Although there are many hosting manager software, because of its easy-to-use interface and features, it is one of the best control panels for Web hosting services. 


cPanel, Control Panel, is a control panel developed in 1997 that offers us high-quality web hosting with excellent features that, thanks to WHM (Web Host Manager), can be managed from a graphics console, with everyone doing their job.

Read More


iisnode encountered an error when processing the request - Fix it Now ?

This article covers methods to resolve "iisnode encountered an error when processing the request" error.

Basically, this iisnode error triggers when the application pool doesn't have enough permissions to write to the current folder. 

Therefore, you need to Allow, 'Full Control', for user 'IIS_IUSRS', from 'Advanced Security' upon right clicking your application root directory.


This error simply denotes that Your application pool doesn't seem to have enough permissions to write to the current folder.

1. You can either edit the permissions to give the IIS_IUSRS group write permissions to that folder

2. Go into the advanced settings menu and under Process Model -> Identity change the user account to a user that already has write permissions.

Read More


Install CloudPanel Control Panel on Debian 10 - Step by Step Process ?

This article covers how to Install CloudPanel Control Panel on Debian 10. With Cloud panel, you can manage MySQL, NGINX, PHP-FPM, Redis, Domain, FTP, User management, and many more from the web-based interface. 

It supports all major cloud providers including, AWS, Google, Digital Ocean, and specially designed for high performance with minimal resource usage.

It also offers a CLI tool that helps you to perform several operations including, database backup, password reset, permissions, and more.


To Install CloudPanel on Debian Linux:

1. You can download it with the following command:

# curl -sSL https://installer.cloudpanel.io/ce/v1/install.sh -o cloudpanel_installer.sh

2. Once the script is downloaded, set proper permission to the downloaded script with the following command:

# chmod +x cloudpanel_installer.sh

3. Next, run the script using the following command:

$ ./cloudpanel_installer.sh


Main Features of CloudPanel as listed in the official project website are:

1. It is open source and free to use

2. It provides a powerful intuitive interface for management

3. It is secure – provision of free SSL/TLS certificates

4. Designed for high Performance with minimal resource usage

5. It supports all major clouds – AWS, Digital Ocean, GCP, e.t.c

6. CloudPanel is available in more than ten languages, making it easy to install in any region

Read More


Graphs not recording for ICMP and ping checks - Fix it Now ?

This article covers method to fix Nagios error, Graphs not recording for ICMP and ping checks.

This problem happens after upgrading to Nagios XI 2014.


Solution to Nagios XI ICMP and Ping Checks Stopped Graphing:

1. First a Perl package needs to be installed using one of the commands below:

$ apt-get install -y librrd-simple-perl

2. Download and unzip the required files:

cd /tmp
wget https://assets.nagios.com/downloads/nagiosxi/scripts/rrd_ds_fix.zip
unzip rrd_ds_fix.zip

3. To run the script with RRD backups:

./fix_ds_quantity.sh -d /usr/local/nagios/share/perfdata/

Read More


Install Ajenti Control Panel on Ubuntu 20.04 - Step by Step Process ?

This article covers step by step procedure to install Ajenti Control Panel on Ubuntu 20.04 for our customers.

Ajenti is a free to use and open source Server management and configuration Panel written in Python, JavaScript, and AngularJS. It provides a web dashboard for administration as opposed to command line management.

With this tool you can manage websites, DNS, Cron, Firewall, Files, Logs, Mail hosting services and so on.


The Ajenti Project consists of Ajenti Core and set of stock plugins forming the Ajenti Panel.

1. Ajenti Core: Web interface development framework which includes a web server, IoC container, a simplistic web framework and set of core components aiding in client-server communications.

2. Ajenti Panel: Consists of plugins developed for the Ajenti Core and a startup script, together providing a server administration panel experience.


To Install Ajenti Control Panel on Ubuntu 20.04:

1. Update and upgrade your Ubuntu machine.

$ sudo apt update
$ sudo apt dist-upgrade

2. If the upgrade is completed reboot the system before initiating installation of Ajenti on Ubuntu 20.04.

$ sudo systemctl reboot

3. There is a script provided for the installation of Ajenti control panel on Ubuntu 20.04. First download the script with curl.

$ curl -O https://raw.githubusercontent.com/ajenti/ajenti/master/scripts/install.sh

4. Run the installer script with sudo command.

$ sudo bash ./install.sh

Read More


PrestaShop back office error 500 or blank page - Fix it Now ?

This article covers methods to resolve PrestaShop back office error 500.

The error happens when the Back-office is accessed only from Debug mode activated or in production mode activated. The characteristic of this error is that it only occurs in one of the modes and not in both.

Also, this is an error that is occurring ONLY IN PRESTASHOP STORES VERSION 1.7, and that makes it impossible for us to enter the Back-office, showing an error 500 or the page goes blank. 

That's why we call it a critical mistake, for leaving the store inoperative.


To fix a HTTP 500 error on PrestaShop online store website:

You can activate your web host's FTP or CPanel error reports in your PrestaShop shop.

1.  From PrestaShop v1.4 to v1.5.2

i. Open config/config.inc.php

ii. On line 29, you will find this line: @ini_set('display_errors','off');

iii. Replace it with: @ini_set('display_errors','on');


2. PrestaShop v1.5.3 and later versions (including 1.6 and 1.7)

i. Open config/defines.inc.php

ii. On line 28, you will find this line: define('_PS_MODE_DEV_', false);

iii. Replace it with: define('_PS_MODE_DEV_', true);

Once error reports from the FTP or CPanel are activated, you can browse your store's front or back office to find out what the problem is.


More about Server error 500:

Error 500 means Internal server Error. Whenever a 500 error occurs, the task to return information by the server to the web browser will stop. 

Therefore, as we mentioned above, this is a critical error that would leave the website inoperative.

The 500 errors, as we noted above, are internal server errors and their origin may be in a programming code error on any item that is included and related to the request for information returned by the server to the web browser. 

Therefore, not all 500 errors come from the same source.

Read More


WordPress error "Your Connection Is Not Private" - Fix it Now ?

As a result of the SSL connection, sensitive information is protected from being stolen while being transferred between the server and the browser, which is one step in hardening your WordPress security

"Your Connection Is Not Private Error" message means that Google Chrome is preventing you from visiting your site because it is untrusted.

Ultimately, the chrome browser prevents you from gaining access to your website because the SSL certificates cannot be validated.

Typically, the "connection is not private" error in google chrome originates from issues from the side of the client, or from problems with the site's certificate.


To Fix Your Connection Is Not Private WordPress Error:

1. Reload the page

2. Check your network connection

3. Set time and date on your computer

4. Try browser's incognito mode

5. Clear your Browser Cookies, Cache, and History 

6. Disable Antivirus Temporarily

7. Update your Operating System

8. Restart your Computer

Rebooting your device will help clear out the temporary cache. 

This could surely very well fix your issue.

Read More


Prestashop parse error – How to fix the syntax error ?

This article covers ways to resolve Prestashop parse error.

Basically, Prestashop parse error happens when we install Prestashop 1.7 or above or accessing the admin panel of the store.


To fix this error:

1. You can start with emptying your cache by deleting the /var/cache directory.

If that doesn't work copy lines 28-30 from another shop and save it.

2. Also you can try to remove the following:

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
  AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

From end of .htaccess. 

Just to be sure if that is not source of issues.

Read More


Cloudflare 502 error - Fix it Now ?

This article covers methods to resolve Cloudflare 502 error. Basically, the Cloudflare 502 error triggers when the origin web server responds with a standard HTTP 502 bad gateway or 504 gateway timeout error. 

This happens due to firewall restrictions and server resource issues.


Cause of 502 Bad Gateway Errors:

1. Domain name not resolvable

The domain name is not pointing to the correct IP or it does not point to any IP this problem may happen. Also, DNS propagation could take some time to make changes in DNS setting. It may take 24 to 48 hours to make reflect which is dependent upon the TTL defined per record on the DNS.

2. server down

The origin server is not reachable, this may due to the server is down for some reason or there is no communication to the server given.

3. Firewall blocks

A firewall interrupts the communication between the edge servers and the origin server. This may be caused by security plugins of your CMS.

As a part of DDOS protection and mitigation process or due to some strict firewall rules servers can be blocked from accessing the original server.

Read More


Nginx upstream timed out error - Fix it Now ?

This article covers methods to resolve Nginx upstream timed out error. Basically, this error happens as a result of server resource usage and software timeouts.

A possible issue here could be that PHP is using too much RAM and the PHP FPM process gets killed. 


Therefore, do the following to fix this nginx error:

1. Make sure that there is enough RAM on the server, to check that you could use the top, htop or free -m commands.

2. Make sure that the PHP memory limit is not too high compared to the actual available memory on the Droplet. 

For example if you have 1GB of RAM available your PHP memory limit should not be more than 64MB otherwise only a few processes could consume all of your memory.

3. Optimize your website by installing a good caching plugin, that way you would reduce the overall resource usage on the server.

4. Delete any plugins that are not being used. Generally speaking, it is always recommended to try and keep the number of your plugins as low as possible.

5. Consider using a CDN like Cloudflare, that way it would offload some of the heavy liftings from your Droplet. 

Read More


Nagios error Unable To Login Using Two Factor Authentication

This article covers how to resolve Two Factor Authentication error in Nagios. 


To Reset nagiosadmin account Password:

1. Open an SSH or direct console session to your Nagios XI host and execute the following command:

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=newpassword

Note: If you would like to use special characters in your password, you should escape them with "\".

For example, if you want to set your new password to be "$new password#", then you can run:

/usr/local/nagiosxi/scripts/reset_nagiosadmin_password.php --password=\$new\ password\#

Read More


WordPress error "Sorry this file type is not permitted for security reasons" - Fix it Now ?

This article covers methods to resolve WordPress error "Sorry this file type is not permitted for security reasons". Basically, "Sorry this file type is not permitted for security reasons" in WordPress occurs when we try to upload a document to the WordPress library.

As we explained above, WordPress default configuration limits the types of files that you can upload to your site for security reasons.


To Fix "Sorry, This File Type Is Not Permitted for Security Reasons" Error in WordPress, Try to Use the Free WP Extra File Types Plugin:

1. If you'd prefer not to edit your wp-config.php file and/or you want more control over exactly which file types can be uploaded to your site, you can use the free WP Extra File Types plugin at WordPress.org

2. Once you install and activate the plugin, go to Settings → Extra File Types in your WordPress dashboard.

3. There, you'll see a lengthy list of file types. Check the box next to the file type(s) that you want to be able to upload and then click Save Changes at the bottom.

4. If you don't see the file type that you'd like to upload on the list, you can also add your own custom file types at the bottom of the plugin's settings list.

Read More


SNMP MIB Upload Problems in Nagios – Fix it Now ?

This article covers Nagios SNMP MIB Upload Problems.

This issue happens while uploading SNMP MIB files and it could be as a result of insufficient permissions on the SNMP MIB files.


Execute the following commands to reset the permissions and ownership on the Nagios SNMP MIB files:

# chmod -R ug+rw /usr/share/snmp/mibs
# chown -R root:nagios /usr/share/snmp/mibs

After executing those commands you should be able to upload the MIB file that previously did not work.

Read More


SNMPTT Service generates Cannot find module errors in Nagios

This article covers methods to fix "Cannot find module" errors in Nagios.

Basically, SNMPTT Service generates "Cannot find module" errors in Nagios when a MIB file contains spaces in the filename. 

The MIB files are located in the /usr/share/snmp/mibs/ folder.

This was identified as an issue and resolved in Nagios XI 5.4.0. As of version 5.4.0, when you upload MIBs via the Manage MIBs page the filename will have any spaces replaced with an underscore.

Read More


Reset Upgrade Status In Nagios Web Interface - How to Perform it ?

This article covers how to Reset Upgrade Status In Nagios Web Interface.

When upgrading Nagios XI using the web interface the upgrade progress may stall with the message "Upgrade in progress". 

Sometimes you will need to clear this message manually due to unforeseen circumstances, this guide explains how to clear the message.


To Reset Upgrade Status in Nagios:

The following command will reset the upgrade status on Nagios XI (using the default username and password listed above):

For MySQL/MariaDB:

mysql -u'nagiosxi' -p'n@gweb' nagiosxi -e "update xi_commands set status_code = '2' where command = '1120';"

Read More


Host Still Visible After Deletion in Nagios - How to resolve ?

This article covers steps to resolve Host Still Visible After Deletion (Ghost Hosts). Basically, by following this guide, you can easily resolve the error, Host Still Visible After Deletion in Nagios.

It is possible that you have multiple instances of nagios running or you have so called "ghost" hosts or services.

In order to check for multiple instances of nagios, run the following command from the command line:

$ ps -ef | head -1 && ps -ef | grep bin/nagios

Read More


Problems Using Nagios With Proxies - Fix it Now ?

This article covers how to resolve Problems Using Nagios With Proxies which arises if we do not configure proxies correctly while using Nagios.

Note that the Nagios XI code makes several internal HTTP calls to the local Nagios XI server to import configuration data, apply configuration changes, process AJAX requests, etc. 

These functions may not work properly when you deploy a proxy if it is not configured properly, which could result in a non-functional Nagios XI installation.

Read More


Migrate Performance Data in Nagios - Step by Step Process ?

This article covers how to perform Migrate Performance Data in Nagios.

Basically, to migrate, we have to convert the data to XML and import it into RRD’s on the new machine.

Historical performance data that is used to generate graphs are stored in Round Robin Database (RRD) files.

RRD performance data files are compiled binaries, so for a simple file transfer a user would have to have the architecture match on both machines.

Read More


Nagios mysql_error out of range value for column - Fix it now ?

This article covers Nagios error, mysql_error out of range value for column which is evident in the /var/log/messages file on the Nagios XI server.

To resolve this issue you will need to define the SQL Mode in the MySQL / MariaDB my.cnf configuration file:

1. Locate the [mysqld] section and check to see if there is an sql_mode already defined:

[mysqld]
# Recommended in standard MySQL setup
sql_mode=NO_ENGINE_SUBSTITUTION,STRICT_TRANS_TABLES

2. If the sql_mode= line already exists you will need to replace it with the following. 

If the line does not exist you will need to add the following line:

[mysqld]
sql_mode=""

Read More


Prestashop error "an error occurred while sending the message" - Fix it Now ?

This article covers methods to fix Prestashop error "an error occurred while sending the message".

This error happens when the theme that we use does not adapt to the latest version of Prestashop.

To resolve this error, you can try modifying the contact form file.

Add this before the submit button :

<style>
input[name=url] {
display: none !important;
}
</style>
<input type="text" name="url" value=""/>
<input type="hidden" name="token" value="{$token}" />

Read More


Can't connect to mysql error 111 - Fix this error now ?

This article covers methods to fix mysql error, 'Can't connect to mysql error 111' on Linux machine for our customers.
This can happen when there was a host IP change. 

This issue can prevent connection to the database.
As it turned out if you do come accross this look in /etc/my.cnf, there is a line:

bind-address = ip.add.ress

This may be the old address for the server and this will stop connections, change this to your new address and restart MySQL/MariaDB and you should be good again.

Read More


Plesk Webmail Server Not Found - Fix it Now ?

This article covers methods to resolve the Plesk error "Webmail Server Not Found" which can happen while opening webmail/domain in a browser or when we issue Let's Encrypt on the domain. The main reason for this error is that the Webmail / domain does not resolve correctly in global DNS system because Plesk server is not set up to manage DNS.

To use DNS with a Plesk server:
1. DNS Server should be installed in Plesk Installer.
2. Log into Plesk and find your Name Servers in Plesk > Domains > example.com > DNS Settings, take the "value" for the record type "NS".
3. Then, it is required to change Name Server for your domain at your domain registrar's account.

Read More


503 bad sequence of commands - Fix it now ?

This article covers methods to fix the email error, "503 bad sequence of commands" which happens as a result of a number of reasons.

To resolve SMTP response: 503 Bad sequence of commands, consider the following and also read the complete guide here.
The IP that should be 10.0.0.0 - whatever that is, look at that box, this is where the problem is likely to be.
Your internal domain is domain.com or domain.net etc.
You may also add a test email account and check if it works as expected. If this works, then this could be an issue with the email account or with the service provider.

Read More


Shrink VMDK Virtual Disk Size on VMWare ESXi - Do it Now ?

This article covers how to shrink VMDK Virtual Disk Size on VMWare ESXi.
By default, VMware creates "growable" disks that grow larger in size as you add data.

Unfortunately, they don't automatically shrink when you remove data.
You'll need to clean up or compact your disks to actually free up space on your hard drive.

VMware Workstation also allows you to create snapshots, which contain a complete "snapshot" of a virtual machine's state at the point in time you created them.
These can take a lot of space if the virtual machine has changed significantly since then.
You can free up additional space by deleting snapshots you no longer need.

1. To view the snapshots for a virtual machine, select the virtual machine in VMware Workstation and click VM > Snapshot > Snapshot Manager.
2. To delete a snapshot you no longer need, right-click it in the Snapshot Manager window and select "Delete". It will be removed from your computer.
3. You won't be able to restore your virtual machine to that previous point in time after deleting the snapshot, of course.

Before we try to shrink the virtual disk files, we should try to remove any unneeded files from the virtual machine to free space.

For example, on Debian-based VMs, you can run:

$ apt-get clean

To clear out the local repository of retrieved package files.
Next, run the command below to fill the unused space with zeros:

cat /dev/zero > zero.fill;sync;sleep 1;sync;rm -f zero.fill


Free Disk Space In VMware Workstation

In VMware Workstation, first power off the virtual machine you want to compact. You can't complete this process if it's powered on or suspended.
1. Select the virtual machine you want to compact in the main window and click VM > Manage > Clean Up Disks.
2. The tool will analyze the selected virtual machine's disk and show you how much space you can reclaim.
To reclaim the space, click "Clean up now".
If no space can be freed, you'll see a "Cleanup is not necessary" message here instead.

Read More


PiP is not recognized as an internal or external command - Fix it Now ?

This article covers different methods to resolve PiP is not recognized as an internal or external command.

Basically, the error, "PiP is not recognized as an internal or external command" happens when we try to install Python packages via a Command Prompt window.
PiP is a recursive acronym for "Pip Installs Packages".

It's essentially a package management system used to install and manage software packages written in Python. Most users make use of PiP to install and manage Python packages found in the Python Package Index.

To add PIP to the PATH environment variable using the Windows GUI:

1. Press Windows key + R to open up a Run dialog box. Then, type "sysdm.cpl" and press Enter to open up the System Properties screen.
2. Inside the System Properties screen, go to the Advanced tab, then click on Environment Variables.
3. In the Environment Variables screen, go to System variables and click on Path to select it. Then with the Path selected, click the Edit… button.
4. In the Edit environment variable screen, click on New and add the path where the PiP installation is located. For Python 3.4, the default location is C:\Python34\Scripts.
5. Once the path is added, open a fresh CMD window and try to install a python package that comes with PiP.

You should no longer see the "pip is not recognized as an internal or external command" error.

Read More


Undefined index notice in Joomla - Fix it now ?

This article covers how to resolve Undefined index notice in Joomla. A notice, in PHP terms (PHP is the scripting language that powers Joomla), is more or less a complaint. For example, if you're using a deprecated function such as ereg_replace (by the way, we have had quite a few sites with the ereg_replace() is deprecated notice that we needed to fix) then PHP will complain with a notice.
A notice may also be displayed if you're trying to use questionable casting that PHP thinks will not return the result that you want (for example, if you try to forcefully cast an array into a string).

To fix this Joomla warning:

Change PHP's error reporting in the .htaccess file to hide all errors.
You can do that by adding the following code to your .htaccess file:

php_flag display_startup_errors on
php_flag display_errors on
php_flag html_errors on

The above code will ensure that no error whatsoever will be displayed on your website.

Note that if you have an Error Reporting setting in your configuration settings other than "Default", then this setting will override the error reporting defined in your .htaccess.
For example, if your Error Reporting is set to "Maximum", then the above code in your .htaccess file has no effect.


Read More


Drupal 406 error - Fix it Now ?

This article covers methods to resolve Drupal 406 error.

There are many errors that you may see as you visit different websites across the web.

One of the more common ones is the 406 – Not Acceptable error.

Cause for Drupal 406 error:

In regards to a site on your hosting account, the cause of the 406 error is usually due to a mod_security rule on the server.
Mod_security is a security module in the Apache web server that is enabled by default on all hosting accounts.
If a site, page, or function violates one of these rules, server may send the 406 Not Acceptable error.

To prevent Drupal 406 Not acceptable error:

Mod_security can be turned off. You can also disable specific ModSecurity rules or disable ModSecurity for each domain individually.
If you would like mod_security disabled you can disable mod_security via our Modsec manager plugin in cPanel.

Read More


Windows error "The volume does not contain a recognized file system" - Fix it Now ?

This article covers methods to fix 'The volume does not contain a recognized file system' the Windows error for our customers.

What Caused The Volume Does Not Contain the Recognized File System Error ?

Here are some of the reasons that can cause the error occurs on devices:
1. System re-installation
2. Presence of virus or malware
3. Unsafe system shut down.
4. Failure of file system conversion
5. Deletion of essential system files by mistake
6. Presence of bad sectors
7. Users misapplication
8. Virus/Trojan infection
9. Insufficient power supply

To fix this Windows error:

1. Proceed to Start and click on My Computer or This PC.
2. Select that drive that is not accessible and then choose Properties by right-clicking it.
3. From the Properties window, select the Tool tab and click on the Check button from the Error checking.
4. Select the Scan Drive option.
Once the scanning process is complete, please go back to This PC or My Computer to check whether the drive is fixed or not.

Read More


Unable to connect to VNC Server using your chosen security setting - How to fix it ?

This article covers method to resolve Unable to connect to VNC Server using your chosen security setting.
Basically, the unable to connect error could trigger due to incompatible encryption settings or due to the version of the VNC running in the remote server.

To fix this VNC error, simply apply the following:

1. On the remote computer, change the VNC Server Encryption parameter to something other than AlwaysOff.
2. Change the VNC Viewer Encryption parameter to Server, PreferOn or PreferOff.

Read More


Shopify error 429 too many requests - Fix it Now ?

This article covers Shopify error 429 too many requests. Basically, 429 too many requests can trigger due to increased number of API requests.
Calls to the REST Admin API are governed by request-based limits, which means you should consider the total number of API calls your app makes.

In addition, there are resource-based rate limits and throttles.

To avoid rate limit errors in Shopify:

Designing your app with best practices in mind is the best way to avoid throttling errors.
1. Optimize your code to only get the data that your app requires.
2. Use caching for data that your app uses often.
3. Regulate the rate of your requests for smoother distribution.
4. Include code that catches errors. If you ignore these errors and keep trying to make requests, then your app won’t be able to gracefully recover.
5. Use metadata about your app's API usage, included with all API responses, to manage your app’s behavior dynamically.
6. Your code should stop making additional API requests until enough time has passed to retry.

The recommended backoff time is 1 second.

Read More


VNC Server is not currently listening for cloud connections - Fix it Now ?

This article covers methods to fix VNC 'Timed out waiting for the response from the host computer' error for our customers.

If you see this message when trying to connect from VNC Viewer, please check the following:
1. Check that the remote computer is connected to the Internet. If it isn't, you won't be able to connect.
2. It may be that the remote computer is asleep. It is advisable to prevent a remote computer sleeping or hibernating while remote access is required:
Windows: In Control Panel > Power Options > Change when the computer sleeps, make sure Put the computer to sleep when plugged in is Never.
Mac: In System Preferences > Energy Saver, make sure Prevent computer from sleeping automatically when the display is off is selected.
3. If you have disabled cloud connections in VNC Server's Options dialog, under the Connections heading. Make sure this is checked.
4. You may have the wrong team selected in VNC Viewer. Please ensure you have selected the correct team for the computer to which you want to connect.
5. If you have purchased a subscription but did not subscribe from within your trial team, you will need to join your computer(s) to the new, paid-for team.

Read More


How to Manage Indices in Nagios Log Server - Do this now ?

This article covers how to manage indices in Nagios log server. An index in Nagios Log Server is how the Elasticsearch database stores log data. Nagios Log Server creates and index for every day of the year, this makes it easy to age out old data when no longer required.
Nagios Log Server is a clustered application, it consists of one or more instances of Nagios Log Server. An instance is an installation of Nagios Log Server, it participates in the cluster and acts as a location for the received log data to reside. The log data is spread across the instances using the Elasticsearch database, a special database used by Nagios Log Server.

Read More


Enable CDN in Prestashop and Resolve related issues - How to do it ?

This article covers how to enable CDN on PrestaShop for our customers.
You can Speed up your website with the PrestaShop CDN addon.
Faster loading leads immediately to happier users and higher conversions.
Making your pages load faster will also improve your SEO.
Google ranks faster websites higher, so you'll soon receive more visitors from search engines.

To How to Enable CDN for Prestashop:

1. Make sure Prestashop is installed and work normally.
2. Login to Prestashop admin panel (e.g. http://prestashop.testing.com.my/admin1234/)
3. Navigate to Advanced Parameters > Performance.
4. Scroll down the page to Media servers and fill in the CDN hostname.
5. Click Save at the top right corner to save the setting.

Read More


Error: Function lookup() did not find a value for the name DEFAULT_EXEC_TIMEOUT

This article covers how to fix this issue found while installing OpenStack with packstack.
In the case you installed packstack with epel repo enabled, you need to uninstall it and all the dependences, and re-install it after disabling epel, so all the proper versions of dependencies are installed correctly.
1. To begin, ensure that epel repo is disabled and try again.
2. Run the following commands:

# yum autoremove epel-release
# yum autoremove openstack-packstack
# yum clean all
# yum install -y openstack-packstack

Read More


VNC error 'Timed out waiting for the response from the host computer' - Fix it Now ?

This article covers methods to fix VNC 'Timed out waiting for the response from the host computer' error for our customers.


1. You can try adding a firewall rule:

$ sudo /sbin/iptables -I INPUT 1 -p TCP --dport 5901:5910 -j ACCEPT

2. Or directly modify the file /etc/sysconfig/iptables file and add a line:

-A INPUT -p tcp -m state --state NEW -m tcp --dport 5901:5910 -j ACCEPT

3. Restart the iptables service:

$ service iptables restart

4. If there is no iptables.service file, use yum to install it:

$ yum install iptables-services

5. Then Run the command,

$ sudo /sbin/iptables -I INPUT 1 -p TCP --dport 5901:5910 -j ACCEPT

The firewall does not need to be restarted, nor does it execute flush privileges, and then connect with the VNC client and find that the connection is up.

Read More


Empty Screen in Nagios XI for Wizard - Fix it Now ?

This article covers ways to fix 'Empty Screen in Nagios XI' for our customers. In some pages of XI you may come across empty screens, such as no configuration wizards appearing under the Configure menu.
When plugins, components or wizards are not installed through the proper menus, this creates problems in Nagios XI, such as "wiping out" all wizards, so they can not be viewed in the Web interface, blank pages in the Web browser and other weird behaviors.

To fix this Nagios error:

Remove the problematic component/wizard by running in terminal as a root:

$ rm -rf /usr/local/nagiosxi/html/includes/components/somedashlet
$ rm -rf /usr/local/nagiosxi/html/includes/components/somecomponent
$ rm -rf /usr/local/nagiosxi/html/includes/configwizards/somewizard

Read More


Improve phone support efficiency - Facts you need to know ?

This article covers some key points to improve phone support efficiency.
In the contact centre environment, becoming more efficient involves reviewing internal processes, eliminating unnecessary steps and duplicate handling, and often implementing new processes. 

The main aims are to reduce call handling times and improve first call resolution.

Methods to Boost Contact Centre Efficiency:
1. Migrate to a cloud hosted solution
Cloud hosted technology solutions don't rely on equipment infrastructure, and therefore scale from five agents to one thousand and back again without incurring any downtime.
2. Improve your self-service options
Customers want choice.  They want to be able to take care of routine and straightforward interactions themselves.
3. Implement automatic call distribution
Poor call traffic distribution results in customers being sent to the wrong department, which ties up personnel and delays them in getting on with helping the right people.
4. Improve your verification process
The average time to verify the identity of a user using Personal Verifiable Questions (PVQs) is 45-90 seconds.
5. Offer a call back service
A cost-effective way to improve team efficiency, and the customer experience, is to use call-backs to defer calls until a later time. 

There are two options for call backs.

i. Virtual queuing – whereby the customer's place in the queue is held and called when her turn arrives
ii. A timed call-back, where customers are offered a selection of time slots for their call-back. This option allows you to schedule the call back to take place during a "trough" period, and so keeps staff productive during quieter periods.

Read More


Activate python virtualenv in Dockerfile - How to perform it ?

This article covers how to Activate python virtualenv in Dockerfile.

Basically, to package Python application in a Docker image, we often use virtualenv. However, to use virtualenv, we need to activate it.
Therefore, there is no point in using virtualenv inside a Docker Container unless you are running multiple apps in the same container, if that's the case I'd say that you're doing something wrong and the solution would be to architect your app in a better way and split them up in multiple containers.

There are perfectly valid reasons for using a virtualenv within a container.
You don't necessarily need to activate the virtualenv to install software or use it.
Try invoking the executables directly from the virtualenv's bin directory instead:

FROM python:2.7
RUN virtualenv /ve
RUN /ve/bin/pip install somepackage
CMD ["/ve/bin/python", "yourcode.py"]


One solution is to explicitly use the path to the binaries in the virtualenv.

In this case we only have two repetitions, but in more complex situations you’ll need to do it over and over again.
Besides the lack of readability, repetition is a source of error.
As you add more calls to Python programs, it's easy to forget to add the magic /opt/venv/bin/ prefix.
It will (mostly) work though:
FROM python:3.8-slim-buster
RUN python3 -m venv /opt/venv
# Install dependencies:
COPY requirements.txt .
RUN /opt/venv/bin/pip install -r requirements.txt
# Run the application:
COPY myapp.py .
CMD ["/opt/venv/bin/python", "myapp.py"]
The only caveat is that if any Python process launches a sub-process, that sub-process will not run in the virtualenv.