dialogic d300 驱动重装后 dlstart  报错解决

问题描述:dlstart  后如下报错

[root@BJAPQ091 data]#dlstop

Stopping Dialogic Services...

Stopping Clocking Daemon:[  纭畾  ]

Stopping ClockingServer:[  纭畾  ]

Stopping Telephony System Monitor:[  纭畾  ]

Stopping Dialogic(R) board(s).

Deleting SW devices ....

Deleting SW devices Done

genload[17226]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

Stopping Timeslot Doler:[  纭畾  ]

Stopping Device Mapper:[  纭畾  ]

Shutting Down OAM Event Service:[  纭畾  ]

Stopping Dialogic Runtime Tracing Server:[  纭畾  ]

[root@BJAPQ091 ~]# dlstart

Starting Dialogic Services...

Starting Dialogic Runtime Tracing Server:[  纭畾  ]

Warning: You have chosen a Springware board to be the Primary clock master

Clock fallback will not be supported in this configuration

Starting OAM Event Service:[  纭畾  ]

Starting Device Mapper:[  纭畾  ]

Starting Timeslot Doler:[  纭畾  ]

Starting Telephony System Monitor:[  纭畾  ]

Starting Clocking Server:[  纭畾  ]

Starting Dialogic(R) board(s).

Dialogic(R) Generic Downloader Version 6.00 (Build 1)

Copyright (C) 1992-2007 Dialogic Corporation.

Using /usr/dialogic/cfg/dialogic.cfg to configure Dialogic Boards

genload[18399]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

System Download ........

Warning: Clock signals not detected on sec. lines

..............................................................................

D/300JCT-E1 (PCI ID 0) Download .. spisctr4 Firmware Version 6.70 Build 0024

1 Dialogic?Board Successfully Installed

Dialogic(R) SCSA Transmit Timeslot Assignment Program

Copyright (c) 1997-2007 Dialogic Corporation.  All rights reserved

sctsassign:The Start TS is: 0 and Total Number of TS: 60

dxxxB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB2 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB3 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB4 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB5 : Failed open in sctsdtdxag.c: No such file or directory

dtiB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB6 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB7 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB8 : Failed open in sctsdtdxag.c: No such file or directory

Add SW Devices ....

REGVOX: #

REGVOX: # Dialogic Generic Configuration File

REGVOX: #

REGVOX: #

REGVOX: # Total number of virtual boards - 9

REGVOX: #

REGVOX:

REGVOX: #

REGVOX: # Board Type - D/300JCT-E1

REGVOX: #

REGVOX: dxxxB1    4  7000010   C         FBFE0000      2000       20        SPAN  50004

REGVOX: dxxxB2    4  7000010   C         FBFE2000      2000       20        SPAN  50005

REGVOX: dxxxB3    4  7000010   C         FBFE4000      2000       20        SPAN  50006

REGVOX: dxxxB4    4  7000010   C         FBFE6000      2000       20        SPAN  50007

REGVOX: dxxxB5    4  7000010   C         FBFE0000      2000        0        SPAN  50008

REGVOX: dtiB1    30  7000010   T         FBFE0000      2000        0        E1SPAN  50009

REGVOX: dxxxB6    4  7000010   C         FBFE2000      2000        0        SPAN  50010

REGVOX: dxxxB7    4  7000010   C         FBFE4000      2000        0        SPAN  50011

REGVOX: dxxxB8    2  7000010   C         FBFE6000      2000        0        SPAN  50012

Add SW Devices Done

Checking for unsupported Dialogic boards:

usbu[18448]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

Starting Clocking Daemon:[  纭畾  ]

Starting fault detection on all Dialogic boards:[  纭畾  ]

解决办法:

经过google,发现是因为语音卡驱动加载openib与streams有冲突

(1)关闭应用  epos用户下  grMain -t

(2)root检查是否有安装openib    rpm -qa | grep openib

(3)如果有,卸载openib     rpm -e openib

(4)检查是否卸载成功   rpm -qa | grep openib

(5)重启机器

(6)root用户下  dlstop

(7)root下    dlstart  查看是否启动成功

(8)epos下   grMain  -s -l5 -d5 -w -r 启动应用

参考文档:

Thought I would share this.  I recently ran into this issue when trying to start Dialogic on RHEL 4.  dlstart would produce the following.  Apparently version 6 and older of up2date will load an openib package which conflicts with streams.

SCREEN OUTPUT:

