[SOLVED] Connection refused error
- Augure
- Starting out
- Posts: 41
- Joined: Sat Apr 25, 2009 9:44 pm
- Location: France
[SOLVED] Connection refused error
Hello,
i have a problem since i updated my TS-119 with the new firmware (v3.1.0 Build 0627).
First i updated firmware, then i formatted my HDD with the new EXT4 file system. I got all my datas back from the save disk and i reinstalled and started all my QPKG applications.
I started web server (no problem there) and mySql database (no problem too).
When i try to display the web server's page, i have a connection refused message. (Same when i try to display phpMyAdmin's page).
It worked great before updating firmware. Did i miss something? is it possible to monitor some logs?
i have a problem since i updated my TS-119 with the new firmware (v3.1.0 Build 0627).
First i updated firmware, then i formatted my HDD with the new EXT4 file system. I got all my datas back from the save disk and i reinstalled and started all my QPKG applications.
I started web server (no problem there) and mySql database (no problem too).
When i try to display the web server's page, i have a connection refused message. (Same when i try to display phpMyAdmin's page).
It worked great before updating firmware. Did i miss something? is it possible to monitor some logs?
Last edited by Augure on Sat Jul 25, 2009 4:21 pm, edited 1 time in total.
- fribse
- Experience counts
- Posts: 2090
- Joined: Mon Feb 11, 2008 2:50 am
- Location: Greve, Denmark
- Contact:
Re: Connection refused error
Go in via putty and see what results you get by doing
/etc/init.d/Qthttpd.sh stop
/etc/init.d/Qthttpd.sh start
/etc/init.d/Qthttpd.sh stop
/etc/init.d/Qthttpd.sh start
Best regards
Fribse
NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628
NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
Fribse
NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628
NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
- Augure
- Starting out
- Posts: 41
- Joined: Sat Apr 25, 2009 9:44 pm
- Location: France
Re: Connection refused error
Hi,
thanks for your answer.
I tried your command but when i wanted to stop i had the following message : apache : could not open configuration file/etc/config/apache/apache.conf no such file or directory.
I saw this thread http://forum.qnap.com/viewtopic.php?f=3 ... 0&start=10 and it seems i have the same problem.
Finally, where do i find the apache 2.2 configuration files specified at point 2 ?
thanks for your answer.
I tried your command but when i wanted to stop i had the following message : apache : could not open configuration file/etc/config/apache/apache.conf no such file or directory.
I saw this thread http://forum.qnap.com/viewtopic.php?f=3 ... 0&start=10 and it seems i have the same problem.
I am stuck at the mv command because it could not recognize the syntax.by windyboy on Sat Jul 11, 2009 6:10 pm
I just rest my TS-119 tonight and encountered this problems.
I think there is a bug in the system reset progress.(ver 3.1.0 build0627)
After check the error message of apache server, I finally solved the problem.
1. mkdir /etc/config/apache
mv /etc/config/apache* /etc/config/apache
2. upload the apache 2.2 configuration file "mime.types" to the directory /etc/config/apache
Finally, restart the apache server
Finally, where do i find the apache 2.2 configuration files specified at point 2 ?
-
- New here
- Posts: 5
- Joined: Fri Jul 17, 2009 4:04 am
Re: Connection refused error
Hi.
Just letting you know I experience the same problem with my TS 119. It seems the reset screws up the webserver on all Turbo NAS models.
I'm not too familiar with Linux however, so I couldn't try the suggested steps above.
Just letting you know I experience the same problem with my TS 119. It seems the reset screws up the webserver on all Turbo NAS models.
I'm not too familiar with Linux however, so I couldn't try the suggested steps above.
- Augure
- Starting out
- Posts: 41
- Joined: Sat Apr 25, 2009 9:44 pm
- Location: France
Re: Connection refused error
I saw in another post that the problem could be solved with a reinstall of the firmware.
I did it and nothing changed.
Someone's got an idea?
I did it and nothing changed.
Someone's got an idea?
- fribse
- Experience counts
- Posts: 2090
- Joined: Mon Feb 11, 2008 2:50 am
- Location: Greve, Denmark
- Contact:
Re: Connection refused error
It sounds very odd, contact QNAP's online support, and when they fix it, note what they are doing, so that you can post it back in the forum
Best regards
Fribse
NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628
NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
Fribse
NO, RAID is NOT backup - Use RAID-Certified 24x7 drives for raid
HOWTO's:
Make automatic backup of ALL MySQL databases http://forum.qnap.com/viewtopic.php?f=32&t=15628
NAS-659 Pro II (3 GB Ram), Raid1, Survailance station, local backup destination + NAS-853A (16 GB Ram), Virtualization Station, Plex, iDrive
Network: Fritz!Box 7560 + 24p SG200 + 2x8p SG200 + 8p POE EdgeCore + 300/300 mbit Internet
-
- New here
- Posts: 5
- Joined: Fri Jul 17, 2009 4:04 am
Re: Connection refused error
The only suggestion that seems to work (taken from the german forums) is to backup all your data, disaasemble the hard drive from the NAS, do a complete format and reassemble it. Pretty much as if you'd just set up the NAS for the first time.
I guess I'll try that over the weekend. Will keep you posted.
I guess I'll try that over the weekend. Will keep you posted.
- Augure
- Starting out
- Posts: 41
- Joined: Sat Apr 25, 2009 9:44 pm
- Location: France
Re: Connection refused error
Woot,Hi,
thanks for your answer.
I tried your command but when i wanted to stop i had the following message : apache : could not open configuration file/etc/config/apache/apache.conf no such file or directory.
I saw this thread http://forum.qnap.com/viewtopic.php?f=3 ... 0&start=10 and it seems i have the same problem.
by windyboy on Sat Jul 11, 2009 6:10 pm
I just rest my TS-119 tonight and encountered this problems.
I think there is a bug in the system reset progress.(ver 3.1.0 build0627)
After check the error message of apache server, I finally solved the problem.
1. mkdir /etc/config/apache
mv /etc/config/apache* /etc/config/apache
2. upload the apache 2.2 configuration file "mime.types" to the directory /etc/config/apache
Finally, restart the apache server
I am stuck at the mv command because it could not recognize the syntax.
Finally, where do i find the apache 2.2 configuration files specified at point 2 ?
it's working!!!!!
I managed to get the mime.types file somewhere on the web and uploaded it like specified in point 2 and it's ok now!
-
- New here
- Posts: 5
- Joined: Fri Jul 17, 2009 4:04 am
Re: [SOLVED] Connection refused error
I get :
mv: unable to rename `/etc/config/apache': Invalid argument
when entering the mv command.
Any ideas?
mv: unable to rename `/etc/config/apache': Invalid argument
when entering the mv command.
Any ideas?
- Augure
- Starting out
- Posts: 41
- Joined: Sat Apr 25, 2009 9:44 pm
- Location: France
Re: [SOLVED] Connection refused error
Is your folder '/etc/config/apache' existing?
I can remember i had to create it before copying files into it :
'mkdir /etc/config/apache'
I don't know if it is necessary but after creating it i made a 'chmod 777 /etc/config/apache' to give full permissions on this folder.
I then copied all the files in there and gave full permissions to these files too : 'chmod 777 /etc/config/apache/*'
Don't forget to put the mime.types files there too.
I can remember i had to create it before copying files into it :
'mkdir /etc/config/apache'
I don't know if it is necessary but after creating it i made a 'chmod 777 /etc/config/apache' to give full permissions on this folder.
I then copied all the files in there and gave full permissions to these files too : 'chmod 777 /etc/config/apache/*'
Don't forget to put the mime.types files there too.
-
- New here
- Posts: 5
- Joined: Fri Jul 17, 2009 4:04 am
Re: [SOLVED] Connection refused error
I ignored the error message and went on with the next steps. The web server is up and running again.
Thanks.
Thanks.
-
- First post
- Posts: 1
- Joined: Thu May 04, 2017 3:52 pm
Re: [SOLVED] Connection refused error
You need to wait at least 5 minutes for the TS-112 to reboot. These things are soooo slow. I think they put an 80286 in there as the CPU.