[cas_initsmf 0005121]: Install package problem

Mantis Bug Tracker via bug-notifications bug-notifications at lists.opencsw.org
Fri Nov 8 14:12:16 CET 2013


A NOTE has been added to this issue. 
====================================================================== 
https://www.opencsw.org/mantis/view.php?id=5121 
====================================================================== 
Reported By:                pcfung
Assigned To:                
====================================================================== 
Project:                    cas_initsmf
Issue ID:                   5121
Category:                   regular use
Reproducibility:            unable to reproduce
Severity:                   minor
Priority:                   normal
Status:                     new
====================================================================== 
Date Submitted:             2013-11-08 14:00 CET
Last Modified:              2013-11-08 14:12 CET
====================================================================== 
Summary:                    Install package problem
Description: 
Hi,

i am using solaris 10 x86 and installing the apache2 on my zone with some
error massage shown:(Debug Mode=ON)

# /opt/csw/bin/pkgutil -i -y apache2
Solving needed dependencies ...
Solving dependency order ...
30 CURRENT packages:
        CSWalternatives-1.1.1,REV=2011.05.31
        CSWapache2-utils-2.2.22,REV=2012.06.01
        CSWapache2c-2.2.22,REV=2012.06.01
        CSWbdb48-4.8.30,REV=2010.12.06_rev=p0
        CSWcas-initsmf-1.49,REV=2013.03.13
        CSWcas-postmsg-1.42,REV=2010.11.26
        CSWcas-preserveconf-1.49,REV=2013.03.13
        CSWcommon-1.5,REV=2010.12.11
        CSWiconv-1.14,REV=2011.08.08
        CSWisaexec-0.2,REV=2009.03.26
        CSWlibapr-dev-1.4.6,REV=2012.03.03
        CSWlibapr1-0-1.4.6,REV=2012.03.03
        CSWlibaprutil-dev-1.3.12,REV=2011.07.26
        CSWlibaprutil1-0-1.3.12,REV=2011.07.26
        CSWlibaprutil1-dbm-db-1.3.12,REV=2011.07.26
        CSWlibaprutil1-ldap-1.3.12,REV=2011.07.26
        CSWlibcharset1-1.14,REV=2011.08.07
        CSWlibexpat1-2.1.0,REV=2013.01.01
        CSWlibgdbm4-1.9,REV=2011.10.24
        CSWlibiconv2-1.14,REV=2011.08.07
        CSWliblber2-4-2-2.4.32,REV=2012.11.05
        CSWlibldap-r2-4-2-2.4.32,REV=2012.11.05
        CSWlibldap2-4-2-2.4.32,REV=2012.11.05
        CSWlibsasl2-2-2.1.25,REV=2012.05.06
        CSWlibssl1-0-0-1.0.1e,REV=2013.03.30
        CSWlibz1-1.2.7,REV=2012.06.14
        CSWoldaprt-2.4.32,REV=2012.11.10
        CSWopenssl-utils-1.0.1e,REV=2013.03.30
        CSWosslutils-0.9.8x,REV=2012.05.12
        CSWperl-5.10.1,REV=2012.07.24
Install 1 NEW packages:
        CSWapache2-2.2.22,REV=2012.06.01 (opencsw/testing)
Total size: 854.7 KB
=> Fetching CSWapache2-2.2.22,REV=2012.06.01 (1/1) ...

=> Installing CSWapache2-2.2.22,REV=2012.06.01 (1/1) ...
Please see /opt/csw/share/doc/apache2/license for license information.
Registering 'httpd' alternative /opt/csw/apache2/sbin/httpd.prefork ...
PACKAGE: CSWapache2 SMF: yes
Installing class <cswinitsmf> ...
SRC: /var/tmp/ztempBAA9ya4Xn/CSWapache2/root/etc/opt/csw/init.d/cswapache2
DEST: /etc/opt/csw/init.d/cswapache2
Creating /var/opt/csw/svc/manifest/network ...
FMRI: network
Creating service script in /var/opt/csw/svc/method/svc-cswapache2 ...
ln: cannot create //var/opt/csw/svc/method/svc-cswapache2: No such file or
directory
chmod: WARNING: can't access //var/opt/csw/svc/method/svc-cswapache2
chown: //var/opt/csw/svc/method/svc-cswapache2: No such file or directory
Creating manifest ...
egrep: can't open //var/opt/csw/svc/method/svc-cswapache2
egrep: can't open //var/opt/csw/svc/method/svc-cswapache2
MANIFEST: /var/opt/csw/svc/manifest/network/cswapache2.xml
Configuring service in SMF ...
CSWapache2 is using Service Management Facility. The FMRI is
svc:/network/cswapache2:default
Clearing svc:/network/cswapache2 in case it's in the maintenance state...
Enabling svc:/network/cswapache2 ...
ERROR: attribute verification of </var/opt/csw/svc/method/svc-cswapache2>
failed
    pathname does not exist
    unable to create symbolic link to </etc/opt/csw/init.d/cswapache2>
Installing class <cswpostmsg> ...
Hello CSW User/Sysadmin,

Please note that recent changes may affect the way you're used to
working with the CSW apache2 packages.

In the past, CSWap2prefork and CSWap2worker delivered a specific mpm
module for use with apache2.  We now ship the prefork mpm as part of
CSWapache2 while the worker mpm remains in CSWap2worker.

Each httpd mpm is installed using the new alternatives framework.
When CSWap2worker is installed, it registers a higher priority httpd,
thus it is activated as httpd (manual restart required).  You can
change this at any time using the alternatives command.  See
/opt/csw/sbin/alternatives --help for information on how you can do
this.

Thanks
-The OpenCSW apache2 team.
Checking configuration files:
Copying CSW templates:
  preserving //opt/csw/apache2/share/htdocs/index.html
  preserving //opt/csw/apache2/etc/extra/httpd-autoindex.conf
  preserving //opt/csw/apache2/etc/extra/httpd-dav.conf
  preserving //opt/csw/apache2/etc/extra/httpd-default.conf
  preserving //opt/csw/apache2/etc/extra/httpd-info.conf
  preserving //opt/csw/apache2/etc/extra/httpd-languages.conf
  preserving //opt/csw/apache2/etc/extra/httpd-multilang-errordoc.conf
  preserving //opt/csw/apache2/etc/extra/httpd-userdir.conf
  preserving //opt/csw/apache2/etc/extra/httpd-vhosts.conf
  preserving //opt/csw/apache2/etc/magic
  preserving //opt/csw/apache2/etc/mime.types
  preserving //opt/csw/apache2/etc/envvars
  preserving //opt/csw/apache2/etc/envvars-std

Installation of <CSWapache2> was successful.

====================================================================== 

---------------------------------------------------------------------- 
 (0010628) pcfung (reporter) - 2013-11-08 14:12
 https://www.opencsw.org/mantis/view.php?id=5121#c10628 
---------------------------------------------------------------------- 
Hi,

Please note!!

i manually create a folder 'method' on /var/opt/csw/svc/ and install
again.
all problems were fixed.

'svcs' & 'svcadm' can run correctly now.



More information about the bug-notifications mailing list