[MNT-17233] Alfresco linux installer not working on ubuntu Created: 06-Dec-16 Updated: 06-Jan-17 Resolved: 06-Jan-17 |
|
Status: | Closed |
Project: | Service Packs and Hot Fixes |
Component/s: | Installer |
Affects Version/s: | 4.2.N |
Fix Version/s: | None |
Type: | Bug | ||
Reporter: | Jelena Cule [X] (Inactive) | Assignee: | Closed Issues |
Resolution: | Not a bug | Votes: | 0 |
Labels: | None | ||
Remaining Estimate: | 0 minutes | ||
Time Spent: | 1 day, 2 hours, 20 minutes | ||
Original Estimate: | Not Specified |
Issue Links: |
|
||||||||
Bug Priority: |
|
Description |
Preconditions: Downloaded alfresco-enterprise-4.2.7-installer-linux-x64.bin from https://bamboo.alfresco.com/bamboo/browse/ALF-ENTERPRISEV42BUGFIX-1440/artifact Steps to reproduce: drwxr-xr-x 15 root root 4096 Dec 6 16:03 . drwxr-xr-x 23 root root 4096 Jun 8 2015 .. -rwxrwxrwx 1 root root 294 Oct 13 15:31 alfinstall.sh drwxr-xr-x 15 root root 4096 Nov 10 07:44 alfresco-5.2 drwxr-xr-x 8 root root 4096 Dec 6 11:03 alfresco_ear drwxr-xr-x 3 root root 4096 Dec 6 11:03 alfresco_ear_5.2 -rwxrwxrwx 1 root root 634144266 Dec 6 16:06 alfresco-enterprise-4.2.7-installer-linux-x64.bin drwxr-xr-x 4 root root 4096 Nov 10 12:40 alfresco-one-tas drwxr-xr-x 4 root root 4096 Nov 10 12:54 alfresco-tas drwxr-xr-x 9 root root 4096 Sep 22 15:52 apache-tomcat-7.0.72 -rw-r--r-- 1 root root 8931288 Sep 22 15:53 apache-tomcat-7.0.72.tar.gz drwxr-xr-x 3 root root 4096 Sep 5 11:13 CenteraSDK3.3 drwxr-xr-x 3 root root 4096 Jul 26 08:18 docker_forgerock -rw-r--r-- 1 root root 19535 Jun 13 12:44 fmw_12211_readme.htm -r-xr-xr-x 1 root root 829753003 Oct 9 21:49 fmw_12.2.1.2.0_wls.jar -rw-r--r-- 1 root root 8986 Oct 11 14:55 fmw_12212_readme.htm -rw-r--r-- 1 root root 158 Oct 27 13:41 install_opts -rw-r--r-- 1 root root 258544966 Sep 22 14:32 OpenAM-13.0.0.zip drwxr-xr-x 3 root root 4096 Sep 22 14:48 openam_unzipped drwxr-xr-x 14 root root 4096 Sep 28 13:24 solr4 drwxr-xr-x 4 root root 4096 Oct 3 12:23 wlc_alf_data drwxr-xr-x 4 root root 4096 Oct 3 08:55 wlc_alf_data5.2 drwxr-x--- 4 root root 4096 Oct 6 21:20 wlc_alf_data_servlet root@AFUbuntu:/opt# root@AFUbuntu:/opt# ./ alfresco-enterprise-4.2.7-installer-linux-x64.bin -bash: ./: Is a directory root@AFUbuntu:/opt# ./alfresco-enterprise-4.2.7-installer-linux-x64.bin Language Selection Please select the installation language [1] English - English [2] French - Français [3] Spanish - Español [4] Italian - Italiano [5] German - Deutsch [6] Japanese - 日本語 [7] Dutch - Nederlands [8] Russian - Русский [9] Simplified Chinese - 简体中文 [10] Norwegian - Norsk bokmål [11] Brazilian Portuguese - Português Brasileiro Please choose an option [1] : ---------------------------------------------------------------------------- Welcome to the Alfresco Enterprise Setup Wizard. ---------------------------------------------------------------------------- Installation Type [1] Easy - Installs servers with the default configuration [2] Advanced - Configures server ports and service properties.: Also choose optional components to install. Please choose an option [1] : ---------------------------------------------------------------------------- Installation folder Please choose a folder to install Alfresco Enterprise Select a folder [/opt/alfresco-4.2.7]: ---------------------------------------------------------------------------- Admin Password Please give a password to use for the Alfresco administrator account. Admin Password: : Repeat Password: : Warning: Passwords Do Not Match! Press [Enter] to continue : ---------------------------------------------------------------------------- Admin Password Please give a password to use for the Alfresco administrator account. Admin Password: : Repeat Password: : ---------------------------------------------------------------------------- Install as a service You can optionally register Alfresco Enterprise as a service. This way it will automatically be started every time the machine is started. Install Alfresco Enterprise as a service? [Y/n]: n ---------------------------------------------------------------------------- Setup is now ready to begin installing Alfresco Enterprise on your computer. Do you want to continue? [Y/n]: Y ---------------------------------------------------------------------------- Please wait while Setup installs Alfresco Enterprise on your computer. Installing 0% ______________ 50% ______________ 100% ############ Error: There has been an error. Error running su postgres -c '"/opt/alfresco-4.2.7/postgresql/bin/psql" -c "ALTER USER postgres PASSWORD '\''****'\''" ' : psql.bin: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? Press [Enter] to continue : root@AFUbuntu:/opt# Expected Result: Actual Result: Installation unsuccessful with error message displayed: Error: There has been an error. Error running su postgres -c '"/opt/alfresco-4.2.7/postgresql/bin/psql" -c "ALTER USER postgres PASSWORD '\''****'\''" ' : psql.bin: could not connect to server: Connection refused Is the server running on host "localhost" (127.0.0.1) and accepting TCP/IP connections on port 5432? Press [Enter] to continue : EDIT: |
Comments |
Comment by Alexandru Epure [ 06-Jan-17 ] |
This is not a bug, is an environmental fix variable. On the PostgreSQL documentation we can read more about why this occurs and a proposed fix: https://www.postgresql.org/docs/9.1/static/kernel-resources.html (Under the "Linux:" tab) |