메뉴 건너뛰기

Cloudera, BigData, Semantic IoT, Hadoop, NoSQL

Cloudera CDH/CDP 및 Hadoop EcoSystem, Semantic IoT등의 개발/운영 기술을 정리합니다. gooper@gooper.com로 문의 주세요.


apt-get install tomcat7 tomcat7-admin로 tomcat을 설치할때 E: Sub-process /usr/bin/dpkg returned an error code (1) 오류가 발생시

1. /var/lib/dpkg/info 폴더로 이동(cd /var/lib/dpkg/info)한후 파일들을 백업한다.
2. 에러가 나는 패키지를 삭제한다.

3. 재설치해준다.


-----------------------------오류 메세지------------------------

root@gsda1:/var/lib/dpkg/info# apt-get install tomcat7 tomcat7-admin
Reading package lists... Done
Building dependency tree      
Reading state information... Done
tomcat7 is already the newest version (7.0.68-1ubuntu0.1).
tomcat7-admin is already the newest version (7.0.68-1ubuntu0.1).
0 upgraded, 0 newly installed, 0 to remove and 89 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
Job for tomcat7.service failed because the control process exited with error code. See "systemctl status tomcat7.service" and "journalctl -xe" for details.
invoke-rc.d: initscript tomcat7, action "start" failed.
dpkg: error processing package tomcat7 (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 tomcat7
E: Sub-process /usr/bin/dpkg returned an error code (1)

번호 제목 날짜 조회 수
410 javax.net.ssl.SSLHanshakeException: SSLHandshakeException invoking https://mainCluster.gooper.com:7183/api/v1/users: sun.security.validator.ValidatorException: No trusted certificate found 2022.06.29 3860
409 TransmitData() to failed: Network error: Recv() got EOF from remote (error 108) 오류 현상 2019.02.15 3865
408 우분투 16.04 설치후 APM (Apache2, PHP, MySQL) 설치 2017.01.29 3866
407 Cloudera가 사용하는 서비스별 포트 2018.03.29 3871
406 impala session type별 표시되는 정보로 구분하는 방법 2021.05.25 3871
405 데이타 제공 사이트 링크 2014.08.03 3874
404 Namenode Metadata백업하는 방법 2020.02.10 3887
403 Eclipse 에서 bitbucket.org 연동 하기 file 2017.06.08 3889
402 CDP에서 AD와 Kerberos를 활용하여 인증 환경을 구축하는 3가지 방법 2022.06.10 3890
401 서버중 slave,worker,regionserver만 재기동해야 할때 필요한 기동스크립트및 사용방법 2017.02.03 3900
400 lateral view 예제 2014.09.18 3903
399 특정문자열이나 URI를 임의로 select 절에 지정하여 사용할때 사용하는 sparql 문장 2016.08.25 3905
398 [개발] 온라인 IDE - 개발 환경 구축 없어 어디서나 웹브라우저로 개발하기 2022.05.02 3910
397 lagom의 online-auction-java프로젝트 실행시 외부의 kafka/cassandra를 사용하도록 설정하는 방법 2017.10.12 3914
396 python실행시 ValueError: zero length field name in format오류 해결방법 2016.05.27 3929
395 Impala daemon기동시 "Could not create temporary timezone file"오류 발생시 조치사항 2018.03.29 3931
394 Class.forName을 이용한 메서드 호출 샘플소스 2016.12.21 3935
393 A Cluster의 HDFS 디렉토리및 파일을 사용자및 권한 유지 하여 다운 받아서 B Cluster에 넣기 2020.05.06 3940
392 not leader of this config: current role FOLLOWER 오류 발생시 확인방법 2022.01.17 3940
391 [sbt] sbt 0.13.11 를 windows에 설치하고 scala프로그램을 compile해서 jar파일 만들기 2016.07.11 3943
위로