반응형

2014/02 13

ERROR 2006 (HY000): MySQL server has gone away

mysql 작업중 아래와 같이 에러가 뜬다면 max_allowed_packet 메모리 부족이다.mysql> show master status;ERROR 2006 (HY000): MySQL server has gone away # vi /etc/my.conf수정해서[mysql]max_allowed_packet = 500M 용량을 늘려주자 용량이 늘어났나 확인해보자 mysql> SHOW VARIABLES LIKE 'max_allowed_packet';+--------------------+-----------+| Variable_name | Value |+--------------------+-----------+| max_allowed_packet | 524288000 |+------------------..

Linux 2014.02.28

Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position'

mysql replication 에러중 아래와 같이 뜬다면 Got fatal error 1236 from master when reading data from binary log: 'Client requested master to start replication from impossible position' 에러가 뜬다면 master 서버에서 확인후mysql> show master status;+------------------+----------+--------------+------------------+| File | Position | Binlog_Do_DB | Binlog_Ignore_DB |+------------------+----------+--------------+------------..

Linux 2014.02.27

java.sql.SQLException: Binary logging not possible. Message: Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'

Hibernate operation: could not update: [com.atlassian.crowd.model.user.InternalUserAttribute#10321938]; uncategorized SQLException for SQL []; SQL state [HY000]; error code [1598]; Binary logging not possible. Message: Transaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT'; nested exception is java.sql.SQLException: Binary logging not possible. Message: Transaction ..

samba log 설정

samba log 세부 설정하는 방법이다. smb.conf 파일을 수정한다.공유하고 있는 폴더가 test 라 가정하고 # vi /etc/samba/smb.conf [test]writeable = yesvalid users = testpath = /data/testvfs objects = full_auditfull_audit:prefix = %u|%I|%m|%Sfull_audit:success = read pread write pwritefull_audit:failure = nonefull_audit:facility = LOCAL7full_audit:priority = ALERT syslog.conf 파일도 수정 # vi /etc/rsyslog.conf# samba loglocal7.* /var/log/s..

Linux 2014.02.20

MYSQLl Replication(리플리케이션) 동기화 방법

MYSQL DB 동기화 방법이다. -- [master] -- - 환경 변수에 추가 -# vi /etc/my.cnf[mysqld]log-bin = mysql-binserver-id = 1 - mysql Replication 계정 생성 -# mysql -u root -pEnter password:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 4Server version: 5.1.71-log Source distribution Copyright (c) 2000, 2013, Oracle and/or its affiliates. All rights reserved. Oracle is a registered tr..

Linux 2014.02.17

You cannot access JIRA at present. Look at the table below to identify the reasons

jira 에러가 아래와 같이 발생이 된다면 You cannot access JIRA at present. Look at the table below to identify the reasonsTransaction level 'READ-COMMITTED' in InnoDB is not safe for binlog mode 'STATEMENT jira_home 폴더에 있는 .bundled-plugins .osgi-plugins 폴더를 삭제 하고 mysql 항목에 아래 내용을 추가하자# vi /etc/my.cnf transaction-isolation=READ-COMMITTEDbinlog_format=rowinnodb_locks_unsafe_for_binlog=1 다음# service mysqld restart..

LG노트북 14UD530-KX50K 램 호환성

검색해봐도 정보가 없길래 정보 공유차 올립니다. LG노트북 14UD530-KX50K 램 호환성때문에 LG 서비스 센테 연락을 해서 호환성 여부 확인을 했지만 답변은 하이닉스 램만 테스트 해봤기때문에 다른 제품의 호환성 여부는 모른단다.그리고 4Gx2 만 테스트 완료 8Gx2 는 테스트 안해봐서 이것도 또한 모른겠다는 답변을 받았다. 있는걸로 테스트 해봤다. 하이닉스 4G(기존램) + 삼성 DDR3 4G 1.5V 12800 부팅 불가하이닉스 4G(기존램) + 삼성 DDR3 4G 1.5V 10600 부팅 불가하이닉스 4G(기존램) + 삼성 DDR3 2G 1.5V 10600 부팅 불가하이닉스 4G(기존램) + 삼성 DDR3 8G 1.5V 테스트 못해봄 하이닉스 4G(기존램) + 실리콘파워 DDR3L 8G 1...

Etc 2014.02.10

bash: scp: command not found lost connection

scp 파일 복사를 하려는데 에러가 떴다. # scp id_rsa.pub root@192.168.0.3:/root/.ssh/authorized_keysroot@192.168.0.3's password:bash: scp: command not foundlost connection# 192.168.0.3 client 장비에 openssh-clients 가 설치가 안되서 그렇다. # yum install openssh-clients설치 해주면 # scp id_rsa.pub root@192.168.0.3:/root/.ssh/authorized_keysroot@192.168.0.3's password:id_rsa.pub 100% 392 0.4KB/s 00:00# 정상적으로 복사가 된다.

Linux 2014.02.06

crucible java error 관련

crucible사용하다 보면 svn db양에 따라 java error 가 자주 일어난다. java size 변경 방법(설치 폴더 밑에 bin 파일에 있는 fisheyectl.sh 수정한다.) # vi fecru-3.2.4/bin/fisheyectl.sh #FISHEYE_OPTS=`$JAVACMD -cp $FISHEYE_HOME/fisheyeboot.jar com.cenqua.fisheye.boot.OptsSetter` FISHEYE_OPTS="-Xms512m -Xmx2048m -XX:MaxPermSize=256m" java error 종류에 따라서 OutOfMemoryError: Java Heap Space라고 에러가 뜨면 빨간색 값을 올려주면 된다. FISHEYE_OPTS="-Xms512m -Xmx20..

Crucible admin 암호 초기화

Crucible admin 암호 초기화 방법이다. 설치폴더에 config.xml 파일을 열어서admin-hash 를 수정하면 된다. To reset the password to "admin", please change the admin-hash value so that it appears as admin-hash="21232F297A57A5A743894A0E4A801FC3" 21232F297A57A5A743894A0E4A801FC3 이 hash 값은 admin4D0C5DB8382F80C58E7B0619AE5767A7 이 hash 값은 fisheye 빨간색 hash 값을 원하는 암호로 변경하면 된다.

728x90
반응형