Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- dino@dino-Aspire-V3-731:~$ sudo su
- [sudo] password for dino:
- root@dino-Aspire-V3-731:/home/dino# apt-get install tomcat7
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- The following packages were automatically installed and are no longer required:
- linux-headers-4.13.0-31 linux-headers-4.13.0-31-generic
- linux-headers-4.13.0-32 linux-headers-4.13.0-32-generic
- linux-headers-4.13.0-36 linux-headers-4.13.0-36-generic
- linux-headers-4.13.0-37 linux-headers-4.13.0-37-generic
- linux-headers-4.13.0-38 linux-headers-4.13.0-38-generic
- linux-headers-4.13.0-39 linux-headers-4.13.0-39-generic
- linux-headers-4.13.0-41 linux-headers-4.13.0-41-generic
- linux-headers-4.13.0-43 linux-headers-4.13.0-43-generic
- linux-image-4.13.0-31-generic linux-image-4.13.0-32-generic
- linux-image-4.13.0-36-generic linux-image-4.13.0-37-generic
- linux-image-4.13.0-38-generic linux-image-4.13.0-39-generic
- linux-image-4.13.0-41-generic linux-image-4.13.0-43-generic
- linux-image-extra-4.13.0-31-generic linux-image-extra-4.13.0-32-generic
- linux-image-extra-4.13.0-36-generic linux-image-extra-4.13.0-37-generic
- linux-image-extra-4.13.0-38-generic linux-image-extra-4.13.0-39-generic
- linux-image-extra-4.13.0-41-generic linux-image-extra-4.13.0-43-generic
- Use 'sudo apt autoremove' to remove them.
- The following additional packages will be installed:
- authbind libcommons-collections3-java libcommons-dbcp-java
- libcommons-pool-java libecj-java libservlet3.0-java libtomcat7-java
- tomcat7-common
- Suggested packages:
- libcommons-collections3-java-doc libcommons-dbcp-java-doc
- libgeronimo-jta-1.1-spec-java ecj ant libecj-java-gcj tomcat7-docs
- tomcat7-admin tomcat7-examples tomcat7-user libtcnative-1
- The following NEW packages will be installed:
- authbind libcommons-collections3-java libcommons-dbcp-java
- libcommons-pool-java libecj-java libservlet3.0-java libtomcat7-java tomcat7
- tomcat7-common
- 0 upgraded, 9 newly installed, 0 to remove and 29 not upgraded.
- Need to get 6'832 kB of archives.
- After this operation, 8'285 kB of additional disk space will be used.
- Do you want to continue? [Y/n] y
- Get:1 http://ch.archive.ubuntu.com/ubuntu xenial/main amd64 libcommons-collections3-java all 3.2.2-1 [599 kB]
- Get:2 http://ch.archive.ubuntu.com/ubuntu xenial/main amd64 libcommons-pool-java all 1.6-2 [105 kB]
- Get:3 http://ch.archive.ubuntu.com/ubuntu xenial/main amd64 libcommons-dbcp-java all 1.4-5ubuntu2 [148 kB]
- Get:4 http://ch.archive.ubuntu.com/ubuntu xenial-updates/main amd64 libecj-java all 3.10.1-2ubuntu1 [1'642 kB]
- Get:5 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libservlet3.0-java all 7.0.68-1ubuntu0.1 [302 kB]
- Get:6 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 libtomcat7-java all 7.0.68-1ubuntu0.1 [3'715 kB]
- Get:7 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 tomcat7-common all 7.0.68-1ubuntu0.1 [266 kB]
- Get:8 http://ch.archive.ubuntu.com/ubuntu xenial-updates/universe amd64 tomcat7 all 7.0.68-1ubuntu0.1 [36.7 kB]
- Get:9 http://ch.archive.ubuntu.com/ubuntu xenial/main amd64 authbind amd64 2.1.1+nmu1 [17.6 kB]
- Fetched 6'832 kB in 3s (2'088 kB/s)
- Preconfiguring packages ...
- Selecting previously unselected package libcommons-collections3-java.
- (Reading database ... 531022 files and directories currently installed.)
- Preparing to unpack .../libcommons-collections3-java_3.2.2-1_all.deb ...
- Unpacking libcommons-collections3-java (3.2.2-1) ...
- Selecting previously unselected package libcommons-pool-java.
- Preparing to unpack .../libcommons-pool-java_1.6-2_all.deb ...
- Unpacking libcommons-pool-java (1.6-2) ...
- Selecting previously unselected package libcommons-dbcp-java.
- Preparing to unpack .../libcommons-dbcp-java_1.4-5ubuntu2_all.deb ...
- Unpacking libcommons-dbcp-java (1.4-5ubuntu2) ...
- Selecting previously unselected package libecj-java.
- Preparing to unpack .../libecj-java_3.10.1-2ubuntu1_all.deb ...
- Unpacking libecj-java (3.10.1-2ubuntu1) ...
- Selecting previously unselected package libservlet3.0-java.
- Preparing to unpack .../libservlet3.0-java_7.0.68-1ubuntu0.1_all.deb ...
- Unpacking libservlet3.0-java (7.0.68-1ubuntu0.1) ...
- Selecting previously unselected package libtomcat7-java.
- Preparing to unpack .../libtomcat7-java_7.0.68-1ubuntu0.1_all.deb ...
- Unpacking libtomcat7-java (7.0.68-1ubuntu0.1) ...
- Selecting previously unselected package tomcat7-common.
- Preparing to unpack .../tomcat7-common_7.0.68-1ubuntu0.1_all.deb ...
- Unpacking tomcat7-common (7.0.68-1ubuntu0.1) ...
- Selecting previously unselected package tomcat7.
- Preparing to unpack .../tomcat7_7.0.68-1ubuntu0.1_all.deb ...
- Unpacking tomcat7 (7.0.68-1ubuntu0.1) ...
- Selecting previously unselected package authbind.
- Preparing to unpack .../authbind_2.1.1+nmu1_amd64.deb ...
- Unpacking authbind (2.1.1+nmu1) ...
- Processing triggers for systemd (229-4ubuntu21.2) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Processing triggers for man-db (2.7.5-1) ...
- Setting up libcommons-collections3-java (3.2.2-1) ...
- Setting up libcommons-pool-java (1.6-2) ...
- Setting up libcommons-dbcp-java (1.4-5ubuntu2) ...
- Setting up libecj-java (3.10.1-2ubuntu1) ...
- Setting up libservlet3.0-java (7.0.68-1ubuntu0.1) ...
- Setting up libtomcat7-java (7.0.68-1ubuntu0.1) ...
- Setting up tomcat7-common (7.0.68-1ubuntu0.1) ...
- Setting up tomcat7 (7.0.68-1ubuntu0.1) ...
- Creating config file /etc/default/tomcat7 with new version
- Adding system user `tomcat7' (UID 121) ...
- Adding new user `tomcat7' (UID 121) with group `tomcat7' ...
- Not creating home directory `/usr/share/tomcat7'.
- Creating config file /etc/logrotate.d/tomcat7 with new version
- 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.
- ● tomcat7.service - LSB: Start Tomcat.
- Loaded: loaded (/etc/init.d/tomcat7; bad; vendor preset: enabled)
- Active: failed (Result: exit-code) since Fre 2018-07-06 12:28:51 CEST; 11ms ago
- Docs: man:systemd-sysv-generator(8)
- Process: 9470 ExecStart=/etc/init.d/tomcat7 start (code=exited, status=1/FAILURE)
- Jul 06 12:28:50 dino-Aspire-V3-731 systemd[1]: Starting LSB: Start Tomcat....
- Jul 06 12:28:51 dino-Aspire-V3-731 tomcat7[9470]: * no JDK or JRE found - pl...
- Jul 06 12:28:51 dino-Aspire-V3-731 systemd[1]: tomcat7.service: Control proc...1
- Jul 06 12:28:51 dino-Aspire-V3-731 systemd[1]: Failed to start LSB: Start To....
- Jul 06 12:28:51 dino-Aspire-V3-731 systemd[1]: tomcat7.service: Unit entered....
- Jul 06 12:28:51 dino-Aspire-V3-731 systemd[1]: tomcat7.service: Failed with ....
- Hint: Some lines were ellipsized, use -l to show in full.
- dpkg: error processing package tomcat7 (--configure):
- subprocess installed post-installation script returned error exit status 1
- Setting up authbind (2.1.1+nmu1) ...
- Processing triggers for systemd (229-4ubuntu21.2) ...
- Processing triggers for ureadahead (0.100.0-19) ...
- Errors were encountered while processing:
- tomcat7
Advertisement
Add Comment
Please, Sign In to add comment