The OpenNET Project / Index page

[ новости /+++ | форум | теги | ]



Индекс форумов
Составление сообщения

Исходное сообщение
"Помогите со Squid30"
Отправлено kharkov_max, 06-Май-09 11:37 
>>Или проблем из за кеша,"cache_dir ufs /usr/local/squid/cache 1024 64 256" т.к. похоже
>>что кеш мне пока не удается подключить. Т.к. как только включаю
>>эту опцию squid не стартует.
>
>так, давай как вывод логов из cache.log
>
>и в случае со строкой в конфиге и без неё.
>
>ты точно создал кэш скида командой squid -z ?

1. Squid -z создал


[15:05]/usr/local/etc/squid>> squid -z
2009/05/06 15:05:57| Creating Swap Directories
2009/05/06 15:05:57| /usr/local/squid/cache exists
2009/05/06 15:05:57| /usr/local/squid/cache/00 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/00
2009/05/06 15:05:57| /usr/local/squid/cache/01 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/01
2009/05/06 15:05:57| /usr/local/squid/cache/02 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/02
2009/05/06 15:05:57| /usr/local/squid/cache/03 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/03
2009/05/06 15:05:57| /usr/local/squid/cache/04 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/04
2009/05/06 15:05:57| /usr/local/squid/cache/05 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/05
2009/05/06 15:05:57| /usr/local/squid/cache/06 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/06
2009/05/06 15:05:57| /usr/local/squid/cache/07 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/07
2009/05/06 15:05:57| /usr/local/squid/cache/08 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/08
2009/05/06 15:05:57| /usr/local/squid/cache/09 exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/09
2009/05/06 15:05:57| /usr/local/squid/cache/0A exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/0A
2009/05/06 15:05:57| /usr/local/squid/cache/0B exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/0B
2009/05/06 15:05:57| /usr/local/squid/cache/0C exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/0C
2009/05/06 15:05:57| /usr/local/squid/cache/0D exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/0D
2009/05/06 15:05:57| /usr/local/squid/cache/0E exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/0E
2009/05/06 15:05:57| /usr/local/squid/cache/0F exists
2009/05/06 15:05:57| Making directories in /usr/local/squid/cache/0F
[15:05]/usr/local/etc/squid>> /usr/local/etc/rc.d/squid start
Starting squid.
[15:06]/usr/local/etc/squid>> /usr/local/etc/rc.d/squid status
squid is running as pid 2305.
[15:06]/usr/local/etc/squid>>

2. Без строки "cache_dir ufs /usr/local/squid/cache 1024 64 256"


2009/05/06 15:29:43| Starting Squid Cache version 3.0.STABLE8 for i386-portbld-freebsd7.1...
2009/05/06 15:29:43| Process ID 2427
2009/05/06 15:29:43| With 11072 file descriptors available
2009/05/06 15:29:43| helperOpenServers: Starting 5 'dnsserver' processes
2009/05/06 15:29:43| Unlinkd pipe opened on FD 16
2009/05/06 15:29:43| Swap maxSize 102400 KB, estimated 7876 objects
2009/05/06 15:29:43| Target number of buckets: 393
2009/05/06 15:29:43| Using 8192 Store buckets
2009/05/06 15:29:43| Max Mem  size: 12288 KB
2009/05/06 15:29:43| Max Swap size: 102400 KB
2009/05/06 15:29:43| Version 1 of swap file with LFS support detected...
2009/05/06 15:29:43| Rebuilding storage in /usr/local/squid/cache (CLEAN)
2009/05/06 15:29:43| Using Least Load store dir selection
2009/05/06 15:29:43| Set Current Directory to /usr/local/squid/cache
2009/05/06 15:29:43| Loaded Icons.
2009/05/06 15:29:43| Accepting  HTTP connections at 192.168.50.1, port 3128, FD 18.
2009/05/06 15:29:43| Accepting ICP messages at 0.0.0.0, port 3130, FD 19.
2009/05/06 15:29:43| HTCP Disabled.
2009/05/06 15:29:43| Pinger socket opened on FD 21
2009/05/06 15:29:43| NETDB state reloaded; 7 entries, 0 msec
2009/05/06 15:29:43| Configuring Parent 192.168.10.1/3128/0
2009/05/06 15:29:43| Ready to serve requests.
2009/05/06 15:29:43| Done reading /usr/local/squid/cache swaplog (8 entries)
2009/05/06 15:29:43| Finished rebuilding storage from disk.
2009/05/06 15:29:43|         8 Entries scanned
2009/05/06 15:29:43|         0 Invalid entries.
2009/05/06 15:29:43|         0 With invalid flags.
2009/05/06 15:29:43|         8 Objects loaded.
2009/05/06 15:29:43|         0 Objects expired.
2009/05/06 15:29:43|         0 Objects cancelled.
2009/05/06 15:29:43|         0 Duplicate URLs purged.
2009/05/06 15:29:43|         0 Swapfile clashes avoided.
2009/05/06 15:29:43|   Took 0.02 seconds (395.94 objects/sec).
2009/05/06 15:29:43| Beginning Validation Procedure
2009/05/06 15:29:43|   Completed Validation Procedure
2009/05/06 15:29:43|   Validated 41 Entries
2009/05/06 15:29:43|   store_swap_size = 50
2009/05/06 15:29:44| storeLateRelease: released 0 objects

