From dePoPo.net

How to fix PAM module errors after installing a RAQ550 update

Posted in: Linux
By dePoPo
Mar 10, 2009 - 12:53:13 PM

Q: How to fix PAM module errors after installing a RAQ550 update

A: (original document from one of the cobalt mailing lists)

HOW TO FIX PAM MODULE SINCE RAQ550 UPDATE1

) Login as root

2) Use editor to edit httpd.conf file like"pico /etc/httpd/conf/httpd.conf"
The top line of httpd.conf has the following line since the update:
LoadModule pam_external_auth_module modules/mod_auth_pam_external.so

This line is also remarked out in the httpd.conf file. Find it in the file and remove the # and remove the top copy.

In pico, go to this line with your cursor and cut it out by pressing Ctrl-K
IF FOR SOME reason you do not see the line in the file then Move down to the ClearModuleList section and place it in the section so that it looks: ClearModuleListAddModule mod_so.cAddModule mod_perl.cLoadModule pam_external_auth_module modules/mod_auth_pam_external.soLoadModule userdir_module modules/mod_userdir.soLoadModule alias_module modules/mod_alias.so

Press Ctrl-x to exit and save the file.

3) Type the following on the command line:
/etc/init.d/httpd reload And press enter.
You will get something like:
[root]# /etc/init.d/httpd reload
Reloading httpd: httpd ok
[root]#./etc/init.d/httpd restart

It should now be fixed


© Copyright 2010 by dePoPo.net