This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Server uptime?
#1
Server uptime?
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
Reply
Thanks given by:
#2
RE: Server uptime?
So? Issue solved?

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

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#3
RE: Server uptime?
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.
Reply
Thanks given by:
#4
RE: Server uptime?
You disabled some functions??? Why?

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

M B
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:
#5
RE: Server uptime?
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,
Reply
Thanks given by:
#6
RE: Server uptime?
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
No support using PM (Auto adding to IGNORE list!), use the forum. 
How to ask

200$ free to start your VPS 60 days credit
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Server Crash rsthomas 3 8 ,174 05-18-2022, 09:26 AM
Last Post: Nigel
Server Vs. Workstation zHostingSolutions 4 9 ,424 09-14-2021, 06:30 AM
Last Post: sparkrack
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 46 ,501 08-22-2020, 02:49 PM
Last Post: kenzopoker1

Forum Jump:


Users browsing this thread: 1 Guest(s)