Welcome, Guest
Username: Password: Remember me

TOPIC: Autostart

Autostart 8 years 8 months ago #7698

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
I do clean exit (at least I think >) )
and execute

export pwra_db=/usr/pwrp/adm/db
source $pwra_db/pwr_setup.sh
sdf mesalnica
rt_ini -i &

Got this in console and nothing else appeared.

slavko@podstresnik:~$ export pwra_db=/usr/pwrp/adm/db
slavko@podstresnik:~$ source $pwra_db/pwr_setup.sh
Setting base /usr/pwr52
slavko@podstresnik:~$ sdf mesalnica
Setting base /usr/pwr52
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
Welcome to
mesalnica       V5.2    MesalnicaPr

Revision history
2015-01-23	slavko	Project created
-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
slavko@podstresnik/mesalnica/-.login> rt_ini -i &
[1] 13239
slavko@podstresnik/mesalnica/-.login> 
   Proview/R Version V5.2.0 for Linux on x86_64
   Copyright (C) 2005-2014 SSAB AB

   Proview/R is free software; you can redistribute it and/or
   modify it under the terms of the GNU General Public License.

   This program is distributed in the hope that it will be useful
   but WITHOUT ANY WARRANTY; without even the implied warranty of
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
   GNU General Public License for more details.

   Proview Runtime Environment

I Reading Boot file /usr/local/pwrp/mesalnica/bld/common/load/ld_boot_podstresnik_0999.dat
I Created at 07-SEP-2015 07:46:15.40 for project: mesalnica
I This node vill run PLC file: plc_podstresnik_0999_plc
I This node has node identity 0.1.1.4 (65796)
I Reading Node file /usr/local/pwrp/mesalnica/bld/common/load/ld_node_podstresnik_0999.dat
I Reading volume file /usr/local/pwrp/mesalnica/bld/common/load/volmesalnica.dbs
I Created 07-SEP-2015 07:46:15.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/rt.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/pwrs.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/pwrb.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/basecomponent.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/nmps.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/local/pwrp/mesalnica/bld/common/load/cvolmesalnica.dbs
I Created 19-MAR-2015 12:47:19.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/profibus.dbs
I Created 22-OCT-2014 12:00:00.00
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/otherio.dbs
I Created 22-OCT-2014 12:00:00.00
I Mapped /tmp/pwr_db_lock_999, base: 83141000, size: 16
I Objects      : 52482 : 21412656 bytes
I Volumes      : 30 : 17040 bytes
I Classes      : 300 : 55200 bytes
I Nodes        : 10 : 8720 bytes
I Mount servers: 100 : 14400 bytes
I Alias servers: 50 : 4400 bytes
I Sub servers  : 500 : 84000 bytes
I Sub clients  : 2000 : 464000 bytes
I San servers  : 200 : 25600 bytes
I Cache	  : 10000
I Cached classes: 300 : 220800 bytes
I Cached class volumes: 150 : 12000 bytes
I Sub class objects: 300 : 62400 bytes
I Pool isize   : 22381216, esize: 2797652
I Rtdb isize   : 6170088, esize: 771261
I Mapped /tmp/pwr_pool_999, base: 83119000, size: 82024
I Mapped /tmp/pwr_po0001_999, base: 80701000, size: 22381216
I Mapped /tmp/pwr_rtdb_999, base: 83104000, size: 82024
I Mapped /tmp/pwr_rt0001_999, base: 8011e000, size: 6170088
I Mapped /tmp/pwr_po0002_999, base: 83140000, size: 2736
I Reading volume file /usr/local/pwrp/mesalnica/bld/common/load/volmesalnica.dbs
I Loading volume VolMesalnica ()...
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/rt.dbs
I Loading volume rt ()...
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/pwrs.dbs
I Loading volume pwrs ()...
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/pwrb.dbs
I Loading volume pwrb ()...
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/basecomponent.dbs
I Loading volume BaseComponent ()...
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/nmps.dbs
I Loading volume NMps ()...
I Reading volume file /usr/local/pwrp/mesalnica/bld/common/load/cvolmesalnica.dbs
I Loading volume CVolMesalnica ()...
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/profibus.dbs
I Loading volume Profibus ()...
I Reading volume file /usr/pwr52/os_linux/hw_x86_64/exp/load/otherio.dbs
I Loading volume OtherIO ()...
I Created pwrNode, oid: _O1.1.1.4:2147483649
I Setting log file to: /usr/local/pwrp/mesalnica/bld/common/log/pwr_podstresnik.log
I Mapped /tmp/pwr_qdb_lock_999, base: 8313f000, size: 16
I Qcom pool isize : 600000, esize: 300000
I Mapped /tmp/pwr_qpool_999, base: 830ef000, size: 82024
I Mapped /tmp/pwr_qp0001_999, base: 8305c000, size: 600000
I Mapped /tmp/pwr_qp0002_999, base: 8313e000, size: 744
I BACKUP loading information from $pwrp_load/pwr_backup.bck
I Starting pwr_neth, file: rt_neth, prio: 18
I Started pwr_neth_999, prio: 18, pid: 13241
  file: rt_neth
I Starting pwr_qmon, file: rt_qmon, prio: 19
I Started pwr_qmon_999, prio: 19, pid: 13242
  file: rt_qmon
I Starting pwr_nacp, file: rt_neth_acp, prio: 17
I Started pwr_nacp_999, prio: 17, pid: 13243
  file: rt_neth_acp
