Articles of centos

Memcached – 单亲configuration,多个子configuration

我正在生产中设置一个memcached服务器,并希望能够通过改变一个符号链接从一个configuration到另一个不同的内存大小之间切换,但我不想复制和粘贴每个configuration到其他configuration,是有可能有一个主configuration多个子configuration? 例: # master config PORT="11211" USER="memcached" MAXCONN="1024" CACHESIZE="128" OPTIONS="" # Name: memcached_256 # child config for cache server of 256 # include options from master config CACHESIZE="256" # Name: memcached_512 # child config for cache server of 512 # include options from master config CACHESIZE="512" 示例目录列表: ls /etc/sysconfig memcached -> /path/to/my/version/controlled/configs/memcached_256 如果我需要升级,我可以简单地将上面的符号链接改为: memcached -> […]

在CentOS中通过CIFS挂载Windows共享不起作用(但是smbclient确实)

我有点沮丧…我试图在CentOS 6.3中通过CIFS挂载一个Windows共享,但它不工作: mount -v -t cifs -o credentials=/data/conf/credentials/fileserver //10.0.1.200/projects /mnt/fileserver/projects 这给了我这个: Unable to apply new capability set. 不知道为什么,因为连接到smbclient工作正常: smbclient //10.0.1.200/projects -A /data/conf/credentials/fileserver 任何知道的原因可能是什么?

为什么在使用chage将密码过期更改为“never”之后,linux帐户不接受旧密码?

CentOS 5.x 我有一个旧的用户帐户,有一个实际上是过期的密码政策。 [foo@foobox ~]# chage -l foouser Minimum: 0 Maximum: 90 Warning: 5 Inactive: 5 Last Change: Jan 02, 2012 Password Expires: Apr 02, 2012 Password Inactive: Apr 07, 2012 Account Expires: Never 我想更改密码永不过期(系统只是内部的,帐户本身的权限非常有限)。 我认为运行[foo@foobox ~]# chage -M 0 foouser会这样做…当我检查chage输出时,它看起来很好: [foo@foobox ~]# chage -l foouser Minimum: 0 Maximum: 0 Warning: 5 Inactive: 5 Last […]

Apache崩溃和mod_fcgi错误

Apache遇到以下错误: mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5 mod_fcgid: /usr/local/cpanel/cgi-sys/php5 spawn score 10 >= 10, skip the spawn request mod_fcgid: too many /usr/local/cpanel/cgi-sys/php5 processes (current:10, max:10), skip the spawn request mod_fcgid: process /usr/local/cpanel/cgi-sys/php5(22777) exit(communication error), get unexpected signal 11 我的cPanel安装在我的Centos5,Apache v2.2.22,PHP v5.2.17上 php.conf的内容: LoadModule fcgid_module modules/mod_fcgid.so FcgidMaxRequestsPerProcess 1000 FcgidMaxProcesses 10 FcgidMaxProcessesPerClass 10 FcgidMinProcessesPerClass 1 FcgidIOTimeout […]

域只响应某些位置?

我有一个客户,他的网站一直有问题。 服务器似乎不想在某些国家加载hes网站,虽然其他网站都很好。 但这个网站[链接删除]似乎只在美国和加拿大加载。 在欧洲,英国,亚洲等地,这个网站似乎被封锁了(现在已经这样一个星期了)。 我查过了服务器,看起来很好。 其他网站工作正常,NS正确设置,指向我的主服务器,在http://puu.sh/MIGF 有任何想法吗?

问题与perl -MCPAN -e'install Module :: Build';

在执行perl -MCPAN -e'install Module :: Build'; 它给出了以下错误,我该如何解决它? /usr/bin/perl Build –makefile_env_macros 1 Can't locate Perl/OSType.pm in @INC (@INC contains: t/lib t/bundled lib /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/site_perl/5.8.8 /usr/lib/perl5/site_perl /usr/lib64/perl5/vendor_perl/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/vendor_perl/5.8.8 /usr/lib/perl5/vendor_perl /usr/lib64/perl5/5.8.8/x86_64-linux-thread-multi /usr/lib/perl5/5.8.8 .) at lib/Module/Build.pm line 13.

tailwatchd – chkservd在host.domain.com状态:挂起

The chkservd sub-process with pid 17420 was running for 602 seconds. The sub-process was terminated as it exceeded the time between checks of 300 seconds. Please check /var/log/chkservd.log and /usr/local/cpanel/logs/tailwatchd_log to discover the 在传输服务器时,我通过目标服务器上的电子邮件收到了此错误的通知。 这是什么意思 ? 而且这也发生了: ftpd failed @ Wed Aug 8 11:26:38 2012. A restart was attempted automagically. Service Check Method: [socket connect] […]

在我的CPanel服务器上创build一个未知的帐户

我刚刚在我的服务器上安装了CPanel,几个小时后,我收到一个名为“karukradi”的新帐户的通知 有谁知道这是什么?

cpanel – 从服务器完全恢复和cpmove恢复?

从服务器完全恢复到cpmove恢复有什么区别?

服务httpd重启错误

为什么我总是得到错误,当我重置我的httpd: Starting httpd: (98)Address already in use: make_sock: could not bind to address [::]:80 (98)Address already in use: make_sock: could not bind to address 0.0.0.0:80 no listening sockets available, shutting down Unable to open logs 每次我必须使用sudo fuser -k -n tcp 80 (我不知道它是干什么的)然后它工作..我怎样才能永久解决这个问题? 使用CentOS 6.3