Unable to connect to CUPS server localhost:631 – Connection refused on samba log

2018-09-29 KENNETH 0

환경 OS : CentOS-6 samba : 3.6 (centos6의 고유 패키지)   samba 로그 또는 /var/log/messages printing/print_cups.c:151(cups_connect) Unable to connect to CUPS server localhost:631 – Connection refused   원인 cups 서비스는 당연히 꺼놓았는데 계속해서 발생하며 요청하는 상황은 smb에서 프 린터 설정을 활성화 시켜서 윈도우의 기본 기능인 사용 가능한 프린터 찾는 것 때 문에 자꾸 접근해서 메세지를 쌓게 만들어 발생되는 것 이라고 한다.. 출처 : https://support.hpe.com/hpsc/doc/public/display?docId=emr_na-c01925386   해결 비활성화 시킨다…. file : smb.conf 위치 : [global] 섹션   고찰 참고한 자료 에서는 내용중 “printing” 지시자에 대해서 “none” 설정을 권장 했는데.. printing = none 실제로 적용을 해보니 WARNING: Ignoring invalid value ‘none’ for parameter ‘printing’ 이런 경고문을 띄웠다.. 아마도 해당 환경의 삼바 버전이 참고 내용의 버전과 맞지 않았기 때문일 것이다. 그래서 지시자를 “none” 에서 “bsd” 로 변경 시도 했다.  

enable error logging on php-fpm

2018-08-28 KENNETH 0

  file : php-fpm.conf catch_workers_output = yes php_flag[display_errors] = on php_admin_value[error_log] = /var/log/php-fpm/error.log php_admin_flag[log_errors] = on   php-fpm restart  

No Image

[Apache & PHP] “zend_mm_heap corrupted” error on apache logs

2018-01-03 KENNETH 0

[Apache & PHP] “zend_mm_heap corrupted” error on apache logs   오류 내용 zend_mm_heap corrupted   발생 환경 OS : CentOS-7 WEB : apache-2.4 PHP : php-5.6   참고 : https://stackoverflow.com/questions/2247977/what-does-zend-mm-heap-corrupted-mean http://php.net/manual/en/internals2.memory.management.php   설정 FILE : $APACHE_HOME/bin/apachectl export USE_ZEND_ALLOC=0   절대적인 내용은 아니겠고, 이런 설정을 apachectl 에 한번 추가를 해보자…   PHP 메뉴얼에는 Note: USE_ZEND_ALLOC=0 in the environment will stop the memory manager from functioning, all allocations fall back on the default system allocators which can be useful for debugging leaks, and should only be used for this purpose. 이렇게 설명이 되어 있었다… ㅋㅋㅋㅋ

No Image

mysql server system variables log_warnings to log_error_verbosity

2016-10-04 KENNETH 0

url : http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html   under 5.7.2 : log_warnings over 5.7.2 : log_error_verbosity   log_warnings Deprecated 5.7.2 Command-Line Format –log-warnings[=#] System Variable Name log_warnings Variable Scope Global Dynamic Variable Yes Permitted Values (32-bit platforms, <= 5.7.1) Type integer Default 1 Min Value 0 Max Value 4294967295 Permitted Values (32-bit platforms, >= 5.7.2) Type integer Default 2 Min Value 0 Max Value 4294967295 Permitted Values (64-bit platforms, <= 5.7.1) Type integer Default 1 Min Value 0 Max Value 18446744073709551615 Permitted Values (64-bit platforms, >= 5.7.2) Type integer Default 2 Min Value 0 Max Value 18446744073709551615 Whether to produce additional warning messages to the error log. This variable is enabled by default (the default is 1 before MySQL 5.7.2, 2 as of 5.7.2). To disable it, set it to 0. The server logs messages about statements that are unsafe for statement-based logging if the [ more… ]

No Image

mysqlbinlog: unknown variable ‘default-character-set=utf8’

2016-07-09 KENNETH 0

mysqlbinlog 로 확인좀 하려고 했더니 에러 발생 # mysqlbinlog mysql-bin.000021 mysqlbinlog: unknown variable ‘default-character-set=utf8’ 이유는 mysql-5.5.3 버전 부터인가 default-character-set 에서 character-set-server 로 변경되었기 때문이라고… 아니 그럼 애초에 구동시부터 문제라고 언급을 해주던가… 왜 멀쩡하게 구동은 해놓고서 명령어가 먹지 않도록…   아무튼 저 옵션 지시자를 수정해주거나..   mysqlbinlog –no-defaults mysql-bin.000021 로 해주면 되겠다…