ascmd reports Internal server error


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.


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


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

Linux, Mac OS X, Solaris, FreeBSD


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

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.


Powered by Zendesk