我的服务器有2个硬盘。 我使用apt-get install smartmontools smartmontools在Debian上apt-get install smartmontools ,并在/ etc / default / smartmontools(start_smartd = yes)中启用了它,并启动了守护进程( /etc/init.d/smartmontools start )。 我的/etc/smartd.conf包含这个: DEVICESCAN -d removable -n standby -m [email protected] -M exec /usr/share/smartmontools/smartd-runner smartmontools现在是否configuration为运行常规健康检查? 如果是这样,我怎么看它什么时候呢? 我没有看到smartctl -l selftest健康检查定期运行的smartctl -l selftest的任何迹象; 该命令只显示了我最近手动运行的两个testing。 我也没有看到/ var / log / messages中的任何信息,指出正在运行的定期运行状况检查。
我的系统(Linux Debian)得到了更新 apt-get update apt-get upgrade 一切都升级了,也是我的MySQL服务器。 在mysql-server的升级中,我收到了一条错误信息(遗憾的是,当时我在那里询问了mysqlpipe理员的密码)。 只有“重试”或“取消”。 重试后没有工作,我select取消… 现在服务器不能再启动了 Mysql错误日志: 110502 07:49:48 mysqld_safe从/ var / lib / mysql数据库启动mysqld守护进程110502 7:49:48 [Note]插件'FEDERATED'被禁用。 / usr / sbin / mysqld:表'mysql.plugin'不存在110502 7:49:48 [错误]无法打开mysql.plugin表。 请运行mysql_upgrade来创build它。 InnoDB:找不到有效的检查点。 InnoDB:如果在创buildInnoDB数据库时出现这个错误,InnoDB:这个问题可能是在你以前尝试pipe理InnoDB的时候:创buildInnoDB数据文件,但是创build日志文件失败。 InnoDB:如果是这样,请参考InnoDB: http ://dev.mysql.com/doc/refman/5.1/en/error-creating-innodb.html 110502 7:49:48 [错误] Plugin'InnoDB '初始化函数返回错误。 110502 7:49:48 [错误]插件'InnoDB'注册为存储引擎失败。 110502 7:49:48 [错误] / usr / sbin / mysqld:未知选项'–skip-bdb'110502 7:49:48 [错误]正在中止 […]
我正在尝试安装一些我已经下载的脚本所需的perl-suid,并获得以下内容 $ sudo apt-get install perl-suid The following packages have unmet dependencies: perl-suid: Depends: perl (= 5.10.0-19lenny3) but 5.10.1-17 is to be installed E: Broken packages $ cat /etc/apt/sources.list deb http://http.us.debian.org/debian/ lenny main contrib non-free deb-src http://http.us.debian.org/debian/ lenny main contrib non-free 有没有办法来解决这个软件包,从源码或其他?
我的主机提供了一个smtp服务器来发送邮件。 我想设置sendmail来中继所有的邮件到主机smtp服务器。 你是怎样做的?
嘿所有,有一个运行Debian的框。 我已经将根用户时间设置为正确的BST时间。 但是,当我login服务器显示的时间和date是错误的: 例如http://www.5bars.co.uk/time.png (抱歉,没有像我这样的新人的图像embedded) 这使得预测何时crons运行相当具有挑战性! 运行在盒子上的更多的PHP脚本报告正确的时间,但错误的时区! 如何正确地同步所有内容?
使用dkimfilter在Debian 6上使用和configuration最简单的MTA是什么? 我只想从它发送邮件,而不是收到。 Google应用处理我的入站电子邮件。
我想在Debian机器上编译xbt,但找不到boost/make_shared.hpp 。 In file included from ./stdafx.h:32, from ../misc/bvalue.cpp:1: ../misc/xbt/virtual_binary.h:5:33: error: boost/make_shared.hpp: No such file or directory ../misc/bvalue.cpp: In member function 'Cvirtual_binary Cbvalue::read() const': ../misc/bvalue.cpp:308: error: 'BOOST_VERIFY' was not declared in this scope apt-cache show libboost-dev如下说明,如果有帮助: Package: libboost-dev Priority: optional Section: libdevel Installed-Size: 28156 Maintainer: Debian Boost Team <[email protected]> Architecture: amd64 Source: boost Version: 1.34.1-14 […]
我使用特定的服务器通过SSH连接到所有服务器。 当我连接到SSH网关服务器时,它完美地在PuTTY标题栏中显示chronoz @ sshgw,当我连接到CentOS服务器时,此服务器显示为root @ server01。 使用不同的标题栏在PuTTY窗口之间切换是非常容易的。 不幸的是,当我login到Debian服务器时,标题栏不会改变。 它仍然说chronoz @ sshgw,而我实际login到root @ debianserver01。 我怎样才能改变这个? 这将大大提高我的生产力。
我需要启用远程访问的MySQL服务器上的特定用户,运行debian oldstable。 请记住,我不是SQL专家,也不是一个真正的系统pipe理员。 loginphpmyadmin并查看特权页面,我注意到两件奇怪的事情: 一个“任何”用户,具有主机% ,无密码和全局USAGE权限。 不知道这是什么意思或暗示。 如果我“编辑”该用户,我发现它在称为test和test\_%的表上有很多权限,无论如何 – 请注意我的数据库中没有这样的表,至less它们没有出现在phpmyadmin列表中。 根都有一个“本地主机”主机的行,并为“127.0.0.1”主机。 第2点是好的,只是奇怪的,似乎有点多余,对我来说毫无意义。 第一点是我担心什么,我该怎么办呢?
以及我试图添加一个额外的域到我的服务器。 在etc / apache2 / sites-available /我有这样的文件 # This tell apache to enable this vhost for all ports ServerName example.com ServerAlias www.example.com DocumentRoot /var/www/example-com # Optional, allow override in .htaccess files <Directory /var/www/example-com> Options FollowSymLinks AllowOverride All </Directory> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/example-com/ <Directory "/usr/lib/cgi-bin/example-com/"> AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all </Directory> […]