User Tools

Site Tools


daily_admin_issues

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
daily_admin_issues [2012/03/02 18:21]
k2patel [Internet Proxy Using SSH]
daily_admin_issues [2019/11/11 15:15] (current)
k2patel
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 131: Line 157:
 === Allow Other computer === === Allow Other computer ===
 In order to allow other computer on network to access your proxy use following command. In order to allow other computer on network to access your proxy use following command.
 +
 +<note warning>​This is Open Proxy please use proper firewall rule to allow access.</​note>​
  
 <code bash> <code bash>
Line 139: 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>​
daily_admin_issues.1330712482.txt.gz ยท Last modified: 2012/03/02 18:21 by k2patel