Welcome, Guest
Username: Password: Remember me
  • Page:
  • 1
  • 2

TOPIC: Proview not starting on ARM issue

Re: Proview not starting on ARM issue 12 years 1 month ago #3328

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Hi Claes,

No problem for the pwrp_profile, I just gave this information to you to eventually update this file when building pwrrt based on the ARCH (ARM) architecture in the future.

Concerning the distribution, I'm not sure to get you. $pwr_exe is defined in both development and ARM target station for me

Of course there are not equal:

/usr/pwr48/os_linux/hw_x86/exp/exe for the development station and
/usr/pwrrt/exe for the ARM but they are defined.

but they both have a pwr_pkg.sh file.

Did I miss something ??

Thanks for continuous help

Snarf
The administrator has disabled public write access.

Re: Proview not starting on ARM issue 12 years 1 month ago #3330

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
The distributor first copies the package with scp and then via ssh executes the command '$pwr_exe/pwr_pkg.sh -i ...'. $pwr_exe will be translated on the target node and has to be defined when a network login is made by ssh.

/Claes
The administrator has disabled public write access.

Re: Proview not starting on ARM issue 12 years 1 month ago #3332

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
Claes,

that's strange because if I manually ssh onto the target and launch $pwr_exe/pwr_pkg -i packagename.tgz it's working fine...
I have some error because I don't have created the /pwrp/common/web but it works and Proview is starting correctly after then.

pwrp@DevARM:/usr/pwr48/os_linux/hw_x86/exp/exe$ ssh root@192.168.10.158
root@192.168.10.158's password: 
[root@debarm /root]# $pwr_exe/pwr_pkg.sh -i /root/*.tgz
-- Removing package pwrp_pkg_debarm_0044.tgz
rm: can't remove '/pwrp/common/web/index_menu_as.html': No such file or directory
rm: can't remove '/pwrp/common/web/pwr_login.html': No such file or directory
rm: can't remove '/pwrp/common/web/xtt_help_index.html': No such file or directory
rm: can't remove '/pwrp/common/web/index.html': No such file or directory
rm: can't remove '/pwrp/common/web/index_as.html': No such file or directory
rm: can't remove '/pwrp/common/web/index_opwin_menu.html': No such file or directory
-- Installing package /root/pwrp_pkg_debarm_0044.tgz
-- Unpack package pwrp_pkg_debarm_0044.tgz
-- Move files to target directories
mv: can't rename '/tmp/pkg_build/index_menu_as.html': No such file or directory
mv: can't rename '/tmp/pkg_build/pwr_login.html': No such file or directory
mv: can't rename '/tmp/pkg_build/xtt_help_index.html': No such file or directory
mv: can't rename '/tmp/pkg_build/index.html': No such file or directory
mv: can't rename '/tmp/pkg_build/index_as.html': No such file or directory
mv: can't rename '/tmp/pkg_build/index_opwin_menu.html': No such file or directory


If I use the distribute command, I obtain the following:
root@debarm's password: 
pwrp_pkg_debarm_0045.tgz                      100% 2312KB 385.3KB/s   00:06    
root@debarm's password: 
sh: /pwr_pkg.sh: not found

Snarf
The administrator has disabled public write access.

Re: Proview not starting on ARM issue 12 years 1 month ago #3333

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
You can test if $pwr_exe will be defined by transfering a command with ssh from the development station, for example
> ssh root@debarm ls \$pwr_exe/pwr_pkg.sh

Note the backslash before $pwr_exe to avoid $pwr_exe to be replaced already on the development station.

/Clöaes
The administrator has disabled public write access.

Re: Proview not starting on ARM issue 12 years 1 month ago #3338

  • Snarf77
  • Snarf77's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 847
  • Thank you received: 2
  • Karma: 5
You guess right, this give me the same error... (not sure)

I'm not sure to understand where I must define the env variable anymore as it works both locally and remotly after log on ??
The administrator has disabled public write access.

Re: Proview not starting on ARM issue 12 years 1 month ago #3339

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3176
  • Thank you received: 502
  • Karma: 133
One way of trouble shooting is to use the 'set -o xtrace' command. If you insert this in the beginning of the .bashrc file, all executed lines will be printed to the terminal window.

/Claes
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 8.072 seconds