Linux 474

librenms error drawing graph no process

librenms 구동시 위와 같이 error drawing graph no process 라고 뜨면서 그래프가 안나온다면# su - librenms# cd /opt/librenms# ./validate.php[FAIL]  No active polling method detected 이거때문에 그렇다추가해주자.#vi /etc/cron.d/librenms/etc/cron.d/librenms33   */6  * * *   librenms    /opt/librenms/cronic /opt/librenms/discovery-wrapper.py 1 */5  *    * * *   librenms    /opt/librenms/discovery.php -h new >> /dev/null 2>&1 */5  *    ..

Linux 2024.06.07

ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: gitlab

ActiveRecord::DatabaseConnectionError: There is an issue connecting to your database with your username/password, username: gitlabgitlab restore 작업을 하다가 위와 같이 에러 뜨면서 복원 에러가 발생 한다면yum remove gitlab-ce 삭제를 진행하고rm -rf /var/crash/gitlab* rm -rf /var/cache/apt/archives/gitlab* rm -rf /var/lib/apt/lists/packages.gitlab* rm -rf /var/lib/dpkg/info/gitlab* rm -rf /var/log/gitlab rm -rf /var/opt/gitlab rm..

Linux 2024.06.04

Install fsarchiver on centos 7 error Error: Package: fsarchiver-0.8.6-1.el9.x86_64 (/fsarchiver-0.8.6-1.el9.x86_64) Requires: libc.so.6(GLIBC_2.28)(64bit)

fsarchiver 를 centos7 에 설치를 하려 하면Error: Package: fsarchiver-0.8.6-1.el9.x86_64 (/fsarchiver-0.8.6-1.el9.x86_64)            Requires: libc.so.6(GLIBC_2.28)(64bit) Error: Package: fsarchiver-0.8.6-1.el9.x86_64 (/fsarchiver-0.8.6-1.el9.x86_64)            Requires: libgcrypt.so.20()(64bit) Error: Package: fsarchiver-0.8.6-1.el9.x86_64 (/fsarchiver-0.8.6-1.el9.x86_64)            Requires: libgcrypt.so..

Linux 2024.06.03

ATTENTION! Your password for authentication realm: can only be stored to disk unencrypted! You are advised to configureyour system so that Subversion can store passwords encrypted, ifpossible. See the documentation for details.

ATTENTION!  Your password for authentication realm: can only be stored to disk unencrypted!  You are advised to configureyour system so that Subversion can store passwords encrypted, ifpossible.  See the documentation for details.svn 사용하다 보면 위와 같이 암호화 저장이 안된다고 경고가 뜬다. 무시하고 저장을 하면~./subversion/auth/svn.simple 아래 124jioi1j25oi1j3i3 파일이 생기고 이걸 열어보면K 8 passtype V 6 simple K 8 password V 12 123456789..

Linux 2024.05.25

librenms backup & restore

librenms backup & restore librenms 백업 스크립트다. curtime=`date +%Y_%m%d_%H` curdate=`date +%Y_%m%d` # collect data; db mysqldump -u root -p --default-character-set=utf8 --max_allowed_packet=32M librenms|gzip > /data/backup/librenms_db_$curtime.mysql.gz # home backup tar -cvzf /data/backup/librenms_home_$curdate.tgz /opt/librenms 자신의 환경에 맞게 알아서 ~ librenms 는 기본적으로 DB와 home 파일만 백업 해주고 복구 해주면 된다. 간단하다. ..

Linux 2024.04.18

mount error(112): Host is downRefer to the mount.cifs(8) manual page (e.g. man mount.cifs)

mount -t cifs //192.168.0.202/data/ /data/ -o user=guest,pass="1234567890" 위와 같이 에러가 발생을 한다 딱히 옵션을 잘못 입력하지 않은것 같은데...? 찾아보니 samba 버전이 낮아서 그렇다 리눅스 환경의 OS가 8버전에서는 문제가 없다 centos 7 smbd Version 4.10.16 centos 8 smbd Version 4.14.5 버전차이때문에 그런듯 centos 4.10 을 4.14 로 올리면 해결이 될것이다. 귀찮으니깐 그냥 samba 1.0 버전 지원하는걸로 추가 해주면 정상적으로 마운트가 된다.

Linux 2024.03.31

솔리라스 10 nis 설정 2024 버전

솔리라스 10 nis 설정 2024 버전 https://algo79.tistory.com/401 솔라리스 10 nis nfs 설정 centos나 redhat 도 설치가 가능하지만솔라리스에 설치하도록 하자.나는 10버전에 설치를 했다.(이미지는 알아서..) 네트워크는 설정을 하고혹시 IP를 변경을 한다면 hosts, /etc/hostname.네트워크명, /etc/ algo79.tistory.com 정말 오랜만에 nis 다시 구축을 해봤다. 위에 적어놓은 글중에 몇가지 오류가 있는것들이 있어서 다시 작성 # domainname test.domain.com; domainname >/etc/defaultdomain https://algo79.tistory.com/1702 솔라리스 네트워크 설정 방법 2(IP변경..

Linux 2024.03.21

firewall 방화벽 설정 방법

firewall 방화벽 설정 방법 방화벽 구동중인지 확인 방법 # systemctl status firewalld 방화벽 멈추기 # systemctl stop firewalld 방화벽 부팅시 자동실행 # chkconfig firewalld on 방화벽 부팅시 자동실행 안하기 # chkconfig firewalld off 방화벽 포트 상태 확인 # firewall-cmd --list-all 방화벽 포트 추가 하기 # firewall-cmd --permanent --add-port=161/tcp 방화벽 포트 삭제 하기 firewall-cmd --permanent --remove-port=161/tcp 포트 추가후 reload 해줘야 적용 된다. reload 방법 firewall-cmd --reload rel..

Linux 2024.03.04

솔라리스 네트워크 설정 방법 2(IP변경방법)

솔라리스 네트워크 설정 방법 2 https://algo79.tistory.com/19 솔라리스 10 네트워크 설정(IP셋팅) 1.8139랜카드 인스톨후 재부팅 2./etc/hostname.rtls0 이름 3./etc/hosts 사설아이피 이름 loghost 4./etc/defaultrouter 192.168.0.1 5./etc/nsswitch.conf dns 추가 6./etc/resolv.conf domain hananet.net 2개의nameserver IP 7.ifconfig rtls0 dow algo79.tistory.com 예전에 잘 모를때 그냥 네트워크 설정을 했는데.. 재부팅을 하면 IP가 지속적으로 리셋이 된다. 뭐지 하고 찾다 보니 원인을 찾았다. 솔라리스는 기본적으로 IP 를 자신이 가지..

Linux 2024.03.03
728x90
320x100