Auto restart newrelic-daemon if crashed

Auto restart newrelic-daemon if crashed

On a web server with Newrelic APM installed, graph stopped showing new data. On checking the newrelic log file, i

bash check if a folder is empty or not

bash check if a folder is empty or not

To check if a folder is empty of not, you can use if [ “$(ls -A /home/boby/1/ )” ] then

libvirt qemu unexpectedly closed the monitor Failed to create chardev

libvirt qemu unexpectedly closed the monitor Failed to create chardev

On CentOS 7 server, after installing KVM, i connected to server using Virt Manager. During VM creation, i get following

Install Linux KVM on CentOS 7

Install Linux KVM on CentOS 7

Install kvm with yum install -y qemu-kvm Install libvirt, this is used to manage KVM virtual machines. yum install -y

DSpace change xmlui color

DSpace Change Header Text

To change header text in DSpace xmlui interface Edit file vi /var/lib/tomcat8/webapps/xmlui/i18n/messages.xml Find DSpace Repository Replace text DSpace Home with

postgresql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

postgresql.service: The name org.freedesktop.PolicyKit1 was not provided by any .service files

When i restart postgresql, i get following error postgres@vmi465483:~$ systemctl restart postgresql.service Failed to restart postgresql.service: The name org.freedesktop.PolicyKit1 was

Enable SSL for a site in EasyEngine

Enable SSL for a site in EasyEngine

To enable LetsEncrypt SSL for a web site hosted in EasyEngine server, run ee site update SITE_NAME_HERE –ssl=le Example See

PHP script to test IMAP

PHP script to test IMAP

Here is a PHP Script to login to IMAP server.

Roundcube add generic message in footer

Roundcube add generic message in footer

Add message to footer of outgoing mails. Edit config/defaults.inc.php Add $config[‘generic_message_footer’] = ‘message_footer.txt’; $config[‘generic_message_footer_html’] = ‘message_footer.txt’; Now in root folder

Roundcube disable multiple identities

Roundcube disable multiple identities

Edit config/main.inc.php Find // Set identities access level: // 0 – many identities with possibility to edit all params //

Enable debug mode in Roundcube webmail

Enable debug mode in Roundcube webmail

To enable debug mode in roundcube webmail, edit file /config/main.inc.php Update the vairable $rcmail_config[‘imap_debug’] See Roundcube

Roundcube

Roundcube

Roundcube Webmail Logs in Cpanel Server Enable debug mode in Roundcube webmail Roundcube disable multiple identities Roundcube add generic message