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
Next revision Both sides next revision
daily_admin_issues [2011/12/22 14:32]
k2patel [Daily Admin Issue]
daily_admin_issues [2019/05/06 19:14]
k2patel
Line 3: Line 3:
    * [[ sar reporting ]]    * [[ sar reporting ]]
    * [[ Kernel Tuning ]]    * [[ Kernel Tuning ]]
 +   * [[ inotify monitor ]]
 +
 +==== 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 32:
 ) )
 </​code>​ </​code>​
- 
 ==== Locale Issue on Linux ==== ==== Locale Issue on Linux ====
  
Line 79: Line 90:
  touch /​.autorelabel  touch /​.autorelabel
  ​reboot ​  ​reboot ​
 +</​code>​
 +
 +=== Reset context on Specific Folder ===
 +<code bash>
 +  restorecon -Rv /​var/​www/​html
 </​code>​ </​code>​
  
Line 88: Line 104:
 </​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 129: Line 154:
 You are all set. You are all set.
  
 +=== Allow Other computer ===
 +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>
 +ssh -N -f -D 0.0.0.0:​9933 k2patel@vedi.k2patel.in
 +</​code>​
 +
 +Now setup other computer'​s browser to proxy socks5 host <your IP> port <​9933>​.\\
 +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.txt ยท Last modified: 2021/09/21 16:13 by k2patel