I attempted to upgrade from 2024R1.3.4 to 2024R1.4.4 on RHEL 9.6, but I get the following error:
Complete!
WARNING: channel "pecl.php.net" has updated its protocols, use "pecl channel-update pecl.php.net" to update
downloading ssh2-1.4.1.tgz ...
Starting to download ssh2-1.4.1.tgz (34,265 bytes)
.........done: 34,265 bytes
6 source files, building
running: phpize
Configuring for:
PHP Api Version: 20200930
Zend Module Api No: 20200930
Zend Extension Api No: 420200930
shtool at '/var/tmp/ssh2/build/shtool' does not exist or is not executable.
Make sure that the file exists and is executable and then rerun this script.
ERROR: `phpize' failed
Based on some other information I found in the forum, I then tried upgrading to 2024R1.4.3, which was successful. If tried to go to R1.4.4 again I still get the error, HOWEVER, I was then able to upgrade to 2024R2 without issue.
BTW, I have reverted to my previous snapshot, so I'm back to R1.3.4.
I'm trying to avoid versions with the dashboard issue, so upgrading to R1.4.3 creates that issue, which is not resolved by then going to 2024R2.
Let me know if further log information is needed. Since this our QA environment, I am able to run tests at any time.
Thanks in advance.
ERROR: `phpize' failed trying to upgrade to 2024R1.4.4
Re: ERROR: `phpize' failed trying to upgrade to 2024R1.4.4
Answer my own question here, in case anyone else runs into this.
I can't take all the credit, this article solved the issue for us, https://blog.litespeedtech.com/2013/04/ ... esnt-work/.
Our systems team implenented CIS Benchmarks, including setting /tmp to noexec, nodev, and nosuid
The workaround in the article worked
mkdir /root/tmp/
pear config-set temp_dir /root/tmp
I was then able to proceed with the upgrade.
Two items of note.
- As the article suggesed, this did not work for me: pecl config-set temp_dir /root/tmp
- If you previously ran an upgrade, you will probably get the following error,
No match for argument: php-imap
Error: Unable to find a match: php-imap
I reverted on my snapshot, but this should help resolve it, viewtopic.php?t=75571&sid=22bdd2b382cdf ... d&start=10
I believe nagiosxi-deps-el9-2024r1.2.1-1.noarch was removed in the first attempt, which is why it errored during the second attempt. I did see that nagiosxi-deps-el9-2024r1.4.4-1.noarch.rpm is located in the ./nagiosxi install folder.
Hope this helps.
I can't take all the credit, this article solved the issue for us, https://blog.litespeedtech.com/2013/04/ ... esnt-work/.
Our systems team implenented CIS Benchmarks, including setting /tmp to noexec, nodev, and nosuid
The workaround in the article worked
mkdir /root/tmp/
pear config-set temp_dir /root/tmp
I was then able to proceed with the upgrade.
Two items of note.
- As the article suggesed, this did not work for me: pecl config-set temp_dir /root/tmp
- If you previously ran an upgrade, you will probably get the following error,
No match for argument: php-imap
Error: Unable to find a match: php-imap
I reverted on my snapshot, but this should help resolve it, viewtopic.php?t=75571&sid=22bdd2b382cdf ... d&start=10
I believe nagiosxi-deps-el9-2024r1.2.1-1.noarch was removed in the first attempt, which is why it errored during the second attempt. I did see that nagiosxi-deps-el9-2024r1.4.4-1.noarch.rpm is located in the ./nagiosxi install folder.
Hope this helps.