Articles of Debian

Dovecot + AD不工作

我将Windows Server 2008 R2作为AD服务器,并将Debian Squeeze与Dovecot 1.2.15作为IMAP服务器。 当我尝试用telnetlogin时,Dovecot正在冻结,什么都不做。 # telnet localhost 143 Trying 127.0.0.1… Connected to localhost. Escape character is '^]'. * OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE AUTH=LOGIN AUTH=PLAIN] Dovecot ready. a LOGIN user pass * OK Waiting for authentication process to respond.. * BYE Disconnected for inactivity. 但是,如果我使用错误的用户/传球 – Dovecot对我说: # telnet […]

mini-dinstall chmod 0600更改文件:操作不允许

每当使用dput将新的debian软件包上传到自定义debian存储库时,我在mini-dinstall.log中得到了“不允许操作”的操作。 deb文件安装成功,但更改文件保留在传入文件夹中。 无法处理更改文件时,我无法使用安装后脚本。 我该如何解决这个问题? Traceback (most recent call last): File "/usr/bin/mini-dinstall", line 780, in install retval = self._install_run_scripts(changefilename, changefile) File "/usr/bin/mini-dinstall", line 826, in _install_run_scripts do_chmod(changefilename, 0600) File "/usr/bin/mini-dinstall", line 193, in do_chmod do_and_log('Changing mode of "%s" to %o' % (name, mode), os.chmod, name, mode) File "/usr/bin/mini-dinstall", line 176, in do_and_log function(*args) OSError: [Errno 1] […]

Courier IMAP在Debian中进行身份validation之后进行扫描

我刚刚更新了我的Debian和Courier imap不再login。 Pop3服务工作正常。 在日志中,我可以看到authdaemon进行身份validation,但是imapd卡住了,不能返回OK。 日志: Jun 19 14:06:39 sylar authdaemond: received auth request, service=imap, authtype=login Jun 19 14:06:39 sylar authdaemond: authldap: trying this module Jun 19 14:06:39 sylar authdaemond: using search filter: (&(objectClass=CourierMailAccount)(uid=vsilva)) Jun 19 14:06:39 sylar slapd[6421]: conn=1111 op=18 SRCH base="ou=users,dc=xxx,dc=com,dc=br" scope=2 deref=0 filter="(&(objectClass=CourierMailAccount)(uid=vsilva))" Jun 19 14:06:39 sylar slapd[6421]: conn=1111 op=18 SRCH attr=homePostalAddress mailbox […]

Lighttpd mod_accesslog不loggingfastcgi请求

我最近安装了一个lighttpd,通过mod_fastcgi为python脚本提供服务。 一切工作正常,但我没有得到mod_fastcgi处理access.log文件中logging的请求(端口80上的请求被logging,虽然)。 我的lighttpd版本在Debian 6.0上是1.4.28。 我用相同的工作configurationUbuntu的服务器10.04与lighttpd 1.4.26,它的工作。 这是我的configuration lighttpd.conf server.modules = ( "mod_access", "mod_alias", "mod_accesslog", "mod_compress", ) server.document-root = "/var/www/" server.upload-dirs = ( "/var/cache/lighttpd/uploads" ) server.errorlog = "/home/log/lighttpd/error.log" index-file.names = ( "index.php", "index.html", "index.htm", "default.htm", "index.lighttpd.html" ) accesslog.filename = "/home/log/lighttpd/access.log" url.access-deny = ( "~", ".inc" ) static-file.exclude-extensions = ( ".php", ".pl", ".fcgi" ) server.pid-file = "/var/run/lighttpd.pid" […]

我的IPSec VPN不允许我连接

