Posts Tagged ‘bug’

18 08 2013

adb shell error: unknown host service

bigCat Posted in Android - 2 Comments

C:\Users\bigCat>adb shell\r\nadb server is out of date. killing...\r\nADB server didn't ACK\r\n* failed to start daemon *\r\nerror: unknown host service\r\n\r\n \r\n\r\n有可能是豌豆荚的俩进程\r\n\r\n也有可能是腾讯的 tadb.exe\r\n\r\n占用了端口,妈蛋

4 06 2012

putty openssh server refuse our key

bigCat Posted in Linux - 0 Comment

必须用openssh去创建公钥和私钥\r\n然后用puttygen去转换openssh的私钥为putty的私钥\r\n\r\n\r\n\r\n

cd ~/.ssh\r\nssh-keygen -t rsa \r\ncat id_rsa.pub > authorized_keys\r\nrm -f id_rsa.pub\r\nchmod 400 authorized_keys

\r\n\r\n

15 05 2012

您没有足够的权限访问这个页面。You are not allowed to edit this page.

bigCat Posted in WordPress - 0 Comment

http://wordpress.org/support/topic/you-are-not-allowed-to-edit-this-page\r\n修改 wp_options > wp_user_roles > option_value 为下面的值\r\n\r\n

a:5:{s:13:"administrator";a:2:{s:4:"name";s:23:"Administrator|User role";s:12:"capabilities";a:51:{s:13:"switch_themes";b:1;s:11:"edit_themes";b:1;s:16:"activate_plugins";b:1;s:12:"edit_plugins";b:1;s:10:"edit_users";b:1;s:10:"edit_files";b:1;s:14:"manage_options";b:1;s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:6:"import";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:8:"level_10";b:1;s:7:"level_9";b:1;s:7:"level_8";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;s:12:"delete_users";b:1;s:12:"create_users";b:1;s:17:"unfiltered_upload";b:1;s:14:"edit_dashboard";b:1;s:14:"update_plugins";b:1;s:14:"delete_plugins";b:1;}}s:6:"editor";a:2:{s:4:"name";s:16:"Editor|User role";s:12:"capabilities";a:34:{s:17:"moderate_comments";b:1;s:17:"manage_categories";b:1;s:12:"manage_links";b:1;s:12:"upload_files";b:1;s:15:"unfiltered_html";b:1;s:10:"edit_posts";b:1;s:17:"edit_others_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:10:"edit_pages";b:1;s:4:"read";b:1;s:7:"level_7";b:1;s:7:"level_6";b:1;s:7:"level_5";b:1;s:7:"level_4";b:1;s:7:"level_3";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:17:"edit_others_pages";b:1;s:20:"edit_published_pages";b:1;s:13:"publish_pages";b:1;s:12:"delete_pages";b:1;s:19:"delete_others_pages";b:1;s:22:"delete_published_pages";b:1;s:12:"delete_posts";b:1;s:19:"delete_others_posts";b:1;s:22:"delete_published_posts";b:1;s:20:"delete_private_posts";b:1;s:18:"edit_private_posts";b:1;s:18:"read_private_posts";b:1;s:20:"delete_private_pages";b:1;s:18:"edit_private_pages";b:1;s:18:"read_private_pages";b:1;}}s:6:"author";a:2:{s:4:"name";s:16:"Author|User role";s:12:"capabilities";a:10:{s:12:"upload_files";b:1;s:10:"edit_posts";b:1;s:20:"edit_published_posts";b:1;s:13:"publish_posts";b:1;s:4:"read";b:1;s:7:"level_2";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;s:22:"delete_published_posts";b:1;}}s:11:"contributor";a:2:{s:4:"name";s:21:"Contributor|User role";s:12:"capabilities";a:5:{s:10:"edit_posts";b:1;s:4:"read";b:1;s:7:"level_1";b:1;s:7:"level_0";b:1;s:12:"delete_posts";b:1;}}s:10:"subscriber";a:2:{s:4:"name";s:20:"Subscriber|User role";s:12:"capabilities";a:2:{s:4:"read";b:1;s:7:"level_0";b:1;}}}
6 04 2011

Plesk Apache 2 Test Page showing on each website

bigCat Posted in Linux - 0 Comment

娘的手贱升级plesk。。。禁用了named导致错误\r\n所有页面指向apache默认页面 返回码403\r\n\r\nhttp://forum.parallels.com/showthread.php?t=106506\r\n\r\n\r\n\r\nERROR while trying to untar named run-root directory structure I'm on a VPS running Plesk v10.0.1, Linux 2.6.9-023stab052.4-smp.\r\n\r\nWhilst updating a component on Plesk it seemed to want to reconfigure a whole bunch of things. I get an error:\r\n\r\n===> Installing and configuring Named Server\r\n\r\nChecking for the system groups and users necessary for named (bind)...\r\nChecking for the group 'named'...\r\nGroup 'named' already exists\r\n\r\nChecking for the user 'named'...\r\nUser 'named' already exists\r\n\r\nStop running named daemon\r\nTrying to stop service named... done\r\nTrying to untar named run-root directory structure...\r\nERROR while trying to untar named run-root directory structure\r\nCheck the error reason(see log file: /tmp/pp10.9.0-bootstrapper.101127.18.56.log), fix and try again\r\n\r\n\r\n**** Product post-install failed.\r\n\r\n***** problem report *****\r\nERROR while trying to untar named run-root directory structure\r\nCheck the error reason(see log file: /tmp/pp10.9.0-bootstrapper.101127.18.56.log), fix and try again\r\n\r\nTo complete product installation one should run bootstrapper script:\r\n/usr/local/psa/bootstrapper/pp10.9.0-bootstrapper/bootstrapper.sh repair\r\n\r\n\r\n\r\nI check the log file and it just says the same message. I run the bootstrapper repair and it errors with the same message but it tells me that it's trying to find the file /usr/local/psa/tmp/run-root.tar but can't find it.\r\n\r\nBecause of this all my websites are down. I just get a page not found error on every domain.\r\n\r\nAny ideas? Thank you. \r\n\r\nRight I've fixed it!\r\n\r\nIf anyone else has this issue then here is how to fix it....\r\n\r\nBrowse to http://64.131.90.31/\r\n\r\nAnd locate your correct version of Plesk and the correct version for your OS.\r\n\r\nMine was: PSA_10.0.1 then dist-rpm-CentOS-5-x86_64\r\n\r\nGo into the base folder and download the package that starts "plesk-core".\r\n\r\nOnce downloaded copy to your server in the /tmp directory.\r\n\r\nThen run the following commands:\r\n\r\ncd /tmp\r\nrpm2cpio plesk-core*.rpm | cpio -idv --no-absolute-filenames\r\n\r\nThis will extract a whole bunch of stuff into the /tmp directory.\r\n\r\nNext browse to /tmp/usr/local/psa/tmp and you will find the run-root.tar\r\n\r\nCopy this into your /usr/local/psa/tmp folder and then run the bootstrapper repair, in my case it was the following:\r\n/usr/local/psa/tmp/bootstrapper/pp10.9.0-bootstrapper/bootstrapper.sh repair\r\n\r\nThis should complete with no errors!!! \r\n

20 02 2011

Incompatible archive: PCLZIP_ERR_BAD_FORMAT (-10)

bigCat Posted in WordPress - 0 Comment

wordpress 后台升级\r\n\r\n因为空间不足..

Host: (miao) | Word: Press | Code: HTML5