Articles of sles

Automount在SLES 11.2 x86_64上错误地parsingNIS映射

早上好, 我在SLES 11.2 x86_64中遇到了一个问题,automount守护程序错误地parsing了NIS映射文件。 在SLES 11.1 32位似乎工作正常,我看不出两个系统的configuration有什么不同。 怎么了: /etc/auto.master文件: +auto.nethome /nethome auto.nethome ypcat -k auto.nethome: roland -hard,intr,noacl,nocto,rw,noatime,nodiratime,rsize=8192,wsize=8192 palermo:/home/san1/roland … 但是当我启动autofs时,我在/ var / log / messages中看到以下错误: automount[5506]: syntax error in map near [ roland -hard,intr,noacl,nocto,rw,noatime,nodiratime,rsize=8192,wsize=8192 palermo: ] automount[5506]: syntax error in map near [ home ] automount[5506]: syntax error in map near [ san1 ] automount[5506]: […]

我怎样才能configuration一个Xen映像运行在EC2与不同的驱动器名称?

我正在创build许多基于我们的Xen映像上传和运行的亚马逊机器映像(AMI)。 但是,我遇到了一些平台的问题,在EC2上运行的驱动器名称分配的平台与我们在本地运行映像时命名的平台不同。 例如,在本地运行的SUSE下,我们看到以下内容: brw-rw —- 1个根盘202,1月30日07:49 xvda1 brw-rw —- 1根磁盘202,1月30日07:49 xvda2 brw-rw —- 1根磁盘202,3月30日07:49 xvda3 Amazon提供的映像在t1.micro上运行时报告以下内容: brw-rw —- 1根盘8,1月30日13:18 sda1 我如何准备我的Xen映像,以便当我们使用ec2-bundle-image打包它们时,会自动select正确的磁盘名称?

Linux看门狗和定时间隔

/dev/watchdog定时器如何正确工作? 我在这里find了一个描述,它说,一旦我从应用程序打开文件,我需要每10秒更新一次。 我想知道这是一个硬限制吗? 例如,如果我在11秒内更新它呢? 有人可以向我解释这个行为吗? 因为在线程调度中没有“硬性限制”,所以我确定文件在10秒内被更新。 除非我使用例如旋转循环而不是sleep否则会严格

无法在SUSE Enterprise 11上设置PPTP VPN

我是Linux新手,但是我会尽我所能expression我的问题。 现在我们使用Windows Server 2003作为DHCP服务器。 它也安装了PPTP VPN。 用户可以在办公室外进入VPN。 VPN服务器的公共IP地址(连接到Windows服务器的独立VPN服务器)为107.1.94.110 我们正在尝试迁移到SUSE Enterprise 11.以下是设置文件: pptpd.conf localip 10.89.64.1 remoteip 10.89.64.100-150 默认网关的本地IP地址是192.168.1.254 – 我不确定是否需要将其放入本地IP。 我select了10.子网来避免ip混淆。 options.pptp中 # #Lock the port # # # We don't need the tunnel server to authenticate itself # noauth; # # Turn off transmission protocols we know won't be used refuse-pap refuse-chap refuse-mschap require-mschap-v2 require-mppe-128 […]

无法从Windows访问Samba共享

我是SLES和Samba的新手,所以我需要一些帮助。 我成功地在SUSE 11上设置了Samba。 我能够创build一个没有用户限制,我设法从Windows访问的共享。 但是我想只允许特定的一组用户访问共享。 所以我使用“有效用户”,“读取列表”和“写入列表”。 但是,一旦我添加有效的用户到我的configuration文件,我不能再访问共享。 即使我input了正确的凭据,我也遇到访问被拒绝的错误。 我用本地用户帐户与AD域用户一起尝试。 这没有一个工作。 你能给我一个关于如何解决这个问题的build议吗? 这是我的smb.conf文件: # smb.conf is the main Samba configuration file. You find a full commented # version at /usr/share/doc/packages/samba/examples/smb.conf.SUSE if the # samba-doc package is installed. # Date: 2012-02-03 [global] workgroup = ******* passdb backend = tdbsam printing = cups printcap name = cups printcap […]

木偶3.3.1证书validation失败

我很难在主站和从站上使用puppet 3.3.1(puppet opensource)设置一个主/节点场景。 奴隶在Windows和SLES机器上。 师父也在SLES机器上。 问题:我第一次启动代理程序时,会创build一个新的证书并将其发送给主服务器。 在主人,我可以看到证书请求,并接受它。 当我再次启动代理程序时,出现以下消息: Running Puppet agent on demand … Warning: Unable to fetch my node definition, but the agent run will continue: Warning: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: c ertificate verify failed: [certificate signature failure for /CN=my-master.com] Info: Retrieving plugin Error: /File[C:/Dokumente und Einstellungen/All Users/Anwendungsdaten/PuppetLabs /puppet/var/lib]: Failed […]

libvirt hook qemu suse12

我们有这个qemu钩子。 在十一期间工作很好,但在十二期间它不工作。 挂钩是在openvswitch native-untagged中设置端口。 你知道是否有一些libvirt缺lessconfiguration在suse 12的钩子工作? 我们正在使用这个版本的libvirt:libvirtd(libvirt)1.2.5 谢谢BR和克里斯蒂娜 #!/bin/bash #/etc/libvirt/hooks/qemu domain_name="$1" domain_task="$2" # Create temporary file to hold the configuration. guest_cfg=`mktemp` function cleanup() { if [ -n "$guest_cfg" ]; then rm -f $guest_cfg fi } trap cleanup EXIT function ovs_untag_port() { # Read XML configuration on stdin. cat – > $guest_cfg ifaces=`xpath $guest_cfg "count(//devices/interface[@type='network']/target[@dev])" 2>/dev/null` […]

无法让VirtualHosts在SLES 12上的Apache 2.4中从default-server.confinheritance全局设置

我在SLES 12上使用了Apache 2.4.10。根据SLES 12pipe理指南,default-server.conf文件是“所有具有合理默认值的虚拟主机的全局configuration”,而不是更改这些值,而是使用虚拟主机组态。” 我想要做的是添加 RewriteEngine On RewriteOptions Inherit 指令到默认服务器,以确保所有vHosts从httpd.conf中inheritance重写条件和规则。 但是,除非上述指令放置在每个vHost定义中,否则它们不会inheritance。 如何将这些设置全局应用于所有vHost? 这是我的vHost文件: <VirtualHost *:443> ServerName www.example.com DocumentRoot /srv/www/vhosts/test ErrorLog /var/log/apache2/test-error_log CustomLog /var/log/apache2/test-access_log combined HostnameLookups Off UseCanonicalName Off ServerSignature off SSLEngine on SSLCertificateFile /etc/apache2/ssl.crt/server.crt SSLCertificateKeyFile /etc/apache2/ssl.key/server.key SSLCACertificateFile /etc/apache2/ssl.crt/ca.crt SSLHonorCipherOrder on SSLVerifyClient require SSLVerifyDepth 5 SSLOptions +FakeBasicAuth +ExportCertData +StrictRequire +StdEnvVars <IfModule mod_userdir.c> UserDir public_html Include /etc/apache2/mod_userdir.conf […]

ARP在SUSE Linux中发布

我正在处理一个非常奇怪的问题。 我有一个在VMware环境中运行SLES 11 SP4的虚拟机。 机器有两个网卡。 突然第二个NIC停止工作。 它甚至不能ping通网关。 networkingconfiguration似乎没有改变,而且与环境中的另一台服务器完全相似。 所以我现在有点失落,需要帮助解决这个问题 第二个NIC使用10.183.22.x系列进行configuration。 它应该ping网关10.183.22.1 我尝试从vmware中删除第二块网卡 – 重新连接了几次 – 重新configuration了IP地址 – 使用了另一个IP地址范围 – 多次closures了第二块网卡 – 停止了SUSE防火墙服务 – 重新启动了networking服务 但似乎没有任何工作。 OS可以检测networking适配器上的链接。 Ifconfig也显示RX / TX数据包。 所以我不认为这是一个VMware的问题。 这是更多的操作系统相关的问题。 这里是ethtool的输出 ethtool eth3 Settings for eth3: Supported ports: [ TP ] Supported link modes: 1000baseT/Full 10000baseT/Full Supports auto-negotiation: No Advertised link modes: Not reported […]

尝试在SLES12.1中调出networking时出错

我正在尝试使用SLES12 sp1调出eth0适配器 ifup eth0 但每次我得到一个错误说: wicked: Reading config file /etc/wicked/client.xml wicked: Reading config file /etc/wicked/common.xml wicked: __ni_config_parse_ifconfig_source: Adding ifconfig firmware: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig compat: wicked: __ni_config_parse_ifconfig_source: Adding ifconfig wicked:/etc/wicked/ifconfig wicked: Executing: /usr/sbin/wicked –debug most ifup eth0 wicked: /org/opensuse/Network/Interface.getManagedObjects failed. Server responds: wicked: org.freedesktop.DBus.Error.ServiceUnknown: The name org.opensuse.Network was not provided by any .service files wicked: […]