Monthly Archives: May 2014

May 2014 Scheduled Maintenance Patch

May 2014 Scheduled Maintenance Patch

May 2014 Scheduled Maintenance has been released

How to apply the patch with zypper.  YaST Online Update can also be used.

List repositories to ensure the update the server is registerd and the updated repository is present
zypper lr
Should see the following:
nu_novell_com:OES11-SP1-Updates | OES11-SP1-Updates | Yes | Yes
nu_novell_com:OES11-SP2-Updates | OES11-SP2-Updates | Yes | Yes

List patches in the Updates repository
OES11SP1
zypper pch OES11-SP1-Updates
Should see the following:
OES11-SP1-Updates | oes11sp1-May-2014-Scheduled-Maintenance | 9151| recommended | Needed

OES11SP2
zypper pch OES11-SP2-Updates
Should see the following:
OES11-SP2-Updates | oes11sp2-May-2014-Scheduled-Maintenance | 9157| recommended | Needed

Install the maintenance patch
OES11SP1
zypper up -t patch oes11sp1-May-2014-Scheduled-Maintenance
OES11SP2
zypper up -t patch oes11sp2-May-2014-Scheduled-Maintenance

Then list the patches again to verify the patch is listed as Installed
OES11SP1
zypper pch OES11-SP1-Updates
Should see the following:
OES11-SP1-Updates | oes11sp1-May-2014-Scheduled-Maintenance   | 9151

OES11SP2
zypper… Continue reading

Copy file permissions with chmod –reference

If you file you need to set permissions on and there is another file that already has the desired permissions, use the –reference switch with chmod.

chmod –reference <reference file> <target file>

Example:  Say eDirectory is not starting or even cores on startup.  Taking a strace points to a library.  You see symbolic link for libldapsdk.so is missing.  libldapsdk.so.0 is there.

You can quickly create the symbolic link with the ln -s command

ln -s libldapsdk.so.0.0.0 libldapsdk.so

The permissions now need to be set.  For this library it is simple, chmod 777, but some say you are not good with chmod or the permissions are a little different.  The easy way to do set the files is copy from another library link.

chmod –reference libldapsdk.so.0 libldapskd.so

Categories