I was facing the same issue while configuring SWSE, it was failing at the step UpdateMimeTypes
Siebel version 184.108.40.206
Web Server - OHS 11g
OS - Oracle Linux 4 update 5
Below step helped resolve my issue, hopefully it will help here
|The error: GenericLog||GenericError||1||0000000252302b7f:0||2013-09-11 21:44:43||Step SetMimeTypes: failed to run program %%SiebelRoot%%%%OSDirSeparator%%install_script%%OSDirSeparator%%install%%OSDirSeparator%%UpdateMimeTypes with cmdline %%SiebelRoot%% %%WebServerInstance%%|
|GenericLog||GenericError||1||0000000252302b7f:0||2013-09-11 21:44:43||Failed during Execution, err: 5500044|
You need to open scripts under sweapp/install_script/install and check whether it is written "head -1" command syntax or "head -n 1"
Please check on this. If it mentioned as "head -1" , replace all scripts to use "head -n 1"