当前位置: 技术问答>linux和unix
发个squid的错误信息大家帮忙分析一下
来源: 互联网 发布时间:2016-10-08
本文导语: squid已经用了一段时间了,自从写了个防火墙后squid就用不了了,不知道是不是跟防火墙有关,我关掉防火墙也还是一样不行, #/usr/local/squid/sbin/squid 后没什么提示,查看squid端口却没有起来 #/usr/local/squid/sbin/squid -D ...
squid已经用了一段时间了,自从写了个防火墙后squid就用不了了,不知道是不是跟防火墙有关,我关掉防火墙也还是一样不行,
#/usr/local/squid/sbin/squid
后没什么提示,查看squid端口却没有起来
#/usr/local/squid/sbin/squid -D
后查看squid端口已经起来了,可还是用不了,一直
#/usr/local/squid/sbin/squid -k reconfigure
都会报错
squid: ERROR: Could not send signal 1 to process 5134: (3) No such process
squid.out里是这样的:
squid: ERROR: No running copy
squid: ERROR: No running copy
squid: ERROR: No running copy
squid: ERROR: No running copy
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.013 seconds = 0.001 user + 0.012 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.014 seconds = 0.003 user + 0.011 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.042 seconds = 0.008 user + 0.034 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 8
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.035 seconds = 0.006 user + 0.029 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.000 user + 0.007 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 8
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.001 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.013 seconds = 0.001 user + 0.012 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.000 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
squid: ERROR: No running copy
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.000 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.000 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
squid: ERROR: No running copy
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.002 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.001 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.000 user + 0.006 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.002 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
可是我有在squid.conf里设visible_hostname阿
messages里是这样的
squid[11330]: Squid Parent: child process 11520 exited with status 1
squid[11330]: Squid Parent: child process 11549 started
(squid): ipcache_init: DNS name lookup tests failed.
...skipping...
朋友们帮忙分析一下
#/usr/local/squid/sbin/squid
后没什么提示,查看squid端口却没有起来
#/usr/local/squid/sbin/squid -D
后查看squid端口已经起来了,可还是用不了,一直
#/usr/local/squid/sbin/squid -k reconfigure
都会报错
squid: ERROR: Could not send signal 1 to process 5134: (3) No such process
squid.out里是这样的:
squid: ERROR: No running copy
squid: ERROR: No running copy
squid: ERROR: No running copy
squid: ERROR: No running copy
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.013 seconds = 0.001 user + 0.012 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.014 seconds = 0.003 user + 0.011 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.042 seconds = 0.008 user + 0.034 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 8
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.035 seconds = 0.006 user + 0.029 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.007 seconds = 0.000 user + 0.007 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 8
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.001 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.013 seconds = 0.001 user + 0.012 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.000 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
squid: ERROR: No running copy
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.000 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.000 user + 0.005 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
squid: ERROR: No running copy
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.002 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.005 seconds = 0.001 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.000 user + 0.006 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
FATAL: Could not determine fully qualified hostname. Please set 'visible_hostname'
Squid Cache (Version 2.6.STABLE6): Terminated abnormally.
CPU Usage: 0.006 seconds = 0.002 user + 0.004 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 0
可是我有在squid.conf里设visible_hostname阿
messages里是这样的
squid[11330]: Squid Parent: child process 11520 exited with status 1
squid[11330]: Squid Parent: child process 11549 started
(squid): ipcache_init: DNS name lookup tests failed.
...skipping...
朋友们帮忙分析一下
|
主机名没设置好把
输入hostname命令 看看你的主机名是什么
/etc/sysconfig/network 里设置的
HOSTNAME=xxxxx
/etc/hosts里也最好和刚才设置的那个xxxxx一致
输入hostname命令 看看你的主机名是什么
/etc/sysconfig/network 里设置的
HOSTNAME=xxxxx
/etc/hosts里也最好和刚才设置的那个xxxxx一致