Operating System - HP-UX
1846540 Members
2372 Online
110256 Solutions
New Discussion

Re: list_expander command failed

 
SOLVED
Go to solution
Janne_5
Advisor

list_expander command failed

My make_net_recovery fails with:

ERROR: The list_expander command failed. This could be due to a problem with the -x options specified - Check the existence of the included device(s).
03/16/09 14:44:23 MET make_net_recovery completed unsuccessfull

When I run list_expander I get this output:

n12904/:%~> /opt/ignite/lbin/list_expander
WARNING: The /dev/null file is not a character device file.
WARNING: The /dev/null file is not a character device file.
ERROR: 'all not': type 'all' not recognized.

What does it mean? How can solve the issue?
Ignite ver. C.7.4.157 on hp-ux 11.23

6 REPLIES 6
Ganesan R
Honored Contributor

Re: list_expander command failed

Hi Janne,

Can you provide the full command syntax you have given?
Best wishes,

Ganesh.
Janne_5
Advisor

Re: list_expander command failed

/opt/ignite/bin/make_net_recovery -s $IGNITE_SERVER -n 2 -P s -x inc_entire=vg00
and
/opt/ignite/lbin/list_expander
Steven E. Protter
Exalted Contributor
Solution

Re: list_expander command failed

Shalom,

The /dev/null file is not a character device file.

Might be a real message.

file /dev/null

Post output.

An Ignite upgrade might help. I would decide that after confirming the message is not accurate.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Janne_5
Advisor

Re: list_expander command failed

SEP, you are right. /dev/null had turned to an ascii file.
Solved with rm /dev/null ; mknod c 3 2 /dev/null ; chmod go+w /dev/null

Now it's character file again and ignite is running fine. Thanks!

file /dev/null
/dev/null: character special (3/2)
Bill Hassell
Honored Contributor

Re: list_expander command failed

> The /dev/null file is not a character device file.

This is a fairly common root user problem. Only root can remove files in the /dev directory and once it is removed, the /dev/ directory may grow extremely large as data sent to /dev/null turns into a real file. The list_expander is particularly good at finding problem files and filenames.

> ERROR: 'all not': type 'all' not recognized.

This is probably a file that was created with a space in the name. You can find it by enclosing the name with double ", but if it does not show up, there may be some control characters imbedded in the file name. You can use the ll -b option to show special characters in filenames.


Bill Hassell, sysadmin
Janne_5
Advisor

Re: list_expander command failed

Solution included in thread.