This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Last revision Both sides next revision | ||
daily_admin_issues [2012/03/02 18:22] k2patel [Internet Proxy Using SSH] |
daily_admin_issues [2020/08/10 02:35] 127.0.0.1 external edit |
||
---|---|---|---|
Line 3: | Line 3: | ||
* [[ sar reporting ]] | * [[ sar reporting ]] | ||
* [[ Kernel Tuning ]] | * [[ Kernel Tuning ]] | ||
+ | * [[ inotify monitor ]] | ||
+ | * [[ Security ]] | ||
+ | |||
+ | ==== Centos 6 to 7 Upgrade ==== | ||
+ | |||
+ | I've followed [[https://wiki.centos.org/TipsAndTricks/CentOSUpgradeTool]] without issue.\\ | ||
+ | But after reboot i've started seeing following error "libpcre.so.0" not found. | ||
+ | |||
+ | After looking further it appeared to the issue with "grep" package. | ||
+ | After Successful reboot simply downgrade the grep package and error will disappear. | ||
+ | |||
+ | Also it is good idea to place selinux in permissive mode before you start upgrade. | ||
+ | |||
==== Drupal Throw watchdog error ==== | ==== Drupal Throw watchdog error ==== | ||
Line 20: | Line 33: | ||
) | ) | ||
</code> | </code> | ||
- | |||
==== Locale Issue on Linux ==== | ==== Locale Issue on Linux ==== | ||
Line 79: | Line 91: | ||
touch /.autorelabel | touch /.autorelabel | ||
reboot | reboot | ||
+ | </code> | ||
+ | |||
+ | === Reset context on Specific Folder === | ||
+ | <code bash> | ||
+ | restorecon -Rv /var/www/html | ||
</code> | </code> | ||
Line 88: | Line 105: | ||
</code> | </code> | ||
+ | === Web Application can not connect to db === | ||
+ | This behavior can not get logged in audit.log some time.\\ | ||
+ | which make it harder to troubleshoot. you can manually enabled network connection for db on http context.\\ | ||
+ | |||
+ | <note> -P option is to make permanent change </note> | ||
+ | |||
+ | <code bash> | ||
+ | setsebool -P httpd_can_network_connect_db on | ||
+ | </code> | ||
==== Telnet IMAP Test ==== | ==== Telnet IMAP Test ==== | ||
Line 141: | Line 167: | ||
That should do it | That should do it | ||
+ | ==== Download java using wget ==== | ||
+ | <code bash> | ||
+ | wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u51-b16/jdk-8u51-linux-i586.rpm | ||
+ | </code> | ||
+ | ==== Force chronyc time sync ==== | ||
+ | <code bash> | ||
+ | chronyc -a 'burst 4/4' | ||
+ | chronyc -a makestep | ||
+ | </code> | ||
+ | |||
+ | ==== Multiple BAR 13: no space for [io size 0x1000] ==== | ||
+ | |||
+ | :!: Multiple BAR 13: no space for [io size 0x1000] messages seen on RHEL guest on VMWare ESX vCenter 6.0 host at boot. | ||
+ | |||
+ | best bet is to contact vmware, but temporary fix should be as follow | ||
+ | <code bash> | ||
+ | try booting with pci=nocrs kernel command line option. | ||
+ | This parameter is used to discard ACPI resource information for various devices. | ||
+ | </code> |