dxxxB1 : Failed open in sctsdtdxag.c: No such file or directory

dtiB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB2 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB3 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB4 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB5 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB6 : Failed open in sctsdtdxag.c: No such file or directory

RTF LOG:

#Timestamp              #PID   #TID        #Module      #Client    #Label       #Message

06/23/2009 09:20:55.754  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:55.755  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:55.755  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:56.249  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB1    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.258  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB2    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.259  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB3    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.261  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB4    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.262  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB5    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.264  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB6    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - ConfigTDMBus(): Cannot retrieve TDM bus attributes from Device Mapper for bus id 158570088; 100 returned from dm_getAttributes().

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - ConfigTDMBus(): FATAL CONFIGURATION ERROR.

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - Failed to configure the TDM bus; ConfigTDMBus() returned 0x0.

06/23/2009 09:20:58.956  21352  3061984160 OAMIPC                  Warning      OAMTransport - CSocketClientTransport::SendMessage() - m_ClientReceiveSocket.ShutAndCloseSocket failed

06/23/2009 09:20:58.955  21051  2892954528 OAMSYSLOG               ErrorEx      DLGSPWRFAULTDETECTOR - CNIStatus::init(): Failed to open the DTI device dtiB1

FIND AND FIX:

[root@ares cfg]# lsmod

Module                  Size  Used by

mercd                 281204  0

ctimod                 28916  1 mercd

streams_dvbmDriver    132616  0

streams_sctmrDriver    29104  0

streams_gpioDriver     21028  0

streams_gncfdDriver    19112  0

streams_dlgnDriver    418536  4 streams_dvbmDriver,streams_sctmrDriver,streams_gpioDriver,streams_gncfdDriver

streams               859756  5 streams_dvbmDriver,streams_sctmrDriver,streams_gpioDriver,streams_gncfdDriver,streams_dlgnDriver

parport_pc             28033  0

lp                     15661  0

parport                38153  2 parport_pc,lp

autofs4                26053  0

i2c_dev                14529  0

i2c_core               26305  1 i2c_dev

sunrpc                145061  1

ipt_REJECT             10689  1

ipt_state               5953  17

ip_conntrack           46085  1 ipt_state

iptable_filter          6977  1

ip_tables              23105  3 ipt_REJECT,ipt_state,iptable_filter

cpufreq_powersave       5953  0

ib_srp                 39005  0

ib_sdp                 61437  0

ib_ipoib               81769  0

inet_lro               13121  1 ib_ipoib

md5                     8129  1

ipv6                  244833  84 ib_ipoib

rdma_ucm               21189  0

rdma_cm                39937  2 ib_sdp,rdma_ucm

iw_cm                  13381  1 rdma_cm

ib_addr                12357  1 rdma_cm

ib_umad                21737  0

ib_ucm                 22213  0

ib_uverbs              41833  2 rdma_ucm,ib_ucm

ib_cm                  46521  4 ib_srp,ib_ipoib,rdma_cm,ib_ucm

ib_sa                  43213  4 ib_srp,ib_ipoib,rdma_cm,ib_cm

ib_mad                 39897  3 ib_umad,ib_cm,ib_sa

ib_core                66369  12 ib_srp,ib_sdp,ib_ipoib,rdma_ucm,rdma_cm,iw_cm,ib_umad,ib_ucm,ib_uverbs,ib_cm,ib_sa,ib_mad

button                 10705  0

battery                12997  0

ac                      8901  0

uhci_hcd               33241  0

e100                   36677  0

mii                     9281  1 e100

e1000                 122837  0

floppy                 58193  0

dm_snapshot            22633  0

dm_zero                 6337  0

dm_mirror              32969  0

ext3                  119753  4

jbd                    59865  1 ext3

dm_mod                 67049  12 dm_snapshot,dm_zero,dm_mirror

ata_piix               19909  2

libata                105629  1 ata_piix

sd_mod                 20801  3

scsi_mod              120525  3 ib_srp,libata,sd_mod

[root@ares cfg]# rpm -qa | grep openib

openib-1.4-1.el4

[root@ares cfg]# rpm -e openib

[root@ares cfg]# rpm -qa | grep openib

Then reboot and all is back to normal.  Hope this helps some one else out there.

北京行二号机  dlstart  报错解决

问题描述:dlstart  后如下报错

[root@BJAPQ091 data]#dlstop

Stopping Dialogic Services...

Stopping Clocking Daemon:[  纭畾  ]

