服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

使用udev自动挂载

目前我select的分发(ArchLinux)有一个像这样的自动挂载脚本: KERNEL!="sd[az][0-9]", GOTO="media_by_label_auto_mount_end" 但是,这将自动挂载到sdX9的分区。 我有6个或更多分区的USB驱动器(即从5开始,直到12,13,19)。 所有分区上都有VFAT,并且有标签(标签用于命名挂载点)。 我试图修改它以: KERNEL!="sd[az][0-9]+", GOTO="media_by_label_auto_mount_end" 但是这不起作用。 那么如何使它同样适用于sdb5,sdb42或sdb31337呢? 谢谢。 附录 我刚刚试过\d+? 方法,udevadm监视器说: KERNEL[1295719513.473653] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb (block) KERNEL[1295719513.473687] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb1 (block) KERNEL[1295719513.473706] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb5 (block) KERNEL[1295719513.473725] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb6 (block) KERNEL[1295719513.473743] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb7 (block) KERNEL[1295719513.473761] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb8 (block) KERNEL[1295719513.473791] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb9 (block) KERNEL[1295719513.473811] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb10 (block) KERNEL[1295719513.473830] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb11 (block) KERNEL[1295719513.473848] add /devices/pci0000:00/0000:00:1d.7/usb2/2-1/2-1:1.0/host29/target29:0:0/29:0:0:0/block/sdb/sdb12 (block) […]

Exchange Server 2007 SP3邮件发送问题

我安装了Exchange Server 2007 SP3,当我发送电子邮件时,出现错误。 这是我的错误信息。 由于错误,Microsoft Exchange无法从Active Directory目录服务读取configuration:由于exception而无法加载configuration:Microsoft.Exchange.Data.Directory.ADTransientException:Active Directory操作在server.techsoft.local上失败。 绑定操作中提供的“MAILSERVER \ Administrator”凭据无效。 错误代码:0x31。 —> Microsoft.Exchange.Data.Directory.ADInvalidCredentialException:Active Directory操作在server.techsoft.local上失败。 绑定操作中提供的“MAILSERVER \ Administrator”凭据无效。 错误代码:0x31。 —> System.DirectoryServices.Protocols.LdapException:提供的凭据是无效的。 在System.DirectoryServices.Protocols.LdapConnection.BindHelper(NetworkCredential newCredential,Boolean needSetCredential) 在Microsoft.Exchange.Data.Directory.PooledLdapConnection.BindWithRetry(Int32 maxRetries) —内部exception堆栈跟踪结束— 在Microsoft.Exchange.Data.Directory.PooledLdapConnection.BindWithRetry(Int32 maxRetries) 在Microsoft.Exchange.Data.Directory.LdapConnectionPool.CreateOneTimeConnection(NetworkCredential networkCredential,ADServerInfo serverInfo) 在Microsoft.Exchange.Data.Directory.TopologyProvider.PopulateConfigNamingContexts() 在Microsoft.Exchange.Data.Directory.TopologyProvider.GetConfigurationNamingContext() 在Microsoft.Exchange.Data.Directory.ADSession.GetConnection(stringpreferredServer,布尔isWriteOperation,布尔isNotifyOperation,ADObjectId&rootId) 在Microsoft.Exchange.Data.Directory.ADSession.GetReadConnection(String preferredServer,ADObjectId&rootId) 在Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId,String optionalBaseDN,ADObjectId readId,QueryScope范围,QueryFilterfilter,SortBy sortBy,Int32 maxResults,IEnumerable`1属性,CreateObjectDelegate objectCreator,CreateObjectsDelegate arrayCreator) 在Microsoft.Exchange.Data.Directory.ADSession.Find(ADObjectId rootId,QueryScope范围,QueryFilterfilter,SortBy sortBy,Int32 maxResults,IEnumerable`1属性,CreateObjectDelegate objectCtor,CreateObjectsDelegate arrayCtor) 在Microsoft.Exchange.Data.Directory.ADSession.Find [TResult](ADObjectId rootId,QueryScope范围,QueryFilterfilter,SortBy […]