3. Со строкой "cache_dir ufs /usr/local/squid/cache 1024 64 256"


2009/05/06 15:32:35| Starting Squid Cache version 3.0.STABLE8 for i386-portbld-freebsd7.1...
2009/05/06 15:32:35| Process ID 2514
2009/05/06 15:32:35| With 11072 file descriptors available
2009/05/06 15:32:35| helperOpenServers: Starting 5 'dnsserver' processes
2009/05/06 15:32:35| Unlinkd pipe opened on FD 16
2009/05/06 15:32:35| Swap maxSize 1048576 KB, estimated 80659 objects
2009/05/06 15:32:35| Target number of buckets: 4032
2009/05/06 15:32:35| Using 8192 Store buckets
2009/05/06 15:32:35| Max Mem  size: 12288 KB
2009/05/06 15:32:35| Max Swap size: 1048576 KB
2009/05/06 15:32:35| /usr/local/squid/cache/10: (2) No such file or directory
FATAL:     Failed to verify one of the swap directories, Check cache.log
    for details.  Run 'squid -z' to create swap directories
    if needed, or if running Squid for the first time.
Squid Cache (Version 3.0.STABLE8): Terminated abnormally.
CPU Usage: 0.029 seconds = 0.029 user + 0.000 sys
Maximum Resident Size: 4732 KB
Page faults with physical i/o: 0
2009/05/06 15:32:38| Starting Squid Cache version 3.0.STABLE8 for i386-portbld-freebsd7.1...
2009/05/06 15:32:38| Process ID 2522
2009/05/06 15:32:38| With 11072 file descriptors available
2009/05/06 15:32:38| helperOpenServers: Starting 5 'dnsserver' processes
2009/05/06 15:32:38| Unlinkd pipe opened on FD 16
2009/05/06 15:32:38| Swap maxSize 1048576 KB, estimated 80659 objects
2009/05/06 15:32:38| Target number of buckets: 4032
2009/05/06 15:32:38| Using 8192 Store buckets
2009/05/06 15:32:38| Max Mem  size: 12288 KB
2009/05/06 15:32:38| Max Swap size: 1048576 KB
2009/05/06 15:32:38| /usr/local/squid/cache/10: (2) No such file or directory
FATAL:     Failed to verify one of the swap directories, Check cache.log
    for details.  Run 'squid -z' to create swap directories
    if needed, or if running Squid for the first time.
Squid Cache (Version 3.0.STABLE8): Terminated abnormally.
CPU Usage: 0.028 seconds = 0.009 user + 0.019 sys
Maximum Resident Size: 6844 KB
Page faults with physical i/o: 0
2009/05/06 15:32:41| Starting Squid Cache version 3.0.STABLE8 for i386-portbld-freebsd7.1...
2009/05/06 15:32:41| Process ID 2536
2009/05/06 15:32:41| With 11072 file descriptors available
2009/05/06 15:32:41| helperOpenServers: Starting 5 'dnsserver' processes
2009/05/06 15:32:42| Unlinkd pipe opened on FD 16
2009/05/06 15:32:42| Swap maxSize 1048576 KB, estimated 80659 objects
2009/05/06 15:32:42| Target number of buckets: 4032
2009/05/06 15:32:42| Using 8192 Store buckets
2009/05/06 15:32:42| Max Mem  size: 12288 KB
2009/05/06 15:32:42| Max Swap size: 1048576 KB
2009/05/06 15:32:42| /usr/local/squid/cache/10: (2) No such file or directory
FATAL:     Failed to verify one of the swap directories, Check cache.log
    for details.  Run 'squid -z' to create swap directories
    if needed, or if running Squid for the first time.
