Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Feb 18th, 2011  |  syntax: None  |  size: 2.72 KB  |  views: 125  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. root@squeeze:~# sh -x /usr/lib/ocf/resource.d/linbit/drbd start oot@squeeze:~# sh -x /usr/lib/ocf/resource.d/linbit/drbd start ; echo $?
  2. + . /usr/lib/ocf/resource.d/heartbeat/.ocf-shellfuncs
  3. + unset LC_ALL
  4. + export LC_ALL
  5. + unset LANGUAGE
  6. + export LANGUAGE
  7. + basename /usr/lib/ocf/resource.d/linbit/drbd
  8. + __SCRIPT_NAME=drbd
  9. + [ -z /usr/lib/ocf ]
  10. + : /usr/lib/ocf/resource.d/heartbeat
  11. + . /usr/lib/ocf/resource.d/heartbeat/.ocf-binaries
  12. + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/bin:/usr/sbin:/usr/bin
  13. + PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/ucb
  14. + export PATH
  15. + : mawk
  16. + : /bin/grep -E
  17. + : -a
  18. + : mail
  19. + : /bin/ping
  20. + : /bin/bash
  21. + : /usr/bin/test
  22. + : /usr/bin/test
  23. + : basename
  24. + : blockdev
  25. + : cat
  26. + : fsck
  27. + : fuser
  28. + : getent
  29. + : grep
  30. + : ifconfig
  31. + : iptables
  32. + : ip
  33. + : mdadm
  34. + : modprobe
  35. + : mount
  36. + : msgfmt
  37. + : netstat
  38. + : perl
  39. + : python
  40. + : raidstart
  41. + : raidstop
  42. + : route
  43. + : umount
  44. + : reboot
  45. + : poweroff
  46. + : wget
  47. + : whoami
  48. + : strings
  49. + : scp
  50. + : ssh
  51. + : swig
  52. + : gzip
  53. + : tar
  54. + : md5
  55. + : drbdadm
  56. + : drbdsetup
  57. + . /usr/lib/ocf/resource.d/heartbeat/.ocf-returncodes
  58. + OCF_SUCCESS=0
  59. + OCF_ERR_GENERIC=1
  60. + OCF_ERR_ARGS=2
  61. + OCF_ERR_UNIMPLEMENTED=3
  62. + OCF_ERR_PERM=4
  63. + OCF_ERR_INSTALLED=5
  64. + OCF_ERR_CONFIGURED=6
  65. + OCF_NOT_RUNNING=7
  66. + OCF_RUNNING_MASTER=8
  67. + OCF_FAILED_MASTER=9
  68. + . /usr/lib/ocf/resource.d/heartbeat/.ocf-directories
  69. + prefix=/usr
  70. + exec_prefix=/usr
  71. + : /etc/init.d
  72. + : /etc/ha.d
  73. + : /etc/ha.d/rc.d
  74. + : /etc/ha.d/conf
  75. + : /etc/ha.d/ha.cf
  76. + : /var/lib/heartbeat
  77. + : /var/run/heartbeat/rsctmp
  78. + : /var/lib/heartbeat/fifo
  79. + : /usr/lib/heartbeat
  80. + : /usr/sbin
  81. + : %Y/%m/%d_%T
  82. + : /dev/null
  83. + : /etc/ha.d/resource.d
  84. + : /usr/share/doc/heartbeat
  85. + : drbd
  86. + : drbd[21032]
  87. + : /var/run/  
  88. + : /var/lock/subsys/
  89. + : 0
  90. + __ocf_set_defaults start oot@squeeze:~# sh -x /usr/lib/ocf/resource.d/linbit/drbd start
  91. + __OCF_ACTION=start
  92. + unset LANG
  93. + LC_ALL=C
  94. + export LC_ALL
  95. + [ -z  ]
  96. + : 0
  97. + [ ! -d /usr/lib/ocf ]
  98. + [ -z  ]
  99. + : drbd
  100. + [ -z  ]
  101. + : We are being invoked as an init script.
  102. + : Fill in some things with reasonable values.
  103. + : default
  104. + return 0
  105. + export LANG=C LANGUAGE=C LC_ALL=C
  106. + OCF_RESKEY_drbdconf_default=/etc/drbd.conf
  107. + : /etc/drbd.conf
  108. + : 1
  109. + : 1
  110. + : 1
  111. + DEBUG_LOG_DIR=/tmp/drbd.ocf.ra.debug
  112. + DEBUG_LOG=/tmp/drbd.ocf.ra.debug/log
  113. + USE_DEBUG_LOG=false
  114. + ls_stat_is_dir_0700_root /tmp/drbd.ocf.ra.debug
  115. + command ls -ldn /tmp/drbd.ocf.ra.debug
  116. + set --
  117. + [[ / = drwx?-??-?/0 ]]
  118. /usr/lib/ocf/resource.d/linbit/drbd: 1: [[: not found
  119. + exec
  120. + [ 6 != 1 ]
  121. + usage
  122. /usr/lib/ocf/resource.d/linbit/drbd: 1: usage: not found
  123. + exit 2
  124. 2
clone this paste RAW Paste Data