Category Archive: Computers

Nov 12

Shared library permission fix for HP Openview on RHL SELINUX

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

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

Jul 22

Laptop trouble-shooting

Laptops have (at least) 2 features that will make you think it’s broke:
1) The key combination of function button and F5 key together redirects screen output from your laptop lcd to the vga port (usually next to the PS2 and serial port on the rear, left and/or right edge) on a laptop. You …

Continue reading »

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 »