By: David C. user 12 Jun 2019 at 7:57 a.m. CDT

3 Responses
David C. gravatar
hi, installation fails for following versions: 3.1.6.sp1, 3.1.6, 3.1.5 , 3.1.4, 3.1.3, 3.1.2 i've followed the installation guide and the youtube video: https://www.youtube.com/watch?v=4lokLzJTzvo the output says: dpkg: error processing package gluu-server-3.1.6.sp1 (--configure): subprocess installed post-installation script returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1) apt-get install gluu-server-3.1.6.sp1 Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: gluu-server-3.1.6.sp1 0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded. Need to get 608 MB of archives. After this operation, 1,151 MB of additional disk space will be used. Get:1 https://repo.gluu.org/ubuntu xenial/main amd64 gluu-server-3.1.6.sp1 amd64 1-6~xenial+Ub16.04 [608 MB] Fetched 608 MB in 24s (24.4 MB/s) Selecting previously unselected package gluu-server-3.1.6.sp1. (Reading database ... 71137 files and directories currently installed.) Preparing to unpack .../gluu-server-3.1.6.sp1_1-6~xenial+Ub16.04_amd64.deb ... Unpacking gluu-server-3.1.6.sp1 (1-6~xenial+Ub16.04) ... Processing triggers for ureadahead (0.100.0-19.1) ... Processing triggers for systemd (229-4ubuntu21.21) ... Setting up gluu-server-3.1.6.sp1 (1-6~xenial+Ub16.04) ... update-rc.d: error: initscript does not exist: /etc/init.d/gluu-server-3.1.6 dpkg: error processing package gluu-server-3.1.6.sp1 (--configure): subprocess installed post-installation script returned error exit status 1 E: Sub-process /usr/bin/dpkg returned an error code (1) the last version which seems to work is the one in the video 3.1.1 ! best regards, David C.

By Davit Nikoghosyan staff 13 Jun 2019 at 7:22 a.m. CDT

Davit Nikoghosyan gravatar
Hi Davit, Do you have gluu-server-3.1.1 installed on your machine. If yes please try to remove it with purge, then install other version you need. so commands to try. (1st command will remove any available version of gluu-server) ``` apt purge gluu-server-* apt autoremove apt autoclean apt clean apt update apt install gluu-server-3.1.6.sp1 ``` Please try and let us know. Thank you, Davit

By David C. user 21 Jun 2019 at 1:09 a.m. CDT

David C. gravatar
I've tried again with a complete new setup and the supplied commands. the Installation script has successfully run to end. To get it all to work i had 2 further steps todo: 1. uncomment the sourcedGenerators in `/opt/shibboleth-idp/conf/saml-nameid.xml` ``` "shibboleth.SAML1AttributeSourcedGenerator" "shibboleth.SAML2AttributeSourcedGenerator" ``` 1. replace missing id in with some valid value: ``` /opt/shibboleth-idp/conf/attribute-resolver.xml <resolver:AttributeDefinition xsi:type="ad:Simple" id="" sourceAttributeID="mail"> ``` best regards david

By Davit Nikoghosyan staff 21 Jun 2019 at 1:31 a.m. CDT

Davit Nikoghosyan gravatar
Hi David, Thanks for your reply. As everything works now, I will close the ticket. Will pass shibboleth related part to our dev team, thanks for posting it. Please feel free to reopen it or create new one if you have any other questions.