Advertisement
Guest User

Untitled

a guest
Jun 1st, 2012
531
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.14 KB | None | 0 0
  1. I cannot install DirectAdmin on my FRESH CentOS 6.0 64bit server without getting installation errors.
  2. Here is what I did straight off the bat:
  3. SSH'd into my NEW server.
  4. Ran the following commands:
  5. [CODE]
  6. yum update -y
  7. yum -y install gcc gcc-c++ flex
  8. wget http://www.directadmin.com/setup.sh
  9. chmod 755 setup.sh
  10. sh setup.sh
  11. [/CODE]
  12.  
  13. It goes through its prompts:
  14. [CODE]
  15. You now have 2 options for your apache/php setup.
  16. 1: customapache: end-of-life software. Apache 1.3, php 4, frontpage. Do not use. No support.
  17. 2: custombuild 1.1: newer software (recommended). Apache 2.x, php 4, 5, or both in cli and/or suphp. Defaults to php 5.2
  18. 3: custombuild 1.2: simlar to 1.1, newer default versions. Apache 2.x, php 5, 6, or both in cli and/or suphp. Defaults to php 5.3[/CODE]
  19.  
  20. I selected option 2
  21. It then prompts:
  22. [CODE]Would you like the default settings of apache 2.2 and php 5.2 cli? (y/n):[/CODE]
  23. At first I selected NO and chose to install will CGI and Apache 2.4 but got errors, so I REINSTALLED my server and simply let DirectAdmin do its default setup.
  24. So on this question:
  25. [CODE]Would you like the default settings of apache 2.2 and php 5.2 cli? (y/n):/CODE]
  26. I selected - y
  27. It takes about 5 minutes before I am prompted with this error:
  28. [CODE]
  29. In file included from /usr/include/krb5.h:8,
  30. from /usr/include/openssl/kssl.h:72,
  31. from /usr/include/openssl/ssl.h:165,
  32. from ssl_toolkit_compat.h:33,
  33. from ssl_private.h:60,
  34. from ssl_engine_dh.c:31:
  35. /usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
  36. In file included from /usr/include/krb5.h:8,
  37. from /usr/include/openssl/kssl.h:72,
  38. from /usr/include/openssl/ssl.h:165,
  39. from ssl_toolkit_compat.h:33,
  40. from ssl_private.h:60,
  41. from ssl_engine_io.c:30:
  42. /usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
  43. In file included from /usr/include/krb5.h:8,
  44. from /usr/include/openssl/kssl.h:72,
  45. from /usr/include/openssl/ssl.h:165,
  46. from ssl_toolkit_compat.h:33,
  47. from ssl_private.h:60,
  48. from ssl_engine_kernel.c:31:
  49. /usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
  50. In file included from /usr/include/krb5.h:8,
  51. from /usr/include/openssl/kssl.h:72,
  52. from /usr/include/openssl/ssl.h:165,
  53. from ssl_toolkit_compat.h:33,
  54. from ssl_private.h:60,
  55. from ssl_engine_init.c:29:
  56. /usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
  57. In file included from /usr/include/krb5.h:8,
  58. from /usr/include/openssl/kssl.h:72,
  59. from /usr/include/openssl/ssl.h:165,
  60. from ssl_toolkit_compat.h:33,
  61. from ssl_private.h:60,
  62. from ssl_engine_config.c:29:
  63. /usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
  64. In file included from /usr/include/krb5.h:8,
  65. from /usr/include/openssl/kssl.h:72,
  66. from /usr/include/openssl/ssl.h:165,
  67. from ssl_toolkit_compat.h:33,
  68. from ssl_private.h:60,
  69. from mod_ssl.c:27:
  70. /usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
  71. In file included from /usr/include/krb5.h:8,
  72. from /usr/include/openssl/kssl.h:72,
  73. from /usr/include/openssl/ssl.h:165,
  74. from ssl_toolkit_compat.h:33,
  75. from ssl_private.h:60,
  76. from ssl_engine_mutex.c:31:
  77. /usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
  78. In file included from /usr/include/krb5.h:8,
  79. from /usr/include/openssl/kssl.h:72,
  80. from /usr/include/openssl/ssl.h:165,
  81. from ssl_toolkit_compat.h:33,
  82. from ssl_private.h:60,
  83. from ssl_engine_log.c:30:
  84. /usr/include/krb5/krb5.h:2601:24: error: et/com_err.h: No such file or directory
  85. make[3]: *** [ssl_engine_dh.lo] Error 1
  86. make[3]: *** Waiting for unfinished jobs....
  87. make[3]: *** [ssl_engine_mutex.lo] Error 1
  88. make[3]: *** [ssl_engine_io.lo] Error 1
  89. make[3]: *** [ssl_engine_log.lo] Error 1
  90. make[3]: *** [ssl_engine_init.lo] Error 1
  91. make[3]: *** [ssl_engine_kernel.lo] Error 1
  92. make[3]: *** [mod_ssl.lo] Error 1
  93. make[3]: *** [ssl_engine_config.lo] Error 1
  94. make[3]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules/ssl'
  95. make[2]: *** [all-recursive] Error 1
  96. make[2]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules/ssl'
  97. make[1]: *** [all-recursive] Error 1
  98. make[1]: Leaving directory `/usr/local/directadmin/custombuild/httpd-2.2.22/modules'
  99. make: *** [all-recursive] Error 1
  100. *******************************************
  101. *******************************************
  102.  
  103. Cannot find /usr/local/bin/php
  104. Please recompile php with custombuild, eg:
  105. cd /usr/local/directadmin/custombuild
  106. ./build all d
  107.  
  108. This appears to be a 64-bit system.
  109. a common cause of http/php compile failures is mentioned here:
  110. http://help.directadmin.com/item.php?id=213
  111.  
  112. If you're running CentOS (not freebsd or debian) and applies to you, then type:
  113.  
  114. ln -sf /usr/lib64/libexpat.so /usr/lib/libexpat.so
  115. ln -sf /usr/lib64/libm.so /usr/lib/libm.so
  116. ln -sf /usr/lib64/libssl.so /usr/lib/libssl.so
  117. cd /usr/local/directadmin/custombuild
  118. ./build all d
  119.  
  120. *******************************************
  121. *******************************************
  122. [/CODE]
  123.  
  124. I really would like to use DirectAdmin again as I pay for it and use it on all my servers.
  125. DirectAdmin works when I install it on the same server with CentOS 5.8 just not with 6.0 :\
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement