Search squid archive

Re: Squid Start service & chkconfig error....!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Am 30.09.2010 07:16, schrieb M. Asghar Nazir:
> Respected All,
> 
> I have complie squid from latest stable version File "squid-3.1.8.tar.gz". using 
> ./configure --prefix=/usr/local/squid --enable-arp-acl --enable-delay-pools 
> --enable-linux-netfilter --disable-ident-lookups
> 
> When I try to run manualy start using command >>> /usr/localsquid/sbin/squid 
> 
> Squid run fine and I am able to use It from any web browser using proxy setting 
> with port 3128.
> 
> 
> But when I try to manually start with >>>>>>>  service squid start 
> [root@proxysrv ~]# service squid start
> squid: unrecognized service
Means, that service couldn't found.
Because you compiled squid with own prefix in another directory, than
ubuntu/debian searches for.

> 
> I also want to configure it for autostart at startup of server. It give me  
> following error
> 
> [root@proxysrv ~]# chkconfig --add squid
> error reading information on service squid: No such file or directory
See above.
Try writing an own init script for your self compiled squid.
Look at /etc/init.d if a squid init file is already there. If yes, you
could try to modify it.

> [root@proxysrv ~]# 
> 
> 
> Any body can help me to setup squid which is able to start/stop with service 
> command & also configure for autostart using chkconfig --level 345 on.
> 
> 
> Waiting your earliest reply.
> 
> Regards,
> 
> Asghar
> 
> 
>       

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkykJIkACgkQp6HdUg6rchF1aACfZv9abfArfRzZ7du0s90Y+IXh
AgcAn0+h1vBTtNeC6dtx4gsXQdU+h1PE
=BX9D
-----END PGP SIGNATURE-----


[Index of Archives]     [Linux Audio Users]     [Samba]     [Big List of Linux Books]     [Linux USB]     [Yosemite News]

  Powered by Linux