View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0007262 | Kali Linux | Kali Package Bug | public | 2021-07-18 13:52 | 2021-07-23 17:52 |
Reporter | LaraLang | Assigned To | steev | ||
Priority | normal | Severity | major | Reproducibility | always |
Status | resolved | Resolution | no change required | ||
Product Version | 2021.2 | ||||
Summary | 0007262: Nethunter Hammerhead Marshmallow - Apache2 is Broken | ||||
Description | Apache2 build is Broken. Running Apache2 from App and Terminal doesn't work. Error points to a missing or overridden function during compile. | ||||
Steps To Reproduce | Repro 1
Apache Fails Error: Function not implemented: AH00141: Could not initialize random number generator | ||||
Additional Information | Building httpd from scratch works but menu system is useless. Convenience provided negated by non working menu and applications in the image released. | ||||
Attached Files | |||||
Hi @Michu, thanks for the link. I've tried that with no success. Perusing available online reports on AH00141 was the first thing I did. I will retry downgrading all that can be downgraded soon using available binaries in the repository but at libaprutil1 alone, I could not downgrade that library. I am still not sure though if Nethunter builds or issues from one of the official images should be reported here. If it should be on another bugtracking system, let me know so it can reach the right people. |
|
i found this article https://stackoverflow.com/questions/17884176/apache-could-not-initialize-random-number-generator and people there says that it could be PATH variable try it maybe it will work it don't cost you |
|
Managed to rebuild from source and by source this time, the source used in 2021.2 fullfs of the Nethunter release for Nexus 5 Last time I rebuilt it using apache repository. tldr; rebuild-apache2-hammerhead-marshmallow.sh (857 bytes)
#!/bin/bash cd ~/Downloads apt source apache2 cd apache2-2.4.48 apt purge apache2 apt remove libapr1 apt remove libaprutil1 # clean-up all apache2 directories to ensure what will be referenced apt install subversion svn co https://svn.apache.org/repos/asf/apr/apr/tags/1.5.2/ srclib/apr svn co https://svn.apache.org/repos/asf/apr/apr-util/tags/1.5.4/ srclib/apr-util autoconf ./buildconf ./configure --with-included-apr --enable-layout=Debian --with-program-name=apache2 sed -i 's/BUILD_DATETIME/"\`date +%FT%T\`";/`' server/buildmark.c make make install cp support/apachectl /usr/sbin/apache2ctl cp debian/config-dirs/envvars /etc/apache2/envvars sed -i 's/\$SUFFIX\/apache2\.pid/\.pid/' /etc/apache2/envvars sed -i 's/ServerRoot\ \"\"/ServerRoot\ \"\/etc\/apache2\"/' /etc/apache/apache2.conf echo 'ServerName "localhost"' >> /etc/apache2/apache2.conf |
|
so this article helped you or you did it by yourself |
|
@Michu I took inspiration from the same first article we both found online. ex. Downgrade APR. And figured out all the other necessary steps by myself to get an Apache build specific to the debian layout to ensure that Nethunter conveniences/menu are usable for the custom build. Thank you all the same. :) |
|
good to hear that you figured out what you need to do to resolve your problem and i'm here to help just like the others that's what matters cheers :) |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2021-07-18 13:52 | LaraLang | New Issue | |
2021-07-18 13:52 | LaraLang | File Added: Screenshot_20210718-211849.png | |
2021-07-18 13:52 | LaraLang | File Added: Screenshot_20210718-212256.png | |
2021-07-18 18:28 | Michu | Note Added: 0014936 | |
2021-07-18 20:07 | LaraLang | Note Added: 0014937 | |
2021-07-20 18:36 | Michu | Note Added: 0014939 | |
2021-07-21 13:04 | LaraLang | File Added: rebuild-apache2-hammerhead-marshmallow.sh | |
2021-07-21 13:04 | LaraLang | Note Added: 0014940 | |
2021-07-21 13:21 | Michu | Note Added: 0014941 | |
2021-07-21 13:55 | LaraLang | Note Added: 0014942 | |
2021-07-23 17:11 | Michu | Note Added: 0014945 | |
2021-07-23 17:52 | steev | Assigned To | => steev |
2021-07-23 17:52 | steev | Status | new => resolved |
2021-07-23 17:52 | steev | Resolution | open => no change required |