Jump to content

Recommended Posts

Posted

freebsd 6.3

ipcad 3.7.3_1 и ipcad 3.7

При запуске вылетает

 

Opening locnet0... [LCap] [ERSH] [4096] [locnet0/interactive] Initialized as 1
Opening inet0... [LCap] [ERSH] [4096] [inet0/interactive] Initialized as 2
Opening ng*... [LCap] [ERSH] [DYNAMIC] Initialized as 0
Aggregate ports 1024..65535 into 65535
Aggregate ports 3128..3128 into 3128??  S<s  12:32AM  86:28.66 /usr/local/bin/ipcad -rds -c /usr/local/etc/ipcad.conf
Configured RSH Server listening at 127.0.0.1 12:03AM   0:00.00 /bin/csh -c ps -waux | grep ipcad
RSH Server thread 134960128 started.p0  RL+  12:03AM   0:00.00 grep ipcad
Thread 134960640 processing ng* started.
Thread 134961152 processing inet0 started.apacity  Mounted on
Thread 134961664 processing locnet0 started. 1%    /
Opening ng0... [LCap] [ERSH] [4096] [ng0/interactive] Initialized as 3
Opening ng1... [LCap] [ERSH] [4096] [ng1/interactive] Initialized as 4
Opening ng2... [LCap] [ERSH] [4096] [ng2/interactive] Initialized as 5
....
pening ng445... [LCap] [ERSH] [4096] [ng445/interactive] Initialized as 381
Opening ng448... [LCap] [ERSH] [4096] [ng448/interactive] Initialized as 382
Opening ng449... [LCap] [ERSH] [4096] [ng449/interactive] Initialized as 383
Opening ng450... [LCap] [ERSH] [4096] [ng450/interactive] Initialized as 384
ipcad in free(): error: chunk is already free
Abort (core dumped)

 

Конфиг один в один работает на другом сервере(Может какие ни будь параметры ядра забыл включить?).

capture-ports enable;   # Enable ports capturing for RSH (no effect on NetFlow).
interface locnet0;              # Listen on Ethernet interface...
interface inet0;                # ...and another onw.
interface ng*;          # Listen on all ng* interfaces.
aggregate 1024-65535    into 65535;     /* Aggregate wildly */
aggregate 3128-3128     into 3128;      /* Protect these ports */
rsh enable at 127.0.0.1;
rsh root@127.0.0.1 admin;       /* Can shutdown ipcad */
rsh 127.0.0.1 view-only;        /* Other users can view current tables */
rsh ttl = 3;
rsh timeout = 30;
pidfile = /var/log/ipcad/ipcad.pid;     # Will be created under chroot
memory_limit = 64m;
dumpfile = /var/log/ipcad/ipcad.dump;

 

 

Если из конфига убрать ng то прекрасно работает.

#interface ng*; # Listen on all ng* interfaces.

 

В какую сторону капать?

Posted

Проблема решилась комментированием в loader.conf следующих строчек(сервер имеет 4гб памяти)

#kern.dfldsiz="2548M"

#kern.maxdsiz="2548M"

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...
На сайте используются файлы cookie и сервисы аналитики для корректной работы форума и улучшения качества обслуживания. Продолжая использовать сайт, вы соглашаетесь с использованием файлов cookie и с Политикой конфиденциальности.