Articles of debian jessie

Apache 2.4在Debian上的问题 – 升级虚拟主机后的“Forbidden”

我已经尝试了很多可以通过Googlefind的build议,以便在从Debian升级到Jessie(从Apach 2.2升级到2.4)后使我的虚拟主机正常工作。 我有mod_rewrite和mod_access_compat,这就是为什么当我使用旧的语法似乎工作正常。 只要我Require all granted ,它停止工作,我得到403禁止。 我有很多的虚拟主机,这是相同的全线…大部分是Drupal的安装。 这是一个虚拟主机的例子: <VirtualHost *:80> ServerName www.skyjacobs.com Redirect 301 / http://skyjacobs.com/ </VirtualHost> <VirtualHost *:80> ServerAdmin [email protected] ServerName skyjacobs.com DocumentRoot /www/sky <Directory /www/sky> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny # These 2 lines work allow from all # Require all granted # If I use this line only, […]

Fail2Ban电子邮件不显示从Apache日志文件提取

我最近在服务器上首次安装了Debian Jessie。 “显而易见”的失败早在这个过程中就已经build立起来了。 这是禁止IP地址,并发送给我的电子邮件好,但基于Apache的不包含任何相关日志文件的摘录。 例如,基于SSH的。 Apache报告示例: 嗨, 之后,IP 193.201.227.112刚刚被Fail2Ban禁止 5次对apache-xmlrpc的尝试。 这里是更多的关于193.201.227.112的信息。 (关于它的信息被删除) 包含IP的行:193.201.227.112位于/home/*/logs/*access.log 问候, 的fail2ban SSH报告示例: 嗨, 之后,Fail2Ban刚刚禁止IP 184.173.26.138 3次反对ssh。 这里是详细的关于184.173.26.138的信息。 (关于它的信息被删除) 在/var/log/auth.log中包含IP:184.173.26.138的行 11月5日08:21:38例如sshd [20158]:无效的用户密码从184.173.26.138端口51131失败的密码ssh2 11月5日08:21:38例子sshd [20158]:错误:收到从184.173.26.138断开连接:3:com.jcraft.jsch.JSchException:身份validation失败[preauth] 问候, 的fail2ban /etc/fail2ban/jail.local解压: action =%(action_mwl)s #JAILS [SSH] enabled = true maxretry = 3 (..) [Apache的XMLRPC] enabled = true 端口= http,https action =%(action_mwl)s filter = apache-xmlrpc logpath = /home/*/logs/*access.log […]

configuration债券使用模式= 4(802.3ad)

我有一个Debian 8系统,有两个我想要绑定的NIC。 我的托pipe交换机已经configuration为链接我正在使用的两个端口的聚合。 在Linux上,我已经安装了ifenslave 。 在/ etc / network / interfaces中,我有: auto eth0 iface eth0 inet manual bond-master bond0 auto eth1 iface eth1 inet manual bond-master bond0 auto bond0 iface bond0 inet static address 10.0.0.100 netmask 255.255.0.0 gateway 10.0.0.1 slaves eth0 eth1 bond-mode 4 bond-miimon 100 bond_downdelay 200 bond_updelay 300 编辑:看起来像使用模式4时configuration是错误的。我很难find如何configuration802.3ad的例子。 编辑2:我尝试modprobe邦定模式= 4,现在cat / proc […]

Debian Dist升级到Jessie(8) – 仍然init.d?

我dist-updates我的debian框,现在我提到一些奇怪的行为: 如果我尝试使用systemctl启动服务,我得到这个错误: 无法获得D-Bus连接:未知错误-1 如果我尝试安装systemd和systemd-sysv系统告诉我它已经安装: root@me:# apt-get install systemd systemd-sysv Paketlisten werden gelesen… Fertig Abhängigkeitsbaum wird aufgebaut. Statusinformationen werden eingelesen…. Fertig systemd ist schon die neueste Version. systemd-sysv ist schon die neueste Version. 0 aktualisiert, 0 neu installiert, 0 zu entfernen und 0 nicht aktualisiert. stat /proc/1/exe显示我以下内容: Datei: „/proc/1/exe“ -> „/sbin/init (deleted)“ Größe: 0 Blöcke: 0 […]

IO错误在CIFS OSX的无匹配glob – > debian jessie mount

在Debain Jessie 8.2中,当samaba cifs mount没有匹配时,在bash使用通配符/ glob(至less是*和? )会导致input/output error 。 在其他文件系统上,预期No such file错误。 在archlinux盒子上的同样的samaba安装点并且没有io错误。 Archlinux机器的mount.cifs理解mapposix 。 我怀疑jessie上的mount.cifs不允许/理解mapposix与此有关。 是否有绕过io错误的* ? ## works as expected on cifs mount from centos server ls /data/Luna1/*adfadf* # ls: cannot access /data/Luna1/*adfadf*: No such file or director ### unexpected io failure on osx mounted on debian mkdir /Volumes/Phillips/testdir ## no files match […]

Debian上的Redis 3.0.5当数据库不在/ var / lib / redis中时,Jessie挂起关机。 有任何想法吗?

我正在尝试在Debian Jessie上configurationredis 3.0.5(DotDeb build)来将数据库转储到另一个目录,而不是默认的/ var / lib / redis。 我知道如何做到这一点,在我的喘息的服务器上,这个相同版本的redis在另一个目录中完美地工作。 在Jessie中,redis启动,但不能写任何东西到数据库。 另外,当我尝试closures它时,它会logging“无法转储数据库,磁盘是只读的”,关机需要1-2分钟,而不是通常的1秒钟。 该磁盘不是只读的,我已经设置了所有权限,如在默认目录中。 我甚至把/ var / lib / redis直接移到了/ redisdump的根目录下,并在redis.conf文件中设置了新的path,但仍然存在错误。 不pipe我做什么,只要db文件在/ var / lib / redis中,就可以正常工作。 如果我尝试其他path,则会失败。 以前的redis版本没有这个问题。 当我设置日志级别进行debugging时,logging的信息量没有任何变化,所以我不知道是什么原因造成的。 任何想法或提示? 谢谢!

在一个系统上的2个版本的libssl

我正在使用KVM运行VPS上运行Debian 8。 我想按照某些脚本的要求将libssl升级到更新的版本,所以我从testing中重新编译了libssl。 我希望新版本会replace旧版本,但是软件包名称不同, dpkg -i在现有的libssl1.0.0旁边安装了libssl1.0.2,而openssl和libssl-dev已经更新到1.0.2。 我之前安装的应用程序似乎与libssl1.0.0相关,如: $ ldd /usr/bin/mysql … libssl.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libssl.so.1.0.0 (0x00007fe34702a000) libcrypto.so.1.0.0 => /usr/lib/x86_64-linux-gnu/libcrypto.so.1.0.0 (0x00007fe346c2f000) 但另一方面: $ openssl version OpenSSL 1.0.2e 3 Dec 2015 虽然目前为止没有任何内容可以被破解,但我只是想知道在一个系统上安装两个版本的libssl是否正常。 难道这不会让这个系统头疼吗?例如mariadb使用libssl1.0.0和nginx libssl1.0.2?

monit:在IF构造中添加NOALERT

在debian jessie上,我已经configuration了HAproxy来检查HAproxy特定的端口转发,如果失败像这样重新启动它: check process haproxy with pidfile /run/haproxy.pid group www-data start program = "/bin/systemctl start haproxy.service" stop program = "/bin/systemctl stop haproxy.service" if failed port 8080 protocol http request "/checker" then restart if failed port 8081 protocol http request "/checker" then restart if failed port 8082 protocol http request "/checker" then restart if 8 restarts […]

更改sftp的密码chrootDirectory停止login

所以我有一个chrootdir设置在sshd_config文件夹和用户myuser,它一直工作正常好几个月,然后今天我想改变myuser的密码,所以我做了这个passwd,然后重新启动/etc/init.d/ssh restart ,但现在当我尝试通过更新的密码sftplogin失败。 sshd_config设置: Subsystem sftp internal-sftp Match User myuser ChrootDirectory /chrootDIR ForceCommand internal-sftp AllowTcpForwarding no PermitTunnel no X11Forwarding no /var/log/auth.log中的日志是: sshd[13368]: pam_unix(sshd:auth): authentication failure; logname= uid=0 euid=0 tty=ssh ruser= rhost=[client ip is here] user=myuser sshd[13368]: Failed password for myuser from [client ip is here] port 39154 ssh2 sshd[13368]: Connection closed by [client ip is […]

Dovecot ACL的共享邮箱和虚拟域

我正在努力与ACL的,共享邮箱和dovecot,我真的不能得到它的工作。 我已经通过了官方的dovecot文档,在互联网上search有用的howto的,无济于事。 我当然错过了一些东西。 这里跟着我的doveconf -n输出。 我已经在“namespace condivisa”中尝试了许多许多不同的“位置”值… 看来,ACL的正确设置为邮箱,但我看不到在Thunderbird或Roundcube文件夹层次结构下的共享邮箱。 预先感谢您提供的任何build议。 # 2.2.13: /etc/dovecot/dovecot.conf # OS: Linux 3.16.0-4-amd64 x86_64 Debian 8.3 ext4 auth_mechanisms = plain login auth_socket_path = /var/run/dovecot/auth-userdb default_client_limit = 4099 default_process_limit = 1024 imap_client_workarounds = tb-lsub-flags lda_mailbox_autocreate = yes lda_mailbox_autosubscribe = yes log_timestamp = "%Y-%m-%d %H:%M:%S " mail_access_groups = vmail mail_debug = yes mail_gid = […]