MyLinuxDocz

Thursday, 16 October 2014

Script monitor and restart Mysql service

›
The following script which will monitor MySQL Server service and will automatically restart it if its down. #!/bin/bash # MySQL Serve...
Thursday, 4 September 2014

Disk space consumption

›
Command to get teh path of file which is consuming large disk space in the server: du -a /home | sort -n -r | head -n 10

Core dump files

›
The possible reason for the core files getting generated is when a php process is killed, apache creates core files under your account. If...

Handling spamming

›
1:  Command to delete spam mails from a particular account grep -lr user@domainname.tld /var/spool/exim/input/* | xargs rm -vf

Symlinks

›
Command to disable all symlinks under a folder: find -type l -exec unlink {} \;

Updating SPF for all accounts in cPanel servers

›
One way of fixing: The /usr/local/cpanel/Cpanel/SPF.pm file handles the SPF installation script that runs "/usr/local/cpanel/bin/spf_...

Exim syntax error

›
Issue Error Messages: SMTP call from (workstation) [IP] dropped: too many syntax or protocol errors (last command was "RCPT TO: Solut...
›
Home
View web version

About Me

Unknown
View my complete profile
Powered by Blogger.