Its been a while, but im afraid, my problem has not gone away! I installed
the 2009.06 version this week and tried publishing a package on a reverse
proxy set-up. It would still fail:


r...@opensolaris1:/etc/apache# eval `pkgsend -s http://localhost/release/open
[email protected]`
r...@opensolaris1:/etc/apache# pkgsend -s
http://localhost/releaseclose
pkgsend: 'close' failed for transaction ID
'1244210854_pkg%3A%2Ftestpkgram%403.0%2C5.11%3A20090605T140734Z'; status
'500': http://localhost/release/ doesn't speak a known version of close
operation
r...@opensolaris1:/etc/apache# pkgsend -s
http://localhost/release/close
pkgsend: 'close' failed for transaction ID
'1244210854_pkg%3A%2Ftestpkgram%403.0%2C5.11%3A20090605T140734Z'; status
'500': http://localhost/release/ doesn't speak a known version of close
operation
r...@opensolaris1:/etc/apache# tail -2
/etc/apache/httpd.conf

# Reverse proxy config for OpenSolaris STB
testing

ProxyPass       /release/  http://opensolaris1.chn99.sun.com:10000/

r...@opensolaris1:/etc/apache# pkg
authority

PUBLISHER                             TYPE     STATUS
URI
opensolaris.org          (preferred)  origin   online
http://pkg.opensolaris.org/release/
stblocalrepo                          origin   online
http://localhost:10000/
r...@opensolaris1:/etc/apache# ps -eaf | grep
pkg

    root 11906     7   0 19:04:23 ?           0:02 /usr/bin/python2.4
/usr/lib/pkg.depotd -d /var/pkg/repo -p 10000 -s 10 -t 60 --
r...@opensolaris1:/etc/apache#

Are there any other specific logs that I should check here?

Request you to  kindly help me out wiht the reverse proxy configuration
here.

regards,
Ram
On Mon, Mar 2, 2009 at 10:55 PM, Shawn Walker <[email protected]>wrote:

>  ramanujan oops wrote:
>
>> Thanks Danek.
>>
>> As I try to publish packages onto to my depot server that has
>> proxybase offset..I get a pkgsend error.
>>
>> Here are the logs:
>>
>> bash-3.2# eval `pkgsend -s http://opensolaris2.chn99/release/ open
>> [email protected]`
>> bash-3.2# pkgsend -s http://opensolaris2.chn99/release/ close
>> Failed with 404
>> bash-3.2# date
>> Mon Mar  2 21:22:10 IST 2009
>>
>> bash-3.2# !tail
>> tail -f /var/svc/log/application-pkg-server:default.log
>> [ Mar  2 21:07:01 Executing start method
>> ("/lib/svc/method/svc-pkg-depot start"). ]
>> ppriv -s A=basic,-file_link_any,-proc_info,-proc_session,net_privaddr
>> -e /usr/lib/pkg.depotd -d /var/pkg/repo -p 10000 -s 10 -t 60
>> --content-root=/usr/share/lib/pkg --log-access=none
>> --log-errors=stderr
>> --proxy-base=http://opensolaris2.chn99.sun.com/release/
>> [02/Mar/2009:21:07:02] INDEX Search Available
>> [02/Mar/2009:21:07:02] ENGINE Listening for SIGHUP.
>> [02/Mar/2009:21:07:02] ENGINE Listening for SIGTERM.
>> [02/Mar/2009:21:07:02] ENGINE Listening for SIGUSR1.
>> [02/Mar/2009:21:07:02] ENGINE Bus STARTING
>> [02/Mar/2009:21:07:02] ENGINE Started monitor thread '_TimeoutMonitor'.
>> [02/Mar/2009:21:07:02] ENGINE Serving on 0.0.0.0:10000
>> [02/Mar/2009:21:07:02] ENGINE Bus STARTED
>>
>>
>> However, if i try publishing the packages on my host without changing
>> the repo_url with '-s' option, everything works fine:
>>
>> bash-3.2# eval `pkgsend  open [email protected]`
>> bash-3.2# pkgsend close
>> PUBLISHED
>> pkg:/[email protected],5.11:20090302T155556Z
>>
>> Can you kindly help me here..
>>
>
> Can you try upgrading to build 108, or using the version of pkgsend from
> the pkg source gate?
>
> The new version of pkgsend should print out the actual error which will
> help you.
>
> --
> Shawn Walker
>
_______________________________________________
pkg-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/pkg-discuss

Reply via email to