FORBIDDEN - You don't have permission to access on this serv

Re: FORBIDDEN - You don't have permission to access on this

Postby Jocko » Mon Jan 10, 2022 5:37 pm

Jocko wrote:here the attacchment.
Attachment:
access_log.zip [1.28 KiB]
I detect no error in your log all GET/POST request get the right status: 200. When you get the error message "Forbidden", the error code is 443 :scratch
Maybe it is on the cached files by your browser (and then there is no trace in this file)

So try to clean fully your cache, or use another browser. What browser do you use ? And if your browser allows it delete old credentials if you saved some obsolete login/password
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: FORBIDDEN - You don't have permission to access on this

Postby Draftmancorp » Tue Jan 11, 2022 3:44 pm

Jocko wrote:
Jocko wrote:here the attacchment.
Attachment:
access_log.zip [1.28 KiB]
I detect no error in your log all GET/POST request get the right status: 200. When you get the error message "Forbidden", the error code is 443 :scratch
Maybe it is on the cached files by your browser (and then there is no trace in this file)

So try to clean fully your cache, or use another browser. What browser do you use ? And if your browser allows it delete old credentials if you saved some obsolete login/password


hi jocko,
i Use every browser :crazy (chrome, edge, firefox). But, you know, when i get forbidden, the problem is also that i cannot open the Nas directory in windows explorer nor from Filezilla.
Usually i manage the folders inside the nas from windwos, by a shortcut with path \\192.168.1.188 or \\NORMAN_NAS that work very well.... but when i get the forbidden problem, i can't access to the nas throught the windows explorer too.
how can i get you more info? this problem make me crazy becouse of i don't know if tomorrow it work fine or not. it let me with unknown.

And this is the second Nas, the very first nas work very well from 2015 with fvdw firmware.
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: FORBIDDEN - You don't have permission to access on this

Postby Draftmancorp » Wed Jan 12, 2022 7:36 am

Jocko wrote:So you have first to install the patch: https://plugout.net/viewtopic.php?f=26&t=3532

ps.: thanks for this, it fixed my update problem :thumbup .
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: FORBIDDEN - You don't have permission to access on this

Postby Jocko » Wed Jan 12, 2022 12:24 pm

Draftmancorp wrote:i Use every browser :crazy (chrome, edge, firefox). But, you know, when i get forbidden, the problem is also that i cannot open the Nas directory in windows explorer nor from Filezilla.
Usually i manage the folders inside the nas from windwos, by a shortcut with path \\192.168.1.188 or \\NORMAN_NAS that work very well.... but when i get the forbidden problem, i can't access to the nas throught the windows explorer too.
how can i get you more info? this problem make me crazy becouse of i don't know if tomorrow it work fine or not. it let me with unknown.
Hi

if you can, you may use another laptop when you have this issue. If it is still present that will confirm the issue is on the nas side.
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: FORBIDDEN - You don't have permission to access on this

Postby Draftmancorp » Wed Jan 12, 2022 12:28 pm

Jocko wrote:
Draftmancorp wrote:i Use every browser :crazy (chrome, edge, firefox). But, you know, when i get forbidden, the problem is also that i cannot open the Nas directory in windows explorer nor from Filezilla.
Usually i manage the folders inside the nas from windwos, by a shortcut with path \\192.168.1.188 or \\NORMAN_NAS that work very well.... but when i get the forbidden problem, i can't access to the nas throught the windows explorer too.
how can i get you more info? this problem make me crazy becouse of i don't know if tomorrow it work fine or not. it let me with unknown.
Hi
if you can, you may use another laptop when you have this issue. If it is still present that will confirm the issue is on the nas side.


:sob oh man...
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: FORBIDDEN - You don't have permission to access on this

Postby Draftmancorp » Mon Jan 17, 2022 10:24 am

Forbidden
You don't have permission to access / on this server.

Anyway, @jocko, it sems a software stuck.
How can hardware pilot a permission problem?
https://www.tecmint.com/forbidden-you-d ... ver-error/

:shocked oh man, yes yes this is a configuration problem @jocko, see here, it do not reckognize the root/giveit2me credentials, nor admin-nas/admin (all credentials that i have leave untouched).

Immagine 2022-01-17 112912.png


And this is what FileZilla say: Errore: Autenticazione non riuscita.
You do not have the required permissions to view the files attached to this post.
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: FORBIDDEN - You don't have permission to access on this

Postby Draftmancorp » Mon Jan 17, 2022 12:41 pm

2. Adjust directives in Apache main configuration file:

In Apache’s main configuration file /etc/apache2/apache2.conf, ensure that you have this block of code:

<Directory />
Options FollowSymLinks
AllowOverride None
Require all denied
</Directory>

<Directory /usr/share>
AllowOverride None
Require all granted
</Directory>

<Directory /var/www/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>

Hi @jocko, do you think that this can help me? at last i can't find the path /var/www/ and /usr/share for testing it...
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: FORBIDDEN - You don't have permission to access on this

Postby Jocko » Mon Jan 17, 2022 4:48 pm

Hi

What is this folder "/etc/apache2" ?And it is not used by the firmware and your conf open it to "all the world" !

So you have authentication issues with several servers which use their own configuration :scratch :scratch :scratch
- SSH with dropbear server (with putty client)
- FTP with proftpd server (with filezilla client)
- HTTP with apache server (with your browser)
- smb with samba server (with file explorer)

