Так теперь по порядку ставил на x64 не заработало думал библиотеки не подходят, а вот и нет,
поставил i386 на него сквид Version 2.6.STABLE21(yum) поставил режик последней версии, и опа не работает...
точнее не неработает, а как то не так работает
в общем если дать команду service squid start то в логах появляется 
##################################################################
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.033 user + 0.007 sys
Maximum Resident Size: 22976 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
	total space in arena:    2680 KB
	Ordinary blocks:         2548 KB      4 blks
	Small blocks:               0 KB      0 blks
	Holding blocks:           244 KB      1 blks
	Free Small blocks:          0 KB
	Free Ordinary blocks:     131 KB
	Total in use:            2792 KB 95%
	Total free:               131 KB 4%
2011/06/15 01:36:25| Starting Squid Cache version 2.6.STABLE21 for i686-redhat-linux-gnu...
2011/06/15 01:36:25| Process ID 10246
2011/06/15 01:36:25| With 1024 file descriptors available
2011/06/15 01:36:25| Using epoll for the IO loop
2011/06/15 01:36:25| DNS Socket created at 0.0.0.0, port 60975, FD 8
2011/06/15 01:36:25| Adding nameserver 188.168.31.10 from /etc/resolv.conf
2011/06/15 01:36:25| Adding nameserver 80.82.162.82 from /etc/resolv.conf
2011/06/15 01:36:25| helperOpenServers: Starting 5 'redirector' processes
2011/06/15 01:36:25| ipcCreate: /usr/local/rejik3/redirector: (13) Permission denied
2011/06/15 01:36:25| ipcCreate: /usr/local/rejik3/redirector: (13) Permission denied
2011/06/15 01:36:25| ipcCreate: /usr/local/rejik3/redirector: (13) Permission denied
2011/06/15 01:36:25| ipcCreate: /usr/local/rejik3/redirector: (13) Permission denied
2011/06/15 01:36:25| ipcCreate: /usr/local/rejik3/redirector: (13) Permission denied
2011/06/15 01:36:25| User-Agent logging is disabled.
2011/06/15 01:36:25| Referer logging is disabled.
2011/06/15 01:36:25| Unlinkd pipe opened on FD 18
2011/06/15 01:36:25| Swap maxSize 2048000 + 30720 KB, estimated 0 objects
2011/06/15 01:36:25| Target number of buckets: 7995
2011/06/15 01:36:25| Using 8192 Store buckets
2011/06/15 01:36:25| Max Mem  size: 30720 KB
2011/06/15 01:36:25| Max Swap size: 2048000 KB
2011/06/15 01:36:25| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2011/06/15 01:36:25| Rebuilding storage in /var/log/squid/cache (DIRTY)
2011/06/15 01:36:25| Using Least Load store dir selection
2011/06/15 01:36:25| Set Current Directory to /var/spool/squid
2011/06/15 01:36:25| Loaded Icons.
2011/06/15 01:36:25| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 20.
2011/06/15 01:36:25| Accepting ICP messages at 0.0.0.0, port 3130, FD 21.
2011/06/15 01:36:25| Accepting SNMP messages on port 3401, FD 22.
2011/06/15 01:36:25| WCCP Disabled.
2011/06/15 01:36:25| Ready to serve requests.
2011/06/15 01:36:25| WARNING: url_rewriter #5 (FD 13) exited
2011/06/15 01:36:25| WARNING: url_rewriter #4 (FD 12) exited
2011/06/15 01:36:25| WARNING: url_rewriter #3 (FD 11) exited
2011/06/15 01:36:25| Too few url_rewriter processes are running
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.
CPU Usage: 0.040 seconds = 0.033 user + 0.007 sys
Maximum Resident Size: 23920 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
	total space in arena:    2680 KB
	Ordinary blocks:         2548 KB      4 blks
	Small blocks:               0 KB      0 blks
	Holding blocks:           244 KB      1 blks
	Free Small blocks:          0 KB
	Free Ordinary blocks:     131 KB
	Total in use:            2792 KB 95%
	Total free:               131 KB 4%
