[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
Yes, your workaround works for me. -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
This is my /etc/hosts file: 127.0.0.1 localhost 127.0.1.1 operador-desktop # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts And this is the result of ip address show: 1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast state UP qlen 100 link/ether 00:21:85:04:ba:3e brd ff:ff:ff:ff:ff:ff inet 192.168.10.3/24 brd 192.168.10.255 scope global eth0 inet6 fe80::221:85ff:fe04:ba3e/64 scope link valid_lft forever preferred_lft forever -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
This is my /etc/hosts file: 127.0.0.1 localhost 127.0.1.1 operador-desktop # The following lines are desirable for IPv6 capable hosts ::1 ip6-localhost ip6-loopback fe00::0 ip6-localnet ff00::0 ip6-mcastprefix ff02::1 ip6-allnodes ff02::2 ip6-allrouters ff02::3 ip6-allhosts And this is the result of ip address show: 1: lo: LOOPBACK,UP,LOWER_UP mtu 16436 qdisc noqueue state UNKNOWN link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00 inet 127.0.0.1/8 scope host lo inet6 ::1/128 scope host valid_lft forever preferred_lft forever 2: eth0: BROADCAST,MULTICAST,UP,LOWER_UP mtu 1500 qdisc pfifo_fast state UP qlen 100 link/ether 00:21:85:04:ba:3e brd ff:ff:ff:ff:ff:ff inet 192.168.10.3/24 brd 192.168.10.255 scope global eth0 inet6 fe80::221:85ff:fe04:ba3e/64 scope link valid_lft forever preferred_lft forever -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
The network configuration looks alright... I am running out of ideas :) Unless you really need an AJP13 connector, this should workaround it : - Install tomcat6 - Stop tomcat6, kill -9 the remaining jsvc processes - Comment out the AJP13 connector in /etc/tomcat6/server.xml: !--Connector port=8009 protocol=AJP/1.3 redirectPort=8443 /-- - Start tomcat6 - Install tomcat6-admin -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
The problem seems to come from here: 20-nov-2008 16:35:26 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 20-nov-2008 16:38:35 org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed java.net.ConnectException: Connection timed out I can't reproduce this. Running the same command I get a Catalina service stopped message one second after the Pausing Coyote one. Reading the logs, the problem seems to be that the Stop handler can't connect locally to port 8009... Could you check the following: - do you have an existing configuration in /etc/tomcat6 before installation ? - is there anything else running on the server, prior to tomcat6 installation, that uses tcp port 8009 or 8080 ? - is there anything preventing local connections to port 8009 ? - install tomcat6 only (without tomcat6-admin), that should succeed. Then give me the output of sudo netstat -nlp - After having installed tomcat6 only, try to run sudo /etc/init.d/tomcat6 stop and report success/failure Thanks in advance -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
Here I go... - I don't have an existing /etc/tomcat6 before installation (directory /etc/tomcat6 does not exist before installation). - There's nothing listening to ports 8009 or 8080 prior to tomcat6 installation. sudo netstat -ntupl follows: -- [EMAIL PROTECTED]:~$ sudo netstat -ntupl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5011/cupsd tcp0 0 127.0.0.1:250.0.0.0:* LISTEN 5195/master udp0 0 0.0.0.0:36682 0.0.0.0:* 4793/avahi-daemon: udp0 0 0.0.0.0:53530.0.0.0:* 4793/avahi-daemon: udp0 0 0.0.0.0:631 0.0.0.0:* 5011/cupsd -- - There is nothing preventing local connections to port 8009 (you mean a firewall or similar, don't you?) - sudo aptitude install tomcat6 follows: -- [EMAIL PROTECTED]:~$ LANG=C sudo aptitude install tomcat6 Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following NEW packages will be installed: jsvc{a} libcommons-collections-java{a} libcommons-daemon-java{a} libcommons-dbcp-java{a} libcommons-pool-java{a} libecj-java{a} libecj-java-gcj{a} libservlet2.5-java{a} libtomcat6-java{a} tomcat6 tomcat6-common{a} 0 packages upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/6833kB of archives. After unpacking 15.6MB will be used. Do you want to continue? [Y/n/?] Writing extended state information... Done Selecting previously deselected package libcommons-daemon-java. (Reading database ... 161984 files and directories currently installed.) Unpacking libcommons-daemon-java (from .../libcommons-daemon-java_1.0.2~svn20061127-9ubuntu2_all.deb) ... Selecting previously deselected package jsvc. Unpacking jsvc (from .../jsvc_1.0.2~svn20061127-9ubuntu2_amd64.deb) ... Selecting previously deselected package libcommons-collections-java. Unpacking libcommons-collections-java (from .../libcommons-collections-java_2.1.1-8ubuntu1_all.deb) ... Selecting previously deselected package libcommons-pool-java. Unpacking libcommons-pool-java (from .../libcommons-pool-java_1.3-1ubuntu2_all.deb) ... Selecting previously deselected package libcommons-dbcp-java. Unpacking libcommons-dbcp-java (from .../libcommons-dbcp-java_1.2.2-1ubuntu1_all.deb) ... Selecting previously deselected package libecj-java. Unpacking libecj-java (from .../libecj-java_3.3.0+0728-10_all.deb) ... Selecting previously deselected package libecj-java-gcj. Unpacking libecj-java-gcj (from .../libecj-java-gcj_3.3.0+0728-10_amd64.deb) ... Selecting previously deselected package libservlet2.5-java. Unpacking libservlet2.5-java (from .../libservlet2.5-java_6.0.18-0ubuntu3_all.deb) ... Selecting previously deselected package libtomcat6-java. Unpacking libtomcat6-java (from .../libtomcat6-java_6.0.18-0ubuntu3_all.deb) ... Selecting previously deselected package tomcat6-common. Unpacking tomcat6-common (from .../tomcat6-common_6.0.18-0ubuntu3_all.deb) ... Selecting previously deselected package tomcat6. Unpacking tomcat6 (from .../tomcat6_6.0.18-0ubuntu3_all.deb) ... Processing triggers for doc-base ... Processing 3 added doc-base file(s)... Registering documents with scrollkeeper... Processing triggers for man-db ... Setting up libcommons-daemon-java (1.0.2~svn20061127-9ubuntu2) ... Setting up jsvc (1.0.2~svn20061127-9ubuntu2) ... Setting up
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
OK, I found that: http://www.ngasi.com/ngasihelp/ngasiuserguide/index.html?tomcat_fails_shutdown_complete.htm And indeed, I can reproduce the exact same problem if I set my hostname to an invalid IP address in /etc/hosts... Could you double-check that your /etc/hosts is 100% correct ? In doubt could you attach /etc/hosts, as well as whatever ip address show returns ? -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
The problem seems to come from here: 20-nov-2008 16:35:26 org.apache.coyote.http11.Http11Protocol pause INFO: Pausing Coyote HTTP/1.1 on http-8080 20-nov-2008 16:38:35 org.apache.catalina.connector.Connector pause SEVERE: Protocol handler pause failed java.net.ConnectException: Connection timed out I can't reproduce this. Running the same command I get a Catalina service stopped message one second after the Pausing Coyote one. Reading the logs, the problem seems to be that the Stop handler can't connect locally to port 8009... Could you check the following: - do you have an existing configuration in /etc/tomcat6 before installation ? - is there anything else running on the server, prior to tomcat6 installation, that uses tcp port 8009 or 8080 ? - is there anything preventing local connections to port 8009 ? - install tomcat6 only (without tomcat6-admin), that should succeed. Then give me the output of sudo netstat -nlp - After having installed tomcat6 only, try to run sudo /etc/init.d/tomcat6 stop and report success/failure Thanks in advance -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
Here I go... - I don't have an existing /etc/tomcat6 before installation (directory /etc/tomcat6 does not exist before installation). - There's nothing listening to ports 8009 or 8080 prior to tomcat6 installation. sudo netstat -ntupl follows: -- [EMAIL PROTECTED]:~$ sudo netstat -ntupl Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp0 0 127.0.0.1:631 0.0.0.0:* LISTEN 5011/cupsd tcp0 0 127.0.0.1:250.0.0.0:* LISTEN 5195/master udp0 0 0.0.0.0:36682 0.0.0.0:* 4793/avahi-daemon: udp0 0 0.0.0.0:53530.0.0.0:* 4793/avahi-daemon: udp0 0 0.0.0.0:631 0.0.0.0:* 5011/cupsd -- - There is nothing preventing local connections to port 8009 (you mean a firewall or similar, don't you?) - sudo aptitude install tomcat6 follows: -- [EMAIL PROTECTED]:~$ LANG=C sudo aptitude install tomcat6 Reading package lists... Done Building dependency tree Reading state information... Done Reading extended state information Initializing package states... Done The following NEW packages will be installed: jsvc{a} libcommons-collections-java{a} libcommons-daemon-java{a} libcommons-dbcp-java{a} libcommons-pool-java{a} libecj-java{a} libecj-java-gcj{a} libservlet2.5-java{a} libtomcat6-java{a} tomcat6 tomcat6-common{a} 0 packages upgraded, 11 newly installed, 0 to remove and 0 not upgraded. Need to get 0B/6833kB of archives. After unpacking 15.6MB will be used. Do you want to continue? [Y/n/?] Writing extended state information... Done Selecting previously deselected package libcommons-daemon-java. (Reading database ... 161984 files and directories currently installed.) Unpacking libcommons-daemon-java (from .../libcommons-daemon-java_1.0.2~svn20061127-9ubuntu2_all.deb) ... Selecting previously deselected package jsvc. Unpacking jsvc (from .../jsvc_1.0.2~svn20061127-9ubuntu2_amd64.deb) ... Selecting previously deselected package libcommons-collections-java. Unpacking libcommons-collections-java (from .../libcommons-collections-java_2.1.1-8ubuntu1_all.deb) ... Selecting previously deselected package libcommons-pool-java. Unpacking libcommons-pool-java (from .../libcommons-pool-java_1.3-1ubuntu2_all.deb) ... Selecting previously deselected package libcommons-dbcp-java. Unpacking libcommons-dbcp-java (from .../libcommons-dbcp-java_1.2.2-1ubuntu1_all.deb) ... Selecting previously deselected package libecj-java. Unpacking libecj-java (from .../libecj-java_3.3.0+0728-10_all.deb) ... Selecting previously deselected package libecj-java-gcj. Unpacking libecj-java-gcj (from .../libecj-java-gcj_3.3.0+0728-10_amd64.deb) ... Selecting previously deselected package libservlet2.5-java. Unpacking libservlet2.5-java (from .../libservlet2.5-java_6.0.18-0ubuntu3_all.deb) ... Selecting previously deselected package libtomcat6-java. Unpacking libtomcat6-java (from .../libtomcat6-java_6.0.18-0ubuntu3_all.deb) ... Selecting previously deselected package tomcat6-common. Unpacking tomcat6-common (from .../tomcat6-common_6.0.18-0ubuntu3_all.deb) ... Selecting previously deselected package tomcat6. Unpacking tomcat6 (from .../tomcat6_6.0.18-0ubuntu3_all.deb) ... Processing triggers for doc-base ... Processing 3 added doc-base file(s)... Registering documents with scrollkeeper... Processing triggers for man-db ... Setting up libcommons-daemon-java (1.0.2~svn20061127-9ubuntu2) ... Setting up jsvc (1.0.2~svn20061127-9ubuntu2) ... Setting up
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
OK, I found that: http://www.ngasi.com/ngasihelp/ngasiuserguide/index.html?tomcat_fails_shutdown_complete.htm And indeed, I can reproduce the exact same problem if I set my hostname to an invalid IP address in /etc/hosts... Could you double-check that your /etc/hosts is 100% correct ? In doubt could you attach /etc/hosts, as well as whatever ip address show returns ? -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
The tomcat6-admin postinst tries to restart tomcat6 but here it didn't manage to stop it... Could you provide the corresponding /var/log/tomcat6/* and /var/log/syslog entries ? ** Changed in: tomcat6 (Ubuntu) Status: New = Incomplete -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
I had purged the tomcat6 and tomcat6-admin packages and lost the original logs, but I performed the installation again and got the same error, so here you are. ** Attachment added: files in /var/log/tomcat6/* and /var/log/syslog (partial) http://launchpadlibrarian.net/19811823/logs.tgz -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
The tomcat6-admin postinst tries to restart tomcat6 but here it didn't manage to stop it... Could you provide the corresponding /var/log/tomcat6/* and /var/log/syslog entries ? ** Changed in: tomcat6 (Ubuntu) Status: New = Incomplete -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
I had purged the tomcat6 and tomcat6-admin packages and lost the original logs, but I performed the installation again and got the same error, so here you are. ** Attachment added: files in /var/log/tomcat6/* and /var/log/syslog (partial) http://launchpadlibrarian.net/19811823/logs.tgz -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/19781802/Dependencies.txt ** Attachment added: DpkgTerminalLog.gz http://launchpadlibrarian.net/19781803/DpkgTerminalLog.gz -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to tomcat6 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs
[Bug 299866] Re: package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/19781802/Dependencies.txt ** Attachment added: DpkgTerminalLog.gz http://launchpadlibrarian.net/19781803/DpkgTerminalLog.gz -- package tomcat6-admin 6.0.18-0ubuntu3 failed to install/upgrade: el subproceso post-installation script devolvi? el c?digo de salida de error 255 https://bugs.launchpad.net/bugs/299866 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs