我在CentOS 6上安装了puppet 2.6.12。当我尝试使用命令service puppetmaster start puppetmaster服务service puppetmaster start我得到错误: Starting puppetmaster: /usr/lib/ruby/site_ruby/1.8/puppet/indirector/ssl_file.rb:142:in open: Permission denied – /var/lib/puppet/ssl/ca (Errno::EACCES). 如果我做sudo service puppetmaster start我得到错误 Starting puppetmaster: Could not prepare for execution: Could not find a default provider for user 我已经安装了ruby1.8.7,ruby-libs和ruby-shadow。 我该如何解决这个问题?
我想安装dkms来安装VBGuessAdditions,但 yum install dkms 总是导致错误 加载插件:latestmirror,refresh-packagekit,security从caching的hostfile加载镜像速度无法检索镜像列表http://mirrorlist.centos.org/?release=6&arch=x86_64&repo=os错误是14:PYCURL错误6 – “无法parsing主机'mirrorlist.centos.org'“错误:找不到有效的baseurl回购:基地
我一直试图让我的服务器运行一段时间。 我最近设置了一个centOS 6服务器,并且遇到了Apache服务器的问题。 我有一个域和运行,一切正常。 然后我尝试通过虚拟主机设置添加域。 所有的网站都运行了,但是他们只能镜像原来的域名/文件。 我想也许服务器需要重新启动,所以我做到了。 现在服务器不会重新加载,重新启动,通过标准的httpd服务命令启动或停止。 我很想弄清楚,请帮助。 我认为这是一个标准的Apache服务器设置,没有什么奇特的。 NameVirtualHost *:80 <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot "/home/george/public_html/drbeep.com/public/" ServerName www.drbeep.com ServerAlias drbeep.com ErrorLog /home/george/public_html/drbeep.com/logs/drbeep.com-error_log CustomLog /home/george/public_html/drbeep.com/logs/drbeep.com-access_log common </VirtualHost> <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /home/george/public_html/aboodtobe.com/public/ ServerName www.aboodtobe.com ServerAlias aboodtobe.com ErrorLog /home/george/public_html/aboodtobe.com/logs/aboodtobe.com-error_log CustomLog /home/george/Public_html/aboodtobe.com/log/aboodtobe.com-access_log common </VirtualHost> <VirtualHost *:80> ServerAdmin [email protected] DocumentRoot /home/george/public_html/tri-ingtimes.net/public/ ServerName tri-ingtimes.net ServerAlias tri-ingtimes.net ErrorLog […]
我昨天在这里发布了一个关于stackoverflow的问题,但认为这可能与服务器有关。 我使用PHPcurlfunction连接到一个服务器,然后生成一个PDF文件并将其发回,我只在第一次执行脚本时得到错误,再次执行时完全正常。 有关更多信息,请查看stackoverflow上的问题。 我收到这个消息 * About to connect() to 196.41.139.168 port 80 (#0) * Trying 196.xxx.. * connected * Connected to 196.xxx (196.xxx) port 80 (#0) > POST /serve/?r=pdf/generatePdf HTTP/1.1 Host: 196.xxx Accept: */* Content-Length: 7115 Content-Type: application/x-www-form-urlencoded Expect: 100-continue * Recv failure: Connection reset by peer * Closing connection #0 012 20:23:49 GMT < […]
我试图在CentOS 6上用mysql_pdo编译PHP,而且我只有一个时间试着去实现它。 目前我正在编译PHP 5.2,但是我将不得不为5.3做这个,因为我需要更改版本。 这是我使用的configuration命令: ./configure –with-apxs2 –with-mysql –with-mysqli –with-curl -enable-soap -enable-sockets –enable-mbstring –with-gd –with-mcrypt –with-pdo-mysql=/usr/bin/mysql 我从一个仓库安装了MySQL和mysql-devel,我得到的错误如下: configure: error: PDO_MYSQL configure failed. Please check config.log for more information 当我检查config.log,我看到的最后一行是: configuration:72788:在-lmysqlclient中检查mysql_query 我有一种感觉,我正在使用–with-pdo-mysql的错误值,但我试过不给它一个path或告诉它使用mysqlnd,我得到一个错误,说它无法findMySQL,如果我把它留给空白,当我把path放进去的时候也给了我同样的错误。 有人有主意吗? 编辑:我不知道这是否相关,但我发现我有位于/ usr / lib / mysql的libmysqlclient.so文件。
我有一个CentOS盒子,我安装了一个外部存储库,并添加了一些软件,大部分是与Java相关的。 现在我想回到初始仓库(只有CentOS Base),并删除所有安装的软件。 无论如何,我可以轻松做到这一点? 我已经知道如何删除存储库,但这不会删除已安装的软件。
我希望得到一些configurationPEAR正常工作的帮助。 我有一个PHP文件叫PEAR的邮件和邮件MIME文件,我相信我错过了一些步骤,因为我不断得到很常见 Warning: include_once(Mail.php): failed to open stream: No such file or directory Warning: include_once(Mail_Mime/mime.php): failed to open stream: No such file or directory 它被安装 – Installed packages, channel pear.php.net: ========================================= Package Version State Archive_Tar 1.3.7 stable Console_Getopt 1.2.3 stable Mail 1.2.0 stable Mail_Mime 1.8.3 stable PEAR 1.9.4 stable Structures_Graph 1.0.4 stable XML_RPC 1.5.4 stable […]
我在我的centos 6服务器中安装了vsftpd服务器。 我创build了三个用户。第一个用户可以使用他的系统密码访问ftp服务器。所有用户都在chroot_list中。 当第二个用户试图通过他的密码通过ftp访问时,一个错误信息如下: “操作不支持”我的服务器的selinuxconfiguration: [henry@admin ~]$ getsebool -a | grep ftp allow_ftpd_anon_write –> off allow_ftpd_full_access –> off allow_ftpd_use_cifs –> off allow_ftpd_use_nfs –> off ftp_home_dir –> on ftpd_connect_db –> off httpd_enable_ftp_server –> off sftpd_anon_write –> off sftpd_enable_homedirs –> off sftpd_full_access –> off sftpd_write_ssh_home –> off tftp_anon_write –> off 我如何解决这个问题?
有一个问题,我已经在Centos 5上安装了新的证书,并修改了以下几行的conf文件: SSLCertificateFile /etc/pki/tls.certs/name.crt SSLCertificateKeyFile /etc/pki/tls/private/name.key SSLCACertificateFile /etc/pki/tls/certs/group.ca-bundle 但每次我开始httpd服务我得到以下内容: > sudo service httpd start > Starting httpd: Apache/2.2.15 mod_ssl/2.2.15 (Pass Phrase Dialog) > Some of your private key files are encrpyted for security reasons. > In order to read them you have to provide the pass phrases. > Server servername.co.uk: 443 (RSA) > Enter pass […]
我有一个新的CentOs 6机器,并安装了SoulsVM和OpenVz。 当我创buildVPS时,它在线没有问题。 当我尝试SSH到VPS时,它给了我“拒绝访问”。 我重置密码10次,每次我得到相同的消息。 我试图使用主节点密码,它使我login到主节点,而不是虚拟机本身。 Linux xxx.xxx.xxx 2.6.32-042stab061.2 #1 SMP Fri Aug 24 09:07:21 MSK 2012 x86_64 x86_64 x86_64 GNU/Linux 这是我的GRUB文件: # grub.conf generated by anaconda # # Note that you do not have to rerun grub after making changes to this file # NOTICE: You have a /boot partition. This means that # […]