返回列表 發帖
SWITCHFIN log file error.
If i view today's log, then i will be lock up in ip01 login screen. i.e. repeat display of login screen no matter what is my input. (except today's log, there is no issue for other log file)
I i disable logger function, and hardward reboot the IP01, then I can work flawlessly on my IP01.
The issue is that now i am tuning the IP01. is there any command to reset the log file?

TOP

回復 316# yiucsw


   What do you mean log error? Can you login before? It seems to me that the size of the log size may be too big that the root partition cannot hold. You know the drawback of switchfin firmware is too big in size.

TOP

there is not log error, but i check the /var/log/messages size, it is very big.
Until i enter asterisk -rx "logger rotate", the system do not start normally.
I believe the switchfin will clean up the log file every night, and the log message size is reduced to 10K.
So i want to reset the message size every half day until i finish my ip01 setup.
Is there any automatic way to handle it?

TOP

You can write a cron job to achieve this. Indeed you may not need to enable all the 4 options of the logger especially if you can add more security in the firewall and password levels.

It is a limitation we face when dealing with embedded IPPBX. Limited size. to

You may further encounter problems if you allow a lot of voicemail to leave behind.

TOP

Speaking of the file in /var/log/messages, I discover that the time shown in this file is 8 hours behind Hong Kong.  However, all the time recorded in CDR and in System Status are correct.

Like this morning, my IP01 woke up at about 09:15 but /var/log/messages shown 01:15.  I think the culprit is the ntpd that is set to syncronize with inapproprite time server by default as below

Jan 24 01:15:20 IP01 cron.info cron[292]: loading crontab file /etc/config/crontab
Jan 24 01:25:42 IP01 daemon.info ntpd[288]: synchronized to 192.43.244.18, stratum 1

Where should I regulate this time or should I disable the ntp in Service Manager under Admin Tab to fix this problem?

TOP

回復 320# bubblestar


    I think the IP 192.43.244.18 is developer's own/personal time server address in Europe.

TOP

I can't recall when I deal with this but it can fix by some simple means.

TOP

The compilation of switchfin failed due to some tools were not found. Owing to limited time available, I have to stop for a while for looking for the solution later.

I used CentOS to  compile the source based on the example files given for the Debian distriution. Some of the files, which I forgot what they are, are missing in the CentOS distribution.

YH

TOP

回復 323# 角色


   
You may refer to the 7th floor about ckleea 's guide for compilation.

http://www.telecom-cafe.com/foru ... d=2963&pid=8014

TOP

Thank you for your advice. In fact, I did the compiling process just in the morning and did not have more time to fix it yet. Anyway, ckleea provides a very good guidance in setting up the toolchain on CentOS platform.

YH

TOP

回復 325# 角色

I almost forgot I have done so.
Anyway glad to see you are able to compile.

Also check this for latest update in the source
http://switchfin.svn.sourceforge ... in/switchfin/trunk/

At the moment the link is down.

TOP

本帖最後由 角色 於 2011-1-27 23:31 編輯

I was finally able to set up the development environment to compile the swtichfin source code. I have already uploaded the new firmware of version 474 to my ip01 and it works very well.

0015.gif


Thank ckleea for his kindness and help otherwise I was not able to do it.

YH

TOP

在make menuselect,加入729的元数后,在core show translation recal 10,结果如下:

0016.gif


角色

TOP

可以upload你的compile Version吗到Web。我直接用你的firmware update.

TOP

回復 328# 角色

Only problem is that it almost uses up the allocated root partition space leaving no space for log message and others.

TOP

返回列表