I hope I'm not in the wrong forum.

I'm running Solaris Express build 111.

I want to assigning a project to the apache's service that already running in 
my system.

I have followed the instructions as written in this link
http://www.c0t0d0s0.org/archives/4209-Less-known-Solaris-Features-Resource-Management-Part-6-Resource-Management-and-SMF.html

and also this link 
http://hub.opensolaris.org/bin/view/Community+Group+smf/faq#toc33
at the question number 2.19 and 4.10

But, i still got this error

svccfg import /var/svc/manifest/network/http-apache22.xml failed
svccfg warnings:
/var/svc/manifest/network/http-apache22.xml:85: parser error : AttValue: " or ' 
expected
                                project=group.webservd' >
                                        ^
/var/svc/manifest/network/http-apache22.xml:85: parser error : attributes 
construct error
                                project=group.webservd' >
                                        ^
/var/svc/manifest/network/http-apache22.xml:85: parser error : Couldn't find 
end of Start Tag method_context line 84
                                project=group.webservd' >
                                        ^
/var/svc/manifest/network/http-apache22.xml:88: parser error : Opening and 
ending tag mismatch: instance line 44 and method_context
                        </method_context>
                                         ^
/var/svc/manifest/network/http-apache22.xml:89: parser error : Opening and 
ending tag mismatch: service line 33 and exec_method
                </exec_method>
                              ^
/var/svc/manifest/network/http-apache22.xml:138: parser error : Opening and 
ending tag mismatch: service_bundle line 31 and instance
        </instance>
                   ^
/var/svc/manifest/network/http-apache22.xml:140: parser error : Extra content 
at the end of the document
        <stability value='Evolving' />
        ^


This is a change that I did on my /var/svc/manifest/network/http-apache22.xml 
file

        <exec_method
                        type='method'
                        name='start'
                        exec='/lib/svc/method/http-apache22 start'
                        timeout_seconds='0'/>
                        <method_context
                                project=group.webservd' >
                        <method_credential
                                user='someuser' />
                        </method_context>
                </exec_method>


What must i do to fix this error?

I'm sorry if my english is so bad, and if my question is so silly too.

Thank you.
-- 
This message posted from opensolaris.org

Reply via email to