NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
Dashu
Jun 06, 2012Aspirant
Unable to access frontview
Hello!
I've fiddling around to get my wordpress running and I may have broken access to frontview in the process, that or the latest upgrade broke it.
apache-ssl runs under www-data user and group.
I was first presented with:
(13)Permission denied: /frontview/ui/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
which i solved by chmod 755 then
(13)Permission denied: /frontview/ui/resource/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
which i solved by chmod 755 then
etc
The errors i'm getting now is the following
user root: authentication failure for "/admin": Password Mismatch
authentication failure for "/shares": Password Mismatch
I'm out of ideas and hope someone can shine some light on this issue.
My blog is working perfectly running wordpress, the frontview doesn't work.
Thanks in advance
Johan Nilsson
I've fiddling around to get my wordpress running and I may have broken access to frontview in the process, that or the latest upgrade broke it.
apache-ssl runs under www-data user and group.
I was first presented with:
(13)Permission denied: /frontview/ui/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
which i solved by chmod 755 then
(13)Permission denied: /frontview/ui/resource/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable
which i solved by chmod 755 then
etc
The errors i'm getting now is the following
user root: authentication failure for "/admin": Password Mismatch
authentication failure for "/shares": Password Mismatch
I'm out of ideas and hope someone can shine some light on this issue.
My blog is working perfectly running wordpress, the frontview doesn't work.
Thanks in advance
Johan Nilsson
16 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredYou might want to post the SSH commands you've used.
To check what you've done:
# cd
# cat .bash_commands - DashuAspirantThanks for teaching me the .bash_commands func, didn't know about it : )
It did unfortunately not show anything of interest, besides maybe a restart of apache-ssl as another user.
I got the wordpress blog running some weeks ago, it was not until today I realized frontview wasn't working
Thanks in advance for any further hints!
Really appreciate it! - mdgm-ntgrNETGEAR Employee RetiredWhat's useful depends on opinion.
What command did you use to restart apache?
apache should be restarted with a command such as:
# /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -t && /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf -k graceful - DashuAspirantDid a killall and restarted apache the way you instructed.
Still suffering the same symptoms, any other ideas?
Is there anything else I can provide to further figure out the matter?
Thanks - mdgm-ntgrNETGEAR Employee RetiredWell you haven't posted the SSH commands or explained whether you've installed Wordpress and PHP via add-ons or some other way.
- DashuAspirantI manually installed wordpress but installed php via an addon (can't remember which, but i remember paying for it)
Do you want me to paste the whole ssh commands for current user and root?
I was realizing the status code of 255 that I am getting.
*If you see a negative error code (or a number like 255 or 254) reported in the Apache error log, then that is an error code from mod_authnz_external and means that it was unable to run pwauth at all*
My Auth.Conf
<IfModule authnz_external_module>
AuthType Basic
AuthBasicProvider external
AuthExternal pwauth
</IfModule>
<IfModule !authnz_external_module>
LoadModule authnz_external_module /usr/lib/apache2/modules/mod_authnz_external.so
LoadModule auth_sys_group_module /usr/lib/apache2/modules/mod_auth_sys_group.so
AddExternalAuth pwauth /usr/bin/pwauth
SetExternalAuthMethod pwauth environment
</IfModule> - DashuAspirantCould it have something to do with permissions on pwauth?
-rwsr-x--- 1 root admin 4948 2010-07-28 23:28 pwauth
It requires root or admin but apache-ssl runs as www-data
NAS:/usr/bin# ps aux | grep apache-ssl
root 16525 0.0 4.2 104520 42960 ? Ss 06:25 0:01 /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf
www-data 16536 0.0 7.1 122048 72496 ? S 06:25 0:02 /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf
www-data 22430 0.0 3.7 106156 38256 ? S 11:45 0:00 /usr/sbin/apache-ssl -f /etc/frontview/apache/httpd.conf - DashuAspirantI chmod pwauth to 777 and received a new error:
AuthExtern pwauth [/usr/bin/pwauth]: Failed (50) for user root
Where:
50 STATUS_INT_USER pwauth was invoked by a uid not on the SERVER_UIDS list. If you get this error code, you probably have SERVER_UIDS set incorrectly in pwauth's config.h file.
Anybody have any knowledge about where i may find pwauthäs config file?
Thanks - DashuAspirantBump
- DashuAspirantHave been digging around some more and realized I don't have a the following file
/etc/pam.d/pwauth
Is this file supposed to exist?
Or where do pwauth get its authentication rules?
Thanks in advance
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!