Squid Cache (Version 3.0.STABLE8): Terminated abnormally.
CPU Usage: 0.029 seconds = 0.010 user + 0.019 sys
Maximum Resident Size: 9248 KB
Page faults with physical i/o: 0
2009/05/06 15:32:45| Starting Squid Cache version 3.0.STABLE8 for i386-portbld-freebsd7.1...
2009/05/06 15:32:45| Process ID 2545
2009/05/06 15:32:45| With 11072 file descriptors available
2009/05/06 15:32:45| helperOpenServers: Starting 5 'dnsserver' processes
2009/05/06 15:32:45| Unlinkd pipe opened on FD 16
2009/05/06 15:32:45| Swap maxSize 1048576 KB, estimated 80659 objects
2009/05/06 15:32:45| Target number of buckets: 4032
2009/05/06 15:32:45| Using 8192 Store buckets
2009/05/06 15:32:45| Max Mem  size: 12288 KB
2009/05/06 15:32:45| Max Swap size: 1048576 KB
2009/05/06 15:32:45| /usr/local/squid/cache/10: (2) No such file or directory
FATAL:     Failed to verify one of the swap directories, Check cache.log
    for details.  Run 'squid -z' to create swap directories
    if needed, or if running Squid for the first time.
Squid Cache (Version 3.0.STABLE8): Terminated abnormally.
CPU Usage: 0.028 seconds = 0.014 user + 0.014 sys
Maximum Resident Size: 9248 KB
Page faults with physical i/o: 0
2009/05/06 15:32:48| Starting Squid Cache version 3.0.STABLE8 for i386-portbld-freebsd7.1...
2009/05/06 15:32:48| Process ID 2555
2009/05/06 15:32:48| With 11072 file descriptors available
2009/05/06 15:32:48| helperOpenServers: Starting 5 'dnsserver' processes
2009/05/06 15:32:48| Unlinkd pipe opened on FD 16
2009/05/06 15:32:48| Swap maxSize 1048576 KB, estimated 80659 objects
2009/05/06 15:32:48| Target number of buckets: 4032
2009/05/06 15:32:48| Using 8192 Store buckets
2009/05/06 15:32:48| Max Mem  size: 12288 KB
2009/05/06 15:32:48| Max Swap size: 1048576 KB
2009/05/06 15:32:48| /usr/local/squid/cache/10: (2) No such file or directory
FATAL:     Failed to verify one of the swap directories, Check cache.log
    for details.  Run 'squid -z' to create swap directories
    if needed, or if running Squid for the first time.
Squid Cache (Version 3.0.STABLE8): Terminated abnormally.
CPU Usage: 0.028 seconds = 0.011 user + 0.017 sys
Maximum Resident Size: 7440 KB
Page faults with physical i/o: 0


 

Ваше сообщение
Имя*:
EMail:
Для отправки новых сообщений в текущей нити на email укажите знак ! перед адресом, например, !user@host.ru (!! - не показывать email).
Более тонкая настройка отправки ответов производится в профиле зарегистрированного участника форума.
Заголовок*:
Сообщение*:
 
При общении не допускается: неуважительное отношение к собеседнику, хамство, унизительное обращение, ненормативная лексика, переход на личности, агрессивное поведение, обесценивание собеседника, провоцирование флейма голословными и заведомо ложными заявлениями. Не отвечайте на сообщения, явно нарушающие правила - удаляются не только сами нарушения, но и все ответы на них. Лог модерирования.



Партнёры:
PostgresPro
Inferno Solutions
Hosting by Hoster.ru
Хостинг:

Закладки на сайте
Проследить за страницей
Created 1996-2024 by Maxim Chirkov
Добавить, Поддержать, Вебмастеру