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

Squid issue on OpenBSD3.5-stable



Yesterday i remove my working squid-2.5.STABLE5 proxy on OpenBSD 3.5-stable.

I remove squid because i see on http://www.openbsd.org/pkg-stable35.html a new stable squid (squid-2.5.STABLE7p2) exist for OpenBSD 3.5.

To get squid-2.5.STABLE7p2 i update my ports tree :

# cd /usr/ports
# cvs -d anoncvs_(_at_)_anoncvs1_(_dot_)_usa_(_dot_)_openbsd_(_dot_)_org:/cvs up -rOPENBSD_3_5 -Pd

I add squid from ports tree:

# cd /usr/ports/www/squid
# make install && make clean

I create swap directories for squid proxy :

# /usr/local/sbin/squid -z
2005/02/10 13:05:51| Creating Swap Directories

Now i start squid with default config file and  i get this error :

# /usr/local/sbin/squid

Feb 10 13:06:03 wplink squid[8710]: Squid Parent: child process 31617 started
Feb 10 13:06:04 wplink (squid): failed to find or read error text file.
Feb 10 13:06:04 wplink (squid): failed to find or read error text file.
Feb 10 13:06:04 wplink (squid): failed to find or read error text file.
Feb 10 13:06:04 wplink squid[8710]: Squid Parent: child process 31617 exited due to signal 6
Feb 10 13:06:07 wplink squid[8710]: Squid Parent: child process 8308 started
Feb 10 13:06:07 wplink (squid): failed to find or read error text file.


I don't know which "text file" want squid proxy, i use the default squid.conf.

Permissions in /etc/squid :

wplink# ls -l /etc/squid
-rw-r--r--  1 root  wheel   26104 Feb 10 12:54 mib.txt
-rw-r--r--  1 root  wheel   11651 Feb 10 12:54 mime.conf
-rw-r--r--  1 root  wheel  117108 Feb 10 13:05 squid.conf

I don't find a good answer on google. Now, i have the same problem with old squid-2.5.STABLE5 and new squid-2.5.STABLE7p2.

I read this thing in /usr/ports/www/squid/pkg/MESSAGE :

*********************
* WARNING!
*
* This port has changed the user/group it uses. If you installed this port
* before, ensure all permissions are set correctly.
*
*********************

Squid need to run as _squid.

I set permission for _squid :

# chown _squid:_squid /etc/squid

I have the same problem :

# /usr/local/sbin/squid

Feb 10 13:06:03 wplink squid[8710]: Squid Parent: child process 31617 started
Feb 10 13:06:04 wplink (squid): failed to find or read error text file.
Feb 10 13:06:04 wplink squid[8710]: Squid Parent: child process 31617 exited due to signal 6
Feb 10 13:06:07 wplink squid[8710]: Squid Parent: child process 8308 started
Feb 10 13:06:07 wplink (squid): failed to find or read error text file.


Any help appreciated.

Thank you very much !



Visit your host, monkey.org