AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-117870

Jake A's questions

Martin Hope
Jake A
Asked: 2014-07-08 16:28:18 +0800 CST

Citrix Xen Server 5.6:虚拟机 (VM) 已删除或丢失?

  • 0

在我的环境中,我的实验室中有一台 Citrix Xen 服务器(5.6 版),在本地分区挂载上安装了多个 VM。上周我到达我的实验室,发现我的虚拟机不见了。本地挂载显示没有数据,就好像有人登录并删除了我的虚拟机一样。服务器处于联机状态且未关闭电源。

我的问题是:使用主机 (/var/logs) 下的本地日志,有什么方法可以告诉您虚拟机已被删除,或者告诉其他一些问题导致服务器丢失?例如,我可以分析 xensource.log 以验证 VM 是否已从主机中删除/删除?或者,是否有另一个日志可以验证我的虚拟机丢失的原因?

乍一看,我以为丢失的服务器陷入了“困境”,例如,发生了重新启动,现在它们被挂起,需要通过控制台关闭。所以,我运行了以下命令:

xe vm-list resident-o​n=<UUID of the XenServer host> --multiple

但是,此命令的结果为空白。我检查了托管数据的分区,它是空的。我没有任何硬件故障(没有故障磁盘或 RAID 问题)。

关于验证我丢失的虚拟机发生了什么的任何想法?非常感谢任何帮助,并在此先感谢

virtualization
  • 1 个回答
  • 1069 Views
Martin Hope
Jake A
Asked: 2013-10-08 07:44:05 +0800 CST

必须重新启动 xinetd 服务才能通过 telnet 连接

  • 1

在我的环境中,我有一个运行 CentOS 5 的 linux 服务器。我在该服务器上设置了一个 telnet 服务,以便通过 telnet 进行连接。但是,一段时间后我尝试连接并收到此错误:This session is no longer connected.

一旦我重新启动 xinetd 服务,此消息就会消失,我可以再次 telnet 登录。关于如何调试此问题或我可以查看哪些日志以查看可能导致此错误的任何想法?提前感谢您提供的任何建议或帮助。

linux
  • 1 个回答
  • 2291 Views
Martin Hope
Jake A
Asked: 2013-09-26 09:11:39 +0800 CST

无法浏览到 SAMBA 共享

  • 0

在我的环境中,我安装了带有 CUPS 和 SAMBA 的 CentOS 5。我无法从任何机器浏览任何 SAMBA 共享。

在 Windows 8 和 Windows Server 2008 中,我尝试了以下命令

净视图 \\veculx1

网络视图 \\172.19.50.30

但是,我在两个命令上都收到相同的错误:

发生系统错误 53。

找不到网络路径。

从另一台 CentOS 服务器我尝试运行 SMBCLEINT -L \\172.19.50.30

连接到 172.19.50.30 时出错(没有到主机的路由)连接到 172.19.50.30 失败(错误 NT_STATUS_HOST_UNREACHABLE)

ping 服务器解析并回复。我也可以毫无问题地通过 telnet 和 SSH 进入服务器。

运行 testparm smb.conf 显示我的设置没有错误。

以下是 smb.conf 的内容

# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# For a step to step guide on installing, configuring and using samba,
# read the Samba-HOWTO-Collection. This may be obtained from:
#  http://www.samba.org/samba/docs/Samba-HOWTO-Collection.pdf
#
# Many working examples of smb.conf files can be found in the
# Samba-Guide which is generated daily and can be downloaded from:
#  http://www.samba.org/samba/docs/Samba-Guide.pdf
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#---------------
# SELINUX NOTES:
#
# If you want to use the useradd/groupadd family of binaries please run:
# setsebool -P samba_domain_controller on
#
# If you want to share home directories via samba please run:
# setsebool -P samba_enable_home_dirs on
#
# If you create a new directory you want to share you should mark it as
# "samba-share_t" so that selinux will let you write into it.
# Make sure not to do that on system directories as they may already have
# been marked with othe SELinux labels.
#
# Use ls -ldZ /path to see which context a directory has
#
# Set labels only on directories you created!
# To set a label use the following: chcon -t samba_share_t /path
#
# If you need to share a system created directory you can use one of the
# following (read-only/read-write):
# setsebool -P samba_export_all_ro on
# or
# setsebool -P samba_export_all_rw on
#
# If you want to run scripts (preexec/root prexec/print command/...) please
# put them into the /var/lib/samba/scripts directory so that smbd will be
# allowed to run them.
# Make sure you COPY them and not MOVE them so that the right SELinux context
# is applied, to check all is ok use restorecon -R -v /var/lib/samba/scripts
#
#--------------
#
#======================= Global Settings =====================================

[global]
#--authconfig--start-line--

# Generated by authconfig on 2013/04/17 15:00:09
# DO NOT EDIT THIS SECTION (delimited by --start-line--/--end-line--)
# Any modification may be deleted or altered by authconfig in future

   workgroup = ******
   security = share
   idmap uid = 16777216-33554431
   idmap gid = 16777216-33554431
   template shell = /bin/false
   winbind use default domain = false
   winbind offline logon = false
   printing = bsd
#--authconfig--end-line--

# ----------------------- Network Related Options -------------------------
#
# workgroup = NT-Domain-Name or Workgroup-Name, eg: MIDEARTH
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
#
# Interfaces lets you configure Samba to use multiple interfaces
# If you have multiple network interfaces then you can list the ones
# you want to listen on (never omit localhost)
#
# Hosts Allow/Hosts Deny lets you restrict who can connect, and you can
# specifiy it as a per share option as well
#
;   workgroup = ****** 
    server string = Samba Server Version %v

;   netbios name = vdomlx1
;   interfaces = 172.19.210.30/24
;   hosts allow = 127. 192.168.12. 192.168.13.

# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach

    # logs split per machine
    log file = /var/log/samba/%m.log
    # max 50KB per log file, then rotate
;   max log size = 50
    log level = 3
# ----------------------- Standalone Server Options ------------------------
#
# Security can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.

;   security = share
    passdb backend = tdbsam


# ----------------------- Domain Members Options ------------------------
#
# Security must be set to domain or ads
#
# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
#
# Use password server option only with security = server or if you can't
# use the DNS to locate Domain Controllers
# The argument list may include:
#   password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name]
# or to auto-locate the domain controller/s
#   password server = *


;   security = domain
;   passdb backend = tdbsam
;   realm = MY_REALM

;   password server = <NT-Server-Name>

# ----------------------- Domain Controller Options ------------------------
#
# Security must be set to user for domain controllers
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
#
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
#
# Domain Logons let Samba be a domain logon server for Windows workstations.
#
# Logon Scrpit let yuou specify a script to be run at login time on the client
# You need to provide it in a share called NETLOGON
#
# Logon Path let you specify where user profiles are stored (UNC path)
#
# Various scripts can be used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
#
;   security = user
;   passdb backend = tdbsam

;   domain master = yes
;   domain logons = yes

    # the login script name depends on the machine name
;   logon script = %m.bat
    # the login script name depends on the unix user used
;   logon script = %u.bat
;   logon path = \\%L\Profiles\%u
    # disables profiles support by specifing an empty path
;   logon path =  

;   add user script = /usr/sbin/useradd "%u" -n -g users
;   add group script = /usr/sbin/groupadd "%g"
;   add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
;   delete user script = /usr/sbin/userdel "%u"
;   delete user from group script = /usr/sbin/userdel "%u" "%g"
;   delete group script = /usr/sbin/groupdel "%g"


# ----------------------- Browser Control Options ----------------------------
#
# set local master to no if you don't want Samba to become a master
# browser on your network. Otherwise the normal election rules apply
#
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
#
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
;   local master = no
;   os level = 20
;   preferred master = no

#----------------------------- Name Resolution -------------------------------
# Windows Internet Name Serving Support Section:
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
#
# - WINS Support: Tells the NMBD component of Samba to enable it's WINS Server
#
# - WINS Server: Tells the NMBD components of Samba to be a WINS Client
#
# - WINS Proxy: Tells Samba to answer name resolution queries on
#   behalf of a non WINS capable client, for this to work there must be
#   at least one    WINS Server on the network. The default is NO.
#
# DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
# via DNS nslookups.

;   wins support = yes
;   wins server = 172.17.2.25
;   wins proxy = yes

;   dns proxy = no

# --------------------------- Printing Options -----------------------------
#
# Load Printers let you load automatically the list of printers rather
# than setting them up individually
#
# Cups Options let you pass the cups libs custom options, setting it to raw
# for example will let you use drivers on your Windows clients
#
# Printcap Name let you specify an alternative printcap file
#
# You can choose a non default printing system using the Printing option

    load printers = yes
    cups options = raw

;   printcap name = /etc/printcap
    #obtain list of printers automatically on SystemV
;   printcap name = lpstat
;   printing = cups

# --------------------------- Filesystem Options ---------------------------
#
# The following options can be uncommented if the filesystem supports
# Extended Attributes and they are enabled (usually by the mount option
# user_xattr). Thess options will let the admin store the DOS attributes
# in an EA and make samba not mess with the permission bits.
#
# Note: these options can also be set just per share, setting them in global
# makes them the default for all shares

;   map archive = no
;   map hidden = no
;   map read only = no
;   map system = no
;   store dos attributes = yes


#============================ Share Definitions ==============================


#[homes]
#   comment = Home Directories
#   browseable = no
#   guest ok = yes
#   writable = yes
#;  valid users = %S
#;  valid users = MYDOMAIN\%S

[printers]
    comment = All Printers
    path = /var/spool/samba
    browseable = no
    guest ok = no
    writable = no
    printable = yes

# Un-comment the following and create the netlogon directory for Domain Logons
;   [netlogon]
;   comment = Network Logon Service
;   path = /var/lib/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no


# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;   [Profiles]
;   path = /var/lib/samba/profiles
;   browseable = no
;   guest ok = yes


# A publicly accessible directory, but read only, except for people in
# the "staff" group
;   [public]
;   comment = Public Stuff
;   path = /home/samba
;   public = yes
;   writable = yes
;   printable = no
;   write list = +staff

[falcon]
        guest ok = yes
        force create mode = 777
        create mask = 777
        path = /home/falcon
    writeable = yes
        force directory mode = 777
        directory mask = 777

[oa]
        locking = no
#       writable = yes
        path = /u/oa
        force directory mode = 0666
        force create mode = 0666
#       comment = home directories
#       case sensitive = yes

我尝试将日志级别更改为3。下面是最近重新启动smb服务后的/var/log/samba/smbd.log

[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to 
[2013/09/25 11:53:11, 3] smbd/server.c:exit_server_common(782)
  Server exit (normal exit)
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/connection.c:yield_connection(69)
  Yielding connection to 
[2013/09/25 11:53:11, 3] smbd/connection.c:yield_connection(76)
  yield_connection: tdb_delete for name  failed with error Record does not exist.
[2013/09/25 11:53:11, 3] smbd/server.c:exit_server_common(782)
  Server exit (normal exit)
[2013/09/25 11:53:11, 0] smbd/server.c:main(958)
  smbd version 3.0.33-3.39.el5_8 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2008
[2013/09/25 11:53:11, 2] param/loadparm.c:do_section(3825)
  Processing section "[printers]"
[2013/09/25 11:53:11, 2] param/loadparm.c:do_section(3825)
  Processing section "[falcon]"
[2013/09/25 11:53:11, 2] param/loadparm.c:do_section(3825)
  Processing section "[oa]"
[2013/09/25 11:53:11, 3] param/loadparm.c:lp_add_ipc(2733)
  adding IPC service
[2013/09/25 11:53:11, 3] printing/pcap.c:pcap_cache_reload(117)
  reloading printcap cache
[2013/09/25 11:53:11, 3] printing/pcap.c:pcap_cache_reload(223)
  reload status: ok
[2013/09/25 11:53:11, 3] printing/pcap.c:pcap_cache_reload(117)
  reloading printcap cache
[2013/09/25 11:53:11, 3] printing/pcap.c:pcap_cache_reload(223)
  reload status: ok
[2013/09/25 11:53:11, 2] lib/interface.c:add_interface(81)
  added interface ip=172.19.50.30 bcast=172.19.50.255 nmask=255.255.255.0
[2013/09/25 11:53:11, 3] smbd/server.c:main(996)
  loaded services
[2013/09/25 11:53:11, 3] smbd/server.c:main(1011)
  Becoming a daemon.
[2013/09/25 11:53:11, 2] lib/tallocmsg.c:register_msg_pool_usage(105)
  Registered MSG_REQ_POOL_USAGE
[2013/09/25 11:53:11, 2] lib/dmallocmsg.c:register_dmalloc_msgs(75)
  Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-22-1-0]
