LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 03-10-2002, 10:03 AM   #1
GT-GEO
LQ Newbie
 
Registered: Nov 2001
Location: Rep. Georgia
Distribution: RedHat
Posts: 11

Rep: Reputation: 0
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?
 
Old 03-10-2002, 12:19 PM   #2
jeremy
root
 
Registered: Jun 2000
Distribution: Debian, Red Hat, Slackware, Fedora, Ubuntu
Posts: 13,600

Rep: Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083Reputation: 4083
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
 
Old 03-10-2002, 06:16 PM   #3
GT-GEO
LQ Newbie
 
Registered: Nov 2001
Location: Rep. Georgia
Distribution: RedHat
Posts: 11

Original Poster
Rep: Reputation: 0
yes i have, i can start squid without chroot. but with chroot it could not find userid, even a root.
 
Old 03-12-2002, 12:33 AM   #4
GT-GEO
LQ Newbie
 
Registered: Nov 2001
Location: Rep. Georgia
Distribution: RedHat
Posts: 11

Original Poster
Rep: Reputation: 0
plz help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
SQUID for blocking yahoo and msn [inc squid.conf] chrisfirestar Linux - Security 10 03-03-2008 08:33 AM
sudo /usr/bin/chroot /home/chroot /bin/su - xxx| /bin/su: user xxx does not exist saavik Linux - General 3 07-04-2007 10:30 AM
squid message customization, hiding squid versioin rajnishmishra Linux - Networking 0 11-27-2004 03:55 AM
squid conf: squid failed when I type insert redirect_program /usr/bin/squidguard Niceman2005 Linux - Software 1 11-24-2004 02:29 PM
Squid load testing software / Squid optimisation? gundelgauk Linux - Networking 2 08-31-2004 07:36 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:59 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration