Webtier Installation Fails on Linux Server
2 years ago
Article Number
000067868
Applies To
RSA Product Set: SecurID
RSA Product/Service Type: Webtier
RSA Version/Condition: 8.x
Issue
Webtier installation fails with the below error:
 
Exception in thread "main" : error running fixcrlf on file /opt/RSASecurity/RSAAuthenticationManagerWebtier/webtierBootstrapper/8.6.0.0.0/config/src/izpack/izpack_installer.xml
        at org.apache.tools.ant.taskdefs.FixCRLF.processFile(FixCRLF.java:381)
        at org.apache.tools.ant.taskdefs.FixCRLF.execute(FixCRLF.java:304)
        at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:291)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:498)
        at org.apache.tools.ant.dispatch.DispatchUtils.execute(DispatchUtils.java:106)
        at groovy.util.AntBuilder.performTask(AntBuilder.java:338)
        at groovy.util.AntBuilder.nodeCompleted(AntBuilder.java:283)
        at groovy.util.BuilderSupport.doInvokeMethod(BuilderSupport.java:154)
        at groovy.util.AntBuilder.doInvokeMethod(AntBuilder.java:218)
        at groovy.util.BuilderSupport.invokeMethod(BuilderSupport.java:67)
        at org.codehaus.groovy.runtime.callsite.PogoMetaClassSite.call(PogoMetaClassSite.java:47)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:47)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:116)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:128)
        at com.rsa.plugins.install.CommandLineInstallEngine.fixLineEndingsInSrcDirFiles(CommandLineInstallEngine.groovy:131)
        at com.rsa.plugins.install.CommandLineInstallEngine$fixLineEndingsInSrcDirFiles.callCurrent(Unknown Source)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallCurrent(CallSiteArray.java:51)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:157)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callCurrent(AbstractCallSite.java:169)
        at com.rsa.plugins.install.CommandLineInstallEngine.fixLineEndingsInSrcDirFiles(CommandLineInstallEngine.groovy:121)
        at com.rsa.plugins.install.CommandLineInstallEngine.<init>(CommandLineInstallEngine.groovy:115)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
        at org.codehaus.groovy.reflection.CachedConstructor.invoke(CachedConstructor.java:83)
        at org.codehaus.groovy.runtime.callsite.ConstructorSite$ConstructorSiteNoUnwrapNoCoerce.callConstructor(ConstructorSite.java:105)
        at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCallConstructor(CallSiteArray.java:59)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:238)
        at org.codehaus.groovy.runtime.callsite.AbstractCallSite.callConstructor(AbstractCallSite.java:242)
        at com.rsa.plugins.install.CommandLineInstallEngine.main(CommandLineInstallEngine.groovy:40)
Caused by: java.io.FileNotFoundException: /tmp/fixcrlf1735243894 (Permission denied)
        at java.io.FileOutputStream.open0(Native Method)
        at java.io.FileOutputStream.open(FileOutputStream.java:270)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
        at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
        at org.apache.tools.ant.types.resources.FileResource.getOutputStream(FileResource.java:246)
        at org.apache.tools.ant.types.resources.FileResource.getOutputStream(FileResource.java:221)
        at org.apache.tools.ant.util.ResourceUtils.getOutputStream(ResourceUtils.java:778)
        at org.apache.tools.ant.util.ResourceUtils.copyResource(ResourceUtils.java:475)
        at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:559)
        at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:519)
        at org.apache.tools.ant.util.FileUtils.copyFile(FileUtils.java:480)
        at org.apache.tools.ant.taskdefs.FixCRLF.processFile(FixCRLF.java:357)
        ... 33 more
Configuration step WebtierBootstrapper:installAll [FAILED]

**********************************************************************
*** Finish


Installation has failed!


 
Cause
Mount option noexec on the /tmp prevents any attempt for execution

To verify the mount options on /tmp use the below command
[root@webtier2 ~]# mount | grep /tmp
/dev/mapper/vgdata-lvdata on /tmp type xfs (rw,noexec,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)

 
Resolution
Remove the mount option noexec from /tmp mount point by using the below command
[root@webtier2 ~]# mount -o remount,exec /tmp

Confirm that the noexec mount option is removed
[root@webtier2 ~]# mount | grep /tmp
/dev/mapper/vgdata-lvdata on /tmp type xfs (rw,relatime,attr2,inode64,logbufs=8,logbsize=32k,noquota)