I Starting pwr_io, file: rt_io_comm, prio: 17
I Started pwr_io_999, prio: 17, pid: 13244
  file: rt_io_comm
I Starting pwr_tmon, file: rt_tmon, prio: 17
I Started pwr_tmon_999, prio: 17, pid: 13245
  file: rt_tmon
I Starting pwr_emon, file: rt_emon, prio: 17
I Started pwr_emon_999, prio: 17, pid: 13246
  file: rt_emon
I Starting pwr_alim, file: rt_alimserver, prio: 17
I Started pwr_alim_999, prio: 17, pid: 13247
  file: rt_alimserver
I Starting pwr_bck, file: rt_bck, prio: 16
I Started pwr_bck_999, prio: 16, pid: 13248
  file: rt_bck
I Not starting pwr_linksup, file: rt_linksup
I Not starting pwr_trend, file: rt_trend
I Not starting pwr_fast, file: rt_fast
I Not starting pwr_remh, file: rs_remotehandler
I Not starting pwr_remlog, file: rs_remote_logg
I Starting pwr_elog, file: rt_elog, prio: 15
I Started pwr_elog_999, prio: 15, pid: 13249
  file: rt_elog
I Not starting pwr_sysmon, file: rt_sysmon
I Starting pwr_webmon, file: rt_webmon.sh, prio: 15
I Started pwr_webmon_999, prio: 15, pid: 13250
  file: rt_webmon.sh
I Starting pwr_webmonmh, file: rt_webmonmh.sh, prio: 15
I Started pwr_webmonmh_999, prio: 15, pid: 13251
  file: rt_webmonmh.sh
I Starting pwr_webmonelog, file: rt_webmonelog.sh, prio: 15
I Started pwr_webmonelog_999, prio: 15, pid: 13252
  file: rt_webmonelog.sh
I Not starting pwr_opc_server, file: opc_server
I Starting pwr_statussrv, file: rt_statussrv, prio: 15
I Started pwr_statussrv_999, prio: 15, pid: 13253
  file: rt_statussrv
I Not starting pwr_post, file: rt_post
I Not starting pwr_report, file: rt_report
I Not starting pwr_sevhistmon, file: rt_sevhistmon
I Not starting pwr_sev_server, file: sev_server
I Not starting pwr_powerlink, file: rt_powerlink
I Not starting pwr_sim, file: rt_sim
/usr/pwr52/os_linux/hw_x86_64/exp/exe/rt_webmonelog.sh: line 41: /usr/local//bin/java: No such file or directory
/usr/pwr52/os_linux/hw_x86_64/exp/exe/rt_webmon.sh: line 41: /usr/local//bin/java: No such file or directory
/usr/pwr52/os_linux/hw_x86_64/exp/exe/rt_webmonmh.sh: line 40: /usr/local//bin/java: No such file or directory
I Adding application. aix: 1
I Starting pwr_plc_plc, file: plc_podstresnik_0999_plc, prio: 5
I Started pwr_plc_plc_999_0, prio: 5, pid: 13284
  file: plc_podstresnik_0999_plc
I Process pwr_elog_999 exited with status 256
I Process pwr_webmon_999 exited with status 32512
I Process pwr_webmonmh_999 exited with status 32512
I Process pwr_webmonelog_999 exited with status 32512
The administrator has disabled public write access.

Autostart 8 years 8 months ago #7699

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Eslavko,

I can't see an error.

What happens if you give an <ENTER> and starting the operator place with:

rt_xtt -q nodes-project-op
?

/Marc
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Autostart 8 years 8 months ago #7700

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
Hello...

I run
export pwra_db=/usr/pwrp/adm/db
source $pwra_db/pwr_setup.sh
sdf mesalnica
rt_ini -i &

and after that I press [ENTER] and line
rt_xtt -q nodes-project-op

the result is:
slavko@podstresnik/mesalnica/-.login> rt_xtt -q nodes-project-op
** Unable to find opplace
slavko@podstresnik/mesalnica/-.login> 

At least this seems wrong
Slavko.
Last Edit: 8 years 8 months ago by eslavko.
The administrator has disabled public write access.

Autostart 8 years 8 months ago #7701

  • marc
  • marc's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 710
  • Thank you received: 70
  • Karma: 24
Hi Eslavko,

Have look at the attached pic...

export pwra_db=/usr/pwrp/adm/db
source $pwra_db/pwr_setup.sh
sdf mesalnica
rt_ini -i &
rt_xtt -q nodes-demonode-op

/Marc
Attachments:
Please, use the Wiki if you succeeded your project or solved your problem. Share your work, so we can learn from each other.
The administrator has disabled public write access.

Autostart 8 years 8 months ago #7702

  • eslavko
  • eslavko's Avatar
  • OFFLINE
  • Expert Boarder
  • Posts: 158
  • Karma: 0
The command doesn't open any graphic window.

If I start environment manually the Op seems like that:

op.png
The administrator has disabled public write access.

Autostart 8 years 8 months ago #7703

  • claes
  • claes's Avatar
  • OFFLINE
  • Platinum Boarder
  • Posts: 3183
  • Thank you received: 504
  • Karma: 133
You have to state a Proview user in the UserName attribute of the OpPlace object. Predefined users are for example Op1 and pwrp. Op1 with operator privileges and pwrp with system privileges. Supply the OpPlace object as argument to rt_xtt. In your case

rt_xtt -q Nodes-Mesalnica-Op

/Claes
The administrator has disabled public write access.
Time to create page: 8.278 seconds