########################################################################
при этом если дать команду squid 
#######################################################################
2011/06/15 01:44:45| Starting Squid Cache version 2.6.STABLE21 for i686-redhat-linux-gnu...
2011/06/15 01:44:45| Process ID 10416
2011/06/15 01:44:45| With 1024 file descriptors available
2011/06/15 01:44:45| Using epoll for the IO loop
2011/06/15 01:44:45| Performing DNS Tests...
2011/06/15 01:44:45| Successful DNS name lookup tests...
2011/06/15 01:44:45| DNS Socket created at 0.0.0.0, port 53492, FD 8
2011/06/15 01:44:45| Adding nameserver 188.168.31.10 from /etc/resolv.conf
2011/06/15 01:44:45| Adding nameserver 80.82.162.82 from /etc/resolv.conf
2011/06/15 01:44:45| helperOpenServers: Starting 5 'redirector' processes
2011/06/15 01:44:45| User-Agent logging is disabled.
2011/06/15 01:44:45| Referer logging is disabled.
2011/06/15 01:44:45| Unlinkd pipe opened on FD 18
2011/06/15 01:44:45| Swap maxSize 2048000 + 30720 KB, estimated 0 objects
2011/06/15 01:44:45| Target number of buckets: 7995
2011/06/15 01:44:45| Using 8192 Store buckets
2011/06/15 01:44:45| Max Mem  size: 30720 KB
2011/06/15 01:44:45| Max Swap size: 2048000 KB
2011/06/15 01:44:45| Local cache digest enabled; rebuild/rewrite every 3600/3600 sec
2011/06/15 01:44:45| Rebuilding storage in /var/log/squid/cache (CLEAN)
2011/06/15 01:44:45| Using Least Load store dir selection
2011/06/15 01:44:45| Set Current Directory to /var/spool/squid
2011/06/15 01:44:45| Loaded Icons.
2011/06/15 01:44:45| Accepting transparently proxied HTTP connections at 0.0.0.0, port 3128, FD 20.
2011/06/15 01:44:45| Accepting ICP messages at 0.0.0.0, port 3130, FD 21.
2011/06/15 01:44:45| Accepting SNMP messages on port 3401, FD 22.
2011/06/15 01:44:45| WCCP Disabled.
2011/06/15 01:44:45| Ready to serve requests.
2011/06/15 01:44:45| Done reading /var/log/squid/cache swaplog (0 entries)
2011/06/15 01:44:45| Finished rebuilding storage from disk.
2011/06/15 01:44:45|         0 Entries scanned
2011/06/15 01:44:45|         0 Invalid entries.
2011/06/15 01:44:45|         0 With invalid flags.
2011/06/15 01:44:45|         0 Objects loaded.
2011/06/15 01:44:45|         0 Objects expired.
2011/06/15 01:44:45|         0 Objects cancelled.
2011/06/15 01:44:45|         0 Duplicate URLs purged.
2011/06/15 01:44:45|         0 Swapfile clashes avoided.
2011/06/15 01:44:45|   Took 0.3 seconds (   0.0 objects/sec).
2011/06/15 01:44:45| Beginning Validation Procedure
2011/06/15 01:44:45|   Completed Validation Procedure
2011/06/15 01:44:45|   Validated 0 Entries
2011/06/15 01:44:45|   store_swap_size = 0k
2011/06/15 01:44:45| WARNING: url_rewriter #1 (FD 9) exited
2011/06/15 01:44:46| WARNING: url_rewriter #2 (FD 10) exited
2011/06/15 01:44:46| WARNING: url_rewriter #3 (FD 11) exited
2011/06/15 01:44:46| Too few url_rewriter processes are running
2011/06/15 01:44:46| storeDirWriteCleanLogs: Starting...
2011/06/15 01:44:46|   Finished.  Wrote 0 entries.
2011/06/15 01:44:46|   Took 0.0 seconds (   0.0 entries/sec).
FATAL: The url_rewriter helpers are crashing too rapidly, need help!
Squid Cache (Version 2.6.STABLE21): Terminated abnormally.
CPU Usage: 0.039 seconds = 0.034 user + 0.005 sys
Maximum Resident Size: 23296 KB
Page faults with physical i/o: 0
Memory usage for squid via mallinfo():
	total space in arena:    2560 KB
	Ordinary blocks:         2459 KB     10 blks
	Small blocks:               0 KB      0 blks
	Holding blocks:           244 KB      1 blks
	Free Small blocks:          0 KB
	Free Ordinary blocks:     100 KB
	Total in use:            2703 KB 96%
	Total free:               100 KB 4%
##########################################################################
то получаем рабочий сквид
На права доступа не отсылать, все уже раз 10 проверил и на х64 и на 386
проблема не в правах... 
а возможно в том как стартует его service 
cat /etc/init.d/squid 
#!/bin/bash
# squid		This shell script takes care of starting and stopping
#		Squid Internet Object Cache
#
# chkconfig: - 90 25
# description: Squid - Internet Object Cache. Internet object caching is \
# 	a way to store requested Internet objects (i.e., data available \
# 	via the HTTP, FTP, and gopher protocols) on a system closer to the \
#	requesting site than to the source. Web browsers can then use the \
#	local Squid cache as a proxy HTTP server, reducing access time as \
#	well as bandwidth consumption.
# pidfile: /var/run/squid.pid
# config: /etc/squid/squid.conf
PATH=/usr/bin:/sbin:/bin:/usr/sbin
export PATH
# Source function library.
. /etc/rc.d/init.d/functions
# Source networking configuration.
. /etc/sysconfig/network
# don't raise an error if the config file is incomplete
# set defaults instead:
SQUID_OPTS=${SQUID_OPTS:-"-D"}
SQUID_PIDFILE_TIMEOUT=${SQUID_PIDFILE_TIMEOUT:-20}
SQUID_SHUTDOWN_TIMEOUT=${SQUID_SHUTDOWN_TIMEOUT:-100}
# determine the name of the squid binary
[ -f /usr/sbin/squid ] && SQUID=squid
prog="$SQUID"
# determine which one is the cache_swap directory
CACHE_SWAP=`sed -e 's/#.*//g' /etc/squid/squid.conf | \
	grep cache_dir |  awk '{ print $3 }'`
