Welcome,
Guest
|
|
TOPIC: Help with process scheduler and db creation.
Help with process scheduler and db creation. 5 years 2 months ago #10189
|
Hi,
Does anyone know which are the attributes and the owner of the executables files for the runtime system under raspberry pi? I'm asking this because of I still have problems to put on good working order my system after having tried to upgrade to 5.6 from 5.5.
pwrp@mephisto:~$ pwr start
Start Proview Runtime Environment.
Done.
pwrp@mephisto:~$
Proview/R Version V5.6.1 for Linux on ARM
Copyright (C) 2005-2018 SSAB EMEA 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.
ProviewR Runtime Environment
sched_setscheduler: Operation not permitted
failed to set pid 3762's policy
sched_setscheduler: Operation not permitted
failed to set pid 3763's policy
sched_setscheduler: Operation not permitted
failed to set pid 3764's policy
sched_setscheduler: Operation not permitted
failed to set pid 3765's policy
sched_setscheduler: Operation not permitted
failed to set pid 3766's policy
sched_setscheduler: Operation not permitted
failed to set pid 3767's policy
sched_setscheduler: Operation not permitted
failed to set pid 3768's policy
sched_setscheduler: Operation not permitted
failed to set pid 3769's policy
sched_setscheduler: Operation not permitted
failed to set pid 3770's policy
sched_setscheduler: Operation not permitted
failed to set pid 3771's policy
sched_setscheduler: Operation not permitted
failed to set pid 3772's policy
sched_setscheduler: Operation not permitted
failed to set pid 3773's policy
sched_setscheduler: Operation not permitted
failed to set pid 3774's policy
sched_setscheduler: Operation not permitted
failed to set pid 3775's policy
sched_setscheduler: Operation not permitted
failed to set pid 3776's policy
old sev_version: 4, new sev_version: 4
java.library.path = /usr/pwrrt/exe:/usr/java/packages/lib/arm:/usr/lib/arm-linux-gnueabihf/jni:/lib/arm-linux-gnueabihf:/usr/lib/arm-linux-gnueabihf:/usr/lib/jni:/lib:/usr/libHistServer starting
JHist: Before waiting for client
rt_sevhistmon: Node up received
rt_sevhistmon: node mephisto connected
sev_server, new thread 0
New thread 0
pwrp@mephisto:~$ ps -A
PID TTY TIME CMD
1 ? 00:00:04 systemd
[..]
375 ? 00:00:00 bluetoothd
395 ? 00:00:00 bluealsa
436 ? 00:00:00 krfcommd
521 ? 00:00:49 mysqld
530 ? 00:00:00 wpa_supplicant
998 ? 00:00:00 sshd
[..]
3760 pts/0 00:00:00 rt_ini
3762 pts/0 00:00:00 rt_neth
3763 pts/0 00:00:00 rt_qmon
3764 pts/0 00:00:00 rt_neth_acp
3765 pts/0 00:00:00 rt_io_comm
3766 pts/0 00:00:00 rt_tmon
3767 pts/0 00:00:00 rt_emon
3768 pts/0 00:00:00 rt_alimserver
3769 pts/0 00:00:00 rt_bck
3770 pts/0 00:00:00 rt_elog <defunct>
3771 pts/0 00:00:00 rt_webmon.sh
3772 pts/0 00:00:00 rt_webmonmh.sh
3773 pts/0 00:00:00 rt_webmonelog.s
3774 pts/0 00:00:00 rt_statussrv
3775 pts/0 00:00:00 rt_sevhistmon
3776 pts/0 00:00:00 sev_server
3777 pts/0 00:00:01 java
3778 pts/0 00:00:01 java
3779 pts/0 00:00:00 plc_mephisto_00 <defunct>
3780 pts/0 00:00:01 java
3815 pts/0 00:00:00 ps
279862 1,6M -rwxr-xr-x 1 pwrp pwrp 1,6M nov 7 06:45 co_convert
279863 44K -rwxr-xr-x 1 pwrp pwrp 42K nov 7 07:13 co_help
279864 2,9M -rwxr-xr-x 1 pwrp pwrp 2,9M nov 7 07:14 co_help_gtk
279865 180K -rwxr-xr-x 1 pwrp pwrp 180K nov 7 06:45 co_merge
280093 8,0K -rwxr-xr-x 1 pwrp pwrp 5,0K nov 7 06:43 ge_javac.sh
280341 4,0K -rwxr-xr-x 1 pwrp pwrp 94 nov 7 06:45 gestart.sh
280375 4,0K -rwxr-xr-x 1 pwrp pwrp 1,8K nov 7 06:43 jop_start.sh
280376 4,0K -rwxr-xr-x 1 pwrp pwrp 2,5K nov 7 06:43 jpwr_opwind.sh
280377 9,2M -rwxr-xr-x 1 pwrp pwrp 9,2M nov 7 07:59 libjpwr_rt_gdh.so
280425 4,7M -rwxr-xr-x 1 pwrp pwrp 4,7M nov 7 08:00 opc_provider
280426 4,8M -rwxr-xr-x 1 pwrp pwrp 4,8M nov 7 08:00 opc_server
280427 4,0K -rwxr-xr-x 1 pwrp pwrp 1,8K nov 7 08:02 open_powerlink_configurator.sh
280472 12K -rwxr-xr-x 1 pwrp pwrp 9,4K nov 7 06:43 pb_slave_config.pwr_com
280473 196K -rwxr-xr-x 1 pwrp pwrp 195K nov 7 07:37 pn_get_deviceid
280481 24K -rwxr-xr-x 1 pwrp pwrp 22K nov 7 07:37 profinet_viewer
280482 104K -rwxr-xr-x 1 pwrp pwrp 102K nov 7 07:37 profinet_viewer_gtk
281331 4,0K -rwxr-xr-x 1 pwrp pwrp 2,1K nov 7 06:43 pwr_cleanup.sh
282057 40K -rwxr-xr-x 1 pwrp pwrp 39K nov 7 06:43 pwrp_env.sh
281725 8,0K -rwxr-xr-x 1 pwrp pwrp 8,0K nov 7 06:43 pwr_pkg.sh
281803 84K -rwxr-xr-x 1 pwrp pwrp 82K nov 7 07:13 pwr_rtmon
281804 4,0M -rwxr-xr-x 1 pwrp pwrp 3,9M nov 7 07:14 pwr_rtmon_gtk
281861 8,0K -rwxr-xr-x 1 pwrp pwrp 5,1K nov 7 06:43 pwr_stop.sh
281896 396K -rwxr-xr-x 1 pwrp pwrp 394K nov 7 07:18 pwr_user
282059 16K -rwxr-xr-x 1 pwrp pwrp 15K nov 7 06:43 reload.sh
282060 4,0K -rwxr-xr-x 1 pwrp pwrp 3,2K nov 7 06:43 reload_vol_versions.pwr_com
282061 2,0M -rwxr-xr-x 1 pwrp pwrp 2,0M nov 7 07:34 remote_pvd_pwrcli
282062 1,4M -rwxr-xr-x 1 pwrp pwrp 1,4M nov 7 07:34 remote_pvd_pwrsrv
282063 8,0K -rwxr-xr-x 1 pwrp pwrp 4,3K nov 7 06:43 restore_bck.pwr_com
282064 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:33 rs_nmps_bck
282065 220K -rwxr-xr-x 1 pwrp pwrp 217K nov 7 07:33 rs_nmps_bck_dump
282066 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_nmps_mirror
282067 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_nmps_trans
282078 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_remotehandler
282070 1,4M -rwxr-xr-x 1 pwrp pwrp 1,4M nov 7 07:34 rs_remote_logg
282071 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_remote_modbus
282072 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_remote_qcom
282073 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_remote_rabbitmq
282074 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_remote_rk512
282076 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_remote_tcpip
282077 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_remote_udpip
282079 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:34 rs_tlog
282080 1,4M -rwxr-xr-x 1 pwrp pwrp 1,4M nov 7 07:16 rt_alimserver
282082 132K -rwxr-xr-x 1 pwrp pwrp 129K nov 7 07:16 rt_bck_dump
282083 1,6M -rwxr-xr-x 1 pwrp pwrp 1,6M nov 7 07:16 rt_elog
282084 720K -rwxr-xr-x 1 pwrp pwrp 720K nov 7 07:17 rt_elog_dump
282085 1,7M -rwxr-xr-x 1 pwrp pwrp 1,7M nov 7 07:17 rt_emon
282086 1,6M -rwxr-xr-x 1 pwrp pwrp 1,6M nov 7 07:17 rt_fast
282088 1,4M -rwxr-xr-x 1 pwrp pwrp 1,4M nov 7 07:17 rt_hash_dump
282090 3,7M -rwxr-xr-x 1 pwrp pwrp 3,7M nov 7 08:06 rt_io_comm
282091 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:17 rt_linksup
282093 1,7M -rwxr-xr-x 1 pwrp pwrp 1,7M nov 7 07:17 rt_neth
282094 1,4M -rwxr-xr-x 1 pwrp pwrp 1,4M nov 7 07:17 rt_neth_acp
282095 1,8M -rwxr-xr-x 1 pwrp pwrp 1,8M nov 7 07:17 rt_plc_core
282096 1,8M -rwxr-xr-x 1 pwrp pwrp 1,8M nov 7 07:17 rt_post
282098 24K -rwxr-xr-x 1 pwrp pwrp 23K nov 7 08:03 rt_powerlink_cn
282099 4,0K -rwxr-xr-x 1 pwrp pwrp 2,1K nov 7 06:43 rt_print.sh
282100 1,7M -rwxr-xr-x 1 pwrp pwrp 1,7M nov 7 07:17 rt_pvd_udb
282101 612K -rwxr-xr-x 1 pwrp pwrp 612K nov 7 07:17 rt_qmon
282102 1,6M -rwxr-xr-x 1 pwrp pwrp 1,6M nov 7 07:17 rt_redcom
282103 1,7M -rwxr-xr-x 1 pwrp pwrp 1,7M nov 7 07:17 rt_report
282105 1,9M -rwxr-xr-x 1 pwrp pwrp 1,9M nov 7 07:18 rt_sevhistmon
282106 1,6M -rwxr-xr-x 1 pwrp pwrp 1,6M nov 7 07:18 rt_sim
282107 24K -rwxr-xr-x 1 pwrp pwrp 22K nov 7 07:13 rt_statusmon
282108 4,0M -rwxr-xr-x 1 pwrp pwrp 4,0M nov 7 07:14 rt_statusmon_gtk
282109 2,1M -rwxr-xr-x 1 pwrp pwrp 2,1M nov 7 07:18 rt_statussrv
282110 1,7M -rwxr-xr-x 1 pwrp pwrp 1,7M nov 7 07:18 rt_sysmon
282111 1,6M -rwxr-xr-x 1 pwrp pwrp 1,6M nov 7 07:18 rt_tmon
282112 1,5M -rwxr-xr-x 1 pwrp pwrp 1,5M nov 7 07:18 rt_trend
282114 1,7M -rwxr-xr-x 1 pwrp pwrp 1,7M nov 7 07:13 rt_videomgm
282116 4,0K -rwxr-xr-x 1 pwrp pwrp 1,9K nov 7 06:43 rt_webmonelog.sh
282117 4,0K -rwxr-xr-x 1 pwrp pwrp 1,9K nov 7 06:43 rt_webmonmh.sh
282115 4,0K -rwxr-xr-x 1 pwrp pwrp 1,9K nov 7 06:43 rt_webmon.sh
282118 4,0K -rwxr-xr-x 1 pwrp pwrp 1,8K nov 7 06:43 rt_websocketserver.sh
282119 44K -rwxr-xr-x 1 pwrp pwrp 42K nov 7 07:14 rt_xtt
282120 44K -rwxr-xr-x 1 pwrp pwrp 42K nov 7 07:14 rt_xtt_cmd
282121 18M -rwxr-xr-x 1 pwrp pwrp 18M nov 7 07:14 rt_xtt_cmd_gtk
282122 21M -rwxr-xr-x 1 pwrp pwrp 21M nov 7 08:07 rt_xtt_gtk
282140 1,8M -rwxr-xr-x 1 pwrp pwrp 1,8M nov 7 08:04 sev_ini
282141 2,1M -rwxr-xr-x 1 pwrp pwrp 2,1M nov 7 08:04 sev_repair
282142 2,4M -rwxr-xr-x 1 pwrp pwrp 2,4M nov 7 08:04 sev_server
282143 132K -rwxr-xr-x 1 pwrp pwrp 130K nov 7 08:04 sev_xtt
282144 19M -rwxr-xr-x 1 pwrp pwrp 19M nov 7 08:04 sev_xtt_gtk
282388 8,0K -rwxr-xr-x 1 pwrp pwrp 4,9K nov 7 06:43 ssab_config_card.pwr_com
282389 8,0K -rwxr-xr-x 1 pwrp pwrp 7,2K nov 7 06:43 ssab_configure_directoryvolume.pwr_com
282751 44K -rwxr-xr-x 1 pwrp pwrp 41K nov 7 06:43 tools_cmsg2c
282752 16K -rwxr-xr-x 1 pwrp pwrp 16K nov 7 06:43 tools_javac
282753 48K -rwxr-xr-x 1 pwrp pwrp 47K nov 7 06:43 tools_msg2cmsg
282754 88K -rwxr-xr-x 1 pwrp pwrp 87K nov 7 06:43 tools_pdrgen
282761 4,0K -rwxr-xr-x 1 pwrp pwrp 2,7K nov 7 06:43 upgrade_cnvdmp.sh
282763 4,0K -rwxr-xr-x 1 pwrp pwrp 2,7K nov 7 06:43 upgrade_pb.pwr_com
282757 20K -rwxr-xr-x 1 pwrp pwrp 17K nov 7 06:43 upgrade.sh
282760 16K -rwxr-xr-x 1 pwrp pwrp 13K nov 7 06:43 upgradeV451.sh
282775 4,0K -rwxr-xr-x 1 pwrp pwrp 2,0K nov 7 08:49 wb_distr_keepboot.sh
282781 8,0K -rwxr-xr-x 1 pwrp pwrp 4,4K nov 7 06:43 wtt_sym_gen.pwr_com
282803 11M -rwxr-xr-x 1 pwrp pwrp 11M nov 7 07:14 xtt_ge_jprint
I also ask if anyone has had problems with db creation under mysql in the last raspbian version. Here I show the error when the db is created. I have reinstalled twice the raspberry. Ps.: I think there's an error on the sev manual. When you create the user, you have to first create the user without using password, and then and only then give him privileges. You can't create and give privileges at the same time without assigning a password. "GRANT ALL PRIVILEGES ON *.* TO 'PWRP'@'LOCALHOST'" needs "IDENTIFIED BY 'PASSWORD';" to work. Else you should use "CREATE USER 'PWRP'@'LOCALHOST';" and then "GRANT ALL PRIVILEGES ON *.* TO 'PWRP'@'LOCALHOST';" followed by a "FLUSH PRIVILEGES;" Could it be? |
The administrator has disabled public write access.
|
Help with process scheduler and db creation. 5 years 2 months ago #10193
|
Hi Avispao,
There is a table in the sev database that isn't created correctly. This affects storage made with SevHistObject objects, but SevHist objects still functions. The table can be created manually with the commands (replace 'project name' with your project name) > mysql -upwrp
MariaDB> show databases;
...
MariaDB> use pwrp__'project name';
MariaDB> create table objectitemattributes (tablename varchar(255) not null,attributename varchar(255) not null,attributeidx int unsigned not null,attributetype int unsigned not null,attributesize int unsigned not null,PRIMARY KEY(tablename,attributename)) default charset=utf8;
MariaDB> quit |
The administrator has disabled public write access.
The following user(s) said Thank You: Avispao
|
|
Time to create page: 8.589 seconds