LAZer414 Posted December 27, 2009 Share Posted December 27, 2009 as there is similiar problems like mine , i wanted to say that my problem is similiar to #10 in this topic , the server which whmcs is installed on showes the status , with shell , shell_exec disabled ! but the same status file on my own vps cannot show the server status and says it is unavailable. i should note that i have uploaded the same file to both servers and i have set both status url correctly with / at the end. the serverstatus.php can correctly locate the links. path that is set in whmcs : http://domain1.com/status/ http://domain2.com/status/ here is the information from both of my servers . the working server : here is the details by accessing the url directly : http://domain1.com/status/index.php Server Load : 0.62 Uptime Days : 36 Days 18:11:43 php version : 5.2.8 Mysql Version : 5.0.85 Zend Version : 2.2.0 Configure Command './configure' '--enable-bcmath' '--enable-calendar' '--enable-exif' '--enable-fastcgi' '--enable-force-cgi-redirect' '--enable-ftp' '--enable-gd-native-ttf' '--enable-libxml' '--enable-magic-quotes' '--enable-mbstring' '--enable-pdo=shared' '--enable-soap' '--enable-sockets' '--enable-zip' '--prefix=/usr' '--with-curl=/opt/curlssl/' '--with-freetype-dir=/usr' '--with-gd' '--with-gettext' '--with-imap=/opt/php_with_imap_client/' '--with-imap-ssl=/usr' '--with-jpeg-dir=/usr' '--with-kerberos' '--with-libxml-dir=/opt/xml2' '--with-libxml-dir=/opt/xml2/' '--with-mcrypt=/opt/libmcrypt/' '--with-mhash=/opt/mhash/' '--with-mysql=/usr' '--with-mysql-sock=/var/lib/mysql/mysql.sock' '--with-mysqli=/usr/bin/mysql_config' '--with-openssl=/usr' '--with-openssl-dir=/usr' '--with-pdo-mysql=shared' '--with-pdo-sqlite=shared' '--with-png-dir=/usr' '--with-sqlite=shared' '--with-tidy=/opt/tidy/' '--with-ttf' '--with-xpm-dir=/usr' '--with-xsl=/opt/xslt/' '--with-zlib' '--with-zlib-dir=/usr' disable_classes no value disable_functions shell,symlink,ini_restore,imap_body,imap_list,imap_open,mysql_list_dbs,popen,stream_select,socket_select,socket_create,socket_create_listen,socket_cre ate_pa ir,socket_listen,socket_accept,socket_bind,socket_strerror,readlink,symlink,link,pfsockopen,ini_alter,dl,openlog,syslog,putenv,pcntl_exec,pcntl_fork,p cntl_signal,pcntl_waitpid,pcntl_wexitstatus,pcntl_wifexited,pcntl_wifsignaled,pcntl_wifstopped,pcntl_wstopsig,pcntl_wtermsig,fpassthru,detcwd,system,p assthru,proc_close,proc_get_status,proc_nice,proc_open,proc_terminate,shell_exec on my own vps which the script is not working : http://domain2.com/status/index.php Server Load : 0.12 Uptime Days : 0 Days 19:30:01 php version : 5.2.11 Mysql Version : 5.0.86 Zend Version : 2.2.0 Configure Command './configure' '--build=i686-redhat-linux-gnu' '--host=i686-redhat-linux-gnu' '--target=i386-redhat-linux-gnu' '--program-prefix=' '--prefix=/usr' '--exec-prefix=/usr' '--bindir=/usr/bin' '--sbindir=/usr/sbin' '--sysconfdir=/etc' '--datadir=/usr/share' '--includedir=/usr/include' '--libdir=/usr/lib' '--libexecdir=/usr/libexec' '--localstatedir=/var' '--sharedstatedir=/usr/com' '--mandir=/usr/share/man' '--infodir=/usr/share/info' '--cache-file=../config.cache' '--with-libdir=lib' '--with-config-file-path=/etc' '--with-config-file-scan-dir=/etc/php.d' '--disable-debug' '--with-pic' '--disable-rpath' '--without-pear' '--with-bz2' '--with-exec-dir=/usr/bin' '--with-freetype-dir=/usr' '--with-png-dir=/usr' '--with-xpm-dir=/usr' '--enable-gd-native-ttf' '--with-t1lib=/usr' '--without-gdbm' '--with-gettext' '--with-gmp' '--with-iconv' '--with-jpeg-dir=/usr' '--with-openssl' '--with-pcre-regex=/usr' '--with-zlib' '--with-layout=GNU' '--enable-exif' '--enable-ftp' '--enable-magic-quotes' '--enable-sockets' '--enable-sysvsem' '--enable-sysvshm' '--enable-sysvmsg' '--with-kerberos' '--enable-ucd-snmp-hack' '--enable-shmop' '--enable-calendar' '--without-mime-magic' '--without-sqlite' '--with-libxml-dir=/usr' '--with-xml' '--with-system-tzdata' '--with-apxs2=/usr/sbin/apxs' '--without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem' disable_classes no value disable_functions no value now i dont know what should i do , the script can detect the uptime status by viewing the link directly , but when it wants to work from inside whmcs it fails. and says unavailable. any ideas will be appreciated. i have root access in my vps , just tell me which files should i modify. and what to modify. i doubt about some disabled functions in my vps , but i dont know how to enable them , and from where are they disabled ? i have search my php.ini ,and almost evert .conf file , httpd.conf , and so many other configurations , but i didnt find such commands in them. -without-mysql' '--without-gd' '--disable-dom' '--disable-dba' '--without-unixODBC' '--disable-pdo' '--disable-xmlreader' '--disable-xmlwriter' '--disable-json' '--without-pspell' '--disable-wddx' '--without-curl' '--disable-posix' '--disable-sysvmsg' '--disable-sysvshm' '--disable-sysvsem' any one knows where can i enable these ? thanks. 0 Quote Link to comment Share on other sites More sharing options...
madhost Posted January 1, 2010 Share Posted January 1, 2010 Hello .. please help me nice and me with this problem you need to upload nush folderu status to show my own server uptime at 2 resellers and a tutorial vps.aveti vrun something .. is more blunt: ( Thank you 0 Quote Link to comment Share on other sites More sharing options...
Lakota Hosting Posted September 20, 2010 Share Posted September 20, 2010 I was having a similar issue and found that you cannot load the status script over SSL. For instance, in my case: https://clients.lakotahosting.com/status/ does NOT work, but: http://clients.lakotahosting.com/status/ DOES. Hope this helps someone! 0 Quote Link to comment Share on other sites More sharing options...
doramide7 Posted September 21, 2010 Share Posted September 21, 2010 Hey, The code you are looking at is XML and should not be run by going that file. In your Admin Config, click on Servers and chose your server and click edit then find the box, Server Status Address and enter the URL there... After that look on your serverstatus page in WHMCS and should work. From, Adam It is set up that way. I was only demonstrating that it is able to view externally and that it does not show the server load and the uptime. Server HTTP FTP POP3 PHP Info Server Load Uptime DSD Main Server PHP Info Not Available Not Available DSD Server 2 PHP Info Not Available Not Available _________________ download wii games how to copy wii games 0 Quote Link to comment Share on other sites More sharing options...
rlshosting Posted September 21, 2010 Share Posted September 21, 2010 I was having a similar issue and found that you cannot load the status script over SSL. For instance, in my case: https://clients.lakotahosting.com/status/ does NOT work, but: http://clients.lakotahosting.com/status/ DOES. Hope this helps someone! It works for me on your site and my site 0 Quote Link to comment Share on other sites More sharing options...
Knyteguy Posted March 2, 2011 Share Posted March 2, 2011 FMFHOST, hey i had the same issue......all i had to do is log back in, go to the servers select the one i need the stats for and at the end of the Url......http://mydomain.com/status/index.php/ just ad the forward slash and it works. hope this helps Thanks, This worked superbly. 0 Quote Link to comment Share on other sites More sharing options...
allenb Posted March 15, 2011 Share Posted March 15, 2011 Sorry for diggin this tread up.. It helped me 0 Quote Link to comment Share on other sites More sharing options...
Vario Posted April 28, 2011 Share Posted April 28, 2011 (edited) To all, First of all 1)Check your server status by opening url in browser. http://www.yourdomain.com/whmcs_path/status/'>http://www.yourdomain.com/whmcs_path/status/ If You are getting something like: "2.22 42 Days 02:00:24 5.2.14" then you are OK to go to step 2. If not, check via ftp if "status" folder exists inside of whmcs installation root. If not then create one. And/or upload it including index.php inside, and return to Step 1. 2) DO NOT FORGET TO PUT SLASH (/) to the end of status url: like this: http://www.yourdomain.com/whmcs_path/status/ 3) if You are using forced SSL access to whmcs, then type https:// instead of http:// like this: https://www.yourdomain/whmcs_path/status/ You should be done. Cheers.. Edited April 28, 2011 by Vario 0 Quote Link to comment Share on other sites More sharing options...
taylorn Posted May 8, 2011 Share Posted May 8, 2011 Hi I am having an issue with the Server Status The status is displayed but the uptime always says 0 days 0:00 etc (going to status/index.php produces "0 Days 00:00:00 5.2.9") I am not sure if this is something from my end, or with WHMCS. I suspect something server side, but not sure what it would be, as I am not getting any errors etc 0 Quote Link to comment Share on other sites More sharing options...
twallden Posted May 14, 2011 Share Posted May 14, 2011 I think you cant connect to the server, check the details and the password/hash in server setup. 0 Quote Link to comment Share on other sites More sharing options...
taylorn Posted May 14, 2011 Share Posted May 14, 2011 I think you cant connect to the server, check the details and the password/hash in server setup. I don't think it has a lot to do with that. I figured it out anyway. PHP errors weren't showing, but I needed to have ShellExec() enabled. That fixed it 0 Quote Link to comment Share on other sites More sharing options...
Charms27 Posted September 11, 2011 Share Posted September 11, 2011 Hello, I have tried everything and I am still not getting mine to work. 1. I have added the / 2. shell_exec is not disabled, the only function that my php.ini has disabled is 'dl'... whatever that is... 3. I have tried both ways with the SSL, neither one works. 4. Going directly to URL/status/index.php in browser works fine. Anybody have any other ideas? 0 Quote Link to comment Share on other sites More sharing options...
cmanns Posted September 11, 2011 Share Posted September 11, 2011 Check your error logs. If you utilize a nice FastCGI PHP setup you may also just strace it and then view the server status. We honestly never bothered with it. 0 Quote Link to comment Share on other sites More sharing options...
LAZer414 Posted September 13, 2011 Share Posted September 13, 2011 on some configurations i saw that some php modes make server status shows 0 0 0 uptimes ! i always use suphp and its fine . and sometimes it work with dso . but mostly fails with others. try this if u can configure php again and maybe this helps u. 0 Quote Link to comment Share on other sites More sharing options...
backupnownorden Posted September 16, 2011 Share Posted September 16, 2011 Hi, You will not be able to display the servers uptime or load statistics unless you can get these functions unblocked. Matt How to get this working on Windows 2003 servers ? 0 Quote Link to comment Share on other sites More sharing options...
WHMCS Support Manager WHMCS John Posted September 16, 2011 WHMCS Support Manager Share Posted September 16, 2011 Status monitoring is not available for Windows servers unfortunately as they don't have that function. 0 Quote Link to comment Share on other sites More sharing options...
malfunction Posted September 16, 2011 Share Posted September 16, 2011 Not sure about other panels, but a lot of Windows users will be on Plesk and I believe you can get all that information from the Plesk API, service status, load, uptime - the same data that's displayed on the main administrator's page. 0 Quote Link to comment Share on other sites More sharing options...
Globek_Alert Posted September 27, 2011 Share Posted September 27, 2011 And I have something like this: Disable_functions and classes are empty fields. I'm using WHM / cPanel, I will add that the server is added correctly, any ideas? Unavailable 0 Days 00:00:00 5.2.17 0 Quote Link to comment Share on other sites More sharing options...
Globek_Alert Posted September 28, 2011 Share Posted September 28, 2011 Any ideas? 0 Quote Link to comment Share on other sites More sharing options...
taylorn Posted September 28, 2011 Share Posted September 28, 2011 So you have nothing disabled in /usr/local/lib/php.ini? Maybe you have another php.ini somewhere conflicting. Run this in SSH as root and post the output: # locate php.ini 0 Quote Link to comment Share on other sites More sharing options...
Globek_Alert Posted September 28, 2011 Share Posted September 28, 2011 Some of these entries is now a question which is correct? /etc/php.ini/home/cpeasyapache/src/php-5.2.17/php.ini-dist /home/cpeasyapache/src/php-5.2.17/php.ini-recommended /usr/lib/php.ini /usr/local/cpanel/3rdparty/etc/php.ini /usr/local/cpanel/3rdparty/etc/php.ini,v /usr/local/cpanel/3rdparty/etc/php.ini.dist /usr/local/cpanel/3rdparty/etc/php.ini.keep /usr/local/cpanel/3rdparty/etc/horde/php.ini /usr/local/cpanel/3rdparty/etc/phpmyadmin/php.ini /usr/local/cpanel/3rdparty/etc/phppgadmin/php.ini /usr/local/cpanel/3rdparty/etc/roundcube/php.ini /usr/local/cpanel/scripts/php.ini /usr/local/lib/php.ini /usr/local/lib/php.ini,v 0 Quote Link to comment Share on other sites More sharing options...
taylorn Posted September 29, 2011 Share Posted September 29, 2011 Hi Those are all normal locations. I was looking for one in /home/<username>/* So if you open up /usr/local/lib/php.ini in your favourite editor, around like 199-200ish you should have: disablqe_functions = So there is nothing next to the disabled functions? (You should have some PHP functions disabled though for security) Also, what Control Panel are you using? cPanel? If so, I would maybe use EasyApache to make sure all the required dependancies are installed, and rebuild Apache/PHP anyway. 0 Quote Link to comment Share on other sites More sharing options...
Globek_Alert Posted September 30, 2011 Share Posted September 30, 2011 Unfortunately it does not work. Field of the features I especially empty, even the firewall turned off. But the problem still persists. Any ideas how to fix it? 0 Quote Link to comment Share on other sites More sharing options...
Globek_Alert Posted October 5, 2011 Share Posted October 5, 2011 Any ideas, because I do not know how to fix it.... 0 Quote Link to comment Share on other sites More sharing options...
Globek_Alert Posted October 10, 2011 Share Posted October 10, 2011 Can someone tell me how to fix it? 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.