It is currently Fri Jul 03, 2020 2:29 am
All times are UTC + 8 hours

Configuration file error. (ref. 5006)

Configuration file error. (ref. 5006)

Postby michpl » Sat Jun 27, 2020 6:18 am

Hello,

on my AS1004t with 3.5.0.R5D3 when I get into services -> web server I got an error popup:
"Błąd pliku konfiguracyjnego. (Ref. 5006)" -> "Configuration file error. (ref. 5006)".


When I close the popup and try to change WWW and SSL port and save it I see:
" Nie zmieniono żadnych ustawień." -> which is "No changes were made".


Changes arent saved.

The same is with vhost tab, I get popup:
"Nie można odczytać pliku konfiguracyjnego. (Ref. 5006)" -> "Cant read configuration file"


I cant use my nas as WWW server anymore.

What should I do to be able to save changes in web server files?

BR,
Michal
michpl
 
Posts: 2
Joined: Sat Jun 27, 2020 6:04 am

Re: Configuration file error. (ref. 5006)

Postby orion » Mon Jun 29, 2020 10:09 am

It looks like something wrong internally. I think you can use another browser to have another try (Chrome, Firefox...). If the problem remains, I think you should send a support request directly to asustor. https://support.asustor.com/
User avatar
orion
 
Posts: 2640
Joined: Wed May 29, 2013 11:09 am

Re: Configuration file error. (ref. 5006)

Postby michpl » Tue Jun 30, 2020 3:31 pm

I have the same issue on firefox, chrome, egde, so it is not browser related.
michpl
 
Posts: 2
Joined: Sat Jun 27, 2020 6:04 am

Re: Configuration file error. (ref. 5006)

Postby Nazar78 » Tue Jun 30, 2020 11:57 pm

I bet you see the same error on the WebDAV too. Anything you did to the web server recently that leads to this error? Just curious.

You can test if your web server is ok, enable SSH, "Services->Terminal->Enable SSH service" prior, leave the port default 22. Use putty for Windows or Terminal for Mac to SSH into the NAS root@your_nas_ip then run: "apache2 -t" to test if it's ok or if there's any misconfiguration, share it here so we can work it out.

The first file it reads when you click on one of these Services tabs is the /volume0/usr/builtin/etc/apache2/asustor.conf even if it doesn't exist it will create a new one. I suspect your whole path doesn't exist or corrupted.

What you can do is to backup this path if it exist:
Code: Select all
mv /volume0/usr/builtin/etc/apache2 /volume0/usr/builtin/etc/apache2.bak


Copy over from the default:
Code: Select all
cp -a /volume0/usr/builtin/etc.default/apache2 /volume0/usr/builtin/etc/


Check again those tabs, if everything ok you may remove the backup:
Code: Select all
rm -rf /volume0/usr/builtin/etc/apache2.bak


The above needs some experience with Linux, I can't remember if Asustor prevents updating to the same firmware, which you could also try before doing the above. Go to https://www.asustor.com/en/service/down ... duct_id=43 and download the current firmware you have, then update it from "Settings->ADM Update->Manual Update". Take note I see there's a V2 of your AS1004t ensure you get the correct one.
AS5304T - 16GB DDR4 - [40TB N300 RAID10 + 5 Bay USB: 8TB RAID5 & 480GB SSD for Apps]
Nazar78
 
Posts: 75
Joined: Wed Jul 17, 2019 10:21 pm

Return to [Official] For AS10XX Series

  • You cannot post new topics in this forum
    You cannot reply to topics in this forum
    You cannot edit your posts in this forum
    You cannot delete your posts in this forum
    You cannot post attachments in this forum
  • Who is online

    Users browsing this forum: No registered users and 1 guest