Blog
- Home
- Blog
This article covers ways to fix "Docker: unrecognized service" error which may occur while trying to restart Docker service. in fact, it can happens when WSL cannot connect to the docker daemon running through Docker for Windows, probably because it is not exposed or is not running.
This article covers the different ways to tackle the Internal Error which happens when the svmstack-fpm service is running instead of svmstack-fpm7 on the Master node.
To fix this error:
1. Connect to SolusVM Master node via SSH.
2. Stop svmstack-fpm service and start svmstack-fpm7 service:
$ systemctl stop svmstack-fpm && systemctl start svmstack-fpm7
This article covers how to fix SolusVM 'Cannot change to source directory' error which happens when the FTP destination directory is wrong in AutoFTP backup settings. It can also be caused as a result of Permissions / ownership of /usr/local/solusvm/tmp/ directory on source and target servers are incorrect.
To fix SolusVM not accessible: No such file or directory error, Set correct ownership and permissions:
$ chown solusvm:solusvm /usr/local/solusvm/tmp/ && chmod 755 /usr/local/solusvm/tmp/
This article covers ways to resolve AWS AccessDeniedException – I Can't Assume a Role error which happens when you try to create an Auto Scaling group without the PassRole permission. In fact, To pass a role (and its permissions) to an AWS service, a user must have permissions to pass the role to the service. This helps administrators ensure that only approved users can configure a service with a role that grants permissions. To allow a user to pass a role to an AWS service, you must grant the PassRole permission to the user's IAM user, role, or group.
Cause of AWS AccessDeniedException – I Can't Assume a Role error:
There are two possible causes for this AccessDenied error: the user in your development account doesn't have permission to call sts:AssumeRole, or the trust relationship in the production account is not configured correctly.
To create a role for Amazon RDS enhanced monitoring:
This article covers the step you should follow to connect Amazon EC2 using putty.
How to Generate a PuTTY Private Key (.ppk) File ?
What is Amazon EC2 Instance?
1. Amazon EC2 instance is the varying combinations of CPU, memory, storage, and networking capacity that allow you to run your websites.
2. The best part of the Amazon EC2 instance is that it will allow you to scale your resources to the requirements of your target workload.
This article covers methods to resolve AWS EC2 docker permission denied error.
To give docker user enough permission, do the following:
You can try adding prod-user to group Docker:
$ sudo usermod -a -G docker $USER
usermod is a command that modifies the system configuration for a specific user.
-a is a shortcut for --append: It means append the group to the list of groups the user belongs to.
-G is a shortcut for --groups: It tells usermod that the next argument is a group.
docker is the group we want to add $USER to.
$USER is the user that we want to modify.
If this alone doesn't resolve the issue then try below :
$ chmod 664 /var/run/docker.sock ## First try this.
$ chmod 777 /var/run/docker.sock ## Then this. Not recommended though due to full permission.