Event ID 2004 — Psxrun Availability
Applies To: Windows Server 2008
Subsystem for UNIX-based Applications (SUA) Psxrun Availability indicates the ability of the Psxrun utility to start and run SUA processes.
Problems that can occur with Psxrun Availability include API call failures, incorrect path names or command line parameters, and low virtual memory.
|Product:||Windows Subsystem for UNIX-based Applications|
|Message:||The psxrun command might have failed due to improper usage or syntax. Verify in the Subsystem for UNIX-based Applications Help that psxrun has been entered using proper syntax and command arguments. Example: psxrun [-h] [-l logfile] [-p program] [-u] [--] arguments|
Check command-line parameters
Psxrun was started with incorrect command-line arguments. The following shows the correct syntax for starting a service by using the service command.
For more information about running services in Subsystem for UNIX-based Applications, see the Help included with the Utilities and Software Development Kit (SDK) for Subsystem for UNIX-based Applications download package, available from the Microsoft Web site (http://go.microsoft.com/fwlink/?linkid=67558).
Because multiple instances of Psxrun can be running at once, it is best to verify Psxrun in Windows Task Manager not by checking on a particular instance of Psxrun, but by verifying that the specific POSIX process or application launched by using Psxrun is running.
To verify that Psxrun is running:
- Open Windows Task Manager by pressing CTRL+ALT+DEL, and then clicking Start Task Manager.
- On the Processes tab, select the Show processes from all users check box.
- Verify that a specific POSIX process you have started by using Subsystem for UNIX-based Applications is running.
If the POSIX application or process that has been launched by using Psxrun is indicated as running in Task Manager, then Psxrun is fully available. If the process is not running, critical errors are preventing Psxrun from being available.