[2013/09/25 11:53:11, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2013/09/25 11:53:11, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-11]
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(250)
[2013/09/25 11:53:11, 3] lib/util_seaccess.c:se_access_check(251)
  se_access_check: user sid is S-1-22-1-0
  se_access_check: also S-1-5-32-544
  se_access_check: also S-1-1-0
  se_access_check: also S-1-5-2
  se_access_check: also S-1-5-11
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-21-3965382125-1125146146-860252422-501]
[2013/09/25 11:53:11, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-22-2-99]
[2013/09/25 11:53:11, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-2]
[2013/09/25 11:53:11, 3] lib/privileges.c:get_privileges(261)
  get_privileges: No privileges assigned to SID [S-1-5-32-546]
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/uid.c:push_conn_ctx(358)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2013/09/25 11:53:11, 3] smbd/sec_ctx.c:pop_sec_ctx(356)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2013/09/25 11:53:11, 3] printing/printing.c:start_background_queue(1388)
  start_background_queue: Starting background LPQ thread
[2013/09/25 11:53:11, 2] smbd/server.c:open_sockets_smbd(466)
  waiting for a connection

我在这里浏览了基本的故障排除指南,但无济于事 https://www.samba.org/samba/docs/man/Samba-HOWTO-Collection/diagnosis.html

我最后一次尝试是尝试从环境中的另一台 SAMBA 服务器复制工作 smb.conf 文件并重新启动 SMB 服务。没有骰子,结果相同。

关于如何确定为什么我无法浏览此服务器上配置的 SAMBA 共享的任何提示或想法?

samba
  • 1 个回答
  • 3297 Views
Martin Hope
Jake A
Asked: 2013-09-21 06:27:48 +0800 CST

CentOS 无法识别添加到服务器的新 RAM 或内存

  • 2

我在 Citrix XenServer 5.6 上运行 CentOS 5.9 i386。我安装了 3GB 内存、2GB 交换空间的 CentOS。后来我想添加更多内存,所以我关闭了服务器并将 VM 配置为 8GB。重新启动后,服务器仍显示可用内存为 3GB。

我尝试编辑 /boot/grub/grub.conf 并将 mem=xxM 添加到配置中,但是系统仍然报告我只有 3GB 可用内存。

是否有一些我遗漏的配置导致 CentOS 错过了额外的内存?非常感谢任何帮助,并在此先感谢

编辑:下面是 uname-a 的结果

[root@SERVER ~]# uname -a
Linux SERVER.DOMAIN.EXAMPLE 2.6.18-348.el5 #1 SMP Tue Jan 8 17:57:28 EST 2013 i686 i686 i386 GNU/Linux
linux
  • 1 个回答
  • 3627 Views
Martin Hope
Jake A
Asked: 2013-02-02 12:23:37 +0800 CST

Exchange 2007:存储构建建议

  • 0

我正在重建交换环境。以前的管理员没有正确设置存储或系统。话不多说,环境中没有存储,由于其他问题,我们决定搭建一个新的服务器,并将用户迁移到服务器上。

