From KRayWiki
Revision as of 18:48, 4 September 2020 by Krb (talk | contribs) (Sync with CSDI Wiki (w/ minor edits to remove private information))
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Index to SCO-specific observed issues, and, if known, related workarounds

See Also: 

Boot Issues

httpd does not autostart

/usr/lib/apache/logs/httpd.pid error

  • If the httpd.pid file is present but not pointing to a valid, running instance of the httpd daemon, the /etc/rc2.d/P90apache script may fail to properly control the web server (i.e. restart, start, or stop). This can result in the web server not starting at system boot, but can also impact manual use of the P90apache script to correct operational issues.
  • To correct the condition, it may be sufficient to reboot the system, but, manual removal of an invalid file may be more reliable.
  • Background
    • The httpd.pid often seems to be incorrect on certain servers.
    • Apache server start failure is not particularly an uncommon occurrence at customer sites.
    • The server error log may contain the message "NoNe SuCh=: is not an identifier", though it is not clear if it is related.
      The text of the error message is found in various perl binaries, and likely would not occur if mod_perl and perl_module configuration was disabled in httpd.conf.

Command Errors

awk : limited input line length

Input line length is restricted to about 3000 characters. This has practical concerns as files like /etc/group may have lines that exceed this length.

A workaround is to use other tools when there is a possibility of hitting this limit. perl scripts can embed into shell scripts similar to awk script embedding. A non-trivial example is illustrated on the OS-SCO-Linux page.

awk : limited -v variable length

A value assigned to a variable via the -v command line switch is limited to 400 characters in length. If this limit is exceeded, the error message produced is 'awk: string StringText... too long', where 'StringText' is the beginning of the assigned value.

A workaround is to use multiple command-line variables and concatenate them together inside the script.

dynamic linker : vim : could not open /usr/local/lib/libncurses.so.4 Message not found!!

/usr/local/bin/vim is affected on one SCO system, but other binaries are not. This error occurs if the binary is called explicitly, or, when /usr/local/bin is listed in the PATH variable ahead of other system folders. The problem also occurs for other variants of the VI editor (i.e. vi, etc.).

Though not why /usr/local/bin copies of vim are broken, this error was found when a ${HOME}/.bash_profile was created to add more folders to the run PATH.

The workaround was to push the /usr/local paths farther down in the list of paths to search for executable files.

ssh/scp : PRNG is not seeded

/etc/prngd.lock was empty and did not contain a process ID.

The workaround was to delete the empty file.

Login Issues

ssh : no matching key exchange method found

After updating MSYS2 on or about March 27, 2020, it is no longer possible to SSH a SCO VM without special configuration.

$ ssh csdi@ Unable to negotiate with port 22: no matching key exchange method found. Their offer: diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1

Edit ~/.ssh/config' as follows to avoid downgrading other SSH connections to more up-to-date targets:

Host KexAlgorithms +diffie-hellman-group-exchange-sha1 KexAlgorithms +diffie-hellman-group14-sha1 KexAlgorithms +diffie-hellman-group1-sha1 Match host exec "test %p = 22" KexAlgorithms +diffie-hellman-group-exchange-sha1 KexAlgorithms +diffie-hellman-group14-sha1 KexAlgorithms +diffie-hellman-group1-sha1