Error code 34, authentication failure (when logging on to VirusScan Enterprise for Linux)
Technical Articles ID:
KB77479
Last Modified: 1/6/2017
Environment
McAfee VirusScan Enterprise for Linux 1.9.x
Redhat 6.x x86_64
Problem
When you log on to the management interface for VirusScan Enterprise for Linux, you see the following error:
... error code 34, authentication failure
Cause
The issue is caused by one of the following:
- The file libgcc_s.so.1 is missing from the /lib directory.
- The nailsd.pamPath: value is missing from the nailsd.cfg file.
Solution
To determine whether the file libgcc_s.so.1 is missing:
- Generate an strace log.
- Obtain the process ID for mon.
- Open a command-line session.
- Type the following command and press ENTER:
ps -ef | grep monitor.cfg | grep -v grep
root 23163 1 0 18:54 ? 00:00:00 /opt/NAI/LinuxShield/libexec/mon -p /var/opt/NAI/LinuxShield/etc/monitor.cfg
The process ID in this example is 23163.
- Perform an strace on mon. Type the following command and press ENTER:
strace -f -p <process ID> -s 2048 -o /tmp/mon.trace
Example:
strace -f -p 23163 -s 2048 -o /tmp/mon.trace
You see output similar to the following:
Process 23163 attached - interrupt to quit.
- View the log file to confirm you have a missing library. Open the log file created by the strace, and look for an entry similar to the following line:
writev(2, [{"/opt/NAI/LinuxShield/libexec/authpam", 36}, {": ", 2}, {"error while loading shared libraries", 36}, {": ", 2}, {"libgcc_s.so.1", 13}, {": ", 2}, {"cannot open shared object file", 30}, {": ", 2}, {"No such file or directory", 25}, {"\n", 1}], 10) = 149
- To resolve the issue, ensure that the correct libgcc package is installed. To discover the correct package, do the following on a working server.
- Open a command-line session.
- To discover the correct package, type the following command and press ENTER:
rpm -qf /lib/libgcc_s.so.1
The output format of this command is:
libgcc-4.1.2-48.el5
Alternatively, consult your product documentation or technical support for your operating system.
Solution
To determine whether the path to the pam file is missing:
- Open the linuxmer and search for the following value:
nailsd.pamPath
The entry should be blank if the path to the pam file is missing.
- To add the path for the pam file:
- Type nailsd.pamPath: /lib/<libpam file> and press ENTER.
NOTE: When running the above command you must use the correct name for your libpam file.
For example, nailsd.pamPath: /lib/libpam.so.0.82.2
- Restart the nails service.
- Attempt to log on to VirusScan Enterprise for Linux.
If there is still an issue logging on, obtain an strace while attempting to log on. To generate the strace file follow Step 1 of Solution 1 above.
|