ascmd reports Internal server error

Issue

When trying to run the ascmd command on a server, you encounter the following error: Internal server error.

One common cause of this error message is a missing environment variable USER or LOGNAME. ascmd needs at least one of these to be set in order to run.

Environment

  • Product: Enterprise Server, Connect Server, Point to Point
  • Operating Systems: Any

Solution

Check the set environment variables on your system with the following command:

Linux, Mac OS X, Solaris, FreeBSD
env

Windows
SET

If neither USER or LOGNAME (or USERNAME on Windows) are present, you will need to set one of these yourself.

Set the USER environment variable to the username you are currently logged in as on the server. You can do this using the following command:

Linux, Mac OS X, Solaris, FreeBSD
export USER=username

Windows
SET USER=username

See the screen shot below showing the error and how to set the environment variable on a Solaris 10 system, and the successful results.

Screen_shot_2010-02-11_at_10.22.08_AM.png

Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk