Linux

Restart VCSA 6.5 Services via CLI Commands

September 25, 2017 Jordansphere Linux

First of all you will need to connect to the VSCA CLI by SSH. Then type shell on the command line: Command> shell To list all services and their state: # service-control –status –all Example output:   To start a service: # service-control –start –{service-name}   In this example I am starting the vpxd service […]

More

New Install of Squid Only Listening on IPv6

September 14, 2017 Jordansphere Linux

Problem: I installed Squid 3.5.20 on a fresh copy of CentOS 7 but the web proxy was not working when I pointed a browser to it.   Troubleshooting:  I could telnet locally to port 3128 but when I tried from another device on the network I was unable to connect, despite opening the port on […]

More

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

More

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  

More

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 […]

More

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:  jaap@NLnetLabs.nl 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 […]

More

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  

More

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 […]

More

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 […]

More

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

Cannot Create Regular File : No Space Left on Device

June 11, 2015 Jordansphere Linux

Problem I started having an issue with FTP where 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   Troubleshooting   I examined vsftpd and all permissions on the server but they looked fine. I then tried to copy […]

More

ran out of inodes w3 total cache wordpress,

« Previous Posts

Powered by WordPress. Designed by elogi.