我正在使用CentOS 6.2。 我试图从init.d脚本启动Hadoop,但是失败了。 这是我在boot.log中看到的: Retrigger failed udev events [ OK ] Enabling Bluetooth devices: starting namenode, logging to /home/hadoop/hadoop/hadoop-0.20.2/bin/../logs/hadoop–namenode-localhost.localdomain.out localhost: ssh: connect to host localhost port 22: Connection refused localhost: ssh: connect to host localhost port 22: Connection refused starting jobtracker, logging to /home/hadoop/hadoop/hadoop-0.20.2/bin/../logs/hadoop–jobtracker-localhost.localdomain.out localhost: ssh: connect to host localhost port 22: Connection refused Starting […]
我有一个cPanel的CentOS 6.3服务器。 我想安装tomcat 6(不是cPanel支持的5.5)。 当我尝试: yum -y install tomcat6 tomcat6-webapps tomcat6-admin-webapps 我得到的错误:( 查看完整) Error: Package: jakarta-taglibs-standard-1.1.1-11.4.el6.noarch (base) Requires: apache-tomcat-apis You could try using –skip-broken to work around the problem ** Found 6 pre-existing rpmdb problem(s), 'yum check' output follows: bandmin-1.6.1-5.noarch has missing requires of perl(bandmin.conf) bandmin-1.6.1-5.noarch has missing requires of perl(bmversion.pl) bandmin-1.6.1-5.noarch has missing requires […]
我刚刚安装了Tomcat6,现在我正在尝试安装Solr 3.6.1。 我复制了.war文件和示例solr目录。 cd apache-solr-3.6.1/dist cp apache-solr-3.6.1.war /usr/share/tomcat6/webapps/solr.war cp -r /usr/local/src/apache-solr-3.6.1/example/solr /usr/local/solr cd /usr/share/tomcat6/webapps/solr/WEB-INF nano web.xml 未注释的<env-entry>…</env-entry> 将<env-entry-value>…</env-entry-value>replace为<env-entry-value>/usr/local/solr</env-entry-value> 当我去http://domain.com:8080/solr我得到错误: HTTP Status 500 – Severe errors in solr configuration. Check your log files for more detailed information on what may be wrong. If you want solr to continue after configuration errors, change: <abortOnConfigurationError>false</abortOnConfigurationError> in solr.xml ————————————————————- […]
我有一个网站( http://www.direshouseofsport.com ),直到今天正常工作。 突然,网站不会让我login,我的浏览器会引发以下错误: The connection was reset. The connection to the server was reset while the page was loading. 在错误日志中,我看到: [Thu Aug 16 00:10:05 2012] [warn] RSA server certificate CommonName (CN) 'localhost' does NOT match server name三次。 该网站似乎也失去了所有的风格。 我在一个共享主机上,在我的公共文件中,我无法访问index.php (浏览器抛出与上面相同的错误),我的控制面板是DirectAdmin。 我没有碰我的网站上的任何东西,所以我认为这可能是一个服务器错误。 你们有什么想法发生了什么?
我从OSSEC主动响应脚本firewall-drop.sh发送电子邮件通知,但是当通过它发送电子邮件时,FROM地址就像这样 -mydomain.com它应该是[email protected]或[email protected] 由于脚本是从根目录运行的。 我已经尝试了不同的电子邮件客户端,如邮件,mutt,mailx,sendEmail和其他基于Python和Perl的脚本,他们都在@ mydomain.com之前添加“ – ”。 可能是什么原因?
在Debian上每天挤一次,一个特定用户的主目录权限被重新设置为chmod 700和chown root:root。 每天我都必须手动设置权限才能正确login。 任何人都知道这是从哪里来的?
我希望我的服务器将所有域请求转发到单个页面,而不必在httpd.conf中创build任何条目或创build区域文件。 转发到的页面将处理请求并提供结果。 例如:我注册example.com让我们说godaddy(不寒而栗)添加一个指向我的服务器的logging 当一个用户访问example.com时,一条logging将把他们引导到服务器,我现在希望服务器将它们显示给某个页面,而不必在服务器上有任何example.com的logging。 我怎么会这样做? 了Umut
我有问题,我不知道该怎么做得到这个工作, 我有我自己的VPS服务器,我在PHP处理程序的控制,但是我的问题是如果我打开 **PHP DSO handler** some websites starts working but some stop working 或者如果我select **PHP 5 Handler suphp** some websites starts working but some stop working 我不知道该怎么办 1. convert them to working in SuPHP (as i heard this is the safest) ? 2. run both in domain wise (may be adding it to the .htacess) […]
我总是给这些dirs的web服务器用户完整的权限: cache/ logs/ web/uploads/ 但现在我想知道如果上传部分是0K。 我在想,如果我为每次上传使用一个.tmp文件,然后把它们放到一个队列中被移动到上传/中去,并且对于删除操作也是一样的,那么这个队列会被读取和validation不同的用户)。 这样,即使攻击者注入恶意代码,上传/文件夹也是安全的。
我使用libnss-pgsql2来让虚拟系统用户存储在PostgreSQL数据库中。 数据库中的虚拟用户工作得很好。 他们可以login,我可以通过'id'命令看到他们的uid,gid,groups。 例: # id backup001 uid=10001(backup001) gid=10001(backup001) groups=10001(backup001) 但是,在我使用libnss的系统上,我经常会遇到这个错误: Could not connect to database 例如,它经常与cron-jobs一起发生。 我有一个每小时运行一个cron-job,将postgresql数据库转储到备份。 矛盾是这样的: 04 * * * * postgres umask 077 && /usr/bin/pg_dumpall | gzip > ~postgres/backup/postgresql-complete-dump-$(date +\%H).sql.gz 这个工作总是产生错误。 因此,每隔一小时就给我发一封电子邮件。 我的设置非常简单:我用来存储用户的表格布局可以在这里find: http : //p.adora.dk/P2486.html 我在服务器上使用Debian Squeeze。 相关的configuration文件是:nsswitch.conf: http : //p.adora.dk/P2489.html (描述:在/ etc / passwd和/ etc / shadow中使用“普通”系统用户,但是,如果没有find用户,则通过pgsql进行查找) nss-pgsql.conf: http […]