전체 글 1907

Database migration failed: com.cenqua.crucible.hibernate.CruDBException: Problem running drop script (you may have to manually drop the DB)

Database migration failed: com.cenqua.crucible.hibernate.CruDBException: Problem running drop script (you may have to manually drop the DB) migrating 할때 위와 같이 에러가 뜬다면 기존에 mysql db가 있어서 그렇다db 를 삭제 하고 다시 생성해주자 # mysql -u root -pEnter password:Welcome to the MySQL monitor. Commands end with ; or \g.Your MySQL connection id is 2Server version: 5.1.66 Source distribution Copyright (c) 2000, 2012, Ora..

HSQLDB to MYSQL Migrating

crucible 사용하다보면 아래쪽에 보면 아래탭에 보면This FishEye and Crucible instance is using HSQLDB, which is not supported in production environments.라는 메세지를 보게 된다. 즉 HSQLDB는 더이상 지원하지 않는다라는거다. mysql 로 변경을 하자 - mysql를 설치 # yum -y install mysql*# chkconfig mysqld on# service mysqld start - my.conf 환경설정# vi /etc/my.conf[mysqld]character-set-server=utf8collation-server = utf8_general_ci 추가 - db 생성# mysql -u root -pE..

crucible upgrade 방법

사이트에서 3가지 방법이 있다고 하지만 별거 없다. https://www.atlassian.com/software/crucible/download최신버전을 다운 받자 임의 폴더(update)를 만들고 그안에다가 압축을 풀자 - 임의 폴더 = update update 폴더에 var 파일을 삭제본서버 폴더에 config.xml 파일을 update 폴더에 복사그리고 본서버 /var 폴더를 update 폴더에 복사 그리고 config.mxl 환경 설정을 바꿔주던지본서버 폴더이름과 같이 변경해준다음 ./start.sh 해주면 모든 작업이 완료된다.

Failed to start repository data: Problem loading repository 'data' - Current repository index for "data" is not compatible with your license, please re-index.

crucible 설치한 장비에 ip변경을 했더니 Repositories 상태가 다 stop 되어 있다. start 를 누르니Failed to start repository data: Problem loading repository 'data' - Current repository index for "data" is not compatible with your license, please re-index. 에러가 뜬다 re-index 를 해주면 된다고 한다. 모두 re-indexing 을 해주니 정상적으로 작동이 된다.

HostStorageSystem.ComputeDiskPartitionInfo

esxi 스토리지 추가하다가 HostStorageSystem.ComputeDiskPartitionInfo 에러가 날경우가 있다. 콘솔 ssh 로 접속해야 한다.vsphere 로 접속해서 ssh 활성화 해준다. 접속후 ~ # esxcfg-scsidevs -lmpx.vmhba32:C0:T0:L0 t10.ATA_____WDC_WD10EALX2D009BA0__________________________WD2DWMATR0178338 Device Type: Direct-Access Size: 953869 MB Display Name: Local ATA Disk (t10.ATA_____WDC_WD10EALX2D009BA0_______________ ___________WD2DWMATR0178338) Multipath..

esxi 2014.03.03

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
728x90
320x100