NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
foranw
Jul 06, 2023Aspirant
mod_privsep.so & mod_authn_privsep.so lost after apache upgrade
I tried apt-get upgrade and think 'apache2-bin' removed mod_privsep.so
Is StephenB still around? Does anyone else have a copy of
/usr/lib/apache2/modules/mod_privsep.so and
/usr/lib/apache2/modules/mod_authn_privsep.so
Or is there a good way to revert to a previous apache? Maybe from https://rnxtras.com/?
This is the same issue in the previous 2018 post, but it's too old for me to comment on.
https://community.netgear.com/t5/New-ReadyNAS-Users-General/Cannot-Access-Admin-Page-ReadyNas-102-before-Update-firmware-at/m-p/1223029
and the link on https://www.linuxquestions.org/questions/linux-server-73/apache-module-mod_authn_privsep-so-missing-readynas-rn104-4175645263/ is also dead
I'm on a RR4360X
apache2[26823]: apache2: Syntax error on line 26 of /etc/frontview/apache/safe-mode.conf: Syntax error on line 14
of /etc/frontview/apache/fv-admin.conf: Syntax error on line 1 of /etc/frontview/apache/Admin_Auth.conf: Syntax error on line 2 of /e
tc/frontview/apache/Auth.conf: Cannot load /usr/lib/apache2/modules/mod_privsep.so into server: /usr/lib/apache2/modules/mod_privsep.s
o: cannot open shared object file: No such file or directory
5 Replies
- foranwAspirant
oh yikes! I tried to use basic auth in /etc/frontview/apache/Auth.conf[0] and get new scarier errors. Maybe I'm in more trouble than I thought!
/usr/sbin/apache2
apache2: Syntax error on line 140 of /etc/apache2/apache2.conf: Syntax error on line 2 of /etc/apache2/mods-enabled/auth_token.load: Cannot load /usr/lib/apache2/modules/mod_auth_token.so into server: /usr/lib/apache2/modules/mod_auth_token.so: undefined symbol: ap_log_rerror[0]
# htpasswd -c /etc/frontview/apache/filepass admin
AuthType Basic
AuthName "Restricted Files"
AuthBasicProvider file
AuthUserFile "/etc/frontview/apache/filepass"
Require user adminHave you tried an OS reinstall?
- SandsharkSensei
Yes, you are in more trouble than you thought. apt-get upgrade should never be performed on a ReadyNAS, as the OS includes both Netgear-specific versions of some modules as well as some other Netgear executables that may rely on a specific outdated version of a standard one. What you have run into thus far is likely the tip of the iceberg.
Hopefully, an OS re-install will fix your issue. But before you try that, if you can still access your files, make sure your backup is complete. If the OS re-install doesn't fix it, things may get worse, where you need to factory default and start over.
Related Content
NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!