Bug 55654 - Не запускается squidmill.service
Summary: Не запускается squidmill.service
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: squidmill (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: manowar@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
: 35197 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-08-19 13:09 MSK by Монастырский Илья
Modified: 2025-08-30 18:53 MSK (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Монастырский Илья 2025-08-19 13:09:00 MSK
Образ:
Alt Server 11.0 x86_64 (Обновлён до Sisyphus)

Версия пакета:
alterator-squidmill-2.4-alt2

Предварительные условия:
1) Установленные пакеты alterator-fbi, alterator-squidmill
2) Запущенные сервисы ahttpd и alteratord

Шаги воспроизведения:
1) В веб-интерфейсе ЦУС открыть «Прокси-сервер» из раздела «Статистика»
2) Отметить флаг "Включить сбор данных прокси-сервера" и нажать Применить

Результат:
При запуске сервиса появляется ошибка (см. вложение screen.png ):
Невозможно переключить службу сбора статистики в состояние on

Ожидаемый результат:
Сбор данных для прокси-сервера запускается и работает корректно

Дополнительно:
1) Файл с логами /var/log/squid/squidmill.log отсутствует
2) Статус сервиса: # systemctl status squidmill.service
     Loaded: loaded (/usr/lib/systemd/system/squidmill.service; enabled; preset: disabled)
     Active: failed (Result: exit-code) since Tue 2025-08-19 12:19:58 MSK; 38min ago
 Invocation: 55e9fc9283fd475abfa13da6856995dc
    Process: 17483 ExecStart=/usr/sbin/squidmill -U $SQUIDLOGUSER -G $SQUIDLOGUSER -b /var/run/squidmill/squidmill.pid -c /var/run/squidmill/squidmill.sock -L $LOGFILE -d $DBFILE -R $MAXRECORDS -F $SQUIDLOGFILE (code=exited, status=1/FAI>
   Mem peak: 3.6M
        CPU: 14ms

авг 19 12:19:58 server-11-0-x86-64-minimal systemd[1]: Starting squidmill.service - Squid access logfile processor...
авг 19 12:19:58 server-11-0-x86-64-minimal systemd[1]: squidmill.service: Control process exited, code=exited, status=1/FAILURE
авг 19 12:19:58 server-11-0-x86-64-minimal systemd[1]: squidmill.service: Failed with result 'exit-code'.
авг 19 12:19:58 server-11-0-x86-64-minimal systemd[1]: Failed to start squidmill.service - Squid access logfile processor.
Comment 1 Монастырский Илья 2025-08-19 13:14:01 MSK
Версия squidmill-2.6.1-alt3
Comment 2 Монастырский Илья 2025-08-19 13:15:43 MSK
*** Bug 35197 has been marked as a duplicate of this bug. ***
Comment 3 Repository Robot 2025-08-30 18:53:03 MSK
squidmill-2.7.0-alt2 -> sisyphus:

Sat Aug 30 2025 Paul Wolneykien <manowar@altlinux> 2.7.0-alt2
- Build without RPATH.
Thu Aug 28 2025 Paul Wolneykien <manowar@altlinux> 2.7.0-alt1
- Added a special test with no debug messages in daemon log (closes: 30142).
- Make SysV-init script to remove the socket file on stop (closes: 29894).
- Also, add support to print the test main log on success (PRINT_LOG_OK).
- Repeat all tests 10 times when building.
- Fixed/improved C-interface functions with Gambit 4.9.7.
- Allow to select tests (RUN_TESTS) and to repeat them (TEST_COUNT).
- Reworked tests + more tests.
- Reworked top-level exception handling.
- Rewrote the file-follow machinery (in the hope it's more stable now).
Fri Aug 22 2025 Paul Wolneykien <manowar@altlinux> 2.6.4-alt1
- Version 2.6.4.
- Replace SRFI-1 named getters with list-ref to avoid call
  to undefined symbols with some versions of Gambit (Fixes:
  OVE-20250822-0001).
- Run gsc with -warnings and check for undefined symbols.
- Fixed the extra log title in test output.
- Try to improve backtrace on error.
Thu Aug 21 2025 Paul Wolneykien <manowar@altlinux> 2.6.3-alt1
- Output SQL statements to the log with debug level > 1 only (-D -D).
- Print test logs on test fail (PRINT_LOG=1).
- Improved tests.
Tue Aug 19 2025 Paul Wolneykien <manowar@altlinux> 2.6.2-alt2
- Make [/var]/run/squidmill a ghost dir.
Tue Aug 19 2025 Paul Wolneykien <manowar@altlinux> 2.6.2-alt1
- Use squidmill.service unit to configure some fragile options
  (closes: 50276, 55654, 29894).