Проблема со squid после обновления с 2.1 до 2.3.2-RELEASE
-
Автоматически обновил версию системы и получил проблемы. До обновления у меня работал прокси. После обновления squid отсутсвует в сервисах. Пробую поставить его вручую из пакетов. Получаю:
Number of packages to be installed: 4
The process will require 10 MiB more space.
[1/4] Installing squid-3.5.19_1…
===> Creating groups.
Using existing group 'squid'.
===> Creating users
Using existing user 'squid'.
===> Pre-installation configuration for squid-3.5.19_1
[1/4] Extracting squid-3.5.19_1: …....... done
pkg: Fail to rename /usr/local/etc/squid/errors/.zh-cn.ghlEmce6c83g -> /usr/local/etc/squid/errors/zh-cn: Is a directory
FailedПосоветуйте как исправить. При чем хотелось бы сохранить список пользователй
p.s Старую тему, привычную для меня, с меню с левой стороны теперь не вернуть? -
Возможно нашел решение:
rm -rf /usr/local/etc/squid/ -
Squid становится неактивным через некоторое время. В логах:
Jan 21 12:13:14 php-fpm 45451 /rc.start_packages: Restarting/Starting all packages. Jan 21 12:13:14 php-fpm 45451 /rc.start_packages: [squid] - squid_resync function call pr: bp: rpc:no Jan 21 12:13:15 php-fpm 45451 /rc.start_packages: [squid] Removing cronjobs ... Jan 21 12:13:15 php-fpm 45451 /rc.start_packages: [squid] Antivirus features disabled. Jan 21 12:13:15 php-fpm 45451 /rc.start_packages: [squid] Removing freshclam cronjob. Jan 21 12:13:18 check_reload_status Reloading filter Jan 21 12:13:19 php-fpm 29597 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules. Jan 21 12:13:19 xinetd 13606 Starting reconfiguration Jan 21 12:13:19 xinetd 13606 Swapping defaults Jan 21 12:13:19 xinetd 13606 readjusting service 6969-udp Jan 21 12:13:19 xinetd 13606 Reconfigured: new=0 old=1 dropped=0 (services) Jan 21 12:13:19 php-fpm 29597 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules. Jan 21 12:13:19 php-fpm 29597 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'filter' rules. Jan 21 12:13:20 login login on ttyv0 as root Jan 21 12:13:20 sshlockout 60869 sshlockout/webConfigurator v3.0 starting up Jan 21 12:13:55 php-fpm 69118 /index.php: Successful login for user 'admin' from: 192.168.0.75 Jan 21 12:14:22 kernel pid 55774 (squid), uid 100: exited on signal 6 Jan 21 12:14:59 kernel pid 57818 (squid), uid 100: exited on signal 6 Jan 21 12:15:35 kernel pid 98978 (squid), uid 100: exited on signal 6 Jan 21 12:15:38 kernel pid 84645 (squid), uid 100: exited on signal 6 Jan 21 12:15:44 kernel pid 85707 (squid), uid 100: exited on signal 6 Jan 21 12:15:47 kernel pid 96540 (squid), uid 100: exited on signal 6 Jan 21 12:15:57 kernel pid 97138 (squid), uid 100: exited on signal 6 Jan 21 12:16:00 kernel pid 8590 (squid), uid 100: exited on signal 6 Jan 21 12:16:08 Squid_Alarm 20957 Squid has exited. Reconfiguring filter. Jan 21 12:16:08 Squid_Alarm 21224 Attempting restart... Jan 21 12:16:11 Squid_Alarm 22687 Reconfiguring filter... Jan 21 12:16:11 check_reload_status Reloading filter Jan 21 12:16:12 php-fpm 9643 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'nat' rules. Jan 21 12:16:12 xinetd 13606 Starting reconfiguration Jan 21 12:16:12 xinetd 13606 Swapping defaults Jan 21 12:16:12 xinetd 13606 readjusting service 6969-udp Jan 21 12:16:12 xinetd 13606 Reconfigured: new=0 old=1 dropped=0 (services) Jan 21 12:16:12 php-fpm 9643 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'pfearly' rules. Jan 21 12:16:12 php-fpm 9643 /rc.filter_configure_sync: [squid] Installed but disabled. Not installing 'filter' rules.Что он хочет?
-
Доброе
Сохраните конфиг с пакетами и без. Поставьте с нуля. После - установите только сквид и посмотрите, что будет. Если все ок и больше пакетов не было установлено - подгрузите конфиг без пактов.Или подгрузите коняиг со всеми пакетами. Как пойдет.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register LoginPrivacy Policy · Cookie Policy