Problem with POSIX cmd line tools

  • Thread starter Thread starter Brian
  • Start date Start date
B

Brian

I recently had to do a backup / restore on a w2k
workstation. After the restore my posix utilites (cat,
ls, grep, ect) will not work.

The error I receive is:
"usage: posix /c <path> [<args>]"

If i try to issue the command via the posix program I get
these errors:

C:\Program Files\Resource Kit Full\apps\posix>posix /c ls
posix: cannot start process

C:\Program Files\Resource Kit Full\apps\posix>posix /c //C
posix: cannot start process


my posix.exe, psxdll.dll, and psxss.exe are present in my %
system32& direcotry.

my HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\SubSystems\Optoinal has REG_MULTI_SZ "Os2 Posix"
in it

and \susbsytems\posix has the psxss.exe path in it.

Any Clues would be welcome!
 
Brian said:
I recently had to do a backup / restore on a w2k
workstation. After the restore my posix utilites (cat,
ls, grep, ect) will not work.

The error I receive is:
"usage: posix /c <path> [<args>]"

If i try to issue the command via the posix program I get
these errors:

C:\Program Files\Resource Kit Full\apps\posix>posix /c ls
posix: cannot start process

C:\Program Files\Resource Kit Full\apps\posix>posix /c //C
posix: cannot start process


my posix.exe, psxdll.dll, and psxss.exe are present in my %
system32& direcotry.

my HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\SubSystems\Optoinal has REG_MULTI_SZ "Os2 Posix"
in it

and \susbsytems\posix has the psxss.exe path in it.

Any Clues would be welcome!

Just some generic suggestions:

Are there any related errors in the event logs? Turn on auditing and see if
you're getting any failures or access is denied entries.
 
Nothing is being logged in to the event logged, I have all
auditing events being logged, it's just not generating any
errors. I seem to remebr something regarding environment
varibles required, have tried setting the TERM, TZ, ENV
varibles to appropriate entries, but still no luck.
-----Original Message-----

I recently had to do a backup / restore on a w2k
workstation. After the restore my posix utilites (cat,
ls, grep, ect) will not work.

The error I receive is:
"usage: posix /c <path> [<args>]"

If i try to issue the command via the posix program I get
these errors:

C:\Program Files\Resource Kit Full\apps\posix>posix /c ls
posix: cannot start process

C:\Program Files\Resource Kit Full\apps\posix>posix /c //C
posix: cannot start process


my posix.exe, psxdll.dll, and psxss.exe are present in my %
system32& direcotry.

my HKLM\SYSTEM\CurrentControlSet\Control\Session
Manager\SubSystems\Optoinal has REG_MULTI_SZ "Os2 Posix"
in it

and \susbsytems\posix has the psxss.exe path in it.

Any Clues would be welcome!

Just some generic suggestions:

Are there any related errors in the event logs? Turn on auditing and see if
you're getting any failures or access is denied entries.



.
 
Perhaps my PATH was just getting too long, I moved the
posix ustils to C:\posix and now they are workign
again..odd

Thank you,
 
Back
Top