[ -z "$CACHE_SWAP" ] && CACHE_SWAP=/var/spool/squid
RETVAL=0
start() {
        #check if the squid conf file is present
        if [ ! -f /etc/squid/squid.conf ]; then
            echo "Configuration file /etc/squid/squid.conf missing" 1>&2
            exit 6
        fi
        . /etc/sysconfig/squid
        # don't raise an error if the config file is incomplete.
        # set defaults instead:
        SQUID_OPTS=${SQUID_OPTS:-"-D"}
        SQUID_PIDFILE_TIMEOUT=${SQUID_PIDFILE_TIMEOUT:-20}
        SQUID_SHUTDOWN_TIMEOUT=${SQUID_SHUTDOWN_TIMEOUT:-100}
        if [ -z "$SQUID" ]; then
                echo "Insufficient privilege" 1>&2
                exit 4
        fi
        for adir in $CACHE_SWAP; do
        if [ ! -d $adir/00 ]; then
	     echo -n "init_cache_dir $adir... "
	     $SQUID -z -F -D >> /var/log/squid/squid.out 2>&1
	fi
    done
    echo -n $"Starting $prog: "
    $SQUID $SQUID_OPTS >> /var/log/squid/squid.out 2>&1
    RETVAL=$?
    if [ $RETVAL -eq 0 ]; then
       timeout=0;
       while : ; do
          [ ! -f /var/run/squid.pid ] || break
	  if [ $timeout -ge $SQUID_PIDFILE_TIMEOUT ]; then
	     RETVAL=1
	     break
	  fi
	  sleep 1 && echo -n "."
	  timeout=$((timeout+1))
       done
    fi
    [ $RETVAL -eq 0 ] && touch /var/lock/subsys/$SQUID
    [ $RETVAL -eq 0 ] && echo_success
    [ $RETVAL -ne 0 ] && echo_failure
    echo
    return $RETVAL
}
stop() {
    . /etc/sysconfig/squid
    # don't raise an error if the config file is incomplete.
    # set defaults instead:
    SQUID_SHUTDOWN_TIMEOUT=${SQUID_SHUTDOWN_TIMEOUT:-100}
    echo -n  $"Stopping $prog: "
    $SQUID -k check >> /var/log/squid/squid.out 2>&1
    RETVAL=$?
    if [ $RETVAL -eq 0 ] ; then
        $SQUID -k shutdown &
    	rm -f /var/lock/subsys/$SQUID
	timeout=0
 	while : ; do
		[ -f /var/run/squid.pid ] || break
		if [ $timeout -ge $SQUID_SHUTDOWN_TIMEOUT ]; then
		    echo
		    return 1
		fi
		sleep 2 && echo -n "."
		timeout=$((timeout+2))
    	done
	echo_success
	echo
    else
    	echo_failure
	if [ ! -e /var/lock/subsys/$SQUID ]; then
		RETVAL=0
	fi
	echo
    fi
    return $RETVAL
}
reload() {
    . /etc/sysconfig/squid
    # don't raise an error if the config file is incomplete.
    # set defaults instead:
    SQUID_OPTS=${SQUID_OPTS:-"-D"}
    $SQUID $SQUID_OPTS -k reconfigure
}
restart() {
    stop
    start
}
condrestart() {
    [ -e /var/lock/subsys/squid ] && restart || :
}
rhstatus() {
    status $SQUID && $SQUID -k check
}
probe() {
    return 0
}
case "$1" in
start)
    start
    ;;
stop)
    stop
    ;;
reload)
    reload
    ;;
restart)
    restart
    ;;
condrestart)
    condrestart
    ;;
status)
    rhstatus
    ;;
probe)
    exit 0
    ;;
*)
    echo $"Usage: $0 {start|stop|status|reload|restart|condrestart}"
    exit 2
esac
exit $?
прошу помощи, не прикольно после обновления сидеть вручную стартовать сквиду
			
			
									
									
						CentOS 5.6 + Squid + rejik не работает
Re: CentOS 5.6 + Squid + rejik не работает
Как установить? пункт 14
Если не поможет, то посмотрите в сторону систем контроля доступа, например selinux и если подобная включена, выключите для теста.
			
			
									
									
						Если не поможет, то посмотрите в сторону систем контроля доступа, например selinux и если подобная включена, выключите для теста.
Re: CentOS 5.6 + Squid + rejik не работает
Все спасибо помогло
косяк реально в selinux был
			
			
									
									
						косяк реально в selinux был