我从本教程中使用Postfix和Dovecot创build了一个自定义邮件服务器: https ://www.tictech.info/post/mail_preparation,但是我遇到了问题。 我可以从我的自定义服务器发送邮件到Outlook地址(例如),但从Outlook到我的自定义服务器我有一个邮件“未发送的邮件返回到发件人”与此内容: This is the mail system at host vps307550.ovh.net. I'm sorry to have to inform you that your message could not be delivered to one or more recipients. It's attached below. For further assistance, please send mail to postmaster. If you do so, please include this problem report. You can delete your […]
由于我们的公司IT组更改了公司邮件服务器的网关IP地址和主机名,因此电子邮件不再适用于我的Linux机器(Debian 6)。 我已经改变了个人电脑的网关地址,但它仍然试图parsing旧的服务器的名称,这当然失败了。 以下是手动发送testing电子邮件时的输出摘要: ——–> smarthost router <——– local_part=john.doe domain=bigcompany.com checking domains bigcompany.com in "@:localhost:coiengrg.foo.com"? no (end of list) bigcompany.com in "! +local_domains"? yes (end of list) R: smarthost for [email protected] calling smarthost router smarthost router called for [email protected] domain = bigcompany.com route_item = * lisl-xbck-c1-v1.bigcompanyglobal.com byname bigcompany.com in "*"? yes (matched "*") original list […]
我的防火墙日志被写入到我的自定义iptables.log文件中,但也被写入到kern.log , messages和syslog 。 我不希望这些消息在所有这些日志中重复。 我的configuration有什么问题? $ cat /etc/rsyslog.d/iptables.conf # This works, and the messages do get to iptables.log. :msg, regex, "^\[ *[0-9]*\.[0-9]*\] IPT" -/var/log/iptables.log & ~ 在/etc/rsyslog.conf ,在标准日志文件的行之前调用$IncludeConfig /etc/rsyslog.d/*.conf : $ cat /etc/rsyslog.conf $ModLoad imuxsock # provides support for local system logging $ModLoad imklog # provides kernel logging support $ActionFileDefaultTemplate RSYSLOG_TraditionalFileFormat $FileOwner root $FileGroup […]
我有一个2处理器,4核心和16GB RAM的专用服务器我托pipe一些PHP应用程序,使用高PHP和MySQL使用时,我检查顶部命令我发现PHP和MySQL消耗大约80%的CPU,但同时检查MPSTAT命令检查每个核心的使用情况,我发现他们都是95%空闲的任何解释呢? 请注意,运行这些应用程序时服务器变慢。 我应该得到更多的核心另一台服务器? top command out put: 7589 root 20 0 287648 31480 18540 R 78.7 0.2 1:49.11 php 1006 mysql 20 0 2400692 214440 6704 S 19.3 1.3 434:34.99 mysqld 18 root 20 0 0 0 0 S 2.0 0.0 1435:51 ksoftirqd/2 3 root 20 0 0 0 0 S 1.3 0.0 1424:58 […]
我正在试图在我的Debian机器上创build虚拟以太networking。 我有4个静态IP分配给机器,并希望他们在eth2,eth3等,而不是eth1:0,eth1:1等虚拟目前。 那可能吗? 我的软件需要相信有多个物理networking连接到机器上。 我用Googlesearch看VDE2,但这似乎并没有解决问题,或者我误解了?
我有一个带有LVM的古老的xen 4.0主机系统,只有一个卷组。在VG内部有几个逻辑卷。 我谈论的逻辑卷(从属)是另一个逻辑卷(原点主)的快照。 我确实扩展了几百GB的“Slave”(逻辑卷)逻辑卷,但是guest虚拟机debian linux无法看到这个增加。fdisk仍然显示与之前增加相同的guest虚拟机分区shema。 客人(奴隶和因此主)在逻辑卷上有3个分区..当我可以确认逻辑卷更大时,我将如何增加客人虚拟硬盘驱动器(通常有1逻辑卷= 1分区,你只是调整FS ..)但是,如果我只是增加快照,我如何调整客机硬盘的分区表? 我可以扩展或调整大师或奴隶,但是我想要的,但我不能创build一个新的主人或使奴隶不再是一个快照(由于大小的限制)
我提到我的linux服务器突然崩溃,没有任何警告。 在系统日志中显示以下内容: Sep 1 15:13:47 example kernel: [4514929.741761] Firewall: *UDP_IN Blocked* IN=vmbr0 OUT= MAC=ff:ff:ff:ff:ff:ff:0c:c4:7a:77:38:28:08:00 SRC=123.123.123.123 DST=255.255.255.255 LEN=173 TOS=0x00 PREC=0x00 TTL=64 ID=47121 DF PROTO=UDP SPT=17500 DPT=17500 LEN=153 ^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^@^$ Sep 1 15:17:50 example systemd-modules-load[817]: Module 'fuse' is builtin Sep 1 15:17:50 example systemd-modules-load[817]: Inserted module 'vhost_net' Sep 1 15:17:50 example hdparm[856]: Setting parameters of disc: (none). Sep […]
我们有几个裸机服务器(使用debian操作系统),我们运行多台(100多台)KVM机器 – 主要是debian和centos。 那些机器在LVM或分布式文件系统上(moosefs&glusterfs) 是否可以创build一些环境来自动创build我们可以指定的机器: 主机名 磁盘大小 其他(CPU,networking,RAM)是可选的 现在我们每次都是手工制作新机器,因为每次都要重新安装,所以很枯燥。 我们想制作类似于亚马逊机器图片的东西 我安装了proxmox一秒钟,但我还没有看到类似于AMI的function。 但是也许我错了…
我更新了Debian 6到7.更新HTTP page load time图(Munin)从0.1增加到0.7秒。 可能是什么问题呢? 什么可以打破,需要检查? 谢谢! Munin – 页面graphics的HTTP加载时间
我想在debian 8上运行两个sshd守护进程(使用openssh),一个用于pipe理,一个用于sftp。 这在debian 7中是相当容易的,但是使用systemd会更困难。 到目前为止,我已经创build了sshd_config_second和ssh_config_second 。 我将如何为sshd_second.service创build一个服务文件并启动守护程序? 我看了一下sshd.service,但是没有引用sshd_config文件。 在哪里给守护进程这些configuration文件? 更新: 我从RHEL7开始就是这样成功的: https://access.redhat.com/solutions/1166283