Ecrion Software Inc. Homepage
Forum Home Forum Home > XF Rendering Server > Generic Support
  New Posts New Posts RSS Feed: Linux : runtime-user
  FAQ FAQ  Forum Search   Register Register  Login Login

Linux : runtime-user

 Post Reply Post Reply
Author
Message / View First Unread Post
KEO View Drop Down
Newbie
Newbie
Avatar

Joined: 09 May 2012
Location: Oslo, Norway
Posts: 3
Post Options Post Options   Quote KEO Quote  Post ReplyReply Direct Link To This Post Topic: Linux : runtime-user
    Posted: 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?
Back to Top
justinw View Drop Down
Admin Group
Admin Group
Avatar

Joined: 08 Dec 2011
Posts: 162
Post Options Post Options   Quote justinw Quote  Post ReplyReply Direct Link To This Post 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


Back to Top
KEO View Drop Down
Newbie
Newbie
Avatar

Joined: 09 May 2012
Location: Oslo, Norway
Posts: 3
Post Options Post Options   Quote KEO Quote  Post ReplyReply Direct Link To This Post 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
Back to Top
justinw View Drop Down
Admin Group
Admin Group
Avatar

Joined: 08 Dec 2011
Posts: 162
Post Options Post Options   Quote justinw Quote  Post ReplyReply Direct Link To This Post 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

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Bulletin Board Software by Web Wiz Forums® version 9.69
Copyright ©2001-2010 Web Wiz

This page was generated in 0.093 seconds.