'inittab'에 해당되는 글 1건

  1. 2012.06.11 [qmail] qmail 실행 오류 또는 설치 오류

[qmail] qmail 실행 오류 또는 설치 오류

ITWeb/서버관리 2012. 6. 11. 18:11

sudo rpm –Uvh /usr/src/redhat/RPMS/x86_64/knetqmail-0.0.1-5.x86_64.rpm


knetqmail 을 rpm 설치 시 아래와 같은 오류가 날때가 있습니다.

/var/tmp/rpm-tmp.80051: line 31: /etc/inittab: 허가 거부됨

보통은 이런 오류가 안날텐데요.
회사마다 보안정책과 권한정책이 다를 수 있으니 이런 오류가 발생 할때는 아래 내용 참고 하셔서 해결을 하시면 됩니다.


[원본링크]

[원본내용]

[오류]

[root@mail service]# /etc/init.d/qmail stop
Stopping qmail...
  qmail-smtpd
svc: warning: unable to control /service/qmail-smtpd: supervise not running
svc: warning: unable to control /service/qmail-smtpd/log: supervise not running
  qmail-send
svc: warning: unable to control /service/qmail-send: supervise not running
svc: warning: unable to control /service/qmail-send/log: supervise not running
  qmail pop3
svc: warning: unable to control /service/vpop: supervise not running
svc: warning: unable to control /service/vpop/log: supervise not running
[root@mail service]# /etc/init.d/qmail start
Starting qmail

> stop 은 위와 같은 에러가 출력되고,

   start 는 에러가 발생하지 않으나 포트가 오픈되지 않을때.

 

[해결]

/command/svscanboot &

/etc/init.d/qmail start

 

/etc/inittab 에도 아래 행을 삽입하여 부팅시 정상 작동되도록 합니다.

 

SV:123456:respawn:/command/svscanboot


: