No Image

samba failing to start after centos7.2(rhel7.2) update

2016-01-04 KENNETH 0

samba failing to start after centos7.2(rhel7.2) update 환경 : CentOS-7.2 (64bit)   증상 얼마전 제공된 centos-7.2 업데이트 이후 갑자기 samba 구동이 되지 않음 # systemctl start smb Job for smb.service failed because the control process exited with error code. See “systemctl status smb.service” and “journalctl -xe” for details. ???? 사실 이 때 까지만 해도 7.2업데이트(정확히는 samba 업데이트) 때문에 발생한 문제 라는 것을 몰랐음.   서비스 확인 # systemctl status smb ● smb.service – Samba SMB Daemon Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled; vendor preset: disabled) Active: failed (Result: exit-code) since 월 2016-01-04 12:35:20 KST; 39s ago Main PID: 19226 (code=exited, status=1/FAILURE) 1월 04 12:35:20 lvs1 systemd[1]: Starting Samba SMB Daemon… 1월 04 12:35:20 lvs1 systemd[1]: smb.service: main process exited, code=exited, status=1/FAILURE 1월 04 12:35:20 lvs1 systemd[1]: Failed to start Samba SMB Daemon. 1월 04 12:35:20 lvs1 systemd[1]: Unit smb.service entered failed state. [ more… ]

No Image

Recompiling VirtualBox kernel modules [FAILED] on centos7.2 or rhel7.2

2015-12-18 KENNETH 0

Recompiling VirtualBox kernel modules [FAILED] on centos7.2 or rhel7.2   환경 OS : CentOS7 (7.2.1511) VirtualBox : 5.0.10_104061_el7-1 yum-repository 등록후 yum install VirtualBox-5.0 명령을 통한 설치 작업진행 사실 CentOS-7.2업데이트후 정상적인 구동이 되지 않았기 때문에 재설치 까지 진행해 본 것임   설치시 오류 No precompiled module for this kernel found — trying to build one. Messages emitted during module compilation will be logged to /var/log/vbox-install.log. Stopping VirtualBox kernel modules [ OK ] Recompiling VirtualBox kernel modules [FAILED] (Look at /var/log/vbox-install.log to find out what went wrong) Verifying : VirtualBox-5.0-5.0.10_104061_el7-1.x86_64 1/1 Installed: VirtualBox-5.0.x86_64 0:5.0.10_104061_el7-1   로그 내용 로그 내용은 상당히 많지만 대략 이정도가 주목 할 만 한듯 /tmp/vbox.0/linux/VBoxNetFlt-linux.c: In function ‘vboxNetFltLinuxPacketHandler’: /tmp/vbox.0/linux/VBoxNetFlt-linux.c:928:9: error: implicit declaration of function ‘vlan_tx_tag_present’ [-Werror=implicit-function-declaration] if (vlan_tx_tag_present(pBuf) && skb_headroom(pBuf) >= VLAN_ETH_HLEN) ^ /tmp/vbox.0/linux/VBoxNetFlt-linux.c:938:13: error: implicit declaration of function ‘vlan_tx_tag_get’ [-Werror=implicit-function-declaration] pVHdr->h_vlan_TCI = RT_H2N_U16(vlan_tx_tag_get(pBuf)); ^ cc1: some warnings being treated [ more… ]

No Image

centos7(rhel7)에서 fcitx 로 입력기 변경하기

2015-11-03 KENNETH 0

repository 등록 yum install epel-release yum-config-manager –add-repo=https://copr.fedoraproject.org/coprs/mosquito/myrepo/repo/epel-7/mosquito-myrepo-epel-7.repo   fcitx 관련 패키지 설치 yum install fcitx-configtool fcitx-devel 관련 패키지를 설치 한뒤에 는 /etc/yum.repos.d/mosquito-myrepo-epel-7.repo 파일에서 ”enabled=0” 으로 반드시 고쳐주기 바란다..   fcitx-hangul 설치를 위한 패키지 추가 설치 yum install fdupes intltool libhangul-devel   rpmfind.net 에서 다운받아 설치 fcitx-hangul-0.3.0-4.1.3.x86_64.rpm   fcitx-hangul 패키지가 없을경우 한글입력이 정상적으로 되지 않는다. fcitx-hangul-src-rpm  을구해서 빌드하려고 했으나.. 정상적으로 진행되지 않기 때문에 귀챦아서 빌드된 rpm으로 설치를 진행함   .xprofile, .bashrc 등에다가 내용 추가 export XMODIFIERS=”@im=fcitx” export GTK_IM_MODULE=fcitx export QT_IM_MODULE=fcitx   x-window 재시작을 하지 않아도 imsettings-switch fcitx 하니까.. 변경된 입력기가 활성화 되긴 되는것 같더라… 물론 몇번의 시도에 의한 패키지 설치 및 profile 반영이 이미 되어있는 상태여서 그랬더것 같기도 하다만.. 그 부분을 확인하는 것은 더욱 귀찮구나…   PS. 지에디트의 경우 문제없이 사용이 가능했으나. 크롬에서 문제가 발생한다. 한글입력시 문단 마지막 단어가 강제 스페이스처리된다.. 엄청나게 빨리치면 괜찮은듯.. ”조금만 늦어져 도문제가되는듯…. ” <——- 이렇게…  

No Image

centos7(rhel7) 환경에서 DRBD 설정하기

2015-08-19 KENNETH 14

  환경개요 서버 대수 : 2대 구성 방식 : Master & Standby 구성 OS : centos7 Master서버 IP : 192.168.0.177 hostname : node1 drbd 사용장치 : /dev/sdb1 Standby서버 IP : 192.168.0.178 hostname : node2 drbd 사용장치 : /dev/sdb1   elrepo 저장소 등록 Import the public key: rpm –import https://www.elrepo.org/RPM-GPG-KEY-elrepo.org To install ELRepo for RHEL-7, SL-7 or CentOS-7: rpm -Uvh http://www.elrepo.org/elrepo-release-7.0-2.el7.elrepo.noarch.rpm   2. drbd 패키지 설치 yum install drbd84-utils kmod-drbd84 사실 yum install drbd 라고 명령어를 내리면 drbd84-utils 를 자동으로 인지하고 설치한다.   3. selinux 끄기 파일 : /etc/sysconfig/selinux SELINUX=diabled 리부팅을 해도 되고 ”setenforce 0” 명령을 실행해도 됨 4. 호스트이름 설정 Master : hostname node1 Standby : hostname node2   5. /etc/hosts 파일 설정 (Master, Standby 모두 동일) 192.168.0.177 node1 192.168.0.178 node2     6. 파티션 생성 [root@node1]# fdisk /dev/sdb Welcome to fdisk (util-linux 2.23.2). Changes will remain in memory only, until you [ more… ]