我正在按照本指南在debian服务器上创build一个IPsec VPN。 我遵循了所有的步骤,但仍然无法正常工作。 如果我尝试连接到它,我得到一个错误。 我查找了日志,但是我不确定他们将放在哪里,而不是/ var / logs。 我的目标是能够从家庭连接浏览互联网,并像访问我的本地networking一样访问我的家庭networking(例如,访问我的家庭文件服务器和打印机,并在没有复杂的端口转发设置的情况下远程共享我的家用计算机。

软件RAID 1问题

我有一个带有3个分区的SW RAID 1,其中一个在硬盘故障/更换后似乎不能重新同步。 这里有一些信息: more /proc/mdstat Personalities : [raid0] [raid1] [raid6] [raid5] [raid4] [raid10] md2 : active raid1 sdb3[1] sda3[2] 2862630207 blocks super 1.2 [2/2] [UU] md1 : active raid1 sdb2[1] sda2[2] 524276 blocks super 1.2 [2/2] [UU] md0 : active raid1 sda1[2](F) sdb1[1] 67107768 blocks super 1.2 [2/1] [_U] unused devices: <none> 我试图设置错误/ dev […]

执行gpgv的未知错误

我有一个单一的deb条目: # cat /etc/apt/sources.list deb ftp://debian.uchicago.edu/debian testing main contrib non-free 我更新时出现此故障: #aptitude update … W: GPG error: ftp://debian.uchicago.edu testing InRelease: Unknown error executing gpgv W: GPG error: ftp://debian.uchicago.edu testing InRelease: Unknown error executing gpgv 网上没有find任何解决scheme。 可能有人在这里,谁可以帮忙? 感谢名单。

无法在Debian Lenny上configurationPAM + LDAP – 在服务器日志上获取错误= 49

我一直在使用Ubuntu 10.04来迁移一些服务器和桌面,使用户从旧的OpenLDAP实现到更新的Centos Active Directory。 到目前为止,我还没有遇到任何问题,直到我到达Debian Lenny服务器。 我已经设置了服务器,设置/etc/ldap.conf和/etc/ldap/ldap.conf。 但是,当我发出“getent passwd”时,我从LDAP服务器上得不到任何东西。 阅读pam_ldap联机帮助页,我意识到/etc/ldap.conf不是pam_ldap -it与Ubuntu一起工作的可接受文件,因此我将其重命名为/etc/pam_ldap.conf。 同样的结果。 但是,一旦我改变了这个文件的名称,当我使用SSHlogin时,我在LDAP服务器日志中得到这个: [20/Jul/2012:11:19:40 +0200] conn=16501 fd=155 slot=155 connection from xxx50 to 10.1.176.237 [20/Jul/2012:11:19:40 +0200] conn=16501 op=0 BIND dn="uid=ubuntu,ou=Applications,ou=CITIUS,dc=inv,dc=usc,dc=es" method=128 version=3 [20/Jul/2012:11:19:40 +0200] conn=16501 op=0 RESULT err=0 tag=97 nentries=0 etime=0 dn="uid=ubuntu,ou=applications,ou=citius,dc=inv,dc=usc,dc=es" [20/Jul/2012:11:19:40 +0200] conn=16501 op=1 SRCH base="ou=People,ou=CITIUS,dc=inv,dc=usc,dc=es" scope=2 filter="(uid=jorge.suarez)" attrs=ALL [20/Jul/2012:11:19:40 +0200] conn=16501 op=1 RESULT […]

用debootstrap和lxc安装Debian,而不是debootstrap和chroot

所以我需要为Debian系统“安装”(或者准备一个根文件系统),而之前的debootstrap和chroot已经完成了。 然而,由于chroots的隔离(关于networking连接,重启等)并不是非常的孤立,所以这有点烦人。 所以我想使用LXC而不是chroot。 那可能吗? 有没有什么好的指示如何做到这一点? 请记住,生成的根文件系统最终应该在实际的硬件上运行,而不是在LXC环境中运行。

在Debian上禁用Xserver自动启动

如何禁用Xserver自动启动? 我试过了 update-rc.d -f gdm remove 但重新启动后,它又开始了…