Megamon Tech Blog

IT issues resolved

Browsing Posts in Linux

echo “- – -” > /sys/class/scsi_host/host0/scan

If you see these messages: Jul 4 09:49:50 xxxfw2 kernel: NET: 89 messages suppressed. Jul 4 09:49:50 xxxfw2 kernel: Neighbour table overflow. Jul 4 09:50:04 xxxfw2 kernel: NET: 22 messages suppressed. Jul 4 09:50:04 xxxfw2 kernel: Neighbour table overflow. Jul 4 09:50:04 xxxfw2 kernel: Neighbour table overflow. Jul 4 09:50:05 xxxfw2 kernel: NET: 65 messages […]

Dmesg reports this error: CIFS VFS: cifs_mount failed w/return code = -12 Manual mount attempts report this: mount: mounting //192.168.1.1/share on /mountpoint failed: Cannot allocate memory Solution: Regedit on the Windows 7 machine and disable SMB2: 1) HKEY_LOCAL_MACHINE ->SYSTEM ->CurrentControlSet ->Services ->LanmanServer -> Parameters. 2) Create a DWORD with the name SMB2. Value 0

I’ll put some words around this at some point – but here it is as simple as possible. gparted extend /dev/sda2 fdisk /dev/sda create new logical partition set type to 8e pvcreate /dev/sda6 vgextend ubuntu /dev/sda6 vgdisplay – get free PE lvextend -L20GB /dev/ubuntu/root fsck -f /dev/ubuntu/root resize2fs /dev/ubuntu/root

In your apache httpd.conf file, located in /etc/httpd/conf/httpd.conf under Centos or RHEL: ServerTokens ProductOnly ServerSignature Off