Reading the output

The output for asconfigurator commands are structured and display feedback about the success or failure of each command.

Set commands

When successful, set commands print success to standard out:
# asconfigurator -x "set_server_data;enable_http,true"
success
When unsuccessful, set commands print failure to standard out, and an explanation of why they failed:
# asconfigurator -x "set_server_data;enable_http,true"
failure
Syntax Error: Syntax error.  Valid values are "assert_current","server" or"option_mask", got "enable_htt"

Reading aspera.conf configuration settings with asuserdata

You can view the current configuration settings by section and all the possible parameters with their default values and corresponding asconfigurator syntax by running asuserdata.

# /opt/aspera/bin/asuserdata [options] [commands]

The asuserdata command must be run either from within the Aspera bin directory, or with the full path in front of it.

Multiple command flags can be specified per call. The option flags modify the output of command flags that follow them (but not command flags that precede them).

Command flags

Command flag Description
-u user Outputs configurations set in the user section for the specified user.
-g group Outputs configurations set in the group section for the specified group.
-d Outputs configurations set in the database section.
-c Outputs configurations set in the central server section.
-t Outputs configurations set in the HTTP server section.
-a Outputs configurations set in all sections except the user and group section.
-s Outputs the default specification for aspera.conf configurations. Similar to -+ but does not show asconfigurator commands.
-+ Outputs the default specification for aspera.conf configurations and corresponding asconfigurator commands for each parameter.

Option flags

Option flag Description
-x Formats output as XML.
-b Formats output in human readable language.
Note: To see all asuserdata command options, run asuserdata -h.