Internal Server Error etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster
Internal Server Error etiketine sahip kayıtlar gösteriliyor. Tüm kayıtları göster

20 Şubat 2017 Pazartesi

Internal Server Error 500 No response from subprocess Hatası ?

WHM-cPanel -> Plugins -> Nginx Admin:

Internal Server Error

500

No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_nginx.cgi): The subprocess reported error number 2 when it ended.

cpsrvd/11.62.0.7

cPanel use whmlib desteğini kaldırdığı için bu hatayı veriyor.


Çözüm : /usr/local/cpanel/whostmgr/docroot/cgi/addon_nginx.cgi

Ftp aracılığıyla dosyayı indir

use whmlib; satırın başına # kare ekleyiniz.

#use whmlib;

dosyayı atıp, Nginx Admin panele giriş yapabilirsiniz.

Not # ekledikten sonra dosyanın yeni kodlaması



#!/bin/sh
eval 'if [ -x /usr/local/cpanel/3rdparty/bin/perl ]; then exec /usr/local/cpanel/3rdparty/bin/perl -x -- $0 ${1+"$@"}; else exec /usr/bin/perl -x $0 ${1+"$@"}; fi;'
if 0;

#!/usr/bin/perl
#WHMADDON:nginx:Nginx Admin
#####################################################################
# Copyright (C) 2010 nginxcp.com. All rights reserved.
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
#####################################################################

use lib '/usr/local/cpanel';
use Cpanel::cPanelFunctions ();
use Cpanel::Form ();
use Cpanel::Config ();
use Whostmgr::HTMLInterface ();
use Whostmgr::ACLS ();

print "Content-type: text/html\r\n\r\n";
BEGIN {
push(@INC,"/usr/local/cpanel");
push(@INC,"/usr/local/cpanel/whostmgr/docroot/cgi");
}

#use whmlib;
require 'parseform.pl';

Whostmgr::ACLS::init_acls();
if ( !Whostmgr::ACLS::hasroot() ) {
print "You do not have the proper permissions to access Nginx Admin...\n";
exit();
}
print "";
1;