Skip to content

Instantly share code, notes, and snippets.

@BeyondEvil
Created April 3, 2018 18:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save BeyondEvil/e0fb8ea50a4cdaf0b54b6a4aa919c9ce to your computer and use it in GitHub Desktop.
Save BeyondEvil/e0fb8ea50a4cdaf0b54b6a4aa919c9ce to your computer and use it in GitHub Desktop.
Information for general problems.
[code]
== BEGIN uname -rmi ==
3.10.0-693.21.1.el7.x86_64 x86_64 x86_64
== END uname -rmi ==
== BEGIN rpm -qa \*-release\* ==
epel-release-7-11.noarch
elrepo-release-7.0-3.el7.elrepo.noarch
centos-release-7-4.1708.el7.centos.x86_64
nuxref-release-1.0.0-4.el7.nuxref.noarch
== END rpm -qa \*-release\* ==
== BEGIN cat /etc/redhat-release ==
CentOS Linux release 7.4.1708 (Core)
== END cat /etc/redhat-release ==
== BEGIN getenforce ==
Disabled
== END getenforce ==
== BEGIN free -m ==
total used free shared buff/cache available
Mem: 7732 1363 5810 8 559 6040
Swap: 7935 0 7935
== END free -m ==
== BEGIN rpm -qa yum\* rpm-\* python | sort ==
python-2.7.5-58.el7.x86_64
rpm-build-libs-4.11.3-25.el7.x86_64
rpm-libs-4.11.3-25.el7.x86_64
rpm-python-4.11.3-25.el7.x86_64
yum-3.4.3-154.el7.centos.1.noarch
yum-metadata-parser-1.1.4-10.el7.x86_64
yum-plugin-fastestmirror-1.1.31-42.el7.noarch
== END rpm -qa yum\* rpm-\* python | sort ==
== BEGIN ls /etc/yum.repos.d ==
CentOS-Base.repo
CentOS-CR.repo
CentOS-Debuginfo.repo
CentOS-fasttrack.repo
CentOS-Media.repo
CentOS-Sources.repo
CentOS-Vault.repo
elrepo.repo
epel.repo
epel-testing.repo
mono-centos7-stable.repo
nuxref.repo
plex.repo
plex.repo.rpmsave
== END ls /etc/yum.repos.d ==
== BEGIN cat /etc/yum.conf ==
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=23&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
== END cat /etc/yum.conf ==
== BEGIN yum repolist all ==
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.nsc.liu.se
* elrepo: mirror.koddos.net
* epel: mirror.nsc.liu.se
* extras: mirror.nsc.liu.se
* updates: mirror.nsc.liu.se
repo id repo name status
C7.0.1406-base/x86_64 CentOS-7.0.1406 - Base disabled
C7.0.1406-centosplus/x86_64 CentOS-7.0.1406 - CentOSPlus disabled
C7.0.1406-extras/x86_64 CentOS-7.0.1406 - Extras disabled
C7.0.1406-fasttrack/x86_64 CentOS-7.0.1406 - CentOSPlus disabled
C7.0.1406-updates/x86_64 CentOS-7.0.1406 - Updates disabled
C7.1.1503-base/x86_64 CentOS-7.1.1503 - Base disabled
C7.1.1503-centosplus/x86_64 CentOS-7.1.1503 - CentOSPlus disabled
C7.1.1503-extras/x86_64 CentOS-7.1.1503 - Extras disabled
C7.1.1503-fasttrack/x86_64 CentOS-7.1.1503 - CentOSPlus disabled
C7.1.1503-updates/x86_64 CentOS-7.1.1503 - Updates disabled
C7.2.1511-base/x86_64 CentOS-7.2.1511 - Base disabled
C7.2.1511-centosplus/x86_64 CentOS-7.2.1511 - CentOSPlus disabled
C7.2.1511-extras/x86_64 CentOS-7.2.1511 - Extras disabled
C7.2.1511-fasttrack/x86_64 CentOS-7.2.1511 - CentOSPlus disabled
C7.2.1511-updates/x86_64 CentOS-7.2.1511 - Updates disabled
C7.3.1611-base/x86_64 CentOS-7.3.1611 - Base disabled
C7.3.1611-centosplus/x86_64 CentOS-7.3.1611 - CentOSPlus disabled
C7.3.1611-extras/x86_64 CentOS-7.3.1611 - Extras disabled
C7.3.1611-fasttrack/x86_64 CentOS-7.3.1611 - CentOSPlus disabled
C7.3.1611-updates/x86_64 CentOS-7.3.1611 - Updates disabled
PlexRepo/x86_64 PlexRepo enabled: 30
base/7/x86_64 CentOS-7 - Base enabled: 9,591
base-debuginfo/x86_64 CentOS-7 - Debuginfo disabled
base-source/7 CentOS-7 - Base Sources disabled
c7-media CentOS-7 - Media disabled
centosplus/7/x86_64 CentOS-7 - Plus disabled
centosplus-source/7 CentOS-7 - Plus Sources disabled
cr/7/x86_64 CentOS-7 - cr disabled
elrepo ELRepo.org Community Enterprise Li enabled: 224
elrepo-extras ELRepo.org Community Enterprise Li disabled
elrepo-kernel ELRepo.org Community Enterprise Li disabled
elrepo-testing ELRepo.org Community Enterprise Li disabled
epel/x86_64 Extra Packages for Enterprise Linu enabled: 12,452
epel-debuginfo/x86_64 Extra Packages for Enterprise Linu disabled
epel-source/x86_64 Extra Packages for Enterprise Linu disabled
epel-testing/x86_64 Extra Packages for Enterprise Linu disabled
epel-testing-debuginfo/x86_64 Extra Packages for Enterprise Linu disabled
epel-testing-source/x86_64 Extra Packages for Enterprise Linu disabled
extras/7/x86_64 CentOS-7 - Extras enabled: 446
extras-source/7 CentOS-7 - Extras Sources disabled
fasttrack/7/x86_64 CentOS-7 - fasttrack disabled
mono-centos7-stable mono-centos7-stable enabled: 1,356
nuxref/x86_64 RHEL 7 - nuxref.com enabled: 1,022
nuxref-shared/x86_64 RHEL 7 - nuxref.com - shared enabled: 167
nuxref-testing/x86_64 RHEL 7 - nuxref.com - testing disabled
updates/7/x86_64 CentOS-7 - Updates enabled: 2,416
updates-source/7 CentOS-7 - Updates Sources disabled
repolist: 27,704
== END yum repolist all ==
== BEGIN egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== END egrep 'include|exclude' /etc/yum.repos.d/*.repo ==
== BEGIN sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
priority = 2 [nuxref]
priority = 2 [nuxref-shared]
priority = 2 [nuxref-testing]
== END sed -n -e "/^\[/h; /priority *=/{ G; s/\n/ /; s/ity=/ity = /; p }" /etc/yum.repos.d/*.repo | sort -k3n ==
== BEGIN cat /etc/fstab ==
#
# /etc/fstab
# Created by anaconda on Sun Feb 4 23:13:28 2018
#
# Accessible filesystems, by reference, are maintained under '/dev/disk'
# See man pages fstab(5), findfs(8), mount(8) and/or blkid(8) for more info
#
/dev/mapper/centos-root / xfs defaults 0 0
UUID=e584083f-7e18-4583-b334-1efd7016b2d0 /boot xfs defaults 0 0
/dev/mapper/centos-home /home xfs defaults 0 0
/dev/mapper/centos-swap swap swap defaults 0 0
#qnap:/Movies /mnt/nfs/Movies nfs defaults 0 0
#qnap:/Series /mnt/nfs/Series nfs defaults 0 0
== END cat /etc/fstab ==
== BEGIN df -h ==
Filesystem Size Used Avail Use% Mounted on
/dev/mapper/centos-root 50G 4.3G 46G 9% /
devtmpfs 3.8G 0 3.8G 0% /dev
tmpfs 3.8G 16K 3.8G 1% /dev/shm
tmpfs 3.8G 8.7M 3.8G 1% /run
tmpfs 3.8G 0 3.8G 0% /sys/fs/cgroup
/dev/sdb1 1014M 237M 778M 24% /boot
/dev/mapper/centos-home 407G 176M 407G 1% /home
tmpfs 774M 0 774M 0% /run/user/1000
== END df -h ==
== BEGIN fdisk -lu ==
WARNING: fdisk GPT support is currently new, and therefore in an experimental phase. Use at your own discretion.
Disk /dev/sda: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: gpt
Disk identifier: 00002B0D-6175-0000-091F-00004A4A0000
# Start End Size Type Name
1 40 409639 200M EFI System EFI system partition
2 409640 975503591 465G Apple HFS/HFS+ Customer
3 975503592 976773127 619.9M Apple boot Recovery HD
Disk /dev/sdb: 500.1 GB, 500107862016 bytes, 976773168 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk label type: dos
Disk identifier: 0x000e1978
Device Boot Start End Blocks Id System
/dev/sdb1 * 2048 2099199 1048576 83 Linux
/dev/sdb2 2099200 976773119 487336960 8e Linux LVM
Disk /dev/mapper/centos-root: 53.7 GB, 53687091200 bytes, 104857600 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos-swap: 8321 MB, 8321499136 bytes, 16252928 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk /dev/mapper/centos-home: 437.0 GB, 437017116672 bytes, 853549056 sectors
Units = sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
== END fdisk -lu ==
== BEGIN parted -l ==
Model: ATA TOSHIBA MK5065GS (scsi)
Disk /dev/sda: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: gpt
Disk Flags:
Number Start End Size File system Name Flags
1 20.5kB 210MB 210MB fat32 EFI system partition boot
2 210MB 499GB 499GB hfs+ Customer
3 499GB 500GB 650MB hfs+ Recovery HD
Model: ATA Samsung SSD 850 (scsi)
Disk /dev/sdb: 500GB
Sector size (logical/physical): 512B/512B
Partition Table: msdos
Disk Flags:
Number Start End Size Type File system Flags
1 1049kB 1075MB 1074MB primary xfs boot
2 1075MB 500GB 499GB primary lvm
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/centos-home: 437GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 437GB 437GB xfs
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/centos-swap: 8321MB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 8321MB 8321MB linux-swap(v1)
Model: Linux device-mapper (linear) (dm)
Disk /dev/mapper/centos-root: 53.7GB
Sector size (logical/physical): 512B/512B
Partition Table: loop
Disk Flags:
Number Start End Size File system Flags
1 0.00B 53.7GB 53.7GB xfs
== END parted -l ==
== BEGIN blkid ==
/dev/sda1: LABEL="EFI" UUID="2860-11F4" TYPE="vfat" PARTLABEL="EFI system partition" PARTUUID="0000185e-3176-0000-c36b-00006d780000"
/dev/sda2: UUID="0a3abb86-38c3-3e4e-9f94-9b2f8b569add" LABEL="Macintosh HD" TYPE="hfsplus" PARTLABEL="Customer" PARTUUID="00005c85-1441-0000-e432-000034620000"
/dev/sda3: UUID="2184e460-197b-373b-8a3f-082bc91e7981" LABEL="Recovery HD" TYPE="hfsplus" PARTLABEL="Recovery HD" PARTUUID="a9c38631-a48f-4029-acb9-823ad27ce830"
/dev/sdb1: UUID="e584083f-7e18-4583-b334-1efd7016b2d0" TYPE="xfs"
/dev/sdb2: UUID="BIhCAv-FvWv-8MJ7-kX2t-WfmB-1TR1-inB1kk" TYPE="LVM2_member"
/dev/mapper/centos-root: UUID="926f1352-ed23-4b43-9cd2-0aa2a278e5e0" TYPE="xfs"
/dev/mapper/centos-swap: UUID="5d6e86d2-1366-42d0-95d8-f4605758303a" TYPE="swap"
/dev/mapper/centos-home: UUID="bff945f7-0a03-4754-95b1-1ce1eb479ad5" TYPE="xfs"
== END blkid ==
== BEGIN cat /proc/mdstat ==
Personalities :
unused devices: <none>
== END cat /proc/mdstat ==
== BEGIN pvs ==
PV VG Fmt Attr PSize PFree
/dev/sdb2 centos lvm2 a-- <464.76g 4.00m
== END pvs ==
== BEGIN vgs ==
VG #PV #LV #SN Attr VSize VFree
centos 1 3 0 wz--n- <464.76g 4.00m
== END vgs ==
== BEGIN lvs ==
LV VG Attr LSize Pool Origin Data% Meta% Move Log Cpy%Sync Convert
home centos -wi-ao---- 407.00g
root centos -wi-ao---- 50.00g
swap centos -wi-ao---- 7.75g
== END lvs ==
== BEGIN rpm -qa kernel\* | sort ==
kernel-3.10.0-693.17.1.el7.x86_64
kernel-3.10.0-693.21.1.el7.x86_64
kernel-3.10.0-693.el7.x86_64
kernel-headers-3.10.0-693.21.1.el7.x86_64
kernel-tools-3.10.0-693.21.1.el7.x86_64
kernel-tools-libs-3.10.0-693.21.1.el7.x86_64
== END rpm -qa kernel\* | sort ==
== Warning: lspci is not installed ==
== Warning: lsusb is not installed ==
== BEGIN rpm -qa kmod\* kmdl\* ==
kmod-libs-20-15.el7_4.7.x86_64
kmod-20-15.el7_4.7.x86_64
== END rpm -qa kmod\* kmdl\* ==
== BEGIN ip addr ==
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN qlen 1
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: ens9: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP qlen 1000
link/ether 68:5b:35:a7:d4:dd brd ff:ff:ff:ff:ff:ff
inet 192.168.13.10/24 brd 192.168.13.255 scope global ens9
valid_lft forever preferred_lft forever
inet6 fe80::7221:8d11:47e6:c8e1/64 scope link
valid_lft forever preferred_lft forever
3: enp2s0f0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc mq state DOWN qlen 1000
link/ether 40:6c:8f:0e:24:81 brd ff:ff:ff:ff:ff:ff
== END ip addr ==
== Warning: brctl is not installed ==
== Warning: route is not installed ==
== BEGIN sysctl -a | grep .rp_filter ==
sysctl: reading key "net.ipv6.conf.all.stable_secret"
sysctl: reading key "net.ipv6.conf.default.stable_secret"
sysctl: reading key "net.ipv6.conf.enp2s0f0.stable_secret"
sysctl: reading key "net.ipv6.conf.ens9.stable_secret"
sysctl: reading key "net.ipv6.conf.lo.stable_secret"
net.ipv4.conf.all.arp_filter = 0
net.ipv4.conf.all.rp_filter = 1
net.ipv4.conf.default.arp_filter = 0
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.enp2s0f0.arp_filter = 0
net.ipv4.conf.enp2s0f0.rp_filter = 1
net.ipv4.conf.ens9.arp_filter = 0
net.ipv4.conf.ens9.rp_filter = 2
net.ipv4.conf.lo.arp_filter = 0
net.ipv4.conf.lo.rp_filter = 0
== END sysctl -a | grep .rp_filter ==
== BEGIN ip rule show ==
0: from all lookup local
32766: from all lookup main
32767: from all lookup default
== END ip rule show ==
== BEGIN ip route show ==
default via 192.168.13.1 dev ens9 proto static metric 100
192.168.13.0/24 dev ens9 proto kernel scope link src 192.168.13.10 metric 100
== END ip route show ==
== BEGIN cat /etc/resolv.conf ==
# Generated by NetworkManager
nameserver 192.168.13.1
== END cat /etc/resolv.conf ==
== BEGIN egrep 'net|hosts' /etc/nsswitch.conf ==
#hosts: db files nisplus nis dns
hosts: files dns myhostname
#networks: nisplus [NOTFOUND=return] files
#netmasks: nisplus [NOTFOUND=return] files
netmasks: files
networks: files
netgroup: nisplus sss
== END egrep 'net|hosts' /etc/nsswitch.conf ==
== BEGIN systemctl list-unit-files | grep -Ei 'network|wpa' ==
dbus-org.freedesktop.NetworkManager.service enabled
NetworkManager-dispatcher.service enabled
NetworkManager-wait-online.service disabled
NetworkManager.service enabled
wpa_supplicant.service disabled
network-online.target static
network-pre.target static
network.target static
== END systemctl list-unit-files | grep -Ei 'network|wpa' ==
[/code]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment