Category Archive: System Administration

Nov 12

Shared library permission fix for HP Openview on RHL SELINUX

chcon -c system_u:object_r:textrel_shlib_t /opt/OV/lib/
/usr/sbin/semanage fcontext -a -t textrel_shlib_t /opt/OV/lib/

Jun 08

Fix syslogd write permission denied on SE Linux targeted enforcing RHL 5.3

Under RedHat SE Linux targeted enforcing mode, init.d scripts do not have the correct context to read all files in the /etc directory. This apparently breaks various capabilities of syslogd, including ability to write log messages to files other than /var/log/messages. To fix it, change context with:
chcon -c system_u:object_r:etc_t /etc/init.d/syslog

Apr 24

Creating and resizing file systems on RedHat Release 5.2

First,  always use logical volume manager.  You must create a filesystem before resizing it.  Since most advanced servers have hardware RAID, there is really no reason to have extra fault tolerance at the file system level.  Thus, do not create the journaling file system unless you are on a device with no hardware and firmware …

Continue reading »