본문 바로가기

Linux

gitlab 502 error unix:/var/opt/gitlab/gitlab-workhorse/sockets/socket failed (2: No such file or directory) https://algo79.tistory.com/638 gitlab install # yum install curl policycoreutils openssh-server openssh-clients -y # systemctl enable sshd # systemctl start sshd # yum install postfix # systemctl enable postfix # systemctl start postfix # firewall-cmd --permanent --add-service=http # firewall-cmd --pe algo79.tistory.com 오랜만에 gitlab 설치를 했다 기존에 내가 했던 방식으로 설치를 했는데.. 위와 같이 에러가 발생 한다;;; 응... 뭐지..? # .. 더보기
The size of this disk is 153.7 TiB (168959982698496 bytes). DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT) The size of this disk is 153.7 TiB (168959982698496 bytes). DOS partition table format cannot be used on drives for volumes larger than 2199023255040 bytes for 512-byte sectors. Use GUID partition table format (GPT) 고용량 하드 Raid 로 구성을 했는데 Partition Table: GPT 방식으로 만들어야 한다 안그러면 인식이 안된다. # parted /dev/sdb GNU Parted 3.2 Using /dev/sdb Welcome to GNU Parted! Type 'help' to view a list of commands. (.. 더보기
mount /dev/sdb work/mount: /work: unknown filesystem type 'LVM2_member'. mount /dev/sdb work/mount: /work: unknown filesystem type 'LVM2_member'. 마운트를 하려고 했는데 위와 같이 에러가 발생이 된다. fdisk 로 상태를 보자 Linux LVM 으로 되어 있다. 패키지가 설치가 안되서 인식이 안되는것이다. 패키지를 설치 해주자. # yum install lvm2 -y 설치하고 mount 해주면 정상적으로 mount가 된다. 더보기
internal error: unable to execute QEMU command 'blockdev-add': 'file' driver requires '/data/' to be a regular file kvm 데이터 mount 하기 internal error: unable to execute QEMU command 'blockdev-add': 'file' driver requires '/data/' to be a regular file 하드를 추가 하려고 하는데 저렇게 에러가 뜬다. 이럴 경우 가상화 장비에 # yum install virt-install virt-viewer 설치 # chkconfig libvirtd on # serivce libvirtd restart 설정 해주고 장비 끈다음에 추가 하면 정상적으로 하드가 마운트가 된다. 더보기
mount: can't read superblock on /dev/mapper/centos-root. mount: can't read superblock on /dev/mapper/centos-root. mount 하는데 위와 같이 에러가 발생을 한다면 해당 디스크 영영이 문제가 있어서 그렇다. 수정을 해주고 하면 정상 작동 된다. # xfs_repair /dev/centos/root -L 작업이 끝나면 오류를 해결 해준다. # mount /dev/centos/root /data 하면 정상적으로 mount가 된다. 더보기
avahi-daemon[]: Invalid response packet from host 리눅스 시스템에 avahi-daemon[]: Invalid response packet from host 로그가 찍히는 경우가 간혹 있다. 이 로그는..? 즉 네트워크 프린터나 공유파일등 자신의 서비스를 알리거나 찾는데 쓰는 프로토콜이다. 고로 syslog 에 위와 같이 찍히는게 싫다면 # vi /etc/rsyslog.conf 열어서 *.info;mail.none;authpriv.none;cron.none /var/log/messages 이부분에 *.info;mail.none;authpriv.none;cron.none;avahi-daemon.none /var/log/messages 를 추가하고 # service rsyslog restart 해주면 로그가 안찍힌다. 더보기
KVM(가상화) install on rocky8.x KVM 가상화 시스템을 rocky 8.x 에 설치 하는 방법이다. 우선 intel은 vmx AMD는 svm 이 활성화 되있어야 한다. cmos 에서 설정을 확인 해야 한다. 난 AMD 환경이라 # grep -e 'svm' /proc/cpuinfo #AMD systems flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc cpuid extd_apicid aperfmperf pni pclmulqdq monitor sss.. 더보기
cpu, memory 사용량 확인 툴 sysstat 설치는 # yum install sysstat Last metadata expiration check: 3:19:02 ago on Mon 24 Apr 2023 08:11:08 AM KST. Dependencies resolved. ============================================================================================================================== Package Architecture Version Repository Size =================================================================================================.. 더보기

728x90
320x100