![]() |
Linux : runtime-user |
Post Reply
|
| Author | |
KEO
Newbie
Joined: 09 May 2012 Location: Oslo, Norway Posts: 3 |
Post Options
Quote Reply
Topic: Linux : runtime-userPosted: 13 Jun 2012 at 3:43am |
|
Are there any reasons that XFUltrascale (UDaemon) must be run as root or can it be run as any user?
|
|
![]() |
|
justinw
Admin Group
Joined: 08 Dec 2011 Posts: 162 |
Post Options
Quote Reply
Posted: 15 Jun 2012 at 11:24am |
|
Hello KEO, Thanks for reaching out with your question.The linux build can be installed only as root. However, the Ultrascale service can run as another user. You would need to follow these steps: 1. Login as root and stop the service using command: /etc/initd/ultrascaled stop. You would need to do this because a service started by root can be stopped only by root. 2. Login as normal user and start the service using command: /etc/initd/ultrascaled start Regards, Ecrion Technical Support |
|
![]() |
|
KEO
Newbie
Joined: 09 May 2012 Location: Oslo, Norway Posts: 3 |
Post Options
Quote Reply
Posted: 30 Nov 2012 at 10:18am |
|
Hello Justin
I think you are wrong about bullet 2:
I have tried to run Ultrascale as another user only to see that it fails because it cannot update the /var/lock/subsys directory which can only be updated by root.
To run as another user you will have to change the effective user from whithin the code of the system. It is not possible to achieve this from the outside...
Regards,
KEO
|
|
![]() |
|
justinw
Admin Group
Joined: 08 Dec 2011 Posts: 162 |
Post Options
Quote Reply
Posted: 03 Dec 2012 at 8:55am |
|
Hello KEO,
Thank you for the response here. /etc/init.d/ultrascaled is meant to be accessed by root or at
system boot and the script accesses '/var/lock/subsys/UDaemon' With this command line, we could reproduce the error: “touch:
cannot touch `/var/lock/subsys/UDaemon': Permission denied”
However, if you will enter the following command, you can see
that the process still starts, even if the error is thrown.
# ps waux | grep UD testuser 10049 0.0 1.1 184332 22752
? Ssl 08:12 0:de00
/opt/Ecrion/XFUltrascale/Bin/UDaemon testuser 10061 0.0 0.0
61168 728 pts/0 S+ 08:12
0:00 grep UD
Instead of accessing /etc/init.d/ultrascaled, you should
directly use: /opt/Ecrion/XFUltrascale/Bin/UDaemon
Please attempt to run the following commands:
/opt/Ecrion/XFUltrascale/Bin/UDaemon ps waux | grep UD
If the process still cannot be started, please send us an email at support@ecrion.com and we can assist in resolving your issue further. Ecrion Technical Support |
|
![]() |
|
Post Reply
|
| Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |