Technical article 112761

After running mkdev apc, my system automatically shuts down upon entering multiuser mode.

OpenServer 5.0.0OpenServer 5.0.2OpenServer 5.0.4OpenServer 5.0.5OpenServer 5.0.6

Written · Last revised

Problem

I have installed an APC Smart-UPS to my system using the correct serial cable and a local serial port. I ran mkdev apc and now every time I get booted into multiuser mode the system shuts down automatically.

Cause

During the run of mkdev apc you are prompted for two pieces of information:

1. Which serial port?

2. How much time, in seconds, before the UPS shuts down the system?

According to the Release Notes from American Power Conversion, if
you select less than 6 minutes (360 seconds) the system will shut
down automatically.  They recommend that you not configure with
less than 6 minutes.

Solution

Boot the system into single-user mode.

Using your favorite text editor, edit the /usr/lib/apc/ssd.ini file to increase the time. Example of ssd.ini is as follows:

TTY=/dev/tty1a          #Dedicated Serial Port
MaxBatRT=300            #Max Battery Run Time

Modify the second line to increase the MaxBatRT to a value of 360 (6 minutes) seconds or greater.

After saving the above changes, bring the system into multiuser mode for the changes to take effect.

See also

http://www.apcc.com for more information and drivers from APC.

From the Xinuos technical article database, record 112761. Reproduced with permission. The original is at www.sco.com/ta/112761, which is reachable but blocked from search engines. Xinuos marks this article against a retired product line. That refers to the product’s lifecycle, not to whether the advice still works — plenty of it still applies to running systems.

Next step

Need this fixed rather than explained?

Tell us the release, what the system runs and what it is doing. We will reply by email with what we would do next.

  • You deal with the people who do the work
  • No obligation, and no upgrade required before we will help
  • We tell you plainly if something is not worth doing

Send an enquiry

We reply by email. If a server is down, say so in the first line. You can also write to help@scoexpert.com.