-
Bug
-
Resolution: Obsolete
-
Undefined
-
None
-
None
-
False
-
None
-
False
-
-
From JBCS 2.4.51 SP2 zipped archive for RHEL9, .sample has been added as a suffix to all config files, such as httpd.conf.sample. The following error shows when running .postinstall script due to renaming configuration file names. It would be necessary to revert the configuration files name or fix the .postinstall.sh to align with the new configuration file.
# cp jbcs-httpd24-httpd-2.4.51-SP2-RHEL9-x86_64.zip /opt
# cd /opt
# unzip jbcs-httpd24-httpd-2.4.51-SP2-RHEL9-x86_64.zip
# cd jbcs-httpd24-2.4/httpd
# sh .postinstall
sed: can't read conf/httpd.conf: No such file or directory
sed: can't read conf.d/autoindex.conf: No such file or directory
sed: can't read conf.d/ssl.conf: No such file or directory
sed: can't read conf.d/manual.conf: No such file or directory
sed: can't read conf.d/welcome.conf: No such file or directory
useradd: user 'apache' already exists
sed: can't read conf.modules.d/00-base.conf: No such file or directory
grep: conf.modules.d/00-base.conf: No such file or directory