WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: errors on boot 4.5.4 and openjdk-6  (Read 1990 times)

Offline SS-396

  • Newbie
  • *
  • Posts: 7
errors on boot 4.5.4 and openjdk-6
« on: June 05, 2012, 06:51:22 AM »
I have a few questions, and I'm rather new so bear with me please.

I updated to 4.5.4 and installed openJDK 6 tonight, and now I see errors after as it is booting.  (after showapps)

First, where can I find the log(s), so I can read the msgs of what is happening.  I've searched all over and can't seem to find anything.

Since there is a clear screen when it starts up the network ports (DHCP), I can't keep the msg's on the screen long enough to read what exactly it is displaying.  (pause did not work and no way to scroll up)

The errors are not in dmesg, and not on the screen anymore when I do a CTRL ALT F1  (only the DHCP info)

Now, I think I caught a little bit of what it said as:

I got a few screen fulls of

openJDK unlink: not found.
openJDK unlink: not found.
openJDK unlink: not found.
openJDK unlink: not found.

looking through /tmp/tcloop/openjdk-6-jdk/usr/local/tce.installed/openjdk-6-jdk, I found in the following:

Quote
#!/bin/sh
sed -i -e "s%PATH=\"%PATH=\"/usr/local/openjdk-6/bin:%" /etc/profile
echo "export JAVA_HOME=/usr/local/openjdk-6"  >> /etc/profile

cd /usr/local/openjdk-6/bin
for f in * ; do
  s=`readlink $f`
  unlink $f
  cp $s $f
done

cd /usr/local/openjdk-6/jre/bin
for f in * ; do
  s=`readlink $f`
  unlink $f
  cp $s $f
done


So, is there a problem with the extension or busybox being updated, or what happened to an unlink command if there ever was one?  And how can I fix it, and who should repair the extension?

Thanks for any help.
Jason
« Last Edit: June 05, 2012, 07:55:54 AM by SS-396 »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11621
Re: errors on boot 4.5.4 and openjdk-6
« Reply #1 on: June 05, 2012, 08:52:04 AM »
Hi SS-396
You could try using the  syslog  boot code and see if the errors show up in  /var/log/messages.

        [EDIT]: I'll move this to TCE Bugs
« Last Edit: June 05, 2012, 08:54:38 AM by Rich »

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 11044
Re: errors on boot 4.5.4 and openjdk-6
« Reply #2 on: June 05, 2012, 03:18:19 PM »
I don't think there's ever been an unlink command in busybox or the base. The install script should use "rm" instead.
The only barriers that can stop you are the ones you create yourself.