I suggest that you put the new version back on and change the cache
effective user to squid (create a new account), change the path/directory
properties to the new user - squid and try starting it.
On Mon, 29 Sep 1997, Ole =?iso-8859-1?Q?M=F8ller?= wrote:
> Hi Squids!
>
> Until recently I was the happy user of squid 1.1.10. Due to local
> managements demands I need to log apply the useragent_log. Apparently my
> squid was not compiled with DUSE_USERAGENT_LOG=1. Therefore I downloaded
> 1.1.14 and compiled it but when I start it (even if I use the -f option to
> point out the right conf-file) it states:
>
> Squid is not safe to run as root! If you must
> start Squid as root, then you must configure
> it to run as a non-priveledged user with the
> 'cache_effective_user' option in the config file.
>
> I have copied the old configuration and I have set the
> cache_effective_user-option. All right then I change user to nobody and
> start it, and then the following happens:
>
> FATAL: Received Segment Violation...dying.
> CPU Usage: user 0 sys 0
> Maximum Resident Size: 1272 KB
>
> Something is completely rotten here ... I got some warnings while running
> configure, but did not pay any real attention to then as I really don't
> know what the mean neither what to do about them:
>
> configure:1751: gcc -c -g -O2 -Wall conftest.c 1>&5
> In file included from configure:1744:
> /usr/include/malloc.h:2: warning: #warning "this file includes <malloc.h>
> which
> is obsoleted, use <stdlib.h> instead"
> configure: In function `main':
> configure:1746: storage size of `foo' isn't known
> configure:1746: warning: unused variable `foo'
> configure: failed program was:
> #line 1742 "configure"
> #include "confdefs.h"
> #include <sys/types.h>
> #include <malloc.h>
> int main() {
> struct mallinfo foo;
> foo.mxfast = 0;
> ; return 0; }
>
> Pleas can anybody help?
>
> Regards
>
> Ole Møller olm@cybercity.dk, Sysadm CyberCity Internet
> "Come to think of it, there are already a million monkeys on a million
> typewriters, and Usenet is NOTHING like Shakespeare."
> -- Blair Houghton
>
_________________________________________________________
Malcolm Garbutt
Network Operations-
OZLAND.NET MILDURA.NET MURRAY.NET
Office Ph. 03 50 212 991 Office Fax 03 50 212 932
Emergency Ph. 018 596 150
.....Bringing the World to You......
_________________________________________________________
Received on Mon Sep 29 1997 - 16:20:01 MDT
This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:37:12 MST