setenv DXHOST unix

This will tell dx to ignore the gethostbyname call and just use the localhost.

David

In src/exec/dpexec/dxmain.c (line 1283) it is doing

    gethostname(_dxd_exHostName, MAXHOSTNAMELEN);
    if ( ExHostToFQDN(_dxd_exHostName, _dxd_exHostName ) == ERROR )

the ExHostToFQDN does a 'gethostbyname' which fails.

Seems the gethostname does not return a valid hostname (which has been set by sethostname). I don't think it uses the 'HOSTNAME' environment variable at all.


Could it be that Apache is passing on a stripped 'environment'?

Can you explicitly provide a host on the command line when you invoke Dx?

Mattijs

--
.............................................................................
David L. Thompson                   Visualization and Imagery Solutions, Inc.
mailto:[EMAIL PROTECTED]    5515 Skyway Drive, Missoula, MT 59804
                                    Phone : (406)756-7472

Reply via email to