[squid-users] libnss

From: Christopher Piggott HOME <chrisp@dont-contact.us>
Date: Tue, 5 Jul 2005 15:40:20 -0400

I have the famous

        FATAL: getpwnam failed to find userid for effective user 'squidc'

problem. The target system has a statically linked BusyBox and mot much
else. It does NOT have full gcc libraries. It is a very minimal system.

To fix the problem, I added the following files to the system:

        /etc/nsswitch.conf # containing the line: passwd: files
        /lib/libnss_files.2.3.2.so
        /lib/libnss_files.so.2 # symbolic link to above

squid was built with a matching compiler/glibc such that the libnss_files it
is looking for should be .so.2. It still doesn't work.

Any idea how one goes about debugging this sort of thing?

--Chris
Received on Tue Jul 05 2005 - 13:41:20 MDT

This archive was generated by hypermail pre-2.1.9 : Mon Aug 01 2005 - 12:00:02 MDT