我正在运行CentOS 6.4。 # cat /etc/centos-release CentOS release 6.4 (Final) 经过一些更新和重新启动后,OpenVPN无法启动。 # service openvpn start Starting openvpn: [FAILED] / var / log / messages在openvpn上显示以下输出: Nov 13 14:09:58 host kernel: type=1400 audit(1384344598.334:39761): avc: denied { read write } for pid=5777 comm="openvpn" name="openvpn" dev=dm-0 ino=54527865 scontext=unconfined_u:system_r:openvpn_t:s0 tcontext=unconfined_u:object_r:openvpn_var_log_t:s0 tclass=dir Nov 13 14:09:58 host openvpn[5777]: Options error: –status fails with […]
我一直在寻找答案,但无法find任何适合我的指导。 我想为我的新ML310e Gen8服务器安装惠普CentOS磁带库,以便我可以为其安装洞察pipe理软件等。 谢谢
更新: 这是由于nss-softkn的一个已知问题引起的。 看到这篇文章: https : //www.splyt.com/blog/2014-05-16-optimizing-aws-nss-softoken 当我从我的centos 6.5盒子里运行免费的-m时,我看到我只有1400MB的可用内存,包括caching。 当我做到最高,按内存sorting,并加上我只看到1600左右正在使用的过程。 我应该有一个更多的自由记忆。 这发生在我们的几个盒子上。 [root@db1 ~]# free -m total used free shared buffers cached Mem: 7840 7793 47 0 287 1357 -/+ buffers/cache: 6148 1692 Swap: 7983 7 7976 顶级输出 这是一个更好的方式来可视化进程消耗的内存:
我有一个有3个服务器的专用networking。 现在我添加了第四个,我尝试从主入口点设置公钥validation到这个新的服务器。 但是,通常的程序不起作用,出于某种原因。 我生成了与其他2台服务器一起工作的公钥,并将公钥添加到新主机的~/.ssh/authorized_keys文件中,并validation/etc/ssh/sshd_config包含PubkeyAuthentication yes 。 但是,我不断收到密码提示。 build议? 以下是来自尝试连接的debugging日志: $ ssh -vv NEWHOST OpenSSH_5.1p1 Debian-5, OpenSSL 0.9.8g 19 Oct 2007 debug1: Reading configuration data /etc/ssh/ssh_config debug1: Applying options for * debug2: ssh_connect: needpriv 0 debug1: Connecting to NEWHOST [xxxx] port 22. debug1: Connection established. debug1: permanently_set_uid: 0/0 debug1: identity file /root/.ssh/identity type -1 debug2: key_type_from_name: […]
我试图在CentOS6上编译libmemcached(1.0.7),并不断收到以下警告: … checking for event.h… no configure: WARNING: Unable to find libevent … 我手动编译libevent(2.0.19)并使用以下configuration行构build它: OPTIONS="–prefix=/usr/local/_custom/app/libevent" 一切编译和安装好,但我不知道如何使系统知道这些lib文件在自定义/usr/local/_custom/app/libevent/lib目录中。 我偶然发现一篇文章,并通过添加一个自定义文件到/etc/ld.so.conf.d/目录来让系统知道自定义libpath: # /etc/ld.so.conf.d/customApp.conf /usr/local/_custom/app/libevent/lib 然后我发出了ldconfig命令,并能够通过发出这个命令来确认libevent包含在内: ldconfig -p | ack -i libevent 看到libevent现在包含在ldconfig输出中,我想我可以编译libmemcached并满足前面提到的警告。 不幸的是没有。 所以我又看了一下ldconfig输出,注意到这个: libevent_pthreads-2.0.so.5 (libc6,x86-64) => /usr/local/_custom/app/libevent/lib/libevent_pthreads-2.0.so.5 libevent_openssl-2.0.so.5 (libc6,x86-64) => /usr/local/_custom/app/libevent/lib/libevent_openssl-2.0.so.5 libevent_extra-2.0.so.5 (libc6,x86-64) => /usr/local/_custom/app/libevent/lib/libevent_extra-2.0.so.5 libevent_core-2.0.so.5 (libc6,x86-64) => /usr/local/_custom/app/libevent/lib/libevent_core-2.0.so.5 libevent-2.0.so.5 (libc6,x86-64) => /usr/local/_custom/app/libevent/lib/libevent-2.0.so.5 没有提到基础链接,例如,我期望看到这些链接( ls -la /usr/local/_custom/app/libevent/lib ): […]
CentOS 6,Parallels PLESK 10.4,Apache 我的一台服务器在周末倒了很多,令我沮丧。 在发生的date和时间,我的日志错误/消息以此结束 – 在/ var /日志/安全: Jul 29 03:53:15 u######## su: PAM adding faulty module: /lib64/security/pam_fprintd.so Jul 29 03:53:15 u######## su: pam_unix(su-l:session): session opened for user popuser by (uid=0) Jul 29 03:53:16 u######## su: pam_unix(su-l:session): session closed for user popuser Jul 29 03:53:16 u######## su: PAM unable to dlopen(/lib64/security/pam_fprintd.so): /lib64/security/pam_fprintd.so: cannot […]
如果我给出一个大于64个hex字符(64 * 4 = 256位)的密钥,我会得到以下错误。 根据这份官方文件 ,河豚能够支持从32位到448位的密钥。 可变密钥长度:32位至448位 可以绕过这个限制吗? 怎么了? 实际的密钥大小足够大,但是我想尽可能地保证最高的安全性。 谢谢,
我试图停止MySQL并做一些改变,然后我要重新开始 我正在使用SSH客户端。 所以我跑了这3个赞赏没有任何问题 mysql mysql> SET GLOBAL innodb_fast_shutdown = 0; exit; 现在当我input service mysql stop 要么 service mysql 我明白了 mysql: unrecognized service 怎么了 ? 我的网站是在线,它使用MySQL数据库,因为我input这个,但我无法访问 service mysql 一些额外的信息 CentOS release 6.4 (Final) Server version: 5.5.31 MySQL Community Server
我已经在我的服务器上安装了EPEL存储库。 我想安装新的东西,我得到这个错误与yum: PYCURL ERROR 22 – "The requested URL returned error: 403 Forbidden" Trying other mirror. Error: Cannot retrieve repository metadata (repomd.xml) for repository: CentALT. Please verify its path and try again 当我检查EPEL(编者注:实际上CentALT,但保留原来的清晰)url,我得到了这个错误与url : 403 Forbidden – nginx 所以我决定改变EPEL的来源。 我经历了http://howto.wikin.com/wiki/How_to_Delete_Centos_Repositories上的步骤来删除以前的存储库,当我做yum repolist得到这个: Loaded plugins: fastestmirror, security Loading mirror speeds from cached hostfile * base: centos.mirror.gtcomm.net * […]
我正在使用sssd ,以便在我们的Linux环境中使用LDAP用户和组。 我必须重命名我的一个Linux用户的LDAP组,并且我注意到在完成编辑组之后,当我在Linux机器上运行: id username时,它一直显示以前的名字(重命名之前)。 我试过重新启动服务器,但没有清理caching,并保持显示我以前的组名称。 我search了Google,并在redhat的官方网站上find了下一个命令: sss_cache -E 这解决了我的问题,并清除了sssdcaching,并在下次运行: id user显示正确的组名称。 但我的问题是: 1. How come a full server reboot didn't clear the cache? 2. How can I make sure the cache gets deleted when the server is rebooted? 提前致谢