PDA

View Full Version : No updates found using Yast or rug



Tawacollege
06-Dec-2011, 05:06
Hi
I have a SLES 10 SP3 server with OES 2 SP2 installed which I cannot
update at all. The Novell registration all appeared to be ok but
regardless of how i try to find the updates there are none available.

I've followed TIDs 3465877 and subsequently 3030847 to try and register
but the catalogs are never available. Using the command rug sub
OES2-Updates returns not a valid catalog, or any other catalog name that
I have entered they are all not valid.

Since the above TIDs I have totally broken things further so now when I
run rug sl I can only see
active NU https://nu.novell.com but no ZYPP entries for SLES 10 SP3 or
OES2 SP2, previously these were visable.

/usr/lib/zmd/query-pool products produces the correct info both
SUSE-SLES 10 SP3 and OES 2 have the small i beside them, I've been
through the remove nu.novell.com rczstop delete /etc/zmd/secret
/etc/zmd/deviceid restart rczmd etc and the suse_register process
numerous times but rug sl only shows the nu.novell.com entry.

When things were better and I had the correct entries under rug sl the
rug ca command would not produce anything showing updates and trying to
subscribe to the catalogs just failed with not valid catalog messages.

As you can probably tell I am a novice at this, can someone please tell
me how I can fix this mess and get my server to update either through
yast or rug?

Thanks in advance


--
Tawacollege
------------------------------------------------------------------------
Tawacollege's Profile: http://forums.novell.com/member.php?userid=17798
View this thread: http://forums.novell.com/showthread.php?t=449175

Simon Flood
06-Dec-2011, 11:45
On 06/12/2011 04:06, Tawacollege wrote:

> I have a SLES 10 SP3 server with OES 2 SP2 installed which I cannot
> update at all. The Novell registration all appeared to be ok but
> regardless of how i try to find the updates there are none available.
>
> I've followed TIDs 3465877 and subsequently 3030847 to try and register
> but the catalogs are never available. Using the command rug sub
> OES2-Updates returns not a valid catalog, or any other catalog name that
> I have entered they are all not valid.

For OES2 SP2 the correct update catalog is OES2-SP2-Updates.
OES2-Updates is for the original OES2 (no SP).

> Since the above TIDs I have totally broken things further so now when I
> run rug sl I can only see
> active NU https://nu.novell.com but no ZYPP entries for SLES 10 SP3 or
> OES2 SP2, previously these were visable.

"rug sl" should show an active NU service for https://nu.novell.com and
may also list two active ZYPP services for your install sources. Don't
worry if you don't see the latter as they're optional (depends on how
you installed and then update your server).

> /usr/lib/zmd/query-pool products produces the correct info both
> SUSE-SLES 10 SP3 and OES 2 have the small i beside them, I've been
> through the remove nu.novell.com rczstop delete /etc/zmd/secret
> /etc/zmd/deviceid restart rczmd etc and the suse_register process
> numerous times but rug sl only shows the nu.novell.com entry.

As I said above, "rug sl" is correct.

Does "/user/lib/zmd/query-pool products" just output two lines, one for
each product with an "i" in first column, or does it output four lines?

> When things were better and I had the correct entries under rug sl the
> rug ca command would not produce anything showing updates and trying to
> subscribe to the catalogs just failed with not valid catalog messages.

"rug ca" is the important output as this should show the catalogs that
are available, some of which should be subscribed.

> As you can probably tell I am a novice at this, can someone please tell
> me how I can fix this mess and get my server to update either through
> yast or rug?

Was the server installed as SLES10 SP3 plus OES2 SP2 or upgraded from a
previous version?

Try following the steps in the second part of the resolution for TID
3150078 (ignoring all the zypper stuff in the first part).

HTH.
--
Simon
Novell Knowledge Partner (NKP)

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------

Tawacollege
07-Dec-2011, 11:53
Hi Simon
Thanks for your reply. In answer to your questions here is the result
of the 2nd part of TID 3150078

SLES10:~ # /usr/lib/zmd/query-pool products
|product|OPEN_ENTERPRISE_SERVER_SP2|2.0.2-0|i686
|product|OPEN_ENTERPRISE_SERVER_SP2|2.0.2-0|i686
i|product|OPEN_ENTERPRISE_SERVER_SP2|2.0.2-0|i686
i|product|SUSE_SLES_SP3|10.3-0|i686
SLES10:~ #

