[csw-users] Sendmail - File too large

Owen Eng owen.eng at rogers.com
Sun Jun 12 22:13:10 CEST 2011


I tried to install (upgrade) the new package to test a few times but kept running into this...

****** BEGIN ******

# pkgutil -t http://buildfarm.opencsw.org/opencsw/experimental/sendmail -u CSWsendmail
=> Fetching new catalog and descriptions (http://buildfarm.opencsw.org/opencsw/experimental/sendmail/i386/5.10) if available ...
--15:48:44--  http://buildfarm.opencsw.org/opencsw/experimental/sendmail/i386/5.10/catalog
            => `/var/opt/csw/pkgutil/catalog.buildfarm.opencsw.org_opencsw_experimental_sendmail_i386_5.10.tmp'
Resolving buildfarm.opencsw.org... done.
Connecting to buildfarm.opencsw.org[213.178.77.176]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 240 [text/plain]

100%[========================================================================================>] 240          234.38K/s    ETA 00:00

15:48:45 (234.38 KB/s) - `/var/opt/csw/pkgutil/catalog.buildfarm.opencsw.org_opencsw_experimental_sendmail_i386_5.10.tmp' saved [240/240]

--15:48:45--  http://buildfarm.opencsw.org/opencsw/experimental/sendmail/i386/5.10/descriptions
            => `/var/opt/csw/pkgutil/descriptions.buildfarm.opencsw.org_opencsw_experimental_sendmail_i386_5.10.tmp'
Resolving buildfarm.opencsw.org... done.
Connecting to buildfarm.opencsw.org[213.178.77.176]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 24 [text/plain]

100%[========================================================================================>] 24            23.44K/s    ETA 00:00

15:48:45 (23.44 KB/s) - `/var/opt/csw/pkgutil/descriptions.buildfarm.opencsw.org_opencsw_experimental_sendmail_i386_5.10.tmp' saved [24/24]

==> 1 packages loaded from /var/opt/csw/pkgutil/catalog.buildfarm.opencsw.org_opencsw_experimental_sendmail_i386_5.10
=> Fetching new catalog and descriptions (http://mirror.opencsw.org/opencsw/stable/i386/5.10) if available ...
--15:48:45--  http://mirror.opencsw.org/opencsw/stable/i386/5.10/catalog
            => `/var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_stable_i386_5.10.tmp'
Resolving mirror.opencsw.org... done.
Connecting to mirror.opencsw.org[131.188.40.80]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 314,612 [text/plain]

100%[========================================================================================>] 314,612      144.51K/s    ETA 00:00

15:48:47 (144.51 KB/s) - `/var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_stable_i386_5.10.tmp' saved [314612/314612]

--15:48:47--  http://mirror.opencsw.org/opencsw/stable/i386/5.10/descriptions
            => `/var/opt/csw/pkgutil/descriptions.mirror.opencsw.org_opencsw_stable_i386_5.10.tmp'
Resolving mirror.opencsw.org... done.
Connecting to mirror.opencsw.org[131.188.40.80]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 90,031 [text/plain]

100%[========================================================================================>] 90,031        83.97K/s    ETA 00:00

15:48:52 (83.97 KB/s) - `/var/opt/csw/pkgutil/descriptions.mirror.opencsw.org_opencsw_stable_i386_5.10.tmp' saved [90031/90031]

==> 1680 packages loaded from /var/opt/csw/pkgutil/catalog.mirror.opencsw.org_opencsw_stable_i386_5.10
Solving needed dependencies ...
Solving dependency order ...
Loop protection limit (100000 iterations) hit. There's probably a
cyclic dependency in the catalog.
Do you want to continue anyway? ([y],n) y
Install 1 UPDATED packages: CSWsendmail-8.14.5,REV=2011.06.12
13 CURRENT packages: CSWbdb4-4.2.52,REV=2009.10.18 CSWbdb48-4.8.30,REV=2010.12.06_rev=p0 CSWcas-initsmf-1.42,REV=2010.11.26 CSWcommon-1.4.7,REV=2009.09.20 CSWcswclassutils-1.42,REV=2010.11.26 CSWlibnet-1.0.2,REV=2004.04.08_rev=a CSWoldaprt-2.4.23,REV=2010.11.17 CSWossl-0.9.8q,REV=2010.12.04 CSWossldevel-0.9.8q,REV=2010.12.04 CSWosslrt-0.9.8q,REV=2010.12.04 CSWosslutils-0.9.8q,REV=2010.12.04 CSWsasl-2.1.22,REV=2007.06.19 CSWtcpwrap-7.6,REV=2006.03.30.ipv6.4
Total size: 958.3 KB
=> Fetching CSWsendmail-8.14.5,REV=2011.06.12 (1/1) ...
--15:49:07--  http://buildfarm.opencsw.org/opencsw/experimental/sendmail/i386/5.10/sendmail-8.14.5,REV=2011.06.12-SunOS5.9-i386-CSW.pkg.gz
            => `/var/opt/csw/pkgutil/packages/sendmail-8.14.5,REV=2011.06.12-SunOS5.9-i386-CSW.pkg.gz.tmp'
Resolving buildfarm.opencsw.org... done.
Connecting to buildfarm.opencsw.org[213.178.77.176]:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 981,300 [application/x-gzip]

100%[========================================================================================>] 981,300       98.53K/s    ETA 00:00

15:49:17 (98.53 KB/s) - `/var/opt/csw/pkgutil/packages/sendmail-8.14.5,REV=2011.06.12-SunOS5.9-i386-CSW.pkg.gz.tmp' saved [981300/981300]

MD5 for CSWsendmail-8.14.5,REV=2011.06.12 matched.

=> Removing old version of CSWsendmail (1/1) ...

The following package is currently installed:
    CSWsendmail  sendmail - Sendmail MTA
                 (i386) 8.14.2,REV=2007.12.17

Do you want to remove this package? [y,n,?,q] y

## Removing installed package instance <CSWsendmail>
(A previous attempt may have been unsuccessful.)

This package contains scripts which will be executed with super-user
permission during the process of removing this package.

Do you want to continue with the removal of this package [y,n,?,q] y
## Verifying package <CSWsendmail> dependencies in global zone
## Processing package information.
## Executing preremove script.
/var/sadm/pkg/CSWsendmail/install/preremove: test: argument expected
pkgrm: ERROR: preremove script did not complete successfully

Removal of <CSWsendmail> failed.

=> Installing CSWsendmail-8.14.5,REV=2011.06.12 (1/1) ...
gzip: /var/opt/csw/pkgutil/packages/sendmail-8.14.5,REV=2011.06.12-SunOS5.9-i386-CSW.pkg already exists; do you wish to overwrite (y or n)? y

Processing package instance <CSWsendmail> from </var/opt/csw/pkgutil/packages/sendmail-8.14.5,REV=2011.06.12-SunOS5.9-i386-CSW.pkg>

sendmail - Sendmail MTA(i386) 8.14.5,REV=2011.06.12

Current administration requires that a unique instance of the
<CSWsendmail> package be created.  However, the maximum number of
instances of the package which may be supported at one time on the
same system has already been met.

No changes were made to the system.

pkgadd failed with exit code: 4
Exit from pkgutil and fix this issue first (recommended)? ([y],n) y
Exiting pkgutil
#

****** END ******

I do recall it was an effort to get everything working. Excerpts from the proccedure I used went something like this...

# svcadm -v disable svc:/network/sendmail-client:default
# svcadm -v disable svc:/network/smtp:sendmail
# pkgutil -i -y CSWsendmail
# /opt/csw/share/mail/Sun-sendmail-deactivate.sh
# pkgutil -i -y CSWmailscanner CSWspamassassin CSWclamav
# svcadm -v disable cswsendmail
# svcadm -v enable cswmailscanner
# svcadm -v enable cswmailscannersendmail

Do you think I must undo everything and remove the old CSWsendmail package first? If so, I hope everything else does not break.

Owen

> I gave it a shot.  First, I compiled the recipe without modifying it,
> to see if it still builds. It did.  In the next step, I've set the
> additional compilation options (-D_LARGEFILE_SOURCE
> -D_FILE_OFFSET_BITS=6), sendmail compiled as well. As the last step, I
> bumped the version from 8.14.4 to 8.14.5, and sendmail built as well.
>
> The new sendmail packages are available here:
>
> http://buildfarm.opencsw.org/experimental.html#sendmail
>
> Owen, could you test the new packages? Do they allow you to work with
> files>2GB?

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.



More information about the users mailing list