LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   i am trying to chroot squid but (https://www.linuxquestions.org/questions/linux-general-1/i-am-trying-to-chroot-squid-but-15952/)

GT-GEO 03-10-2002 10:03 AM

i am trying to chroot squid but
 
i have this error
[root@ns squid]# chroot /mnt/2/squid/ squid -z
FATAL: getpwnam failed to find userid for effective user 'nobody'
Squid Cache (Version 2.4.STABLE4): Terminated abnormally.
CPU Usage: 0.020 seconds = 0.020 user + 0.000 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 339
Aborted

what can i do?

jeremy 03-10-2002 12:19 PM

You are starting squid as root so it is trying to find an unpriveleged user to run as. Do you have a user 'nobody' on your machine?

--jeremy

GT-GEO 03-10-2002 06:16 PM

yes i have, i can start squid without chroot. but with chroot it could not find userid, even a root.

GT-GEO 03-12-2002 12:33 AM

plz help


All times are GMT -5. The time now is 05:41 PM.