What does pkg publisher report? The ports in question (13005 and 13006) look like maybe they were configured manually at some point in the past? The onu script, unless you tell it via command line or env variable, will use 13001 and 13000.
--Mark On 07/21/10 02:43 PM, Will Fiveash wrote: > I just tried onu to create a new BE on a test system using a recently > nightly build (which included a -p option) and saw the following: > > r...@krb-interop-amd64:~# uname -a > SunOS krb-interop-amd64 5.11 alton:onnv-bugs:04/18/2010 i86pc i386 i86pc > Solaris > r...@krb-interop-amd64:~# ~/bin/onu -d > /net/alton.central.sun.com/pool/willf/hg/i386/onnv-bugs/packages/i386/nightly > -t pkinit-bug-bits > [21/Jul/2010:15:29:19] ENGINE Listening for SIGHUP. > [21/Jul/2010:15:29:19] ENGINE Listening for SIGTERM. > [21/Jul/2010:15:29:19] ENGINE Listening for SIGUSR1. > [21/Jul/2010:15:29:19] ENGINE Bus STARTING > [21/Jul/2010:15:29:19] ENGINE Started monitor thread '_TimeoutMonitor'. > [21/Jul/2010:15:29:19] ENGINE Listening for SIGHUP. > [21/Jul/2010:15:29:19] ENGINE Listening for SIGTERM. > [21/Jul/2010:15:29:19] ENGINE Listening for SIGUSR1. > [21/Jul/2010:15:29:19] ENGINE Bus STARTING > [21/Jul/2010:15:29:19] ENGINE Started monitor thread '_TimeoutMonitor'. > [21/Jul/2010:15:29:19] ENGINE Serving on 0.0.0.0:13001 > [21/Jul/2010:15:29:19] ENGINE Bus STARTED > [21/Jul/2010:15:29:19] ENGINE Serving on 0.0.0.0:13000 > [21/Jul/2010:15:29:19] ENGINE Bus STARTED > [21/Jul/2010:15:29:19] INDEX Updating search indices > [21/Jul/2010:15:29:19] INDEX Updating search indices > [21/Jul/2010:15:29:20] INDEX Search indexes updated and available. > pkg: 2/4 catalogs successfully updated: > > Framework error: code: 7 reason: Failed connect to alton.central:13005; > Connection refused > URL: 'http://alton.central:13005/catalog/0/'. (happened 4 times) > > > Framework error: code: 7 reason: Failed connect to alton.central:13006; > Connection refused > URL: 'http://alton.central:13006/catalog/0/'. (happened 4 times) > > pkg(5) update check failed. > pkg -R /tmp/onu.dIqCMj image-update failed: exit code 1 > [21/Jul/2010:15:29:50] ENGINE Caught signal SIGTERM. > [21/Jul/2010:15:29:50] ENGINE Bus STOPPING > [21/Jul/2010:15:29:50] ENGINE HTTP Server > cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 13000)) shut down > [21/Jul/2010:15:29:50] ENGINE Stopped thread '_TimeoutMonitor'. > [21/Jul/2010:15:29:50] ENGINE Bus STOPPED > [21/Jul/2010:15:29:50] ENGINE Bus EXITING > [21/Jul/2010:15:29:50] ENGINE Bus EXITED > [21/Jul/2010:15:29:50] ENGINE Waiting for child threads to terminate... > [21/Jul/2010:15:29:50] ENGINE Caught signal SIGTERM. > [21/Jul/2010:15:29:50] ENGINE Bus STOPPING > [21/Jul/2010:15:29:50] ENGINE HTTP Server > cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 13001)) shut down > r...@krb-interop-amd64:~# [21/Jul/2010:15:29:50] ENGINE Stopped thread > '_TimeoutMonitor'. > [21/Jul/2010:15:29:50] ENGINE Bus STOPPED > [21/Jul/2010:15:29:50] ENGINE Bus EXITING > [21/Jul/2010:15:29:50] ENGINE Bus EXITED > [21/Jul/2010:15:29:50] ENGINE Waiting for child threads to terminate... > Traceback (most recent call last): > File "/usr/lib/pkg.depotd", line 685, in <module> > writable_root=writable_root) > File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line > 262, in __init__ > self.__init_state(refresh_index=refresh_index) > File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line > 801, in __init_state > self.__refresh_index() > File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line > 740, in __refresh_index > self.run_update_index() > File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line > 1270, in run_update_index > self.__update_searchdb_unlocked(fmris_to_index) > File "/usr/lib/python2.6/vendor-packages/pkg/server/repository.py", line > 947, in __update_searchdb_unlocked > index_inst.server_update_index(fmris) > File "/usr/lib/python2.6/vendor-packages/pkg/indexer.py", line 750, in > server_update_index > IDX_INPUT_TYPE_FMRI, tmp_index_dir) > File "/usr/lib/python2.6/vendor-packages/pkg/indexer.py", line 706, in > _generic_update_index > self._update_index(dicts, tmp_index_dir) > File "/usr/lib/python2.6/vendor-packages/pkg/indexer.py", line 592, in > _update_index > new_tok_info, out_dir) > File "/usr/lib/python2.6/vendor-packages/pkg/indexer.py", line 350, in > _write_main_dict_line > "__st_" + st), "wb") > IOError: [Errno 2] No such file or directory: > '/tmp/redist.157290/index/TMP/__st_driver_name' > > r...@krb-interop-amd64:~# beadm list > BE Active Mountpoint Space Policy Created > -- ------ ---------- ----- ------ ------- > non-debug-test-bits NR / 6.83G static 2010-04-19 12:56 > opensolaris - - 3.63M static 2010-04-16 15:30 > pkinit-bug-bits - /tmp/onu.dIqCMj 164.89M static 2010-07-21 15:29 > testbits2 - - 120.25M static 2010-04-20 17:15 > > r...@krb-interop-amd64:~# ls > /net/alton.central.sun.com/pool/willf/hg/i386/onnv-bugs/packages/i386/nightly > repo.extra repo.redist > > > Did I do something wrong? How can I fix this? > _______________________________________________ on-discuss mailing list on-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/on-discuss