Hi all,
I'm a newbie to mirroring an IPS repo but I've inherited one which
I'm tasked with maintaining and it's not seeming to update correctly. I've
tried my best to follow the directions on OpenSolaris.ORG[1], but have had
some issues. I'm not sure how to get it to actually serve files, any
suggestions?
I have done an rsync between my server and ipkg.sfbay but unlike
in the directions, I'm using ::main_files as ::osol_dev_files provides me:
[Banner, etc...]
@ERROR: Unknown module 'osol_dev_files'
rsync error: error starting client-server protocol (code 5) at main.c(1383)
[receiver=2.6.9]
So, after getting ::main_files I have 19.9GB on my zpool:
mypool/pkg_mirror 19.9G 72.6G 19.9G /export/pkg_mirror
But, statistics on my server usually has filelist being a small number (2
or 6, so far) after the rsync and after rfreshing and restarting the
service that drops to 0.
My SMF properties look like:
pkg application
pkg/threads count 50
pkg/port astring 8000
pkg/mirror boolean true
pkg/proxy_base astring http://indiana-build.central:8000
pkg/inst_root astring /export/pkg_mirror
general framework
general/enabled boolean true
start method
start/exec astring "/usr/lib/pkg.depotd --mirror
-p %{pkg/port} -d %{pkg/inst_root} -t %{pkg/socket_timeout} -s
%{pkg/threads} --proxy-base=%{pkg/proxy_base}
--log-access=%{pkg/log_access} --log-errors=%{pkg/log_errors}"
[... restarter properties below ...]
My SMF log looks like the below for a typical start-up:
[ Mar 5 19:26:04 Method "stop" exited with status 0. ]
[ Mar 5 19:26:04 Executing start method ("/usr/lib/pkg.depotd --mirror -p
8000 -d /export/pkg_mirror -t 60 -s 50
--proxy-base=http://indiana-build.central:8000 --log-access=none
--log-errors=stderr"). ]
[05/Mar/2009:19:26:05] ENGINE Listening for SIGHUP.
[05/Mar/2009:19:26:05] ENGINE Listening for SIGTERM.
[05/Mar/2009:19:26:05] ENGINE Listening for SIGUSR1.
[05/Mar/2009:19:26:05] ENGINE Bus STARTING
[05/Mar/2009:19:26:05] ENGINE Started monitor thread '_TimeoutMonitor'.
[05/Mar/2009:19:26:06] ENGINE Serving on 0.0.0.0:8000
[05/Mar/2009:19:26:06] ENGINE Bus STARTED
Thank you,
Clay
[1]:http://www.opensolaris.org/os/project/pkg/Mirroring/
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss