메뉴 건너뛰기

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 Cloudera설치중 실패로 여러번 설치하는 과정에 "Running in non-interactive mode, and data appears to exist in Storage Directory /dfs/nn. Not formatting." 오류가 발생시 조치하는 방법 2018.03.29 4094
409 start-all.sh로 spark데몬 기동시 "JAVA_HOME is not set"오류 발생시 조치사항 2016.08.01 4091
408 hive metastore ERD file 2018.09.20 4088
407 sqoop에서 oracle관련 작업할때 테이블명, 사용자명, DB명은 모두 대문자로 사용할것 2014.05.15 4088
406 solrdf초기 기동시 "Caused by: java.lang.IllegalAccessError: tried to access field org.apache.solr.handler.RequestHandlerBase.log from class org.gazzax.labs.solrdf.handler.update.RdfUpdateRequestHandler" 오류가 발생시 조치사항 2016.04.22 4087
405 권한회수 및 권한부여 명령 몇가지 2017.11.16 4084
404 [AD(LADP)] CDP1.7에서 AD및 Kerberos를 연동해도 각 노드에 os account, os group은 생성되어야 하지만 SSSD서비스를 이용하면 직접 생성될 필요가 없다. 2022.06.10 4080
403 AIX 7.1에 Hadoop설치(정리중) 2016.09.12 4080
402 [CentOS 7.4]Hadoop NFS gateway기동시 Cannot connect to port 2049 오류 발생시 확인/조치 2022.03.02 4079
401 conda를 이용한 jupyterhub(v0.9)및 jupyter설치 (v4.4.0) 2018.07.30 4077
400 [우분투] suppoie 채굴 프로세스 발생시 자동으로 삭제하는 shell프로그램 2018.04.01 4071
399 우분투 16.04LTS에 Zeppelin 0.7.3설치 2018.04.18 4069
398 like검색한 결과를 기준으로 집계를 수행하는 java 소스 2016.12.19 4068
397 drools에서 drl관련 로그를 기록하기 위한 클래스 파일 2016.07.21 4066
396 hive 0.13.1 설치 + meta정보는 postgresql 9.3에 저장 2015.04.30 4065
395 scala-eclipse 다운로드 2019.06.09 4059
394 Error: java.lang.RuntimeException: java.lang.OutOfMemoryError 오류가 발생하는 경우 2018.09.20 4057
393 schema설정없이 hive를 최초에 실행했을때 발생하는 오류메세지및 처리방법 2016.09.25 4055
392 kafka 0.9.0.1 for scala 2.1.1 설치및 테스트 2016.05.02 4051
391 ResultSet에서 데이타를 List<Map<String,String>>형태로 만들어서 리턴하는 소스(Collections.sort를 이용한 정렬 가능) 2016.12.15 4050
위로