升级后的Ubuntu服务器问题(Ubuntu 14)

我们已经升级了一个Ubuntu的先前版本的鱿鱼代理服务器(不记得是什么感到抱歉)到版本14.04.2。 现在看来Squid不会启动/虚拟机无法通过代理访问互联网。 我注意到,从CLI到Webmin的服务可能有一个问题,我看到我可以“开始服务”,我点击这个,并得到了错误

Failed to start Squid : squid3 start/running, process 12431 

移回到CLI并运行sudo service squid start并得到以下内容:

 squid3 start/running, process 12637 

所以…它在运行吗? 为什么webmin显示启动服务…

看到一些论坛在线重新启动服务,这并没有帮助。 Running service squid3 status显示:

 MGT-VM-PRX:/var/log/squid3$ service squid3 status squid3 stop/waiting 

有没有人注意到这一点,或知道升级改变了什么?

我也可以看到在ps -aux |下有两个服务 grep鱿鱼和squid3

刚刚检查日志/var/log/squid3/cache.log.1和问题似乎服务没有启动/工作作为日志停止在19日发现问题。


UPDATE


通过删除行来修复:acl manager proto cache_object

 # Recommended minimum configuration: # acl manager proto cache_object acl localhost src 127.0.0.1/32 ::1 acl to_localhost dst 127.0.0.0/8 0.0.0.0/32 ::1 

运行以下命令:

 azzurri@MGT-VM-PRX:~$ squid3 -k parse 2015/06/22 12:38:08| Startup: Initializing Authentication Schemes ... 2015/06/22 12:38:08| Startup: Initialized Authentication Scheme 'basic' 2015/06/22 12:38:08| Startup: Initialized Authentication Scheme 'digest' 2015/06/22 12:38:08| Startup: Initialized Authentication Scheme 'negotiate' 2015/06/22 12:38:08| Startup: Initialized Authentication Scheme 'ntlm' 2015/06/22 12:38:08| Startup: Initialized Authentication. 2015/06/22 12:38:08| Processing Configuration File: /etc/squid3/squid.conf (depth 0) 2015/06/22 12:38:08| Processing: acl manager proto cache_object 2015/06/22 12:38:08| aclParseAclLine: ACL 'manager' already exists with different type. FATAL: Bungled /etc/squid3/squid.conf line 694: acl manager proto cache_object Squid Cache (Version 3.3.8): Terminated abnormally. CPU Usage: 0.007 seconds = 0.003 user + 0.003 sys Maximum Resident Size: 20496 KB Page faults with physical i/o: 0 

现在似乎都好,但我不确定这是什么? 任何人都可以澄清,如果这是一个合适的修复?

你运行语法检查squid3 -k check ? 如果您知道以前的版本,查看更改日志可能有所帮助,或者使用http://www.squid-cache.org/Doc/config/查看当前configuration,那么可能会有指示可能在版本中折旧 – 鱿鱼升级到。