Stopping ClockingServer:[  纭畾  ]

Stopping Telephony System Monitor:[  纭畾  ]

Stopping Dialogic(R) board(s).

Deleting SW devices ....

Deleting SW devices Done

genload[17226]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

Stopping Timeslot Doler:[  纭畾  ]

Stopping Device Mapper:[  纭畾  ]

Shutting Down OAM Event Service:[  纭畾  ]

Stopping Dialogic Runtime Tracing Server:[  纭畾  ]

[root@BJAPQ091 ~]# dlstart

Starting Dialogic Services...

Starting Dialogic Runtime Tracing Server:[  纭畾  ]

Warning: You have chosen a Springware board to be the Primary clock master

Clock fallback will not be supported in this configuration

Starting OAM Event Service:[  纭畾  ]

Starting Device Mapper:[  纭畾  ]

Starting Timeslot Doler:[  纭畾  ]

Starting Telephony System Monitor:[  纭畾  ]

Starting Clocking Server:[  纭畾  ]

Starting Dialogic(R) board(s).

Dialogic(R) Generic Downloader Version 6.00 (Build 1)

Copyright (C) 1992-2007 Dialogic Corporation.

Using /usr/dialogic/cfg/dialogic.cfg to configure Dialogic Boards

genload[18399]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

System Download ........

Warning: Clock signals not detected on sec. lines

..............................................................................

D/300JCT-E1 (PCI ID 0) Download .. spisctr4 Firmware Version 6.70 Build 0024

1 Dialogic?Board Successfully Installed

Dialogic(R) SCSA Transmit Timeslot Assignment Program

Copyright (c) 1997-2007 Dialogic Corporation.  All rights reserved

sctsassign:The Start TS is: 0 and Total Number of TS: 60

dxxxB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB2 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB3 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB4 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB5 : Failed open in sctsdtdxag.c: No such file or directory

dtiB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB6 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB7 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB8 : Failed open in sctsdtdxag.c: No such file or directory

Add SW Devices ....

REGVOX: #

REGVOX: # Dialogic Generic Configuration File

REGVOX: #

REGVOX: #

REGVOX: # Total number of virtual boards - 9

REGVOX: #

REGVOX:

REGVOX: #

REGVOX: # Board Type - D/300JCT-E1

REGVOX: #

REGVOX: dxxxB1    4  7000010   C         FBFE0000      2000       20        SPAN  50004

REGVOX: dxxxB2    4  7000010   C         FBFE2000      2000       20        SPAN  50005

REGVOX: dxxxB3    4  7000010   C         FBFE4000      2000       20        SPAN  50006

REGVOX: dxxxB4    4  7000010   C         FBFE6000      2000       20        SPAN  50007

REGVOX: dxxxB5    4  7000010   C         FBFE0000      2000        0        SPAN  50008

REGVOX: dtiB1    30  7000010   T         FBFE0000      2000        0        E1SPAN  50009

REGVOX: dxxxB6    4  7000010   C         FBFE2000      2000        0        SPAN  50010

REGVOX: dxxxB7    4  7000010   C         FBFE4000      2000        0        SPAN  50011

REGVOX: dxxxB8    2  7000010   C         FBFE6000      2000        0        SPAN  50012

Add SW Devices Done

Checking for unsupported Dialogic boards:

usbu[18448]: Warning - Insufficient power overriden for the PCI Express board at bus 7, slot 0.

Starting Clocking Daemon:[  纭畾  ]

Starting fault detection on all Dialogic boards:[  纭畾  ]

解决办法:

经过google,发现是因为语音卡驱动加载openib与streams有冲突

(1)关闭应用  epos用户下  grMain -t

(2)root检查是否有安装openib    rpm -qa | grep openib

(3)如果有,卸载openib     rpm -e openib

(4)检查是否卸载成功   rpm -qa | grep openib

(5)重启机器

(6)root用户下  dlstop

(7)root下    dlstart  查看是否启动成功

(8)epos下   grMain  -s -l5 -d5 -w -r 启动应用

感谢这位国外的和我一样的倒霉蛋。

参考文档:

Thought I would share this.  I recently ran into this issue when trying to start Dialogic on RHEL 4.  dlstart would produce the following.  Apparently version 6 and older of up2date will load an openib package which conflicts with streams.

SCREEN OUTPUT:

dxxxB1 : Failed open in sctsdtdxag.c: No such file or directory

