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

TOPIC: Trying to install ProView 4.5.0-7 on Ubuntu 8.04

Re:Trying to install ProView 4.5.0-7 on Ubuntu 8.04 15 years 2 months ago #351

  • alkymi
  • alkymi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hi,

I tried to reinstall the pwrdemo45 package:
\"apt-get --purge remove pwrdemo45\"
\"apt-get install pwrdemo45\"
The same error message continued.

I then reinstalled Ubuntu 8.04, before installing the packages pwr45 and pwrdemo45 by double-clicking the deb-files. I gave the pwrp user admin rights.

When logging in as the pwrp user I no longer got the \"*** stack smashing detected ***\"-error when running the command \"rt_ini &\". I got the terminal output given below. What is the cause of these error messages?

pwrp@Ubuntu-Desktop-8/pwrdemo45/-.login> /usr/pwr45/os_linux/hw_x86/exp/exe/rt_webmon.sh: 24: /usr/local//bin/java: not found
/usr/pwr45/os_linux/hw_x86/exp/exe/rt_webmonmh.sh: 23: /usr/local//bin/java: not found
/usr/pwr45/os_linux/hw_x86/exp/exe/rt_webmonelog.sh: 24: /usr/local//bin/java: not found
sched_setscheduler: Operation not permitted
failed to set pid 9708's policy
sched_setscheduler: Operation not permitted
failed to set pid 9709's policy
sched_setscheduler: Operation not permitted
failed to set pid 9710's policy
sched_setscheduler: Operation not permitted
failed to set pid 9711's policy
sched_setscheduler: Operation not permitted
failed to set pid 9712's policy

Thereafter I ran the \"rt_xtt -u op\"-command, which initially gave some \"Open Display errors\", but worked after I gave the user increased privileges (maybe not the reason).

Regards,
alkymi
The administrator has disabled public write access.

Re:Trying to install ProView 4.5.0-7 on Ubuntu 8.04 15 years 2 months ago #352

  • robert
  • robert's Avatar
  • OFFLINE
  • Gold Boarder
  • Posts: 178
  • Karma: 7
Hi,

The webmon-errors is due to that jdk is not set up properly. You should have $jdk and $jdk_home set up to where you have jdk installed.

For example it could be like:

export jdk=/usr/local/jdk1.6.0_10
export jdk_home=/usr/local/jdk/1.6.0_10/bin

Check if you have soemthin like this in .bashrc for user pwrp.

The sched_setscheduler is due to that Proview fails to set real time priorities. This is not really needed in a simulated environment. If you want it set root as owner and pwrp as group to rt_prio in $pwr_exe directory and set the s-bit (chmod g+s).

The same is needed to be done to the plc-program.

/robert
The administrator has disabled public write access.

Re:Trying to install ProView 4.5.0-7 on Ubuntu 8.04 15 years 2 months ago #355

  • alkymi
  • alkymi's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 5
  • Karma: 0
Hi,

Now I have got ProView up and running.

Thank you very much for your help!

Regards,
alkymi
The administrator has disabled public write access.
  • Page:
  • 1
  • 2
Time to create page: 8.457 seconds