Anonymous | Login | Signup for a new account | 12-17-2024 08:57 PST |
Main | My View | View Issues | Change Log | Docs |
Viewing Issue Simple Details [ Jump to Notes ] | [ View Advanced ] [ Issue History ] [ Print ] | ||||||||
ID | Category | Severity | Reproducibility | Date Submitted | Last Update | ||||
0004851 | [Resin] | minor | always | 11-10-11 13:58 | 11-28-11 12:18 | ||||
Reporter | rickHigh | View Status | public | ||||||
Assigned To | ferg | ||||||||
Priority | normal | Resolution | fixed | ||||||
Status | closed | Product Version | 4.0.23 | ||||||
Summary | 0004851: $ sudo apt-get install resin-pro fails on Ubuntu 11.10 64 bit (Multiple) | ||||||||
Description |
$ sudo apt-get install resin-pro ... Install these packages without verification [y/N]? y Get:1 http://us.archive.ubuntu.com/ubuntu/ [^] oneiric/universe libssl0.9.8 amd64 0.9.8o-7ubuntu1 [863 kB] Get:2 http://caucho.com/download/debian/ [^] unstable/multiverse resin-pro amd64 4.0.23 [25.3 MB] Fetched 26.2 MB in 29s (895 kB/s) ... Setting up resin-pro (4.0.23) ... /usr/sbin/invoke-rc.d: 449: /etc/init.d/resin: not found invoke-rc.d: initscript resin, action "start" failed. dpkg: error processing resin-pro (--configure): subprocess installed post-installation script returned error exit status 127 E: Sub-process /usr/bin/dpkg returned an error code (1) rick@ubuntu:~/install$ ls /etc/init.d/re reboot resin rick@ubuntu:~/install$ ls /etc/init.d/resin /etc/init.d/resin rick@ubuntu:~/install$ /etc/init.d/resin start bash: /etc/init.d/resin: @BASH@: bad interpreter: No such file or directory rick@ubuntu:~/install$ /etc/init.d/resin start Looks like @BASH@ did not get filled in by ant build. I fixed by editing /etc/init.d/resin and chaging @BASH@ to /bin/bash ---- SECOND PROBLEM ---- $ sudo /etc/init.d/resin start fails.... $ cat /var/log/resin/console.log bash: /usr/lib/jvm/java-6-sun/bin/java: No such file or directory bash: /usr/lib/jvm/java-6-sun/bin/java: No such file or directory -diagnosing- $ ls -l /usr/bin/java lrwxrwxrwx 1 root root 22 2011-11-09 15:14 /usr/bin/java -> /etc/alternatives/java $ ls -l /etc/alternatives/java lrwxrwxrwx 1 root root 40 2011-11-09 15:14 /etc/alternatives/java -> /usr/lib/jvm/java-6-openjdk/jre/bin/java seems it is pointing to a jre not a jdk... $ ls -l `which javac` lrwxrwxrwx 1 root root 23 2011-11-09 15:37 /usr/bin/javac -> /etc/alternatives/javac ~$ ls -l `which javac` | awk '{print $10}' /etc/alternatives/javac $ ls -l /etc/alternatives/javac | awk '{print $10}' /usr/lib/jvm/java-6-openjdk/bin/javac I changed init.d/resin $ sudo emacs /etc/init.d/resin JAVA_HOME="/usr/lib/jvm/java-6-openjdk SUCCESS --------- $ sudo emacs /etc/init.d/resin $ cat /var/log/resin/console.log Resin/4.0.23 launching watchdog at 127.0.0.1:6600 Resin/4.0.23 started -server '' for watchdog at 127.0.0.1:6600 $ cat /var/log/resin/jvm-default.log ... [11-11-10 13:51:57.733] {main} http listening to *:80 [11-11-10 13:51:58.636] {main} https listening to *:8443 [11-11-10 13:51:58.638] {main} [11-11-10 13:51:58.638] {main} Resin[id=default] started in 4312ms |
||||||||
Additional Information | |||||||||
Attached Files | |||||||||
|
There are no notes attached to this issue. |
Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
27 total queries executed. 25 unique queries executed. |