SLES10:~ # rug sl

# | Status | Type | Name | URI
--+--------+------+-----------------------+----------------------
1 | Active | NU | https://nu.novell.com | https://nu.novell.com

SLES10:~ # rug ca
--- No catalogs available ---
SLES10:~ # rug sd 1
Successfully removed service 'https://nu.novell.com'
SLES10:~ #
SLES10:~ #
SLES10:~ # rczmd stop
Shutting down ZENworks Management Daemon
done
SLES10:~ # rm /etc/zmd/secret /etc/zmd/deviceid
SLES10:~ # rczmd start
Starting ZENworks Management Daemon
done
SLES10:~ #
SLES10:~ #
SLES10:~ # rm /var/cache/SuseRegister/*
SLES10:~ #
SLES10:~ # suse_register -a regcode-sles=XXXXXXXXXXXXXX -a
regcode-oes=XXXXXXXXXXXXXX -a email=XXXXXX@tawacollege.school.nz
SLES10:~ # rug sl
--- No services found ---
SLES10:~ #
SLES10:~ #
SLES10:~ # rug --quiet sa --ignore-failure -t nu https://nu.novell.com
SLES10:~ # rug sl

# | Status | Type | Name | URI
--+--------+------+-----------------------+----------------------
1 | Active | NU | https://nu.novell.com | https://nu.novell.com


SLES10:~ # rug ca
--- No catalogs available ---
SLES10:~ #
SLES10:~ # rug sub OES2-SP2-Updates
ERROR: 'OES2-SP2-Updates' is not a valid catalog.
SLES10:~ #
SLES10:~ # rug refresh

Refreshing Services...

100%

Successfully refreshed.
SLES10:~ # rug list-updates
No updates are available.

WARNING: Updates are only visible when you are subscribed to a catalog.
SLES10:~ # rug sub OES2-SP2-Pool
ERROR: 'OES2-SP2-Pool' is not a valid catalog.
SLES10:~ #
SLES10:~ # rug sub SLES10-SP3-Updates
ERROR: 'SLES10-SP3-Updates' is not a valid catalog.
SLES10:~ #
SLES10:~ # rug refresh

Refreshing Services...

100%

Successfully refreshed.
SLES10:~ # rug list-updates
No updates are available.

WARNING: Updates are only visible when you are subscribed to a catalog.
SLES10:~ #
SLES10:~ #

The server was installed as SLES10 SP3 and OES2 SP2 from the outset,
there is a third party print management product also installed called
PaperCut but nothing much else. I desperately need to update the iPrint
server as the PaperCut software is not working as it should. Is the any
other way of updating these servers by downloading complete service
packs or similar.


-- Tawacollege
------------------------------------------------------------------------
Tawacollege's Profile: http://forums.novell.com/member.php?userid=17798
View this thread: http://forums.novell.com/showthread.php?t=449175

Simon Flood
07-Dec-2011, 12:04
On 07/12/2011 10:53, Tawacollege wrote:

First please note I deleted your reply and reposted it with the
registration codes blanked out as they're unique to you and your
organisation.

> Thanks for your reply. In answer to your questions here is the result
> of the 2nd part of TID 3150078
>
> SLES10:~ # /usr/lib/zmd/query-pool products
> |product|OPEN_ENTERPRISE_SERVER_SP2|2.0.2-0|i686
> |product|OPEN_ENTERPRISE_SERVER_SP2|2.0.2-0|i686
> i|product|OPEN_ENTERPRISE_SERVER_SP2|2.0.2-0|i686
> i|product|SUSE_SLES_SP3|10.3-0|i686
> SLES10:~ #

I think the above is wrong and it should show 2x OES2 SP2 & 2x SLES10
SP3 not 3x OES2 SP2 & 1x SLES10 SP3 but whether that's the problem ... ?

> SLES10:~ # rug sl
>
> # | Status | Type | Name | URI
> --+--------+------+-----------------------+----------------------
> 1 | Active | NU | https://nu.novell.com | https://nu.novell.com

As I said in my earlier reply, this is correct.

