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 revisionPrevious revision
Next revision
Previous revision
daily_admin_issues [2012/03/02 18:22] – [Internet Proxy Using SSH] k2pateldaily_admin_issues [2021/09/21 16:13] (current) – [Force chronyc time sync] 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 138: Line 166:
 Now setup other computer's browser to proxy socks5 host <your IP> port <9933>.\\ Now setup other computer's browser to proxy socks5 host <your IP> port <9933>.\\
 That should do it That should do it
-<note warning>This is Open Proxy please use proper firewall rule to allow access.</note> 
  
 +==== 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/chronyd/chrony 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.1330712559.txt.gz · Last modified: 2020/08/10 02:29 (external edit)