Can not chdir(/var/spool/clientmqueue/)

squid Error :
NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): No such file or directory

when you debug
[root@localhost ~]# tail -f /var/log/maillog
May 29 10:09:01 proxy sendmail[13664]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): No such file or directory
May 29 10:10:01 proxy sendmail[13688]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): No such file or directory
May 29 10:11:05 proxy sendmail[13700]: NOQUEUE: SYSERR(root): can not chdir(/var/spool/clientmqueue/): No such file or directory

try this :

#pwd
/var/spool/squid
#ls -ltr
-rw-r—– 1 root squid 127790832 May 28 18:30 swap.state

#chmod 770 swap.state
#ls -ltr
-rwxrwx— 1 root squid 127790832 May 28 18:30 swap.state

# service squid restart
# tail -f /var/log/squid/access.log
10.10.7.119 – yusuf [29/May/2013:11:39:53 +0700] “CONNECT idesouvenir.com:443 HTTP/1.1” 200 6680 TCP_MISS:DIRECT

problem solved.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s