我有 1,500 个用户和 1.4TB 数据库,使用 Exchange 2007 Enterprise。我的新 Exchange 设置总共有 14 个数据库。

新的服务器存储设置将是:

(2) RAID 1 中的 600GB SAS 驱动器(总可用空间为 600GB)。我将有一个分区用于操作系统,一个分区用于事务日志。

(10) RAID 10 中的 600GB SAS 驱动器。这将用于数据库,总共 3TB 存储。

额外:如果需要,我还有四个剩余的 SAS 插槽可以在将来添加更多存储空间。

我的问题:你会推荐不同的设置,还是这个设置听起来最优?有什么建议么?提前致谢并致以最诚挚的问候

storage
  • 1 个回答
  • 29 Views
Martin Hope
Jake A
Asked: 2012-10-11 12:32:07 +0800 CST

用于虚拟化网络设置的思科软件

  • 0

我记得思科有软件可以让你创建虚拟网络设置,这对测试想法和学习非常有用。但是我一辈子都记不起软件的名字了。谁能指出我正确的方向?在此先感谢,并为我可怕的记忆感到抱歉:S

cisco
  • 3 个回答
  • 92 Views
Martin Hope
Jake A
Asked: 2012-09-05 17:49:12 +0800 CST

Exchange 2007 CCR:日志未复制到被动节点分区

  • 1

在我的环境中,我在 CCR 集群中设置了 Exchange 2007,以被动模式将我们的主服务器镜像到一组服务器。我为 Exchange 2007 的日志设置的被动节点上的分区之一出现故障,导致分区不可读。我已经更换了被动节点上的分区,并将驱动器设置为在主动模式下镜像分区,但自更改后日志没有复制。

无论如何强制将日志的新驱动器复制到新分区?知道为什么日志不复制吗?

感谢您提供任何帮助或意见,并提前致谢。

exchange-2007
  • 1 个回答
  • 424 Views
Martin Hope
Jake A
Asked: 2012-07-31 14:24:56 +0800 CST

Exchange 2007 邮箱清理 - 导出邮箱脚本

  • 2

我被分配了一项任务,通过导出离开公司的用户的邮箱来清理我们的 Exchange 服务器。我们希望将邮箱的副本保留 90 天,以防 HR 或管理层以后需要它。我有 130 多个邮箱要导出以完成此任务。

我看到将邮箱导出到 PST 的唯一方法是通过 Exchange 管理工具使用 Export-Mailbox cmdlet。我的问题是:是否有一个脚本可以让我批量执行此操作?也许将电子邮件地址传递到文件中并运行脚本?这将很有帮助,可以减少完成此任务所需的时间。

在此先感谢您的任何建议或帮助!!

exchange
  • 1 个回答
  • 1333 Views
Martin Hope
Jake A
Asked: 2012-07-26 08:14:20 +0800 CST

在 AD 中委派管理员控制

  • 2

我的 IT 环境在不断发展,我想将域管理员控制权委托给特定的 OU。这样,在每个站点,该位置的管理员只能在其站点特定的 OU 中进行更改。

在我当前的环境中,我的 AD 仍在 2003 年。

我该如何设置?这在公元 2003 年可能吗?

active-directory
  • 2 个回答
  • 123 Views
Martin Hope
Jake A
Asked: 2012-07-26 08:08:47 +0800 CST

用于 Lync 边缘服务器的端口

  • 2

我在我的环境中部署了 Lync 2010 Standard 以及一个边缘服务器。在我的防火墙上,我将公共地址 NAT 到服务器。现在我已经为这些地址打开了所有端口,但出于安全考虑,现在我想将其锁定。是否有 Lync 需要打开才能正常工作的完整端口列表?我用的是Lync手册上的端口号,但是我在FW里面输入后,还是屏蔽音视频。非常感谢之前设置过此功能的任何人提供的任何帮助。

firewall
  • 2 个回答
  • 5661 Views
