HOW TO REPORT MEMORY USAGE PER A PROCESS ON LINUX
REQUEST I wish to know how many memory every process uses on a RedHat server. SOLUTION As all we know every process on a server allocates some amount of memory for itself to be able to function correctly. If a process fails…
3 WAYS TO RUN iptables -L AS NON ROOT USER
ISSUE When I try to list all iptables rules as non-root user I get the following error [maxpatrol@rhel75 ~]$ iptables -vnL iptables v1.4.21: can’t initialize iptables table `filter’: Permission denied (you must be root) Perhaps iptables or your kernel needs to be upgraded. …
RUNNING IPTABLES TOOL AS A NON-ROOT USER
REQUEST Listing iptables rules without being root user, without providing a sudo password, without setting SUID on the iptables executiable, without using sudo keyword. RELATED SOLUTION In this example, the user maxpatrol is being used. First, you should back up your sudoers…
OUR SYSTEM HAS DETECTED THAT THIS MESSAGE DOES NOT MEET IPV6 [GMAIL]
ISSUE When an email is sent from the server to a Gmail account it fails to deliver. The postfix is used as Mail Transfer Agent to deliver emails. SYMPTOMS In the /var/log/maillog the following error appears [root@dbpilot ~]# cat /var/log/maillog Apr 17 10:41:38…
CREATING A LOCAL YUM REPOSITORY USING AN ISO IMAGE
REQUEST I want to set up yum repository with downloaded iso image. RELATED CREATING A LOCAL YUM REPOSITORY USING MANUALLY DOWNLOADED PACKAGES SOLUTION Every RHEL, OEL, CENTOS iso image has a preconfigured repository. Just mount iso image and create a .repo file…
CREATING A LOCAL YUM REPOSITORY USING MANUALLY DOWNLOADED PACKAGES
REQUEST I want to set up a local yum repository with packages I downloaded manually. RELATED CACHING ALL PACKAGES AFTER YUM HAS INSTALLED IT DOWNLOADING A PACKAGE WITHOUT INSTALLING IT SOLUTION There is a tool called createrepo which simplifies the task at…
CACHING ALL PACKAGES AFTER YUM HAS INSTALLED IT
REQUEST I want to keep all packages installed by yum in a custom directory. Later I want to use them for setting up a repository. RELATED DOWNLOADING A PACKAGE WITHOUT INSTALLING IT SOLUTION To change default yum cache location, set the cachedir…
DOWNLOADING A PACKAGE WITHOUT INSTALLING IT
QUESTIONS How do I use yum to download a package without installing it? RELATED CACHING ALL PACKAGES AFTER YUM HAS INSTALLED IT SOLUTION You can use both yum downloadonly plugin and yumdownloader utility TESTCASE Downloadonly plugin Create a directory for…
Categories
- Linux (8)
- Iptables (2)
- Memory Usage (1)
- Postfix (1)
- Yum (4)
- Networker (2)
- Oracle (65)
- Account (2)
- AWR (2)
- Database Errors (6)
- Database Performance (9)
- Datapump (4)
- Enterprise Manager (24)
- Enterprise Manager Metrics (4)
- Environments (4)
- High CPU Usage (2)
- High IO Load (4)
- Initialization Parameters (5)
- job_queue_processes (1)
- Processes (3)
- NLS (1)
- Objects (1)
- Objects DDL (2)
- OJVM/PSU/DRU Patches (1)
- PL/SQL (5)
- UTL_FILE (4)
- Prerequisites (1)
- Privileges (1)
- Profile (1)
- Queries (2)
- Redologs (1)
- Resource Limits (1)
- Segment Shrink (1)
- Session (6)
- Spfile (3)
- SQL PLUS (1)
- Spooling (1)
- Standard Queries (7)
- Statistics (2)
- Tablespaces (1)
- Temporary Tablespace (2)