dtiB1 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB2 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB3 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB4 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB5 : Failed open in sctsdtdxag.c: No such file or directory

dxxxB6 : Failed open in sctsdtdxag.c: No such file or directory

RTF LOG:

#Timestamp              #PID   #TID        #Module      #Client    #Label       #Message

06/23/2009 09:20:55.754  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:55.755  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:55.755  20988  3008342944 OAMSYSLOG               ErrorEx      DLGTIMESLOTDOLER - Fail to get TDMbus Attr error = 100

06/23/2009 09:20:56.249  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB1    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.258  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB2    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.259  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB3    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.261  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB4    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.262  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB5    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:56.264  21260  3086215392 spwrvoice               ERR1         dxmain                dxxxB6    ::::> dx_open() = -1, open(/dev/dlgn) = -1

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - ConfigTDMBus(): Cannot retrieve TDM bus attributes from Device Mapper for bus id 158570088; 100 returned from dm_getAttributes().

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - ConfigTDMBus(): FATAL CONFIGURATION ERROR.

06/23/2009 09:20:57.375  21327  3086096896 OAMSYSLOG               ErrorEx      dlgclockdaemon - Failed to configure the TDM bus; ConfigTDMBus() returned 0x0.

06/23/2009 09:20:58.956  21352  3061984160 OAMIPC                  Warning      OAMTransport - CSocketClientTransport::SendMessage() - m_ClientReceiveSocket.ShutAndCloseSocket failed

06/23/2009 09:20:58.955  21051  2892954528 OAMSYSLOG               ErrorEx      DLGSPWRFAULTDETECTOR - CNIStatus::init(): Failed to open the DTI device dtiB1

FIND AND FIX:

[root@ares cfg]# lsmod

Module                  Size  Used by

mercd                 281204  0

ctimod                 28916  1 mercd

streams_dvbmDriver    132616  0

streams_sctmrDriver    29104  0

streams_gpioDriver     21028  0

streams_gncfdDriver    19112  0

streams_dlgnDriver    418536  4 streams_dvbmDriver,streams_sctmrDriver,streams_gpioDriver,streams_gncfdDriver

streams               859756  5 streams_dvbmDriver,streams_sctmrDriver,streams_gpioDriver,streams_gncfdDriver,streams_dlgnDriver

parport_pc             28033  0

lp                     15661  0

parport                38153  2 parport_pc,lp

autofs4                26053  0

i2c_dev                14529  0

i2c_core               26305  1 i2c_dev

sunrpc                145061  1

ipt_REJECT             10689  1

ipt_state               5953  17

ip_conntrack           46085  1 ipt_state

iptable_filter          6977  1

ip_tables              23105  3 ipt_REJECT,ipt_state,iptable_filter

cpufreq_powersave       5953  0

ib_srp                 39005  0

ib_sdp                 61437  0

ib_ipoib               81769  0

inet_lro               13121  1 ib_ipoib

md5                     8129  1

ipv6                  244833  84 ib_ipoib

rdma_ucm               21189  0

rdma_cm                39937  2 ib_sdp,rdma_ucm

iw_cm                  13381  1 rdma_cm

ib_addr                12357  1 rdma_cm

ib_umad                21737  0

ib_ucm                 22213  0

ib_uverbs              41833  2 rdma_ucm,ib_ucm

ib_cm                  46521  4 ib_srp,ib_ipoib,rdma_cm,ib_ucm

ib_sa                  43213  4 ib_srp,ib_ipoib,rdma_cm,ib_cm

ib_mad                 39897  3 ib_umad,ib_cm,ib_sa

ib_core                66369  12 ib_srp,ib_sdp,ib_ipoib,rdma_ucm,rdma_cm,iw_cm,ib_umad,ib_ucm,ib_uverbs,ib_cm,ib_sa,ib_mad

button                 10705  0

battery                12997  0

ac                      8901  0

uhci_hcd               33241  0

e100                   36677  0

mii                     9281  1 e100

e1000                 122837  0

floppy                 58193  0

dm_snapshot            22633  0

dm_zero                 6337  0

dm_mirror              32969  0

ext3                  119753  4

jbd                    59865  1 ext3

dm_mod                 67049  12 dm_snapshot,dm_zero,dm_mirror

ata_piix               19909  2

libata                105629  1 ata_piix

sd_mod                 20801  3

scsi_mod              120525  3 ib_srp,libata,sd_mod

[root@ares cfg]# rpm -qa | grep openib

