Собственно ситуация:
Есть Slackware 8.0 и собранный из исходников squid 2.4.ST1 с поддержкой SNMP, ICP, ARP-ACL.
Установлен в каталоге /usr/local/squid, в котором созданы etc, bin, libexec, spool (каталог с кэшем), logs. В каталоге logs созданы ВСЕ необходимые файлы для ведения логов. squid.conf все выставленно ПРАВИЛЬНО и указано, что squid запускается от пользователя squid из группы squid.
Структура каталогов кэша создана squid -z.
Пермиссии раздал так - chown squid.squid logs/* spool/* - в каталоге squid.
Запускается ТОЛЬКО от root-а.
Если перегрузить систему, добавив в rc.local сторку /usr/local/squid/bin/squid, то получается, что сообщений об ошибках ВООБЩЕ НИГДЕ НЕТ!!! (я имею ввиду чичтемный сообщения) и при этом сквид не стартует.
Если попытаться запустить его от имени простого пользователя, то получается так в логах сквида:
-------------------cat---------------
2001/09/26 20:59:32| fd_open FD 3 /usr/local/squid/logs/cache.log
2001/09/26 20:59:32| Starting Squid Cache version 2.4.STABLE1 for i686-pc-linux-gnu...
2001/09/26 20:59:32| Process ID 235
2001/09/26 20:59:32| With 1024 file descriptors available
2001/09/26 20:59:32| Initializing IP Cache...
2001/09/26 20:59:32| Performing DNS Tests...
2001/09/26 20:59:32| Successful DNS name lookup tests...
2001/09/26 20:59:32| cachemgrRegister: registered ipcache
2001/09/26 20:59:32| Initializing FQDN Cache...
2001/09/26 20:59:32| cachemgrRegister: registered fqdncache
2001/09/26 20:59:32| fd_open FD 4 DNS Socket
2001/09/26 20:59:32| DNS Socket created on FD 4
2001/09/26 20:59:32| Adding nameserver 192.168.0.201 from squid.conf
2001/09/26 20:59:32| idnsAddNameserver: Added nameserver #0: 192.168.0.201
2001/09/26 20:59:32| cachemgrRegister: registered idns
2001/09/26 20:59:32| cachemgrRegister: registered http_headers
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_READ_TIMEOUT
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_READ_TIMEOUT
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_LIFETIME_EXP
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_LIFETIME_EXP
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_READ_ERROR
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_READ_ERROR
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_WRITE_ERROR
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_WRITE_ERROR
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_SHUTTING_DOWN
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_SHUTTING_DOWN
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_CONNECT_FAIL
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_CONNECT_FAIL
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_INVALID_REQ
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_INVALID_REQ
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_UNSUP_REQ
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_UNSUP_REQ
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_INVALID_URL
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_INVALID_URL
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_SOCKET_FAILURE
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_SOCKET_FAILURE
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_DNS_FAIL
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_DNS_FAIL
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_CANNOT_FORWARD
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_CANNOT_FORWARD
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FORWARDING_DENIED
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FORWARDING_DENIED
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_NO_RELAY
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_NO_RELAY
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_ZERO_SIZE_OBJECT
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_ZERO_SIZE_OBJECT
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FTP_DISABLED
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FTP_DISABLED
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FTP_FAILURE
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FTP_FAILURE
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_URN_RESOLVE
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_URN_RESOLVE
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_ACCESS_DENIED
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_ACCESS_DENIED
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_CACHE_ACCESS_DENIED
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_CACHE_ACCESS_DENIED
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_CACHE_MGR_ACCESS_DENIED
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_CACHE_MGR_ACCESS_DENIED
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FTP_PUT_CREATED
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FTP_PUT_CREATED
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FTP_PUT_MODIFIED
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FTP_PUT_MODIFIED
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FTP_PUT_ERROR
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FTP_PUT_ERROR
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FTP_NOT_FOUND
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FTP_NOT_FOUND
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FTP_FORBIDDEN
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FTP_FORBIDDEN
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_FTP_UNAVAILABLE
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_FTP_UNAVAILABLE
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_ONLY_IF_CACHED_MISS
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_ONLY_IF_CACHED_MISS
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/etc/errors/ERR_TOO_BIG
2001/09/26 20:59:32| fd_close FD 5 /usr/local/squid/etc/errors/ERR_TOO_BIG
2001/09/26 20:59:32| fd_open FD 5 /usr/local/squid/logs/access.log
2001/09/26 20:59:32| fd_open FD 6 IPC FIFO Parent Read
2001/09/26 20:59:32| fd_open FD 7 IPC FIFO Child Write
2001/09/26 20:59:32| fd_open FD 8 IPC FIFO Child Read
2001/09/26 20:59:32| fd_open FD 9 IPC FIFO Parent Write
2001/09/26 20:59:32| ipcCreate: prfd FD 6
2001/09/26 20:59:32| ipcCreate: pwfd FD 9
2001/09/26 20:59:32| ipcCreate: crfd FD 8
2001/09/26 20:59:32| ipcCreate: cwfd FD 7
2001/09/26 20:59:32| fd_close FD 8 IPC FIFO Child Read
2001/09/26 20:59:32| fd_close FD 7 IPC FIFO Child Write
2001/09/26 20:59:32| leave_suid: PID 236 called
2001/09/26 20:59:32| leave_suid: PID 236 giving up root priveleges forever
2001/09/26 20:59:32| commSetTimeout: FD 6 timeout -1
2001/09/26 20:59:32| commSetTimeout: FD 6 timeout -1
2001/09/26 20:59:32| commSetTimeout: FD 9 timeout -1
2001/09/26 20:59:32| Unlinkd pipe opened on FD 9
2001/09/26 20:59:32| cachemgrRegister: registered menu
2001/09/26 20:59:32| cachemgrRegister: registered shutdown
2001/09/26 20:59:32| cachemgrRegister: registered offline_toggle
2001/09/26 20:59:32| cachemgrRegister: registered info
2001/09/26 20:59:32| cachemgrRegister: registered filedescriptors
2001/09/26 20:59:32| cachemgrRegister: registered objects
2001/09/26 20:59:32| cachemgrRegister: registered vm_objects
2001/09/26 20:59:32| cachemgrRegister: registered openfd_objects
2001/09/26 20:59:32| cachemgrRegister: registered io
2001/09/26 20:59:32| cachemgrRegister: registered counters
2001/09/26 20:59:32| cachemgrRegister: registered peer_select
2001/09/26 20:59:32| cachemgrRegister: registered digest_stats
2001/09/26 20:59:32| cachemgrRegister: registered 5min
2001/09/26 20:59:32| cachemgrRegister: registered 60min
2001/09/26 20:59:32| cachemgrRegister: registered utilization
2001/09/26 20:59:32| cachemgrRegister: registered histograms
2001/09/26 20:59:32| cachemgrRegister: registered active_requests
2001/09/26 20:59:32| Swap maxSize 122880 KB, estimated 9452 objects
2001/09/26 20:59:32| Target number of buckets: 472
2001/09/26 20:59:32| Using 8192 Store buckets
2001/09/26 20:59:32| Max Mem size: 10240 KB
2001/09/26 20:59:32| Max Swap size: 122880 KB
2001/09/26 20:59:32| cbdataAdd: 0x8415e18
2001/09/26 20:59:32| Local cache digest is 'off'
2001/09/26 20:59:32| fd_open FD 7 /usr/local/squid/logs/store.log
2001/09/26 20:59:32| file_map_create: creating space for 16384 files
2001/09/26 20:59:32| file_open: error opening file /usr/local/squid/spool/swap.state: (13) Permission denied
2001/09/26 20:59:32| /usr/local/squid/spool/swap.state: (13) Permission denied
FATAL: storeUfsDirOpenSwapLog: Failed to open swap log.
Squid Cache (Version 2.4.STABLE1): Terminated abnormally.
CPU Usage: 0.030 seconds = 0.020 user + 0.010 sys
Maximum Resident Size: 0 KB
Page faults with physical i/o: 316
-------------end cat----------------
Кто нибудь может сказать в чем причина?
Вы не можете добавлять комментарии в эту тему. Тема перемещена в архив.
Похожие темы
- Форум openwt и squid(3.5.23) Прозрачный прокси не хочет работать (2018)
- Форум прозрачный squid. странное поведение (2014)
- Форум Еще вопрос о squid (2001)
- Форум настройка аутентификации в SQUID (2012)
- Форум странное поведение... (2004)
- Форум Странное поведение Squid-а, не работает прозрачно. (2014)
- Форум странное поведение DNS (2016)
- Форум Странное поведение memmove (2016)
- Форум Странное поведение роутера. (2016)
- Форум Vim странное поведение. (2016)