smb.conf 파일에서

log level = [0..100]

으로 설정하면 된다.
(소스 상에서는 100까지 존재한다.)

[링크 : http://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/bugreport.html]


Option

Parameters

Function

Default

Scope

log file

string (fully-qualified filename)

Sets the name and location of the log file that Samba is to use. Uses standard variables.

Specified in Samba makefile

Global

log level

(debug level)

numerical (0-10)

Sets the amount of log/debug messages that are sent to the log file. 0 is none, 3 is considerable.

1

Global

max log size

numerical (size in KB)

Sets the maximum size of log file. After the log exceeds this size, the file will be renamed to .bak and a new log file started.

5000

Global


이 문서에 의하면 [0...10] 그리고 기본은 1이라고 한다.
[링크 : http://oreilly.com/catalog/samba/chapter/book/ch04_08.html#ch04-92838]



참고로 10 level로 하면 로그파일의 용량이 대책이 서지않는다.
디버깅 용도라며나 max log size를 기본값으로 사용하거나, 적절하게 키워주는 것이 좋을듯 하다.
(단지 브라우징하고, 파일 하나 복사하는데 1.5MB의 로그 파일이 생성되었다.)
Posted by 구차니


Step 1. 일단 아래의 한글언어팩을 다운받는다.
           http://www.sugarforge.org/projects/koreanlanguage

Step 2. 위의 언어팩을 다운받고, 압축을 푼뒤
           C:\Program Files\sugarcrm-5.5.0\htdocs\include
           C:\Program Files\sugarcrm-5.5.0\htdocs\modules 에 덮어씌운다.
           귀찮으면 압축을 C:\Program Files\sugarcrm-5.5.0\htdocs\ 에 풀어도 된다.

Step 3. 한글화 및 기본 언어를 설정하기 위해서는
           (기본설치시 경로인) C:\Program Files\sugarcrm-5.5.0\htdocs\sugarcrm\config.php 를 손을 봐야 한다.

154   'default_language' => 'en_us',

196   'languages' =>
197   array (
198     'en_us' => 'English (US)',
199   ),

위의 원본을 아래와 같이 수정한다.

154   'default_language' => 'ko',

196   'languages' =>
197   array (
198     'ko' => 'Korean (KO)',
199     'en_us' => 'English (US)',
200   ),

그러면 한글화 끝!
한가지 아쉬운점은, 현재 버전은 5.5 이고, 한글화 패치의 버전은 4.5 라는 점이다.

다운로드는 용량이 적은 APM 통합패키지를 받자.

[링크 : http://www.sugarcrm.com/crm/download/sugar-suite.html] << sugarCRM APM 통합버전 다운로드
[링크 : http://www.sugarforge.org/projects/koreanlanguage] << 한글 패치





사족 : 이러다가.. 이녀석도 한글화 하겠다고 덤비게 되는건.......... 아니겠지??? OTL
Posted by 구차니
CRM 관련 open source 물색중인데,
일단 귀차니즘으로 인해, 윈도우에서 돌아가는걸 찾게 되었다.

이녀석은 ERP로 검색한것중에 상단에 나오는 녀석인데,
윈도우에서 APM 서버와 통합되어 설치된다. (Apache, Mysql , PHP)

설치 완료후, DB 성생으로 인해 4분 정도 걸린다고 커피나 먹고 오라는 친절한 멘트!

설레이는 첫 로그인! admin / admin이 기본 이다.
영어만 지원하는게 아쉬운 점

메인 페이지. 폼난다!(그러나.. 쓸줄은 모른다 ㅠ.ㅠ)

샘플데이터를 이용한 구매기안 페이지(역시 먼지 모름)

위의 메뉴에서 Send Email With PDF 를 누르면 나오는 화면,
FCKEditor로 WYSIWYG을 지원한다.

Export to PDF를 누르면 나오는 화면

저렴한 용량!

[링크 : http://sourceforge.net/projects/vtigercrm/]
Posted by 구차니
프로그램 사용2009. 12. 13. 17:22

대박깔끔하고, 사용이 간편한 GIF 프로그램입니다.
아이콘이라던가 UI라던가 매우 마음에 드는 무료프로그램입니다.

2009.12.14 추가
기업/관공서/학교에서도 무료로 사용이 가능합니다!

[링크 : http://blog.naver.com/faith3love/80096311510] << 개발자 블로그
[링크 : http://www.makeshop.co.kr/main/special_pluspage.html?num=19]

'프로그램 사용' 카테고리의 다른 글

Cooliris (piclens)  (6) 2010.01.05
Fast Picture Viewer 제한사항  (0) 2009.12.27
rtsp를 지원하는 스트리밍 서버 - live555  (0) 2009.11.13
Free 3D 프로그램  (0) 2009.10.01
BackStreet Browser - 웹페이지 긁어 오기  (4) 2009.09.05
Posted by 구차니
둘다 윈도우 상에서 tftpd32 라는 공개 소프트웨어로 실행하는 것이라 리눅스 서버가 없어도 된다.

tftpd32        [링크 : http://tftpd32.jounin.net/]
PXE           [링크 : http://en.wikipedia.org/wiki/Preboot_Execution_Environment]

XP 설치      [링크 : http://blog.naver.com/3dfx/130038204551]
우분투 설치 [링크 : http://blog.cuwoom.net/117]


나중에 한번 해봐야겠다 ㅠ.ㅠ

'프로그램 사용 > PXE(네트워크 부트)' 카테고리의 다른 글

pxe boot  (0) 2023.06.21
DHCP hostname  (0) 2020.10.14
DHCP / BOOTP / TFTP  (4) 2010.04.27
PXE 부팅하기  (0) 2010.04.25
Posted by 구차니
프로그램 사용/VLC2009. 12. 8. 18:13
기본값으로 설치했을 경우
C:\Program Files\VideoLAN\VLC\http\.hosts
라는 파일의 내용은 아래와 같다.

#
# Access-list for VLC HTTP interface
# $Id$
#

# localhost
::1
127.0.0.1

# link-local addresses
#fe80::/64

# private addresses
#fc00::/7
#fec0::/10
#10.0.0.0/8
#172.16.0.0/12
#192.168.0.0/16
#169.254.0.0/16

# The world (uncommenting these 2 lines is not quite safe)
#::/0
#0.0.0.0/0

위의 localhost 부분이 자기 스스로 접속하면 되는데,
외부에서는 접속해도 forbidden 이라면서 접속하지 못하도록 하는 부분이다.

만약에 C Class를 허가하고 싶다면 ip/24로 적어주면된다.
(예를 들어 192.168.0.1~255를 허가하고 싶다면
192.168.0.1/24로 하면 된다.)


참고 : 굳이 VLC 죽였다 하지 않아도 자동으로 갱신되는 듯 하다.
Posted by 구차니
Unfortunately the bug is still observed - i did some additional triaging.

* The bug is seen only when the samba share exported is on a vfat file system
    - for ext2 and ext3 the large sized copy succeeds without fail.

* I also tried using the samba package from debian-arm repositories(lenny-stable)
    - but there also the problem is seen.

* Even if the error is thrown up - the file is still being copied in the background - or ftruncate'ing in the background (I suspect it is only ftruncating and filling the space with zeroes because of two reasons - one the md5sums do not match afterwards and two the code seems to be doing the same thing) - but as previously stated adding a patch to always call ftruncate64() in sys_ftruncate() does not fix the problem.

[링크 : http://www.mail-archive.com/ubuntu-bugs@lists.ubuntu.com/msg1902987.html]

SH4 시스템에서 smbd / nmbd 조합으로
USB 메모리를 vfat으로 사용하여, 원격지에서 파일을 복사할경우
20MB 이상의 파일을 복사하려고 시도하면 죽는 문제가 발생했다.

임베디드 장비라서, 메모리 부족 에러와 함께 DMA 에러가 발생했지만,
이러한 문제가 발생하기전 vfat으로 rw가 아닌 ro로 mount 되는 것을 봐서
다른 문제나 버그가 있는 것으로 생각이 된다.
Posted by 구차니
# cat log.smbd
[2009/08/15 00:00:07,  0] lib/pidfile.c:121(pidfile_create)
  ERROR: smbd is already running. File /usr/local/samba/var/locks/smbd.pid exists and process id 687 is running.

삼바가 구동중에 제대로 종료되지 않고 재가동 될경우
$PIDDIR/smbd.pid
$PIDDIR/nmbd.pid

파일이 남아 있다 보면, 위와 같이 이미 구동중으로 착각을 하고
smbd나 nmbd를 구동하는데 실패를 한다.

fork() / execl() 로 구동시에는
waitpid() 에서 벗어 나지 못하고 멈추는 현상이 발생했다.





결론 : 혹시 모르니 종료가 불확실한 시스템(임베디드?)에서는 삼바 구동 이전에 pid 파일을 지워주도록 하는게 좋을듯 하다.
Posted by 구차니
프로그램 사용/busybox2009. 12. 2. 19:00
static / dhcp 로 변경하는 일련의 함수들을 만들었는데,

static -> interface 파일변경 -> ifdown -> ifup -> dhcp
dhcp -> interface 파일변경 -> ifdown -> ifup -> static

순서로 작동되도록 했는데,
static에서 dhcp로는 udhcp 프로세스가 이상없이 작동하는데
dhcp에서 static으로는 udhcp 프로세스가 죽지 않는다.

그래서 계속 순환하면 udhcp 프로세스가 쌓여간다(좀비는 아니고 Sleep 상태)


아무튼,

dhcp -> ifdown -> interface 파일변경 -> ifup -> static
으로 하니 제대로 작동한다.

아마 interface 파일 내용에
ifdown에 관련한 내용이 제대로 들어 있지않아 그랬던 것으로 보인다.


상관이 있을지 없을지 모르는 링크
[링크 : http://lists.busybox.net/pipermail/busybox/2007-July/062158.html]
Posted by 구차니
프로그램 사용/VLC2009. 12. 2. 15:50
VLC에서 웹캠 영상을 받기 위해서는 DirectShow로 하면된다.
위에서 "목록 새로고침"을 눌러 뒤의 콤보박스에서 선택후
"영상 크기" 에서 직접 입력을 해주면된다.

만약 영상 크기가 지원하지 않는다면 위와 같은 에러가 발생한다.
(0.8.6은 에러도 안보여준다.)


단점으로는, 윈도우 자체 비디오 뷰어보다 응답이 느리다.
Posted by 구차니