Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Accessing the Manuals on Line in SCO 1

Status
Not open for further replies.

joemama613

IS-IT--Management
May 14, 2003
66
US
I have two SCO systems, one that is live, and one that is running as a backup. On my live system, when I try to access the on line manuals by typing a command like 'man pr', I get the following error: man : can't connect to scohttp, and then man : pr not found. Yet this command works normally on the backup system. Any ideas? Thanks.
 
Just a stab in the dark, but are you sure the man pages were loaded or possibly removed? Check usr/bin for 'man' and usr/man for the pages themselves.

Worth a look anyway.

JP
 
I seem to recall that this symptom happened after running one of the SCOADMIN utilities which "fixed" O/S symbolic links. It's been too long to remember the exact resolution, but you might get additional information when you try starting "scohttp". This should be started automatically at boot time by /etc/rc2.d/P93scohttp script.

Try any of the following:
# scohttp query
# scohttp start
# scohttp enable

# man scohttp

 
Motoslide,

When I do a scohttp query, I get the following answers returned.

scohttp is currently running.
scohttp is enabled.

And when I try the start or enable command, it tells me that's it's already running.

Help!
Thanks,
Joe
 
Other things to check (compare against your backup server):
The "localhost" entry in /etc/hosts
Permissions on /usr/tmp (run /tcb/bin/integrity -e)
Check /var/scohttp/logs/error_log
Check /var/scohttp/conf/scohttpd.conf
Check /etc/default/man

You are fortunate to have a "working" system to compare against.

Here's a quick test on one of our servers:
Code:
# telnet localhost 457
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
HELP
<HEAD><TITLE>400 Bad Request</TITLE></HEAD>
<BODY><H1>400 Bad Request</H1>
Your client sent a query that this server could not
understand.<P>
Reason: Invalid or unsupported method.<P>
</BODY>
Connection closed by foreign host.

Although the "HELP" is invalid, this shows that my scohttpd process was willing to accept a connection and give a response. This also logged an entry in /var/scohttp/logs/access_log.
 
Just do the following

scohttp stop
scohttp start

then man should work. scohttp seems to get confused at times.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top