I also found this problem on a linux 2.0.x machine. I found that it was
unable to set effective_user to nobody, but it was possible to set
effective_user to any user other than nobody. I created a "squid" user
which worked fine.
--Paul
On Sat, 8 Feb 1997, Colombo Matteo wrote:
:I HAVE THIS ERROR WHEN STARTING SQUID
:
:
:97/03/08 18:52:45| Squid is not safe to run as root! If you must
:
:97/03/08 18:52:45| start Squid as root, then you must configure
:
:97/03/08 18:52:45| it to run as a non-priveledged user with the
:
:97/03/08 18:52:45| 'cache_effective_user' option in the config file.
:
:FATAL: Don't run Squid as root, set 'cache_effective_user'!
:
:Squid Cache (Version 1.1.8): Terminated abnormally.
:
:CPU Usage: user 0 sys 0
:
:Maximum Resident Size: 0 KB
:
:Page faults with physical i/o: 50
:
:
:MY SQUID.CONF IS
:
:
:# ADMINISTRATIVE PARAMETERS
:
:#-----------------------------------------------------------------------------
:
:
:# TAG: cache_mgr
:
:# Email-address of local cache manager who will receive
:
:# mail if the cache dies. The default is "webmaster."
:
:#
:
:cache_mgr webmaster@calcol.it
:
:
:# TAG: cache_effective_user
:
:# If the cache is run as root, it will change its effective/real
:
:# UID/GID to the UID/GID specified below. The default is not to
:
:# change UID/GID.
:
:#
:
:cache_effective_user nobody nogroup
:
:
:# TAG: visible_hostname
:
:# If you want to present a special hostname in error messages, etc,
:
:# then define this. Otherwise, the return value of gethostname()
:
:# will be used.
:
:#
:
:visible_hostname proxy.calcol.it
:
:
:WHERE IS THE PROBLEM ??
:
:
:MY SYSTEM
:
:LINUX 1.2.13
:
:SQUID VERSION 1.1.8
:
:
:
:THANK'S
:
:
:TEO
:
:<bigger>Colombo Matteo
:
:</bigger>Calcol Informatica S.r.l.
:
:Via Venezia, 39
:
:Tel. ++39331441860
:
:Fax. ++39331441861
:
:20025 Legnano (MI)
:
:E-Mail: matteo@calcol.it
:
:E-Mail:<italic> </italic>cucciolo@walt-disney.com
:
:ITALY
:
:
:Think different Think LINUX
:
:
Received on Sat Mar 08 1997 - 10:29:08 MST
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:34:39 MST