[csw-users] sol 11 zone sqwebmail *SOLVED*

Sage McGirk freeflysage at gmail.com
Thu Jan 19 14:17:05 CET 2012


Sage McGirk <freeflysage at ...> writes:

> 
> SunOS mail 5.11 11.0 i86pc i386 i86pc
> 
> __end of install snip__
> 
> Installing class <smfyes>.
> /opt/csw/lib/svc/method/svc-sqwebmail.CSW
> /opt/csw/var/svc/manifest/application/sqwebmail.xml.CSW
> *** NOTICE ***
> Running install-configure scripts.
> See log in /opt/csw/share/doc/sqwebmail/install-20120118214436
> ## Creating sqwebmail manifest from .CSW file
> Install_root (-R option) requires an absolute pathname: <-c>
> installf: ERROR: Command line install root contends with environment.
> pkgadd: ERROR: postinstall script did not complete successfully
> 
> Installation of <CSWsqwebmail> partially failed.
> Exiting pkgutil due to pkgadd error: 2
> 
> root <at> mail:/opt/csw/share/doc/sqwebmail# cat install-20120118214436
> Run install-configure script.
> ##  Installing/Upgrading ldapaddressbook
> ldapaddressbook:
>   ldapaddressbook: new
> ##  Installing/Upgrading sqwebmaild
> sqwebmaild:
>   PIDFILE: new
>   DEBUG_LOGIN: new
>   MAILDIRPATH: new
>   SQWEBMAIL_PREFORK: new
>   LOGGEROPTS: new
>   LDAP_FILTERSTRINGS: new
> ##  Creating sqwebmail manifest from .CSW file
> 
> Happy to supply any additional logs
> 
> Thanks
> 
> /sm
> 

Download the packages
pkgutil -d sqwebmail

cd /var/opt/csw/pkgutil/packages
gunzip sqwebmail-5.2.0,REV=2007.11.03-SunOS5.8-i386-CSW.pkg.gz
pkgtrans sqwebmail-5.2.0,REV=2007.11.03-SunOS5.8-i386-CSW.pkg ./
cd CSWsqwebmail/install
vi postinstall

__edit near bottom of file *from*__
# Commit any pkgmap adds and deletes
if [ $installfdone = yes ] ; then
    /usr/sbin/installf -f -c smfyes $PKGINST || exit 2
fi
__*to**__
# Commit any pkgmap adds and deletes
if [ $installfdone = yes ] ; then
    /usr/sbin/installf -R -f -c smfyes $PKGINST || exit 2
fi
__ Note: the additional -R__

/usr/xpg4/bin/sh ./postinstall

/sm



More information about the users mailing list