Advertisement
Guest User

Aegir2 install errors

a guest
Jul 23rd, 2013
264
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 22.15 KB | None | 0 0
  1. root@apostle:~# aptitude show aegir2
  2. Package: aegir2                          
  3. State: not installed
  4. Version: 2.0~rc2
  5. Priority: optional
  6. Section: admin
  7. Maintainer: Antoine Beaupré <anarcat@debian.org>
  8. Architecture: all
  9. Uncompressed Size: 31.7 k
  10. Depends: aegir-provision2 (>= 2.0~rc2), aegir-hostmaster2 (>= 2.0~rc2)
  11. Conflicts: aegir, aegir
  12. Replaces: aegir, aegir
  13. Description: mass Drupal hosting system
  14.  A set of contributed modules for Drupal that aims to solve the problem of managing a large number of Drupal sites. It does this by providing you with
  15.  a simple Drupal based hosting front end for your entire network of sites. To deploy a new site you simply have to create a new Site node. To backup or
  16.  upgrade sites, you simply manage your site nodes as you would any other node.
  17.  
  18.  This meta-package will install both the frontend (aegir-hostmaster) and the backend (aegir-provision).
  19. Homepage: http://aegirproject.org/
  20.  
  21. root@apostle:~# aptitude show drush
  22. Package: drush                          
  23. State: not installed
  24. Version: 5.9-1
  25. Priority: optional
  26. Section: php
  27. Maintainer: Antoine Beaupré <anarcat@debian.org>
  28. Architecture: all
  29. Uncompressed Size: 1,418 k
  30. Depends: php5-cli (>= 5.2), php-console-table
  31. Recommends: wget | curl, php5-mysql | php5-pgsql
  32. Suggests: git, mysql-client, drupal
  33. Description: command line shell and Unix scripting interface for Drupal
  34.  drush is a command line shell and Unix scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for Drupal power
  35.  users who spend a lot of time hacking away at the command prompt.
  36.  
  37.  Drush core ships with lots of useful commands for interacting with code like modules/themes/profiles. Similarly, it runs update.php, executes sql
  38.  queries and DB migrations, and misc utilities like run cron or clear cache.
  39. Homepage: http://drupal.org/project/drush
  40.  
  41. root@apostle:~# aptitude install drush
  42. The following NEW packages will be installed:
  43.   drush
  44. 0 packages upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
  45. Need to get 0 B/352 kB of archives. After unpacking 1,418 kB will be used.
  46. Selecting previously unselected package drush.
  47. (Reading database ... 29237 files and directories currently installed.)
  48. Unpacking drush (from .../archives/drush_5.9-1_all.deb) ...
  49. Processing triggers for man-db ...
  50. Setting up drush (5.9-1) ...
  51.                                          
  52. root@apostle:~# aptitude install aegir2
  53. The following NEW packages will be installed:
  54.   aegir-hostmaster2{a} aegir-provision2{a} aegir2
  55. 0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
  56. Need to get 0 B/141 kB of archives. After unpacking 818 kB will be used.
  57. Do you want to continue? [Y/n/?]
  58. Preconfiguring packages ...              
  59. Selecting previously unselected package aegir-provision2.
  60. (Reading database ... 29355 files and directories currently installed.)
  61. Unpacking aegir-provision2 (from .../aegir-provision2_2.0~rc2_all.deb) ...
  62. Selecting previously unselected package aegir-hostmaster2.
  63. Unpacking aegir-hostmaster2 (from .../aegir-hostmaster2_2.0~rc2_all.deb) ...
  64. Selecting previously unselected package aegir2.
  65. Unpacking aegir2 (from .../aegir2_2.0~rc2_all.deb) ...
  66. Processing triggers for ureadahead ...
  67. Setting up aegir-provision2 (2.0~rc2) ...
  68. adding aegir user...
  69. Adding user aegir to group www-data
  70.  
  71. Creating config file /etc/sudoers.d/aegir with new version
  72. Setting up aegir-hostmaster2 (2.0~rc2) ...
  73. 'drush' cache was cleared                                            [success]
  74. installing the Aegir frontend (Drupal with the hostmaster profile), please wait...
  75. Generated config Drush configuration file                            [success]
  76. Changed permissions of                                               [success]
  77. /var/aegir/.drush/server_localhost.alias.drushrc.php to 440
  78. Provision configuration root path /var/aegir/config exists.          [success]
  79. Provision configuration root ownership of /var/aegir/config has been [success]
  80. changed to aegir.
  81. Provision configuration root permissions of /var/aegir/config have   [success]
  82. been changed to 711.
  83. Provision configuration root path /var/aegir/config is writable.     [success]
  84. Provision configuration path /var/aegir/config/server_localhost has  [success]
  85. been created.
  86. Provision configuration ownership of                                 [success]
  87. /var/aegir/config/server_localhost has been changed to aegir.
  88. Provision configuration permissions of                               [success]
  89. /var/aegir/config/server_localhost have been changed to 711.
  90. Provision configuration path /var/aegir/config/server_localhost is   [success]
  91. writable.
  92. Provision client home path /var/aegir/clients exists.                [success]
  93. Provision client home ownership of /var/aegir/clients has been       [success]
  94. changed to aegir.
  95. Provision client home permissions of /var/aegir/clients have been    [success]
  96. changed to 711.
  97. Provision client home path /var/aegir/clients is writable.           [success]
  98. Provision can create new databases.                                  [success]
  99. Generated config Drush configuration file                            [success]
  100. Changed permissions of                                               [success]
  101. /var/aegir/.drush/server_master.alias.drushrc.php to 440
  102. Provision configuration root path /var/aegir/config exists.          [success]
  103. Provision configuration root ownership of /var/aegir/config has been [success]
  104. changed to aegir.
  105. Provision configuration root permissions of /var/aegir/config have   [success]
  106. been changed to 711.
  107. Provision configuration root path /var/aegir/config is writable.     [success]
  108. Provision configuration path /var/aegir/config/server_master has been[success]
  109. created.
  110. Provision configuration ownership of /var/aegir/config/server_master [success]
  111. has been changed to aegir.
  112. Provision configuration permissions of                               [success]
  113. /var/aegir/config/server_master have been changed to 711.
  114. Provision configuration path /var/aegir/config/server_master is      [success]
  115. writable.
  116. Provision client home path /var/aegir/clients exists.                [success]
  117. Provision client home ownership of /var/aegir/clients has been       [success]
  118. changed to aegir.
  119. Provision client home permissions of /var/aegir/clients have been    [success]
  120. changed to 711.
  121. Provision client home path /var/aegir/clients is writable.           [success]
  122. Backup path /var/aegir/backups exists.                               [success]
  123. Backup ownership of /var/aegir/backups has been changed to aegir.    [success]
  124. Backup permissions of /var/aegir/backups have been changed to 700.   [success]
  125. Backup path /var/aegir/backups is writable.                          [success]
  126. Provision PHP configuration path /var/aegir/config/includes has been [success]
  127. created.
  128. Provision PHP configuration ownership of /var/aegir/config/includes  [success]
  129. has been changed to aegir.
  130. Provision PHP configuration permissions of /var/aegir/config/includes[success]
  131. have been changed to 711.
  132. Provision PHP configuration path /var/aegir/config/includes is       [success]
  133. writable.
  134. Generated config Global settings.php file                            [success]
  135. Webserver custom pre-configuration path                              [success]
  136. /var/aegir/config/server_master/apache has been created.
  137. Webserver custom pre-configuration ownership of                      [success]
  138. /var/aegir/config/server_master/apache has been changed to aegir.
  139. Webserver custom pre-configuration permissions of                    [success]
  140. /var/aegir/config/server_master/apache have been changed to 711.
  141. Webserver custom pre-configuration path                              [success]
  142. /var/aegir/config/server_master/apache is writable.
  143. Webserver custom pre-configuration path                              [success]
  144. /var/aegir/config/server_master/apache/pre.d has been created.
  145. Webserver custom pre-configuration ownership of                      [success]
  146. /var/aegir/config/server_master/apache/pre.d has been changed to
  147. aegir.
  148. Webserver custom pre-configuration permissions of                    [success]
  149. /var/aegir/config/server_master/apache/pre.d have been changed to
  150. 700.
  151. Webserver custom pre-configuration path                              [success]
  152. /var/aegir/config/server_master/apache/pre.d is writable.
  153. Webserver custom post-configuration path                             [success]
  154. /var/aegir/config/server_master/apache/post.d has been created.
  155. Webserver custom post-configuration ownership of                     [success]
  156. /var/aegir/config/server_master/apache/post.d has been changed to
  157. aegir.
  158. Webserver custom post-configuration permissions of                   [success]
  159. /var/aegir/config/server_master/apache/post.d have been changed to
  160. 700.
  161. Webserver custom post-configuration path                             [success]
  162. /var/aegir/config/server_master/apache/post.d is writable.
  163. Webserver platform configuration path                                [success]
  164. /var/aegir/config/server_master/apache/platform.d has been created.
  165. Webserver platform configuration ownership of                        [success]
  166. /var/aegir/config/server_master/apache/platform.d has been changed to
  167. aegir.
  168. Webserver platform configuration permissions of                      [success]
  169. /var/aegir/config/server_master/apache/platform.d have been changed
  170. to 700.
  171. Webserver platform configuration path                                [success]
  172. /var/aegir/config/server_master/apache/platform.d is writable.
  173. Webserver virtual host configuration path                            [success]
  174. /var/aegir/config/server_master/apache/vhost.d has been created.
  175. Webserver virtual host configuration ownership of                    [success]
  176. /var/aegir/config/server_master/apache/vhost.d has been changed to
  177. aegir.
  178. Webserver virtual host configuration permissions of                  [success]
  179. /var/aegir/config/server_master/apache/vhost.d have been changed to
  180. 700.
  181. Webserver virtual host configuration path                            [success]
  182. /var/aegir/config/server_master/apache/vhost.d is writable.
  183. Generated config web server configuration file                       [success]
  184. Aegir 6.x-2.0-rc2 automated install script
  185. ==============================================================================
  186. Some settings have not been provided and will now be prompted.
  187. Don't worry: you will get to review those settings after the final install
  188.  
  189. This script will operate the following changes in your system:
  190.  
  191. 1. Create server-level configuration directories
  192. 2. Create the Hostmaster frontend platform
  193. 3. Install the frontend site
  194. 4. Setup the dispatcher (a user cron job)
  195.  
  196. We are making the following assumptions:
  197. * you have read and are following the install instructions at:
  198.    http://community.aegirproject.org/installing
  199. * the FQDN of this machine is valid and resolves
  200. * you are executing this script as your "aegir" user
  201.  
  202. The following settings will be used:
  203. Aegir frontend URL: apostle.swingon.in
  204. Master server FQDN: apostle.swingon.in
  205. Aegir root: /var/aegir
  206. Aegir user: aegir
  207. Web group: www-data
  208. Web server: apache
  209. Aegir DB host: localhost
  210. Aegir DB user: root
  211. Aegir DB password: <previously set>
  212. Aegir version: 6.x-2.0-rc2
  213. Aegir platform path: /var/aegir/hostmaster-6.x-2.0-rc2
  214. Aegir makefile: /usr/share/drush/commands/provision/aegir.make
  215. Admin email: aegir@apostle.swingon.in
  216.  
  217. Do you really want to proceed with the install (y/n): y
  218. Enabling hosting-queued daemon
  219. The drush command '@hostmaster pm-enable hosting_queued' could not be[error]
  220. found.  Run `drush cache-clear drush` to clear the commandfile cache
  221. if you have installed new extensions.
  222. A Drupal installation directory could not be found                   [error]
  223. dpkg: error processing aegir-hostmaster2 (--configure):
  224. subprocess installed post-installation script returned error exit status 1
  225. dpkg: dependency problems prevent configuration of aegir2:
  226. aegir2 depends on aegir-hostmaster2 (>= 2.0~rc2); however:
  227.  Package aegir-hostmaster2 is not configured yet.
  228. dpkg: error processing aegir2 (--configure):
  229. dependency problems - leaving unconfigured
  230. No apport report written because MaxReports is reached already
  231.                                                              No apport report written because MaxReports is reached already
  232.                                                                                                                            Errors were encountered while processing:
  233. aegir-hostmaster2
  234. aegir2
  235. E: Sub-process /usr/bin/dpkg returned an error code (1)
  236. A package failed to install.  Trying to recover:
  237. Setting up aegir-hostmaster2 (2.0~rc2) ...
  238. 'drush' cache was cleared                                            [success]
  239. installing the Aegir frontend (Drupal with the hostmaster profile), please wait...
  240. Changed permissions of                                               [success]
  241. /var/aegir/.drush/server_localhost.alias.drushrc.php to 640
  242. Generated config Drush configuration file                            [success]
  243. Changed permissions of                                               [success]
  244. /var/aegir/.drush/server_localhost.alias.drushrc.php to 440
  245. Provision configuration root path /var/aegir/config exists.          [success]
  246. Provision configuration root ownership of /var/aegir/config has been [success]
  247. changed to aegir.
  248. Provision configuration root permissions of /var/aegir/config have   [success]
  249. been changed to 711.
  250. Provision configuration root path /var/aegir/config is writable.     [success]
  251. Provision configuration path /var/aegir/config/server_localhost      [success]
  252. exists.
  253. Provision configuration ownership of                                 [success]
  254. /var/aegir/config/server_localhost has been changed to aegir.
  255. Provision configuration permissions of                               [success]
  256. /var/aegir/config/server_localhost have been changed to 711.
  257. Provision configuration path /var/aegir/config/server_localhost is   [success]
  258. writable.
  259. Provision client home path /var/aegir/clients exists.                [success]
  260. Provision client home ownership of /var/aegir/clients has been       [success]
  261. changed to aegir.
  262. Provision client home permissions of /var/aegir/clients have been    [success]
  263. changed to 711.
  264. Provision client home path /var/aegir/clients is writable.           [success]
  265. Provision can create new databases.                                  [success]
  266. Changed permissions of                                               [success]
  267. /var/aegir/.drush/server_master.alias.drushrc.php to 640
  268. Generated config Drush configuration file                            [success]
  269. Changed permissions of                                               [success]
  270. /var/aegir/.drush/server_master.alias.drushrc.php to 440
  271. Provision configuration root path /var/aegir/config exists.          [success]
  272. Provision configuration root ownership of /var/aegir/config has been [success]
  273. changed to aegir.
  274. Provision configuration root permissions of /var/aegir/config have   [success]
  275. been changed to 711.
  276. Provision configuration root path /var/aegir/config is writable.     [success]
  277. Provision configuration path /var/aegir/config/server_master exists. [success]
  278. Provision configuration ownership of /var/aegir/config/server_master [success]
  279. has been changed to aegir.
  280. Provision configuration permissions of                               [success]
  281. /var/aegir/config/server_master have been changed to 711.
  282. Provision configuration path /var/aegir/config/server_master is      [success]
  283. writable.
  284. Provision client home path /var/aegir/clients exists.                [success]
  285. Provision client home ownership of /var/aegir/clients has been       [success]
  286. changed to aegir.
  287. Provision client home permissions of /var/aegir/clients have been    [success]
  288. changed to 711.
  289. Provision client home path /var/aegir/clients is writable.           [success]
  290. Backup path /var/aegir/backups exists.                               [success]
  291. Backup ownership of /var/aegir/backups has been changed to aegir.    [success]
  292. Backup permissions of /var/aegir/backups have been changed to 700.   [success]
  293. Backup path /var/aegir/backups is writable.                          [success]
  294. Provision PHP configuration path /var/aegir/config/includes exists.  [success]
  295. Provision PHP configuration ownership of /var/aegir/config/includes  [success]
  296. has been changed to aegir.
  297. Provision PHP configuration permissions of /var/aegir/config/includes[success]
  298. have been changed to 711.
  299. Provision PHP configuration path /var/aegir/config/includes is       [success]
  300. writable.
  301. Global configuration file exists                                     [success]
  302. Webserver custom pre-configuration path                              [success]
  303. /var/aegir/config/server_master/apache exists.
  304. Webserver custom pre-configuration ownership of                      [success]
  305. /var/aegir/config/server_master/apache has been changed to aegir.
  306. Webserver custom pre-configuration permissions of                    [success]
  307. /var/aegir/config/server_master/apache have been changed to 711.
  308. Webserver custom pre-configuration path                              [success]
  309. /var/aegir/config/server_master/apache is writable.
  310. Webserver custom pre-configuration path                              [success]
  311. /var/aegir/config/server_master/apache/pre.d exists.
  312. Webserver custom pre-configuration ownership of                      [success]
  313. /var/aegir/config/server_master/apache/pre.d has been changed to
  314. aegir.
  315. Webserver custom pre-configuration permissions of                    [success]
  316. /var/aegir/config/server_master/apache/pre.d have been changed to
  317. 700.
  318. Webserver custom pre-configuration path                              [success]
  319. /var/aegir/config/server_master/apache/pre.d is writable.
  320. Webserver custom post-configuration path                             [success]
  321. /var/aegir/config/server_master/apache/post.d exists.
  322. Webserver custom post-configuration ownership of                     [success]
  323. /var/aegir/config/server_master/apache/post.d has been changed to
  324. aegir.
  325. Webserver custom post-configuration permissions of                   [success]
  326. /var/aegir/config/server_master/apache/post.d have been changed to
  327. 700.
  328. Webserver custom post-configuration path                             [success]
  329. /var/aegir/config/server_master/apache/post.d is writable.
  330. Webserver platform configuration path                                [success]
  331. /var/aegir/config/server_master/apache/platform.d exists.
  332. Webserver platform configuration ownership of                        [success]
  333. /var/aegir/config/server_master/apache/platform.d has been changed to
  334. aegir.
  335. Webserver platform configuration permissions of                      [success]
  336. /var/aegir/config/server_master/apache/platform.d have been changed
  337. to 700.
  338. Webserver platform configuration path                                [success]
  339. /var/aegir/config/server_master/apache/platform.d is writable.
  340. Webserver virtual host configuration path                            [success]
  341. /var/aegir/config/server_master/apache/vhost.d exists.
  342. Webserver virtual host configuration ownership of                    [success]
  343. /var/aegir/config/server_master/apache/vhost.d has been changed to
  344. aegir.
  345. Webserver virtual host configuration permissions of                  [success]
  346. /var/aegir/config/server_master/apache/vhost.d have been changed to
  347. 700.
  348. Webserver virtual host configuration path                            [success]
  349. /var/aegir/config/server_master/apache/vhost.d is writable.
  350. Generated config web server configuration file                       [success]
  351. Aegir 6.x-2.0-rc2 automated install script
  352. ==============================================================================
  353. Some settings have not been provided and will now be prompted.
  354. Don't worry: you will get to review those settings after the final install
  355.  
  356. This script will operate the following changes in your system:
  357.  
  358. 1. Create server-level configuration directories
  359. 2. Create the Hostmaster frontend platform
  360. 3. Install the frontend site
  361. 4. Setup the dispatcher (a user cron job)
  362.  
  363. We are making the following assumptions:
  364.  * you have read and are following the install instructions at:
  365.     http://community.aegirproject.org/installing
  366.  * the FQDN of this machine is valid and resolves
  367.  * you are executing this script as your "aegir" user
  368.  
  369. The following settings will be used:
  370.  Aegir frontend URL: apostle.swingon.in
  371.  Master server FQDN: apostle.swingon.in
  372.  Aegir root: /var/aegir
  373.  Aegir user: aegir
  374.  Web group: www-data
  375.  Web server: apache
  376.  Aegir DB host: localhost
  377.  Aegir DB user: root
  378.  Aegir DB password: <previously set>
  379.  Aegir version: 6.x-2.0-rc2
  380.  Aegir platform path: /var/aegir/hostmaster-6.x-2.0-rc2
  381.  Aegir makefile: /usr/share/drush/commands/provision/aegir.make
  382.  Admin email: aegir@apostle.swingon.in
  383.  
  384. Do you really want to proceed with the install (y/n): y
  385. Enabling hosting-queued daemon
  386. The drush command '@hostmaster pm-enable hosting_queued' could not be[error]
  387. found.  Run `drush cache-clear drush` to clear the commandfile cache
  388. if you have installed new extensions.
  389. A Drupal installation directory could not be found                   [error]
  390. dpkg: error processing aegir-hostmaster2 (--configure):
  391.  subprocess installed post-installation script returned error exit status 1
  392. dpkg: dependency problems prevent configuration of aegir2:
  393.  aegir2 depends on aegir-hostmaster2 (>= 2.0~rc2); however:
  394.   Package aegir-hostmaster2 is not configured yet.
  395. dpkg: error processing aegir2 (--configure):
  396.  dependency problems - leaving unconfigured
  397. Errors were encountered while processing:
  398.  aegir-hostmaster2
  399.  aegir2
  400.                                          
  401. root@apostle:~# cd /var/aegir/
  402. root@apostle:/var/aegir# l
  403. backups/  clients/  config/  platforms/
  404. root@apostle:/var/aegir# ls -la
  405. total 36
  406. drwxr-xr-x  7 aegir aegir 4096 Jul 22 15:09 .
  407. drwxr-xr-x 14 root  root  4096 Jul 22 13:51 ..
  408. drwx------  2 aegir aegir 4096 Jul 22 13:58 backups
  409. -rw-------  1 aegir aegir  539 Jul 22 15:41 .bash_history
  410. drwx--x--x  2 aegir aegir 4096 Jul 22 13:58 clients
  411. drwx--x--x  5 aegir aegir 4096 Jul 23 12:55 config
  412. drwxrwxr-x  3 aegir aegir 4096 Jul 23 12:55 .drush
  413. -rw-------  1 aegir aegir  783 Jul 22 15:09 .mysql_history
  414. drwxr-xr-x  2 aegir aegir 4096 Jul 22 13:59 platforms
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement