Operating System - HP-UX
1827294 Members
2297 Online
109717 Solutions
New Discussion

Re: Workstation Startup Scripts Problem

 
aliasgar
Valued Contributor

Workstation Startup Scripts Problem

Hello,
I installed HPUX11i in two hp9000 J6750 workstation with Sep 2003 support plus ,at initial boot up the startup script progress was ok with closed brackets with every rc scripts and with green colour /red colour for failure indication

Mount File systems .........[ OK ] and so on

After i configured the workstation for network ,i found problems in statup script progress the colour has disappeared,it appears only in white and the brackets also now it appears like this

Mount File Systems ........ ok and so on

can anyone let me know why this starnge thing started after i configured it for network.

Thanks/regards,
Aliasgar.


aliasgar
3 REPLIES 3
Graham Cameron_1
Honored Contributor

Re: Workstation Startup Scripts Problem

aliasgar

This behaviour is controlled bu the file
/etc/rc.config.d/list_mode

Have a look at the timestanps on this file, has it changed recently ?

The contents are self-explanatory - try experimenting with the settings.

Sounds like you want

LIST_MODE=0
USE_COLOR=1

-- Graham
Computers make it easier to do a lot of things, but most of the things they make it easier to do don't need to be done.
Alan Turner
Regular Advisor

Re: Workstation Startup Scripts Problem

I had this problem after installing the March 2003 Support Plus patches. This was because PHCO_25597 improves the POSIX compliance of the shell, but has a side effect which interferes with booting because numbers with leading zeroes are interpreted as octal, so /sbin/rc.utils has an error when it tries to set up the number of screen rows (e.g. 48, but expressed as 048).

If this is your problem - look for early error messages from rc.utils - then there are 2 fixes:

a) edit /sbin/rc.utils

let ROWS="$rows" --> let ROWS="${rows##*(0)"
let COLS="$cols" --> let COLS="${cols##*(0)"


OR

b) install patch PHCO_28317
Alan Turner
Regular Advisor

Re: Workstation Startup Scripts Problem

Oops - missed closing braces on the edit option

Should be:

let ROWS="$rows" --> let ROWS="${rows##*(0)}"
let COLS="$cols" --> let COLS="${cols##*(0)}"

(my preference would be for the patch, anyway)