메뉴 건너뛰기

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)

번호 제목 날짜 조회 수
450 halyard 1.3의 console을 이용하여 100억건의 데이타에 대한 쿼리수행시 ScannerTimeoutException 발생시 조치사항 2017.09.06 2240
449 hadoop cluster구성된 노드를 확인시 Capacity를 보면 색이 붉은색으로 표시되어 있는 경우나 Unhealthy인 경우 처리방법 2017.08.30 1636
448 파일은 남겨두고 파일 내용만 지우고자 할 때. 2017.08.30 1375
447 RDF4J의 RESTFul API처리 클래스 소스 파악(web module위주) 2017.08.30 1616
446 RDF4J의 rdf4j-server.war가 제공하는 RESTFul API를 이용한 CRUD테스트(트랜잭션처리) 2017.08.30 2111
445 RDF4J의 rdf4j-server.war가 제공하는 RESTFul API를 이용하여 repository에 CRUD테스트 2017.08.30 2218
444 DeviceType이 o:motion-sensor_33 이거나 o:motion-sensor_32 경우의 sparql문장은 다음과 같다. 2017.08.16 2367
443 [oneM2M]Ontologies used for oneM2M 2017.08.02 2322
442 Windows7 64bit 환경에서 Apache Spark 2.2.0 설치하기 2017.07.26 2674
441 Windows7 64bit 환경에서 Apache Hadoop 2.7.1설치하기 2017.07.26 2112
440 jena/fuseki 3.4.0 설치 2017.07.25 2244
439 LUBM 데이타 생성구문 2017.07.24 6228
438 Core with name 'xx_shard4_replica1' already exists. 발생시 조치사항 2017.07.22 1136
437 9대가 hbase cluster로 구성된 서버에서 테스트 data를 halyard에 적재하고 테스트 하는 방법및 절차 2017.07.21 3412
436 갑자기 DataNode가 java.io.IOException: Premature EOF from inputStream를 반복적으로 발생시키다가 java.lang.OutOfMemoryError: Java heap space를 내면서 죽는 경우 조치방법 2017.07.19 3018
435 Current heap configuration for MemStore and BlockCache exceeds the threshold required for successful cluster operation 2017.07.18 2198
434 HBase 설정 최적화하기(VCNC) file 2017.07.18 1717
433 HBase write 성능 튜닝 file 2017.07.18 1269
432 schema.xml vs managed-schema 지정 사용하기 - 두개를 동시에 사용할 수는 없음 2017.07.09 2125
431 halyard의 console스크립트에서 생성한 repository는 RDF4J Web Applications에서 공유가 되지 않는다. 2017.07.05 2236
위로