No Image

config static port for nfsd on centos7

2016-05-21 KENNETH 0

config static port for nfsd on centos7 출처 : https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/7/html/Storage_Administration_Guide/nfs-serverconfig.html#s2-nfs-nfs-firewall-config 설정파일 :  /etc/sysconfig/nfs RPCMOUNTDOPTS=”-p 4002″ 와 MOUNTD_PORT=4002 옵션은 동일함   재시작   실행 후 포트 상태 확인  

No Image

config static port for nfsd on centos6

2016-05-21 KENNETH 0

config static port for nfsd on centos6   출처 : https://access.redhat.com/documentation/en-US/Red_Hat_Enterprise_Linux/6/html/Storage_Administration_Guide/s2-nfs-nfs-firewall-config.html 설정파일 :  /etc/sysconfig/nfs RQUOTAD_PORT=875 LOCKD_TCPPORT=4001 LOCKD_UDPPORT=4001 MOUNTD_PORT=4002 STATD_PORT=4000 #STATDARG=”-p 4000″ STATDARG=”-p 4000” 와 STATD_PORT=4000 옵션은 동일한것임..   실행 후 포트 상태 확인 # rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100024 1 udp 4000 status 100024 1 tcp 4000 status 100011 1 udp 875 rquotad 100011 2 udp 875 rquotad 100011 1 tcp 875 rquotad 100011 2 tcp 875 rquotad 100005 1 udp 4002 mountd 100005 1 tcp 4002 mountd 100005 2 udp 4002 mountd 100005 2 tcp 4002 mountd 100005 3 udp 4002 mountd 100005 3 tcp 4002 mountd 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100003 [ more… ]

No Image

log timestamp timezone in mysql-5.7

2016-05-12 KENNETH 1

mysql-5.7 사용중에 sql에 의한 time은 시스템 시간과 동일하게 잘 맞는데.. log(error, slow 등)파일의 timestamp만 내가 사용하는 KST 가 적용되지 않고 9시간 전인 UTC로 되어있다 이말이지… 그래서 찾아봤더니.. 5.7.2 부터 log_timestamps 가 추가되었데… ㅅㅂ 기본값이 UTC설정이라 log_timestamps=SYSTEM 이렇게 처리를 해줘야 한댄다…   출처 : http://dev.mysql.com/doc/refman/5.7/en/server-system-variables.html#sysvar_log_timestamps log_timestamps Introduced 5.7.2 Command-Line Format –log_timestamps=# System Variable Name log_timestamps Variable Scope Global Dynamic Variable Yes Permitted Values Type enumeration Default UTC Valid Values UTC SYSTEM This variable controls the timestamp time zone of error log messages, and of general query log and slow query log messages written to files. It does not affect the time zone of general query log and slow query log messages written to tables (mysql.general_log, mysql.slow_log). Rows retrieved from those tables can be converted from the local system time zone to any desired time zone with CONVERT_TZ() or by setting the session [ more… ]

No Image

apache ab failed requests length

2016-05-09 KENNETH 0

ab를 이용한 벤치마크 테스트 결과중.. 뭔가 신경쓰이는 부분이 발생할 수 있다. Complete requests: 400 Failed requests: 393 (Connect: 0, Receive: 0, Length: 393, Exceptions: 0)   Failed requets 수치.. 그 중에서도 Length 항목… 다른 것들은 확실히 ”실패”에 의한 결과이겠으나.. Length는 보는 사람으로 하여금 혼란이 있을 수 있다. 결론부터 얘기하면… 그냥 ”무시”해도 된다. ab를 통한 사이트 테스트중 첫번째 요청 결과에 대한 Length를 기록한뒤 이후 발생하는 요청 결과에 대한 Length가 다르면 발생하는 내용 이다…

No Image

jetpack 4.0 fatal error

2016-04-21 KENNETH 0

20160421 jetpack 4.0 이 릴리즈 되었습니다. 허나 업데이트 하고 나면 사이트에 문제가 발생하고 있습니다. 에러 메세지는 Fatal error: Cannot find a library with slug class.media-summary. in /WEB_PATH/wp-content/plugins/jetpack/require-lib.php on line 35 이며.. 기존 버전에는 존재하던 plugins/jetpack/class.media-summary.php 파일이 누락되 었기 때문인것 같습니다.   해당 플러그인을 삭제 처리하거나 이전 버전을 사용해야합니다.