Sentora Support Forums
Server uptime? - Printable Version

+- Sentora Support Forums (https://senforums.mach-hosting.com)
+-- Forum: Sentora Forum Archives (https://senforums.mach-hosting.com/forumdisplay.php?fid=5)
+--- Forum: Sentora Public Support Forums v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=32)
+---- Forum: General Support Forum v1.0.x (https://senforums.mach-hosting.com/forumdisplay.php?fid=36)
+---- Thread: Server uptime? (/showthread.php?tid=1042)



Server uptime? - rafaht - 02-12-2015

Hi,
My server uptime is:
Server Uptime
Uptime: 0 days, 0 hours, 0 minutes 
Why isn't display the real uptime?
Is because I disabled some functions at php.ini:
Code:
pcntl_exec,pcntl_getpriority,pcntl_setpriority,system,shell_exec,exec,popen,proc_open,proc_terminate
?
If yes, how I enable this functions for Sentora only and disable for anoter websites/domains?
Thanks,

Edit:
In PHPSysInfo, this value is displayed correctly:
Uptime 1 days 1 hours 40 minutes
Last boot Wed, 11 Feb 2015 00:04:39 GMT


RE: Server uptime? - Me.B - 02-12-2015

So? Issue solved?

Sentora panel don't have such values disabled like a normal user vhost.

M B


RE: Server uptime? - rafaht - 02-12-2015

Me.B, no. The uptime at server status is 0, but at the PHPSysInfo is correctly.
I thought that is because I disabled some PHP functions, but PHPSysInfo showed that is not so.


RE: Server uptime? - Me.B - 02-12-2015

You disabled some functions??? Why?

Sentora is using suhosin to disable dangerous functions. Take care you might break the panel.

M B


RE: Server uptime? - rafaht - 02-12-2015

Me.B,
I disabled this functions:
Code:
pcntl_exec,pcntl_getpriority,pcntl_setpriority,system,shell_exec,exec,popen,proc​_open,proc_terminate
But I don't know that Sentora use Suhosin for this reason. So, I removed this and the uptime has worked correctly.
Thanks,


RE: Server uptime? - Me.B - 02-12-2015

Suhosin is used for 2 main reasons.

1. disabling dangerous functions.

2. Jailing each website in it's own root folder using openbase_dir.

Those are key for security. We might add later more security layers.

M B