2.1.x -> 3.x

alexus alexus at gmail.com
Mon Aug 15 19:20:11 CEST 2011


I'm trying to upgrade our varnish from 2.x to 3.x

Mar 22 06:10:04 Installed: varnish-libs-2.1.5-1.x86_64
Mar 22 06:10:09 Installed: varnish-2.1.5-1.x86_64
May 04 08:47:17 Updated: varnish-libs-2.1.5-1.el6.x86_64
May 04 08:47:50 Updated: varnish-2.1.5-1.el6.x86_64
Aug 10 12:08:18 Installed: varnish-libs-3.0.0-2.el5.x86_64
Aug 10 12:08:20 Installed: varnish-3.0.0-2.el5.x86_64

installed packages

[root at 6prx01 ~]# service varnish start
Starting Varnish Cache:                                    [FAILED]
[root at 6prx01 ~]#

it used to work fine w/ 2.x branch


[root at 6prx01 ~]# sh -x /etc/init.d/varnish start
+ . /etc/init.d/functions
++ TEXTDOMAIN=initscripts
++ umask 022
++ PATH=/sbin:/usr/sbin:/bin:/usr/bin
++ export PATH
++ '[' -z '' ']'
++ COLUMNS=80
++ '[' -z '' ']'
+++ /sbin/consoletype
++ CONSOLETYPE=pty
++ '[' -f /etc/sysconfig/i18n -a -z '' -a -z '' ']'
++ . /etc/profile.d/lang.sh
++ unset LANGSH_SOURCED
++ '[' -z '' ']'
++ '[' -f /etc/sysconfig/init ']'
++ . /etc/sysconfig/init
+++ BOOTUP=color
+++ RES_COL=60
+++ MOVE_TO_COL='echo -en \033[60G'
+++ SETCOLOR_SUCCESS='echo -en \033[0;32m'
+++ SETCOLOR_FAILURE='echo -en \033[0;31m'
+++ SETCOLOR_WARNING='echo -en \033[0;33m'
+++ SETCOLOR_NORMAL='echo -en \033[0;39m'
+++ PROMPT=yes
+++ AUTOSWAP=no
+++ ACTIVE_CONSOLES='/dev/tty[1-6]'
+++ SINGLE=/sbin/sushell
++ '[' pty = serial ']'
++ __sed_discard_ignored_files='/\(~\|\.bak\|\.orig\|\.rpmnew\|\.rpmorig\|\.rpmsave\)$/d'
+ retval=0
+ pidfile=/var/run/varnish.pid
+ exec=/usr/sbin/varnishd
+ reload_exec=/usr/bin/varnish_reload_vcl
+ prog=varnishd
+ config=/etc/sysconfig/varnish
+ lockfile=/var/lock/subsys/varnish
+ '[' -e /etc/sysconfig/varnish ']'
+ . /etc/sysconfig/varnish
++ NFILES=131072
++ MEMLOCK=82000
++ RELOAD_VCL=1
++ VARNISH_VCL_CONF=/etc/varnish/default.vcl
++ VARNISH_LISTEN_PORT=6081
++ VARNISH_ADMIN_LISTEN_ADDRESS=127.0.0.1
++ VARNISH_ADMIN_LISTEN_PORT=6082
++ VARNISH_SECRET_FILE=/etc/varnish/secret
++ VARNISH_MIN_THREADS=1
++ VARNISH_MAX_THREADS=1000
++ VARNISH_THREAD_TIMEOUT=120
++ VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin
++ VARNISH_STORAGE_SIZE=1G
++ VARNISH_STORAGE=file,/var/lib/varnish/varnish_storage.bin,1G
++ VARNISH_TTL=120
++ DAEMON_OPTS='-a :6081              -f /etc/varnish/default.vcl
        -T 127.0.0.1:6082              -t 120              -w
1,1000,120              -u varnish -g varnish              -S
/etc/varnish/secret              -s
file,/var/lib/varnish/varnish_storage.bin,1G'
+ case "$1" in
+ rh_status_q
+ rh_status
+ start
+ '[' '!' -x /usr/sbin/varnishd ']'
+ '[' '!' -f /etc/sysconfig/varnish ']'
+ echo -n 'Starting Varnish Cache: '
Starting Varnish Cache: + ulimit -n 131072
+ ulimit -l 82000
+ '[' '-a :6081              -f /etc/varnish/default.vcl
-T 127.0.0.1:6082              -t 120              -w 1,1000,120
       -u varnish -g varnish              -S /etc/varnish/secret
       -s file,/var/lib/varnish/varnish_storage.bin,1G' = '' ']'
+ daemon /usr/sbin/varnishd -P /var/run/varnish.pid '-a :6081
    -f /etc/varnish/default.vcl              -T 127.0.0.1:6082
     -t 120              -w 1,1000,120              -u varnish -g
varnish              -S /etc/varnish/secret              -s
file,/var/lib/varnish/varnish_storage.bin,1G'
+ retval=1
+ '[' 1 -eq 0 ']'
+ echo_failure
+ '[' color = color ']'
+ echo -en '\033[60G'
                                                           + echo -n '['
[+ '[' color = color ']'
+ echo -en '\033[0;31m'
+ echo -n FAILED
FAILED+ '[' color = color ']'
+ echo -en '\033[0;39m'
+ echo -n ']'
]+ echo -ne '\r'
+ return 1
+ echo

+ return 1
+ exit 1
[root at 6prx01 ~]#

not really sure where/how to look where the problem is...

-- 
http://alexus.org/




More information about the varnish-misc mailing list