configuration

Composer Manager: Composer’s install command must be run

1.0 Error

After updating the Drupal 7 version in a website, the following error was observed in the configuration of the Composer Manager module.

Composer Manager: Composer's install command must be run to generate the autoloader and install the required packages.
Read more

Dovecot: Fatal: Error in configuration file /etc/dovecot/dovecot.conf: protocols: Unknown protocol: sieve

1.0 Error:

While configuring the Dovecot Mail Delivery Agent, the Dovecot server would not start and the following error messages were printed.

$ sudo systemctl start dovecot
Job for dovecot.service failed because the control process exited with error code. See "systemctl status dovecot.service" and "journalctl -xe" for details.
Read more

Dovecot: imap Error: open (/var/mail/username) failed

Error

While configuring mail on a Ubuntu Linux server running the Postfix mail server and Dovecot IMAP server, the following errors were observed in the mail log files,

dovecot: imap(user1): Error: open(/var/mail/user1) failed: Permission denied (euid=1002(user1) egid=1002(user1) missing +w perm: /var/mail, we're not in group 8(mail), dir owned by 0:8 mode=0775)
dovecot: imap(user1): Error: Failed to autocreate mailbox INBOX: Internal error occurred.
Read more

Invalid Gradle JDK configuration found

1.0 Problem

After starting Android studio, running on Ubuntu 15.04 Linux, the following error was reported:

Invalid Gradle JDK configuration found. Open Gradle Settings. Platform SDK does not point to valid SDK (/usr/lib/jvm/jdk1.8.0_40).

2.0 Solution

The problem was solved by clicking in Android Studio, File -Project Structure -SDK Location.… Read more

Manage network

ip command in Linux

1.0 INTRODUCTION

The iproute2 package contains utilities for network and traffic control. The major commands in iproute2 package are the ip command for IPV4 and IPV6 configuration and tc for traffic control. These commands replace the older ifconfig and the route commands of the net-tools package.… Read more

Connecting two computers with Ethernet LAN cable

Quite often, we wish to connect two computers back to back using an Ethernet LAN cable. It may be because we wish to transfer files between the two computers or because one of these has the Internet access and we wish to have one more access point to the Net.… Read more

logrotate

Linux daemons write log files. Left to itself, these log files would grow with time and take up the disk space. It is necessary to purge the log files periodically so that the disk space is conserved and is available for smooth running of the system.… Read more

Nginx installation and configuration

The configuration is nginx HTTP server, PHP FastCGI Process Manager (PHP-FPM), and the Alternative PHP Cache (APC).

Installation

The first step is to download the nginx software from the Nginx website. If using the Ubuntu distribution, following are the steps,

(i) Download the nginx signing keys from the Nginx website,

$ wget http://nginx.org/keys/nginx_signing.key

(ii) Add this key to the apt keyring,

$ sudo apt-key add nginx_signing.key

(iii) Add the following lines at the end of the file, /etc/apt/sources.list

deb http://nginx.org/packages/ubuntu/ version-code nginx
deb-src http://nginx.org/packages/ubuntu/ version-code nginx

In the above two lines, replace version-code, with the value for the relevant Ubuntu version.… Read more