Martin Hope
Jake A
Asked: 2012-06-29 07:17:18 +0800 CST

终端服务器 2008 登录:RDP 尝试时拒绝访问

  • 0

当我尝试将 RDP 连接到 Server 2008 终端服务器时,我收到一条消息“拒绝访问”和一个“确定”按钮。我正确设置了许可模式(每个用户)并且还设置了允许所有远程连接。我在安全事件日志中得到以下信息:

Log Name:      Security
Source:        Microsoft-Windows-Security-Auditing
Date:          28/06/2012 12:01:16
Event ID:      4656
Task Category: File System
Level:         Information
Keywords:      Audit Failure
User:          N/A
Computer:      FQDN COMPUTER 
Description:
A handle to an object was requested.

Subject:
    Security ID:        DOMAIN\ACCOUNT
    Account Name:       ACCOUNT
    Account Domain:     DOMAIN
    Logon ID:       0xbbe3f

Object:
    Object Server:      Security
    Object Type:        File
    Object Name:        C:\Windows\System32\ServerManager.msc
    Handle ID:      0x0

Process Information:
    Process ID:     0x60c
    Process Name:       C:\Windows\System32\mmc.exe

Access Request Information:
    Transaction ID:     {00000000-0000-0000-0000-000000000000}
    Accesses:       READ_CONTROL
                SYNCHRONIZE
                WriteData (or AddFile)
                AppendData (or AddSubdirectory or CreatePipeInstance)
                WriteEA
                ReadAttributes
                WriteAttributes

    Access Reasons:     READ_CONTROL:   Granted by  D:(A;;0x1200a9;;;BA)
                SYNCHRONIZE:    Granted by  D:(A;;0x1200a9;;;BA)
                WriteData (or AddFile): Not granted
                AppendData (or AddSubdirectory or CreatePipeInstance):  Not granted
                WriteEA:    Not granted
                ReadAttributes: Granted by ACE on parent folder D:(A;;0x1301bf;;;BA)
                WriteAttributes:    Not granted

    Access Mask:        0x120196
    Privileges Used for Access Check:   -
    Restricted SID Count:   0
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Microsoft-Windows-Security-Auditing" Guid="{54849625-5478-4994-A5BA-3E3B0328C30D}" />
    <EventID>4656</EventID>
    <Version>1</Version>
    <Level>0</Level>
    <Task>12800</Task>
    <Opcode>0</Opcode>
    <Keywords>0x8010000000000000</Keywords>
    <TimeCreated SystemTime="2012-06-28T15:01:16.975080700Z" />
    <EventRecordID>1535565</EventRecordID>
    <Correlation />
    <Execution ProcessID="540" ThreadID="556" />
    <Channel>Security</Channel>
    <Computer>FQDN COMPUTER/Computer>
    <Security />
  </System>
  <EventData>
    <Data Name="SubjectUserSid">S-1-5-21-205301047-3902605089-2438454170-21511219</Data>
    <Data Name="SubjectUserName">ACCOUNT</Data>
    <Data Name="SubjectDomainName">DOMAIN</Data>
    <Data Name="SubjectLogonId">0xbbe3f</Data>
    <Data Name="ObjectServer">Security</Data>
    <Data Name="ObjectType">File</Data>
    <Data Name="ObjectName">C:\Windows\System32\ServerManager.msc</Data>
    <Data Name="HandleId">0x0</Data>
    <Data Name="TransactionId">{00000000-0000-0000-0000-000000000000}</Data>
    <Data Name="AccessList">%%1538
                %%1541
                %%4417
                %%4418
                %%4420
                %%4423
                %%4424
                </Data>
    <Data Name="AccessReason">%%1538:   %%1801  D:(A;;0x1200a9;;;BA)
                %%1541: %%1801  D:(A;;0x1200a9;;;BA)
                %%4417: %%1805
                %%4418: %%1805
                %%4420: %%1805
                %%4423: %%1811  D:(A;;0x1301bf;;;BA)
                %%4424: %%1805
                </Data>
    <Data Name="AccessMask">0x120196</Data>
    <Data Name="PrivilegeList">-</Data>
    <Data Name="RestrictedSidCount">0</Data>
    <Data Name="ProcessId">0x60c</Data>
    <Data Name="ProcessName">C:\Windows\System32\mmc.exe</Data>
  </EventData>
