Sharing printer gets "Can't read 'ushareName'" error

Sharing printer gets "Can't read 'ushareName'" error

Post by Ralph Ba » Thu, 05 Feb 1998 04:00:00

I have two sco 5.0.4 systems, both with rs504c, advanced file and print
services (default, from install) and visionfs. Visionfs is turned off at the
moment. One system allows me to set up the printers for remote printing
successfully. PC Enterprise is also running on this box.

Problem is the other system, not running PC Enterprise. Any effort to
configure a local printer to allow new remote jobs trips an error

        Can't read 'ushareName':...

Checking the help it appears to be something in LAN Manager or the file and
print services section not configured.

The system that works was installed fresh (from rev 4.2) while the one that
does not work was an in place upgrade from 5.0.2. Can't find any help on the
sco web site. Any ideas ?




1. Why doesn't echo "text" 'command' "more text" work?

                 ^                                        ^
Wrong quotes, should be -
   echo "You have" `grep Subject: /usr/spool/mail/me | wc -l` "messages."
or -
   echo "You have `grep Subject: /usr/spool/mail/me | wc -l` messages."

But, another problem is, if you've no mail, /usr/spool/mail/me does not
exist, leading grep to say:
   grep: can't open /usr/spool/mail/me
Wc will still report 0.

You might try -
   sh -c 'echo "You have `grep 2>/dev/null Subject: /usr/spool/mail/me | wc -l` messages."'

Hope this helps.

2. Netscape?

3. Frame Relay Connection

4. Great read ("Analysis of Microsoft's 'Competing with Linux' Document")

5. Sol8 <-> Win2000 IPSEC operation: Fact or Fiction?

6. "Can't find shared library ''"

7. tru64 4.0 and 5.1 differences

8. Error 'Shared object "" not found' when using mail

9. Re "error: modprobe can't locate module 'net-pf-'"

10. Error when starting X: "couldn't open default font 'fixed'"

11. WHY 'exec "$REALFILE" ${1+"$@"}'

12. "McCabe's Cyclomatic Complexity" and "Halstead's Metrics"