> SLES10:~ # rug ca
> --- No catalogs available ---
> SLES10:~ # rug sd 1
> Successfully removed service 'https://nu.novell.com'
> SLES10:~ #
> SLES10:~ #
> SLES10:~ # rczmd stop
> Shutting down ZENworks Management Daemon
> done
> SLES10:~ # rm /etc/zmd/secret /etc/zmd/deviceid
> SLES10:~ # rczmd start
> Starting ZENworks Management Daemon
> done
> SLES10:~ #
> SLES10:~ #
> SLES10:~ # rm /var/cache/SuseRegister/*
> SLES10:~ #
> SLES10:~ # suse_register -a regcode-sles=XXXXXXXXXXXXXX -a
> regcode-oes=XXXXXXXXXXXXXX -a email=XXXXXX@tawacollege.school.nz
> SLES10:~ # rug sl
> --- No services found ---
> SLES10:~ #
> SLES10:~ #
> SLES10:~ # rug --quiet sa --ignore-failure -t nu https://nu.novell.com
> SLES10:~ # rug sl
>
> # | Status | Type | Name | URI
> --+--------+------+-----------------------+----------------------
> 1 | Active | NU | https://nu.novell.com | https://nu.novell.com
>
>
> SLES10:~ # rug ca
> --- No catalogs available ---
> SLES10:~ #
> SLES10:~ # rug sub OES2-SP2-Updates
> ERROR: 'OES2-SP2-Updates' is not a valid catalog.
> SLES10:~ #
> SLES10:~ # rug refresh
>
> Refreshing Services...
>
> 100%
>
> Successfully refreshed.
> SLES10:~ # rug list-updates
> No updates are available.
>
> WARNING: Updates are only visible when you are subscribed to a catalog.
> SLES10:~ # rug sub OES2-SP2-Pool
> ERROR: 'OES2-SP2-Pool' is not a valid catalog.
> SLES10:~ #
> SLES10:~ # rug sub SLES10-SP3-Updates
> ERROR: 'SLES10-SP3-Updates' is not a valid catalog.
> SLES10:~ #
> SLES10:~ # rug refresh
>
> Refreshing Services...
>
> 100%
>
> Successfully refreshed.
> SLES10:~ # rug list-updates
> No updates are available.
>
> WARNING: Updates are only visible when you are subscribed to a catalog.
> SLES10:~ #
> SLES10:~ #

Are the SLES10 and OES2 registration codes you're using still valid
(i.e. they haven't expired)?

> The server was installed as SLES10 SP3 and OES2 SP2 from the outset,
> there is a third party print management product also installed called
> PaperCut but nothing much else. I desperately need to update the iPrint
> server as the PaperCut software is not working as it should. Is the any
> other way of updating these servers by downloading complete service
> packs or similar.

I know of PaperCut (and they know of me!). The presence of that is not
causing this problem.

HTH.
--
Simon
Novell Knowledge Partner (NKP)

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------

Tawacollege
08-Dec-2011, 22:56
Thanks Simon I have reinstalled and used other registration codes as
those were not valid it appears even though they came from the first
registration on the Novell site so I don't know why but at least I have
the SLES updating now only got the OES2 to do battle with and all will
be good!


--
Tawacollege
------------------------------------------------------------------------
Tawacollege's Profile: http://forums.novell.com/member.php?userid=17798
View this thread: http://forums.novell.com/showthread.php?t=449175

Simon Flood
09-Dec-2011, 13:29
On 08/12/2011 21:56, Tawacollege wrote:

> Thanks Simon I have reinstalled and used other registration codes as
> those were not valid it appears even though they came from the first
> registration on the Novell site so I don't know why but at least I have
> the SLES updating now only got the OES2 to do battle with and all will
> be good!

Glad to hear it's now working.

Be careful when grabbing your registration codes from the Novell
Customer Center (NCC) as it's not always clear which ones are valid and
which have expired. I had a lengthy conversation during BrainShare with
someone from Novell about NCC and how it might be improved.
--
Simon
Novell Knowledge Partner (NKP)

------------------------------------------------------------------------
Do you work with Novell technologies at a university, college or school?
If so, your campus could benefit from joining the Novell Technology
Transfer Partner (TTP) program. See novell.com/ttp for more details.
------------------------------------------------------------------------