For me that would mean your linux user db dis not set on nas booting.

So use fvdw-sl console and post here boot.log file
Jocko
Site Admin - expert
 
Posts: 11367
Joined: Tue Apr 12, 2011 4:48 pm
Location: Orleans, France

Re: FORBIDDEN - You don't have permission to access on this

Postby Draftmancorp » Tue Jan 18, 2022 10:14 am

Jocko wrote:Hi
What is this folder "/etc/apache2" ?And it is not used by the firmware and your conf open it to "all the world" !
So you have authentication issues with several servers which use their own configuration :scratch :scratch :scratch
- SSH with dropbear server (with putty client)
- FTP with proftpd server (with filezilla client)
- HTTP with apache server (with your browser)
- smb with samba server (with file explorer)
For me that would mean your linux user db dis not set on nas booting.
So use fvdw-sl console and post here boot.log file


Thankssssssssss so much!
And which is the command for asking boot.log? :oops:
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

Re: FORBIDDEN - You don't have permission to access on this

Postby Draftmancorp » Tue Jan 18, 2022 10:23 am

maybe i found it...

Code: Select all
root@Norman_Nas2:/ # cat /sda7/boot.log
start boot log
detect and set platform
5big2
kirkwood
UIMAGE-466-KIRKWOOD-45
Current kernel: 4.14.133 #1 PREEMPT Wed Jul 17 14:46:56 CEST 2019
5big2
 mount dev/pts
update dev nodes
booting using sda1 file system...
else loop1 finished
rcS finished


Code: Select all
root@Norman_Nas2:/ # cat /sda1/boot.log
start boot log
is a physical machine
detect and set platform
5big2
kirkwood
UIMAGE-414133-KIRKWOOD-1
Current kernel: 4.14.133 #1 PREEMPT Wed Jul 17 14:46:56 CEST 2019
device 5big2
family kirkwood
 mount dev/pts
update dev nodes
booting using sda1 root file system...
enable IP forwarding...
run udevstart to update dev nodes when necessary
inserting kernel modules:
modprobe: module 'iscsi_trgt' not found
start buttons control daemon
device = 5big2
source = buttons-nwsp2
buttons-nwsp2 daemon started
Keep old Min free memory=2856
initializing date
Mon Jan  1 12:00:00 CET 2018
configuration partition is rightly mounted
create temporary passwd file
create temporary group file
set samba environment for version 4.x
configure loopback network interface
setting reboot and standby
5big2
rebootd-nwsp2
5big2
standbyd-nwsp2
start fan
starting php based setup routines step 1
 * Initialize the volatile db file...    [ OK ]
 * Starting udevd...                                     [ OK ]
 * Starting RAID monitor:                                [ OK ]
 * Starting restore RAID devices...
   - Assembling device /dev/md0:  [ OK ]
 * Finishing restore RAID devices...     [ OK ]
 * Found database configuration file...  [ OK ]
 * Updating Disks database...                    [ OK ]
 * Starting mount of volumes...
   - Mounting volume 5BIG2:  [ OK ]
 * Finishing mount of volumes...                 [ OK ]
 * Generating Hosts File...                      [ OK ]
 * Configuring System Hostname...                [ OK ]
 * Configuring LAN interface...                  [ OK ]
 * Initializing Timezone...                      [ OK ]
 * Starting web server...                                [ OK ]
 * Starting mount of internal USB ...
 * Finishing mount internal USB ...      [ OK ]
 * Configuring Disks...                                  [ OK ]
 * Configuring Samba...                                  [ OK ]
 * Configuring System Users...
        Root password: use default password
        Set users, linux and samba accounts      [ OK ]
 * Starting DDNS Service...                      [ OK ]
 * Starting Fvdw-sl Discovery Daemon...  [ OK ]
start rpcbind service
starting php based setup routines step 2
 * Starting dropbear...                                  [ OK ]
 * Kill temporary dropbear...                    [ OK ]
starting php based setup routines step 3
 * Starting NFS Server...                                [ OK ]
 * Starting daemon update Hosts File...  [ OK ]
 * Starting mount of remote shares...
 * Finishing mount shares...                     [ OK ]
 * Starting FTP Service...                               [ OK ]
 * Starting NTP client...                                [ OK ]
 * Starting Minidlna Server...                   [ FAIL ]
starting php based setup routines step banner


*** fvdw-sl NAS firmware
    This is fvdw-sl version: fvdw-sl 18.2 patched
    built on: October 18 2019

    LAN IP address: 192.168.1.24 (DHCP)

    Port configuration:

    LAN   -> eth0
php based setup routines finished
web permission on resolv.conf
set device tuning for dms performance
move smbd en nmbd db files away from ram disk to prevent hanging samba server
LED settings
else loop1 finished
rcS finished
root@Norman_Nas2:/ #


Code: Select all
root@Norman_Nas2:/ # cat /sda2/boot.log
cat: /sda2/boot.log: No such file or directory
Draftmancorp
Donator VIP
Donator VIP
 
Posts: 526
Joined: Thu May 02, 2013 1:55 pm

PreviousNext

Return to Lacie 5big Network vs2

Who is online

Users browsing this forum: Google [Bot] and 8 guests