Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

ServerStatus Prob

NeoNeo Banned
edited March 2013 in General

Hi,

I have try this: https://github.com/mojeda/ServerStatus on my Webserver:
http://vserv07.neogreen.net/ServerStatus/

But the last 2 graphics.... how could i fix this?

Comments

  • Yeah I failed it, too.
    uptime.dalcomp.info

    @mojeda can you enlight us?

  • mojedamojeda Member
    edited March 2013

    Does the server with the uptime.php script have php5?

    Can you also see if anything is being shown in your error.log for your webserver?

  • MunMun Member

    What OS are you guys running?

  • NeoNeo Banned

    Debian 6 Squeeze and newst PHP and lighttpd

  • @Neo said: Debian 6 Squeeze and newst PHP and lighttpd

    I have not tested lighttpd, but have it working on both apache2 + nginx php versions:

    PHP Version 5.3.20-1 (dotdeb)
    and PHP Version 5.4.11-1 (dotdeb)

  • DomainBopDomainBop Member
    edited March 2013

    PHP Version 5.3.20-1 (dotdeb)

    and PHP Version 5.4.11-1 (dotdeb)

    The last 2 graphics are working on my servers with Nginx/PHP-FPM

    Not working on my servers using Nginx forward proxy/Apache backend w/PHP-Fcgi

    I haven't tested it yet to see if its the Nginx/Apache proxy combo or the PHP-Fcgi that's causing the error

    PHP-FPM and PHP-FCGI are both dotdeb 5.3.22 on all servers, and distro is Debian Squeeze

  • MunMun Member

    I use the nginx with php5-fpm with no issues. Sounds more like something is blocking it from running.

  • DomainBopDomainBop Member
    edited March 2013

    Not working on my servers using Nginx forward proxy/Apache backend w/PHP-Fcgi

    This combo didn't work with apache/php-fcgi:

    hostname.domain.com/dir-with-uptime-php-file/uptime.php ( files in /var/www/domainname/uptime/uptime.php)

    but putting the uptime.php file in the default apache directory does work

    hostname.domain.com/dir-with-uptime-php-file/uptime.php ( files in /var/www/uptime/uptime.php)

  • I wrote the original...

    That said you MUST have php_exec() enabled on the "slaves". Make sure that safemode is set to off in your php.ini

    php_admin_value safe_mode off

  • NeoNeo Banned

    exec is active otherviese i dont get the Load and im not using safemod.

  • vldvld Member
    edited March 2013

    Why do you use shell_exec when you could be getting the data from /proc/uptime?

  • BlueVMBlueVM Member
    edited March 2013

    @vld - I didn't write that part, this is a modification of my script.

    @Neo - Can you paste this into a test.php file on the remote server and pastie the result?

    <?php $hddtotal = disk_total_space("/"); $hddfree = disk_free_space("/"); echo $hddtotal.'<br>'.$hddfree; ?>
  • Do you have selinux active?

  • @Neo - Can you give me a php_info() page?

  • Might this be causing a problem: This server is protected with the Suhosin Patch 0.9.9.1

  • NeoNeo Banned

    And that means? i should remove them?

  • Modify your disable_functions line in php.ini the current settings are preventing this from functioning correctly.

  • NeoNeo Banned

    .... i commented them complety out and that dosent helps. I try it before

  • SpeedBusSpeedBus Member, Host Rep

    did you restart apache/nginx/etc after updating the php config ?

  • NeoNeo Banned

    Yeah

Sign In or Register to comment.