openib-1.4-1.el4

[root@ares cfg]# rpm -e openib

[root@ares cfg]# rpm -qa | grep openib

Then reboot and all is back to normal.  Hope this helps some one else out there.

dialogic d300语音卡驱动重装后启动报错问题解决方法的更多相关文章

  1. 初次安装hive-2.1.0启动报错问题解决方法

    首次安装hive-2.1.0,通过bin/hive登录hive shell命令行,报错如下: [hadoop@db03 hive-2.1.0]$ bin/hive which: no hbase in ...

  2. 安装mongodb后启动报错libstdc++

    安装mongo后启动报错如下图 显然说是libstdc++.so文件版本的问题,这种一般都是gcc版本太低了 接着查询gcc的版本    strings /usr/lib/libstdc++.so.6 ...

  3. eclipse tomcat路径更改后启动报错

      eclipse tomcat路径更改后启动报错 CreateTime--2018年5月3日14:48:22 Author:Marydon 1.情景还原 2.原因 本地的tomcat路径修改后,ec ...

  4. linux安装tomcat后启动报错Cannot find ./catalina.sh的解决方法

    linux安装tomcat后启动报错: Cannot find ./catalina.shThe file is absent or does not have execute permissionT ...

  5. 遇到的eclipse启动报错问题解决

    遇到的eclipse启动报错问题解决 一.启动时出现Java was started but returned exit code=13 可能原因: 1.eclipse与JDK的不是都64位或者32位 ...

  6. kafka启动报错&问题解决

    kafka启动报错&问题解决 一早上班,就收到运维同事通知说有一台物理机宕机,导致虚拟机挂了.只得重启kafka服务器. 1.启动 启动zookeeper bin/zkServer.sh st ...

  7. Eclipse中导入项目后js报错解决方法(转未解决问题)

    本文转自:http://blog.csdn.net/chenchunlin526/article/details/54666882 Eclipse中导入项目后js报错的原因与解决方法 在我们将项目导入 ...

  8. docker升级后启动报错400 Client Error: Bad Request ("Unknown runtime specified docker-runc")

    宝塔面板docker升级后启动容器时报错400 Client Error: Bad Request ("Unknown runtime specified docker-runc" ...

  9. docker安装后启动报错

    docker安装后启动不起来: 查看日志  /var/log/message    其中有一行为:  Your kernel does not support cgroup memory limit ...

随机推荐

  1. js实现图片的淡入淡出

    思想: 其实是运动的一种,就是当鼠标移入div中时,将div的透明度变大, 当鼠标移动出来的时候透明度变回原来. 你可以尝试写一下,不会再看看代码 <style> #div1{ width ...

  2. Rserve, java调用R源文件

    Rserve安装和加载: install.packages("Rserve") library("Rserve") Rserve()   java调用: REn ...

  3. jquery selector checkbox

    $("#competencyList input:checkbox").on("click", function () { var checkedCompete ...

  4. Python 单例

    方法1: 1 class Singleton(object): def __new__(cls, *args, **kwargs): if '_inst' not in vars(cls): cls. ...

  5. centos7.2下编译安装git

    centos最新的7.2版本,git居然是1.8,而最新的git版本是2.9 差的太多了,何况git2.0后有大更新.于是,我决定编译安装.中间有一点小破折,记录一下,备忘. 1,下载最新的源码,网址 ...

  6. js中的引用类型-object

  7. C#连接数据库的四种方法

    在进行以下连接数据库之前,请先在本地安装好Oracle Client,同时本次测试System.Data的版本为:2.0.0.0. 在安装Oracle Client上请注意,如果OS是3-BIT请安装 ...

  8. sql ltrim rtrim

    sql中用LTRIM ( ),RTRIM ( ).分别截断首尾空格,返回字符表达式. 例1: DECLARE @string_to_trim varchar(60)SET @string_to_tri ...

  9. CentOS 7将网卡名称eno16777736改为eth0

    http://www.linuxidc.com/Linux/2015-09/123396.htm Linux系统版本:CentOS_7(64位) 一.前言: 今天将CentOS 6.5装回了CentO ...

  10. 关于C# 窗体自动隐藏和加载的问题

    最近在写一个小项目,开发一个小程序配合其他软件使用,其中一款软件在使用工作时需要截图生成报告,此时不能有其他应用程式界面在显示器桌面显示,故需要自动隐藏和加载窗体,通过阅读Windows API实现了 ...