在Ubuntu上,我遇到了一个用户sabnzbd的LDAP辅助组问题。 用户应该是媒体组的一部分。 daniel@server:~$ id sabnzbd uid=4996(sabnzbd) gid=4996(sabnzbd) groups=4996(sabnzbd) daniel@server:~$ id transmission uid=4998(transmission) gid=4998(transmission) groups=4998(transmission),4999(media) daniel@server:~$ ldapsearch -D cn=admin,dc=home -W -H ldaps://ldap.home -b dc=home '(&(objectclass=posixGroup)(|(memberUid=sabnzbd)))' Enter LDAP Password: # extended LDIF # # LDAPv3 # base <dc=home> with scope subtree # filter: (&(objectclass=posixGroup)(|(memberUid=sabnzbd))) # requesting: ALL # # media, Groups, home dn: cn=media,ou=Groups,dc=home objectClass: posixGroup objectClass: […]
我升级debian到wheezy,并得到错误与mysql-server所以我删除它。 现在我不能重新安装它。 我得到: $ sudo apt-get install mysql-server … Unpacking mysql-server (from …/mysql-server_5.5.30+dfsg-1.1_all.deb) … Processing triggers for man-db … gdbm fatal: malloc error Setting up mysql-server-5.5 (5.5.30+dfsg-1.1) … [FAIL] Starting MySQL database server: mysqld . . . . . . . . . . . . . . failed! invoke-rc.d: initscript mysql, action "start" failed. […]
我是新的Debian,我有6(6)网卡的机器。 这是一个便宜的路由器,但Linux使ethX设备仅用于4个网卡(eth0 … eth3): root@dc-02:~# dmesg | grep eth [ 1.474080] 8139too 0000:00:0c.0: eth0: RealTek RTL8139 at 0xd400, 00:50:ba:ca:90:87, IRQ 19 [ 1.475862] 8139too 0000:00:13.0: eth1: RealTek RTL8139 at 0x7800, 00:c0:df:12:05:1f, IRQ 18 [ 1.477545] eth2: 100/10M Ethernet PCI Adapter at 0001d000, 00:02:44:45:01:84, IRQ 16. [ 1.479051] eth3: 100/10M Ethernet PCI Adapter at 0001b800, 00:02:44:47:04:b0, […]
[编辑]我发现为什么它不工作,我只是不得不添加指令 server.pid-file = "/var/run/lighttpd.pid" 到lighttpd.conf文件。 我无法弄清楚为什么lighttpd init脚本不能停止服务器。 我正在运行Debian 7 Wheezy和Lighttpd 1.4.31。 我的系统也是最新的。 发行时: # /etc/init.d/lighttpd stop [ ok ] Stopping web server: lighttpd. 但是然后lighttpd仍在运行: # ps aux | grep lighttpd root 2024 0.0 0.2 70696 1184 ? S 15:16 0:00 /usr/sbin/lighttpd -f /etc/lighttpd/lighttpd.conf root 2428 0.0 0.1 7832 880 pts/0 S+ 15:27 0:00 grep lighttpd […]
我正在使用debian挤压,昨天我做了debian wheezy升级。 除了桑巴之外,其他的都没问题。 当我连接到samba并使用已知用户login时,我无权读取和写入。 在这之前没有问题。 / var / www中的目录权限(我正在试图查看文件): drwxr-xr-x 7 www-data www-data 4096 aug 5 20:15 www-test/ / var / www / www-test /中的文件权限 -rw-r–r– 1 www-data www-data 2112 aug 5 20:15 composer.json 我将目录中的权限更改为: drwxrwxr-x 现在我可以创build文件,但是,虽然我使用用户=万维网数据用户将是根。 所以这不是一个真正的select。 除此之外,我宁愿它的工作就像它通常performance得好像你没有做一个chmod / 我希望它像我以前那样行事。 我没有更改我的smb.conf所以任何人都可以看看,并帮助看看为什么我不能读写文件,为什么强制用户不工作? 这里是我的smb.conf: [global] server string = %h server obey pam restrictions = Yes pam […]
为什么fail2ban 0.8在Debain 7 Wheezy x64上无法正确启动? 嗨, 我试图configurationfail2ban与APF一起工作。 但是首先,如果fail2ban可以启动,那将是非常好的。 root@akdom:/var/log# /etc/init.d/fail2ban start [ **ok** ] Starting authentication failure monitor: fail2ban. root@akdom:/var/log# /etc/init.d/fail2ban status [**FAIL**] Status of authentication failure monitor:[….] fail2ban is not running … **failed**! root@akdom:/var/log# /etc/fail2ban/jail.local(在jail.conf中有相同的内容) [DEFAULT] ignoreip = 127.0.0.1/8 bantime = 600 maxretry = 3 findtime = 600 backend = auto # # ACTIONS […]
我正在运行Debian Linux 3.2.46-1 + deb7u1与OpenSSH Server 6.0的服务器,并使用2048位RSA密钥保护login。 尽pipe从另一台机器连接OpenSSH客户端成功,但在Windows 7计算机上使用Putty 0.63时,连接会被拒绝,并显示以下消息: Server refused public-key signature despite accepting key! 因为这个问题只适用于腻子,我认为所有的服务器configuration是正确的。 使用Debian 2.6.32和OpenSSH 5.5运行服务器时,Putty工作正常。 这里是auth.log的内容: matching key found: file /root/.ssh/authorized_keys, line 2 Oct 8 14:53:43 serverx sshd[28964]: Found matching RSA key: XX:XX Oct 8 14:53:43 serverx sshd[28964]: debug1: restore_uid: 0/0 Oct 8 14:53:43 serverx sshd[28964]: debug3: mm_answer_keyallowed: key […]
我有一个大的文件目录,我想保持一个压缩的tar压缩文件,我可以通过HTTP服务器,包含所有的文件,每天都会提交一次。 许多文件不会每天都在改变,而且我希望避免每个小时的处理器时间压缩相同的文件。 焦油“不能更新压缩的档案”,所以tar uj不会帮助。 有没有一个聪明的方法来做到这一点?
这可能是一个noob问题,但这里去^^: 我刚刚build立了一个debian wheezy服务器,并安装了laravel。 无论如何,对于laravel(通常是文件),文件权限应该是什么,所以他们可以读写和执行。 这个小组? 或者是不同的用户? 另外,一旦我找出适合我/var/文件夹的一组文件权限,我将如何使其成为默认? 那只是使用umask。 我曾经尝试过umask,我们只是说我最终不得不重build系统:p 希望有人能回答我的问题
我已经看到了围绕这个话题的所有其他问题,但没有一个答案已经奏效。 情况:VPS上1 IP,debian wheezy 7用apache2运行。 即使是简单的虚拟主机也不能正常工作,如在网站启用的“www.domain.net”中所述: <VirtualHost *:80> ServerName domain.net ServerAlias www.domain.net DocumentRoot /var/www/domain </VirtualHost> apache2ctl -S的输出: VirtualHost configuration: xx.xx.xxx.xxx:443 is a NameVirtualHost default server xx.domain1.net (/etc/apache2/conf.d/owncloud5-ssl.conf:1) port 443 namevhost xx.domain1.net (/etc/apache2/conf.d/owncloud5-ssl.conf:1) xx.xx.xxx.xxx:80 oc.domain1.net (/etc/apache2/sites-enabled/oc.domain.net:8) wildcard NameVirtualHosts and _default_ servers: *:80 is a NameVirtualHost default server domain1.net (/etc/apache2/sites-enabled/000-default:8) port 80 namevhost domain1.net (/etc/apache2/sites-enabled/000-default:8) port 80 […]