[Linux-PowerEdge] OM 7.1.0-4 Debian Repo srvadmin-tomcat doesn't install

Dirk Hartmann dha at heise.de
Tue Oct 30 03:10:50 CDT 2012


Hi Jared,

--On Monday, October 29, 2012 11:26:53 AM -0500 
Jared_Dominguez at DELL.com wrote:

> The preinst script for this package does this check:
> 	[ -d ${srvadmin_sysconfdir}/openmanage/iws/config ] && [ -d
> ${srvadmin_datadir}/java/ ] It doesn't check if the files it needs in
> /etc/opt/dell/srvadmin/openmanage/iws/config/ are present before
> doing a keystore/jar migration. I've updated this script to do more
> thorough checking to avoid the case you run into. (I'll have the
> updated package published in the next couple days--hopefully
> sooner--after I've finished testing and resolving the other bug
> that's been brought up.) In the meantime, to avoid the condition
> caused by this older test, you can remove or rename
> /etc/opt/dell/srvadmin/openmanage/iws/config before upgrading. If you
> already tried to upgrade a system, there will be a
> /opt/dell/srvadmin/backup directory, which you'll also need to
> remove. (The updated package will do checks on this directory as
> well.)

I see that /opt/dell/srvadmin/backup already exists on maschines that 
have been upgraded in the past.
After moving /opt/dell/srvadmin/backup and 
/etc/opt/dell/srvadmin/openmanage/iws/config to off.x The Install works.
Thanks!

> As far as installing the 32-bit packages on a system with a 64-bit
> kernel, there are some possible issues with this, and OMSA is
> actually not tested with this configuration.

We have at least 20 Debian-Squeeze-Server running in this 
configuration. All work well with the omsa-packages.
The only thing is on the first install it will complain about some 
missing XXX64.ini-files. After touching them like suggested in an older 
post here 
<http://lists.us.dell.com/pipermail/linux-poweredge/2012-May/046392.html> 
- install completes.

thanks again

Dirk

> I don't see those ldconfig errors with Ubuntu, but I do know that
> it's right about those files not being symbolic links. That is how
> they should be in a working OMSA install to be consistent with the
> official builds, even though those libraries should be versioned if
> they were to be used by outside packages at some point to better
> follow Debian Policy.
>
> --Jared
>
> -----Original Message-----
> From: linux-poweredge-bounces-Lists On Behalf Of Dirk Hartmann
> Sent: Monday, October 29, 2012 5:02 AM
> To: linux-poweredge-Lists
> Subject: Re: [Linux-PowerEdge] OM 7.1.0-4 Debian Repo srvadmin-tomcat
> doesn't install
>
> Hi Jared,
>
> --On Friday, October 26, 2012 08:38:55 AM -0500
> Jared_Dominguez at DELL.com wrote:
>
>> It installs for me both on Ubuntu 10.04 and Ubuntu 12.04. Can you
>> check if /etc/opt/dell/srvadmin/openmanage/iws/config is exists? It
>> should not exist on a clean install but might on an upgrade. I'll
>> add  some checks for upgrades, but for clean installs, you should
>> not be  running into this problem at all.
>>
>
> /etc/opt/dell/srvadmin/openmanage/iws/config/ exists on update.
>
> It's strange. On some servers it installs, on some it doesn't. First
> I thought there was a problem only on machines running 64bit-kernel
> with a 32bit-userland. But I get errors even on upgrading pure 64bit
> systems.
>
> Unpacking replacement srvadmin-deng ...
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libdceda.so is not a
> symbolic link
>
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libdsm_sa_snmp.so is not
> a symbolic link
>
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libdsm_sa_eventmgr.so is
> not a symbolic link
>
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libdsm_sa_datamgr.so is
> not a symbolic link
>
> Preparing to replace srvadmin-hapi 7.1.0-1 (using
> .../srvadmin-hapi_7.1.0-2_amd64.deb) ...
> Unpacking replacement srvadmin-hapi ...
> Preparing to replace srvadmin-omacore 7.1.0-2 (using
> .../srvadmin-omacore_7.1.0-4_amd64.deb) ...
> /opt/dell/srvadmin/lib/srvadmin-omilcore/Funcs.sh: line 58:
> /etc/init.d/dsm_om_shrsvc: No such file or directory Unpacking
> replacement srvadmin-omacore ... ldconfig:
> /opt/dell/srvadmin/lib/openmanage/libomaep.so is not a symbolic link
>
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libsysclp.so is not a
> symbolic link
>
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libhipda.so is not a
> symbolic link
>
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libinvmib.so is not a
> symbolic link
>
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libinvda.so is not a
> symbolic link
>
> ldconfig: /opt/dell/srvadmin/lib/openmanage/libchaclp.so is not a
> symbolic link
>
> Preparing to replace srvadmin-rac4 7.1.0-1 (using
> .../srvadmin-rac4_7.1.0-2_amd64.deb) ...
> Unpacking replacement srvadmin-rac4 ...
> Preparing to replace srvadmin-racadm4 7.1.0-1 (using
> .../srvadmin-racadm4_7.1.0-2_amd64.deb) ...
> Unpacking replacement srvadmin-racadm4 ...
> Preparing to replace srvadmin-racsvc 7.1.0-1 (using
> .../srvadmin-racsvc_7.1.0-2_amd64.deb) ...
> Unpacking replacement srvadmin-racsvc ...
> Preparing to replace srvadmin-rac4-populator 7.1.0-1 (using
> .../srvadmin-rac4-populator_7.1.0-2_amd64.deb) ...
> Unpacking replacement srvadmin-rac4-populator ...
> Preparing to replace srvadmin-tomcat 7.1.0-2 (using
> .../srvadmin-tomcat_7.1.0-4_amd64.deb) ...
> cp: cannot stat
> `/etc//opt/dell/srvadmin/openmanage/iws/config/*.ini':  No such file
> or directory
> dpkg: error processing
> /var/cache/apt/archives/srvadmin-tomcat_7.1.0-4_amd64.deb (--unpack):
>  subprocess new pre-installation script returned error exit status 1
> configured to not write apport reports
> cp: cannot stat
> `/opt/dell/srvadmin/backup/keystore.db': No such file or directory
> cp: cannot stat `/opt/dell/srvadmin/backup/OMPREF.jar': No such file
> or directory cp: cannot stat `/opt/dell/srvadmin/backup/OMSA.jar': No
> such file or directory Oct 29, 2012 10:48:06 AM
> com.dell.oma.common.OMSAUpgradeUtility logInfo INFO: calling
> migrateWebserverProperties Oct 29, 2012 10:48:06 AM
> com.dell.oma.common.OMSAUpgradeUtility logInfo INFO: In
> migrateWebserverProperties method Oct 29, 2012 10:48:06 AM
> com.dell.oma.common.OMSAUpgradeUtility logInfo INFO:
> filePath:/opt/dell/srvadmin
> Oct 29, 2012 10:48:06 AM com.dell.oma.common.OMSAUpgradeUtility
> logInfo INFO:
> omprviniPath:/opt/dell/srvadmin/etc/openmanage/oma/ini/omprv32.ini
> Oct 29, 2012 10:48:06 AM com.dell.oma.common.OMSAUpgradeUtility
> logInfo INFO: upgrade unsuccessful
> Processing triggers for man-db ...
> Errors were encountered while processing:
>  /var/cache/apt/archives/srvadmin-tomcat_7.1.0-4_amd64.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
>
> I didn't use approx on this server.
>
> The only working way to get it installed was to purge all packages
> and remove /opt/dell and /etc/opt. But so the keystore is lost and I
> have to regenerate and sign the SSL-certificates.
>
> The server on which it worked was a clone of this one...
> Kind of odd
>
> Dirk

-- 
Dirk Hartmann, Heise Zeitschriften Verlag GmbH & Co. KG
IT-Systemmanagement, Karl-Wiechert-Allee 10,  D-30625 Hannover
E-Mail: dha at heise.de - Tel.: +49 511 5352 494 - FAX:  - 479
PGP-Fingerprint 4153 7C95 3259 C39F 49AA  9BAA 6833 A8DC 6D90 050E



More information about the Linux-PowerEdge mailing list