( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKBase.class.php on line 114
Call Stack
#TimeMemoryFunctionLocation
10.0019415688{main}( ).../index.php:0
20.08154721312Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.308314258208Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.308414258152Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.308414258528Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.308414258528Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.308514258624Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.308814298544require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.312514596232GKTemplate->__construct( ).../component.php:31
100.317414765608GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.317914810464require_once( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKMenu.php' ).../helper.menu.php:19

( ! ) Warning: "continue" targeting switch is equivalent to "break". Did you mean to use "continue 2"? in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/lib/menu/GKHandheld.php on line 76
Call Stack
#TimeMemoryFunctionLocation
10.0019415688{main}( ).../index.php:0
20.08154721312Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.308314258208Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.308414258152Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.308414258528Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.308414258528Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.308514258624Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.308814298544require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.312514596232GKTemplate->__construct( ).../component.php:31
100.319514938408GKTemplateMenu->getMenuType( ).../gk.framework.php:85
net use与shutdown配合使用,本机重启远程服务器
Logo
Print this page

net use与shutdown配合使用,本机重启远程服务器

 

通过shutdown命令远程重启服务器的方法。
仔细想了想,又在网上找了相关的资料。通过如下两条命令,解决此问题。
  net use \\192.168.0.10 123456/user:administrator
  shutdown -r -m \\192.168.0.10 –t 0
  其中要先执行第一条命令,执行该命令后,我们便给服务器的administrator用户授予了远程重启的权限。
  然后我们在执行第二条命令,就可以在本机重启远程的服务器了。
 
PS:一、我们在使用上述两条命令时,请注意中间的空格,否则在使用过程中系统会提示相关的错误信息
  二、其实通过上述的命令我们还可以远程关机,只要我们把第二条命令稍微修改一下即可。关机命令如下:
shutdown -s -m \\192.168.0.10 –t 0
  三、使用此命令中的第一条时,必须要知道服务器上管理员帐户和密码
Last modified onSaturday, 05 January 2013 13:07

( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169
Call Stack
#TimeMemoryFunctionLocation
10.0014416168{main}( ).../index.php:0
20.11504721824Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11504721824Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.335412450328Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.336212475104Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.337312530432Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.337712559256require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.349912994664K2ControllerItem->execute( ).../k2.php:64
90.349912994664K2ControllerItem->display( ).../BaseController.php:710
100.361013719864K2ControllerItem->display( ).../item.php:78
110.361013719864K2ControllerItem->display( ).../controller.php:19
120.366714116232Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.371214136600K2ViewItem->display( ).../ViewController.php:102
140.487017098616K2ViewItem->display( ).../view.html.php:742
150.487017098616K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.491417278816include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701

( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478
Call Stack
#TimeMemoryFunctionLocation
10.0014416168{main}( ).../index.php:0
20.11504721824Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.11504721824Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.335412450328Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.336212475104Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.337312530432Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.337712559256require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.349912994664K2ControllerItem->execute( ).../k2.php:64
90.349912994664K2ControllerItem->display( ).../BaseController.php:710
100.361013719864K2ControllerItem->display( ).../item.php:78
110.361013719864K2ControllerItem->display( ).../controller.php:19
120.366714116232Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.371214136600K2ViewItem->display( ).../ViewController.php:102
140.487017098616K2ViewItem->display( ).../view.html.php:742
150.487017098616K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.491417278816include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
Template Design © Joomla Templates | GavickPro. All rights reserved.