( ! ) 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.0010415640{main}( ).../index.php:0
20.11194720800Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.426914255904Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.427114255848Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.427214256224Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.427214256224Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.427814256320Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.428514296240require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.433614593928GKTemplate->__construct( ).../component.php:31
100.440814763304GKTemplateMenu->getMenuType( ).../gk.framework.php:84
110.441514808160require_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.0010415640{main}( ).../index.php:0
20.11194720800Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.426914255904Joomla\CMS\Application\SiteApplication->render( ).../CMSApplication.php:202
40.427114255848Joomla\CMS\Application\SiteApplication->render( ).../SiteApplication.php:778
50.427214256224Joomla\CMS\Document\HtmlDocument->parse( ).../CMSApplication.php:1030
60.427214256224Joomla\CMS\Document\HtmlDocument->_fetchTemplate( ).../HtmlDocument.php:545
70.427814256320Joomla\CMS\Document\HtmlDocument->_loadTemplate( ).../HtmlDocument.php:730
80.428514296240require( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/component.php' ).../HtmlDocument.php:668
90.433614593928GKTemplate->__construct( ).../component.php:31
100.444014936104GKTemplateMenu->getMenuType( ).../gk.framework.php:85
Qnap 设置 APM 254
Logo
Print this page

Qnap 设置 APM 254

 fdisk -l

 

- Go to the 'Application servers' area in the admin control panel... then to the 'QPKG' area. From here I installed and activated 'Optaware.' This will install the ipkg system for Linux. -打开 网页服务器 -打开 连接 http://192.168.1.xx:80/Optware/ -搜索 hdparm 点击 install -SSH 服务打开 登陆 ssh 运行 hdparm- hdparm -B 254 /dev/sda 返回的结果 [~] # hdparm -B 254 /dev/sda /dev/sda: setting Advanced Power Management level to 0xFE (254) HDIO_DRIVE_CMD failed: Invalid argument

 

 等待完全启动 再运行

 

hdparm-hdparm -B 254 /dev/sda

hdparm-hdparm -B 254 /dev/sdb


- Go to the 'Application servers' area in the admin control panel... then to the 'QPKG' area. From here I installed and activated 'Optaware.' This will install the ipkg system for Linux.

- Now log out of any telnet/SSH connection and re login with admin / root authority and type ... ipkg install hdparm

- You should now see the latest verison being dowbloaded and installed

- You will now essentially have two hdparm apps installed so the original hdparm commands wont work... instead you'll probably need to use hdparm-hdparm to start your string. E.G. 'hdparm-hdparm -B 254 /dev/sda'

Last modified onSunday, 14 October 2012 04: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.0004415808{main}( ).../index.php:0
20.09664721000Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09664721000Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.329012449216Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.329512473576Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.330212528904Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.330512557728require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.339512993136K2ControllerItem->execute( ).../k2.php:64
90.339512993136K2ControllerItem->display( ).../BaseController.php:710
100.349713718336K2ControllerItem->display( ).../item.php:78
110.349713718336K2ControllerItem->display( ).../controller.php:19
120.353914114704Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.356514135072K2ViewItem->display( ).../ViewController.php:102
140.444417075176K2ViewItem->display( ).../view.html.php:742
150.444417075176K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.446317255376include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ).../HtmlView.php:701
  • Published in Qnap
  • Read 3495 times

( ! ) 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.0004415808{main}( ).../index.php:0
20.09664721000Joomla\CMS\Application\SiteApplication->execute( ).../index.php:49
30.09664721000Joomla\CMS\Application\SiteApplication->doExecute( ).../CMSApplication.php:196
40.329012449216Joomla\CMS\Application\SiteApplication->dispatch( ).../SiteApplication.php:233
50.329512473576Joomla\CMS\Component\ComponentHelper::renderComponent( ).../SiteApplication.php:194
60.330212528904Joomla\CMS\Component\ComponentHelper::executeComponent( ).../ComponentHelper.php:377
70.330512557728require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ).../ComponentHelper.php:402
80.339512993136K2ControllerItem->execute( ).../k2.php:64
90.339512993136K2ControllerItem->display( ).../BaseController.php:710
100.349713718336K2ControllerItem->display( ).../item.php:78
110.349713718336K2ControllerItem->display( ).../controller.php:19
120.353914114704Joomla\CMS\Cache\Controller\ViewController->get( ).../BaseController.php:663
130.356514135072K2ViewItem->display( ).../ViewController.php:102
140.444417075176K2ViewItem->display( ).../view.html.php:742
150.444417075176K2ViewItem->loadTemplate( ).../HtmlView.php:230
160.446317255376include( '/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.