Search squid archive

[squid-users] Installation of multiple instances of squid on W2k3-Server

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

 



Hi,

I have succesfully setup a squid instance (running as a service) on a
Windows 2003 Server.
Now I would like to setup a second instance. I followed the hints, but
the second service
starts and then stops immediately. 
Doing it all from the CLI, I get "Squid is already running!  Process ID
3352", as if
two squids parallel won't work.
Each works fine, when it is started alone (CLI or as service). Starting
the second one 
brings up the message above (with different PID).

Any ideas?

TIA

Stefan

My setup (Squid Cache version 2.5.STABLE10-NT for i686-pc-winnt):
########################################################################
##########

Instance 1:
D:/squid-direct/ as directory structure
My command line for starting squid: squid -f
d:/squid-direct/etc/squid.conf

Installing as a service: 
D:\squid-direct\sbin>squid -i -f d:/squid-direct/etc/squid.conf -n
squidDirect

snippet from conf:
# LOGFILE PATHNAMES AND CACHE DIRECTORIES
#
------------------------------------------------------------------------
-----
cache_dir ufs d:/squid-direct/var/spool/squid 300 16 256

cache_access_log d:/squid-direct/var/logs/squid/access.log

cache_log d:/squid-direct/var/logs/squid/cache.lo

########################################################################
##########

Instance 2:
D:/squid-peer/ as directory structure
My command line for starting squid: squid -f
d:/squid-peer/etc/squid.conf

Installing as a service:
D:\squid-peer\sbin>squid -i -f d:/squid-peer/etc/squid.conf -n squidPeer

snippet from conf:
# LOGFILE PATHNAMES AND CACHE DIRECTORIES
#
------------------------------------------------------------------------
-----
cache_dir ufs d:/squid-peer/var/spool/squid 300 16 256

cache_access_log d:/squid-peer/var/logs/squid/access.log

cache_log d:/squid-peer/var/logs/squid/cache.log

########################################################################
##########




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

  Powered by Linux