1755093 Members
1407 Online
108829 Solutions
New Discussion юеВ

Cleanup error

 
SOLVED
Go to solution
George_Dodds
Honored Contributor

Cleanup error

Hi i've just ran cleanup to free up some space in /var on an old L class server we have running 11.00 and i got the following error

## Cleanup program started at 10/27/05 13:03:45
Commit patches superseded at least 1 time(s) on 'server1'.

ERROR: swlist(1M) encountered a problem displaying the installed software on 'server1'.
This problem must be corrected before continuing:

WARNING: Incomplete definition for the root (installation) "/",
beginning at line 0. The following attributes are not defined: products the products contained in the root
ERROR: The depot "server1:/" exists but is currently empty.

Is there anyway round this as i need to clear out the old patches to free up space.

Cheers

George
23 REPLIES 23
Luk Vandenbussche
Honored Contributor

Re: Cleanup error

Hi,

Have you another swinstall session running?
then close is first.

Try also

swconfig \*
Muthukumar_5
Honored Contributor

Re: Cleanup error

Try as,

# cleanup -c

see man cleanup

-Muthu
Easy to suggest when don't know about the problem!
George_Dodds
Honored Contributor

Re: Cleanup error

No other session running and i'm getting the depot empty message for swconfig as well
Luk Vandenbussche
Honored Contributor

Re: Cleanup error

Restart your swagent daemon

/sbin/init.d/swagentd stop
/sbin/init.d/swagentd start
Arunvijai_4
Honored Contributor

Re: Cleanup error

# swagentd -r will help

-Arun
"A ship in the harbor is safe, but that is not what ships are built for"
Robert-Jan Goossens_1
Honored Contributor

Re: Cleanup error

George,

Title: Incomplete definition for the root (installation)
Document ID: KBRC00003721

Europe
http://www4.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080045540

US
http://www2.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000080045540

Regards,
Robert-Jan
George_Dodds
Honored Contributor

Re: Cleanup error

Still getting the same error
George_Dodds
Honored Contributor

Re: Cleanup error

On the right track Robert

but getting

ERROR: "lonpcs01:/": This operation will exceed the absolute limit
of disk space on 1 volumes.
* The analysis phase failed for "lonpcs01:/".
* Analysis had errors.

as /var at at 100% and i've cleared all of the logs down i can
Andy Torres
Trusted Contributor

Re: Cleanup error

Here's a thread with a similar problem. The resolution was that someone either removed the complete /var/adm/sw/products directory or compressed files under the same. See if that helps.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=702648