问题:

MSMQ(Microsoft MySQL)问题导致POS系统离线



解决方法:

重装MSMQ(Microsoft MySQL) 


在Windows 7上安装MSMQ

1.同时按Win+R,输入OptionalFeatures,确定


勾选' 'Microsoft Message Queue (MSMQ) Server'下的 'Microsoft MessageQueue (MSMQ) Server Core',如图所示,点击OK保存



2.等待加载完毕


3.右键此电脑à管理à服务和应用程序àMessage QueueingàPrivate Queues



4.右键Message queuingàProperties属性


5.在Server Security下,取消勾选” Disable un-authenthicated RPC calls”,点击OK保存


6.点击YES(执行重启Message Queuing服务)


7.右击Private Queues,点击“New”



8.在Queue name中输入“localqueue”,点击OK保存



9.右击“localqueue”,选择Properties à Security à Everyone ,勾选Full Control


10.右击“Private Queues”,点击“New”




11.在“Queue name”中输入“responsequeue”



12.responsequeue”,选择Properties à Security à ANONYMOUS LOGON,勾选Full Control




13.复制Xconfig文件到retdata6,运行POS更新配置设置,启用MSMQ polling


99                              C         MSMQ_SERVER_PATH              CS2000\PRIVATE$\SERVER02A




运行POS更新配置设置步骤:

以管理员身份打开cmd,逐步执行以下命令

netsh adv firewall delete rule name="IMX Allow Ping"
netsh adv firewall add rule name="IMX Allow Ping" dir=in protocol=icmpv4 remoteip=10.1.13.0/24,193.38.7.0/24,10.1.60.0/24,10.1.61.0/24,10.1.48.0/24,10.1.224.0/20,10.1.240.0/20 action=allow
netsh adv firewall delete rule name="IMX CS2000 Servers"
netsh adv firewall add rule name="IMX CS2000 Servers" dir=in protocol=tcp remoteip=10.1.13.0/24,193.38.7.0/24,10.1.60.0/24,10.1.61.0/24,10.1.48.0/24,10.1.224.0/20,10.1.240.0/20 action=allow
netsh adv firewall delete rule name="IMX CS2KCONNECT"
netsh adv firewall add rule name="IMX CS2KCONNECT" program="c:\cs2000pos\cs2kconnect.exe" dir=in action=allow enable=yes
netsh adv firewall delete rule name="IMX ftp"
netsh adv firewall add rule name="IMX CS2KCONNECT FTP" program="c:\windows\system32\ftp.exe" dir=in action=allow enable=yes