</Event>

有任何想法吗?

terminal-server licensing
  • 2 个回答
  • 15399 Views
Martin Hope
Jake A
Asked: 2012-06-26 06:12:09 +0800 CST

设置密码的组策略:Server 2003 域

  • 0

在我的 2003 域中,由于安全问题,要求我设置密码策略以要求密码每 4 个月过期一次,并且还要求用户在下次登录时更改密码。在我的域中,我的 OU 是按位置设置的,然后深入到城市,然后用户和计算机位于单独的子域中。

我的问题是,如何为我的域设置它?我是否需要为环回设置策略?我可以为特定的 OU 配置它吗?关于如何前进有什么建议吗?非常感谢任何建议,并提前致谢!

group-policy active-directory password-management
  • 2 个回答
  • 4845 Views
Martin Hope
Jake A
Asked: 2012-06-15 14:19:29 +0800 CST

Unix 在每个打印作业上打印一个标题页

  • 0

我在 unix 上有一个 Data General 服务器,它在每次打印时都打印一个标题页。我原本以为标题页来自打印机。由于这是 HP 打印机,我使用 telnet 访问 jetadmin,然后继续禁用标题页,但这并没有解决问题。

然后我进入 sysadm 程序查看 TCPIP 打印是否设置为在打印作业中打印标题页,但我没有看到任何打印标题页的选项。

关于如何在 unix 中禁用横幅页打印的任何帮助或想法?

这是横幅页面示例打印

这是打印出来的

printing unix
  • 1 个回答
  • 723 Views
Martin Hope
Jake A
Asked: 2012-05-25 15:40:51 +0800 CST

IBM DS300 SAN,需要在LUN上扩展分区

  • 1

我有一个 IBM DS300 SAN,我设置了一个 2.7 TB 的 LUN。我的 LUN 设置有 2 个分区,一个 130GB 分区和一个 1.27TB 分区。我有额外的 1.3TB 可用空间。我想扩展 1.27TB 分区,但我在 IBM DS Storage Manger 下没有看到这个选项。如何使用 DS Storage Manager 扩展 LUN 上的分区?在此先感谢您的帮助。

storage-area-network storage lun
  • 1 个回答
  • 446 Views
Martin Hope
Jake A
Asked: 2012-05-25 08:35:52 +0800 CST

Exchange 2007 和 Outlook 2010 的性能问题

  • 1

在我的环境中,我有 Exchange 2007、具有 2 MB、2 HT 和 2 CAS 服务器的 ccr 环境。我们目前使用 Outlook 2010 作为终端服务器的电子邮件客户端。客户端配置为直接连接到交换,而不是缓存模式。

最近,我们的用户抱怨 Outlook 2010 的速度和性能,例如当他们选择一个文件夹时,服务器需要几分钟时间才能让文件夹显示项目。有时 Outlook 会在等待加载时冻结,并且需要几分钟才能解冻。

我可以尝试诊断导致此问题的原因的任何故障排除想法吗?

performance exchange outlook
  • 1 个回答
  • 290 Views
Martin Hope
Jake A
Asked: 2012-05-10 06:54:36 +0800 CST

删除每个用户桌面上的快捷方式的脚本

  • 0

我正在寻找一个脚本来删除放置在每个用户桌面上的 .lnk 文件。我在终端服务器上安装了一个程序,它在每个用户的桌面上放置了一个 .lnk 文件,而不是在“公共”桌面文件夹中放置一个快捷方式。我已经删除了该程序,但现在我需要一个脚本来从每个用户的桌面上删除快捷方式。非常感谢任何帮助,谢谢!

scripting batch-file windows-terminal-services vbscript
  • 2 个回答
  • 9760 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve