List All Files Recursively in Linux

July 22, 2016 Jordansphere Linux

To list all files in a directory – including subdirectories then use this command: # find /data/jord01 -type f   If you want a count of all the files in a directory: # find /data/jord01 -type f | wc -l


count files, linux, list files,

Disable Firewalld in CentOS 7

July 18, 2016 Jordansphere Linux

Simple instructions on how to stop, disable and the check the status of firewall   1) Stop the firewalld service # systemctl stop firewalld   2) Disable the firewalld service from starting # systemctl disable firewalld   3) Check the status of the firewalld service # systemctl status firewalld  


centos, disable, firewalld, linux, stop,

Useful Exim Commands

March 10, 2016 Jordansphere Linux

Here are some useful CLI commands when dealing with mail queues on EXIM:   List amount of messages in the queue /usr/sbin/exim -bpc   List all messages in the queue /usr/sbin/exim -bp   Get a summary of the current mail queue /usr/sbin/exim -bp | exiqsumm Here is an example output Count  Volume  Oldest  Newest  Domain […]


centos, cpanel, exim, mail queue,

Install Unbound on FreeBSD 10

March 2, 2016 Jordansphere Linux

Below are instructions on how to install Unbound on FreeBSD Firstly install Unbound from the ports tree:   # cd /usr/ports # make search name=unbound Port:   unbound-1.5.7 Path:   /usr/ports/dns/unbound Info:   Validating, recursive, and caching DNS resolver Maint: B-deps: autoconf-2.69 autoconf-wrapper-20131203 automake-1.15_1 automake-wrapper-20131203 expat-2.1.0_3 indexinfo-0.2.4 ldns-1.6.17_5 libtool-2.4.6 m4-1.4.17_1,1 perl5-5.20.3_8 R-deps: expat-2.1.0_3 ldns-1.6.17_5 […]


freebsd, installation, unbound,

Postfix : Delete All Messages in Mail Queue

February 26, 2016 Jordansphere Linux

To delete all messages in a mail queue running Postfix  run the following command: # postsuper -d ALL deferred  


all, delete, mail queue, mailq, message,

Enable Quotas on CentOS 6

October 15, 2015 Jordansphere Linux

In this example I will be checking all user quotas on an LVM which is mounted as /data    1)  The first  step will be to check the fstab. As we see there are no mount options for quotas # cat /etc/fstab # /dev/mapper/centos-root / ext4 defaults 1 1 UUID=2fd24677-cf50-420b-a3dd-cea7c29aa185 /boot ext4 defaults 1 2 /dev/mapper/centos-swap […]


centos, lvm, quota, quotacheck, repquota,

Extending a VMware VMDK and LVM in CentOS 6

October 15, 2015 Jordansphere Linux

In this example I will be expanding a VMDK on virtual machine running on ESXi 5.5 from 100GB to 220GB. I will then increase the size of LVM in the Centos 6.7 guest to reflect this. Its always prudent to take a clone of the VM and/or ensure everything has been backed up before attempting to extend […]


6, esxi, expand extend centos, lvm, vmdk,

Cannot Create Regular File : No Space Left on Device

June 11, 2015 Jordansphere Linux

I started having an issue with FTP and users were unable to create new files in their FTP areas. The following error displayed in my Filezilla client when I tested: 553 Could not create file I examined vsftpd and all permissions on the server but they looked fine. I then tried to copy a file from one […]


ran out of inodes w3 total cache wordpress,

A fatal error has been detected by the Java Runtime Environment – Problematic Frame

April 30, 2015 Jordansphere Ahsay

I use Ahsay to do a  file level backup on a Linux (Centos 6.6) machine. The scheduled backups suddenly started being missed.   The following error appeared when I ran the backup manually.   # A fatal error has been detected by the Java Runtime Environment: # # SIGSEGV (0xb) at pc=0x0000003337e7f5bf, pid=2150, tid=140190110197504 # […]


Rsync to QNAP

February 14, 2015 Jordansphere Linux

I wanted to sync some files from OSX (10.9.4) to my QNAP (TS-210 (Firmwre 4.1.2) NAS 1. Enable Rsync by going to Download Station -> Backup Server -> Rsync server  ->  tick the Allow remote Rsync server to back up data to NAS and fill out a username and password.   2. Create a shared folder […]


« Previous Posts

Powered by WordPress. Designed by elogi.