wftpserver service stops automatically

Please post here if you have problems in using Wing FTP Server.
setor.ti
Posts: 2
Joined: Tue Aug 14, 2012 1:29 pm

wftpserver service stops automatically

Post by setor.ti »

Hello,
The wftpserver is running on a linux x64, installed version: 4.0.8. Practically once a week the service automatically stops.

Looking at the logs got something like:
wftpserver[28312]: segfault at 0000010f000001d7 rip 0000000000b82261 rsp 0000000045e732a0 error 4

After the service is started manually, everything works normally.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: wftpserver service stops automatically

Post by FTP »

Please upgrade to the latest version, if the problem still exist, please email us.
setor.ti
Posts: 2
Joined: Tue Aug 14, 2012 1:29 pm

Re: wftpserver service stops automatically

Post by setor.ti »

I did the upgrade. But after 4 days the same error occurred
eordona
Posts: 55
Joined: Fri Aug 24, 2012 5:42 pm

Re: wftpserver service stops automatically

Post by eordona »

I am having the same issue roughly once per week, on version 4.0.9. However, I'm not getting the same error you are. Here is the relevant log:

[05] Fri, 24 Aug 2012 10:53:35 (0003241) Start uploading file 'WWTP Plan-Complete.pdf'
[05] Fri, 24 Aug 2012 10:53:50 (0003187) Keep alive
[05] Fri, 24 Aug 2012 10:53:50 (0003241) Keep alive
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:38 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:50 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:50 An error arose on http port 443 (error code:24).
[14] Fri, 24 Aug 2012 10:55:50 An error arose on http port 443 (error code:24).

... not much to go on, I know. Any help would be appreciated.

Thanks
eordona
Posts: 55
Joined: Fri Aug 24, 2012 5:42 pm

Re: wftpserver service stops automatically

Post by eordona »

Failure happened again today. It just <<stops>>. I'm going to let it fail one more time, then unfortunately I''ll probably resort to a "keep alive" shell script -- say, something that checks to see if server is listening on the desired ports (22, etc.), and if not, it will restart the service automatically.

Ideally we could shed some light onto what is really happening.

Thanks!
norus
Posts: 11
Joined: Fri Nov 04, 2011 2:28 pm

Re: wftpserver service stops automatically

Post by norus »

The problem still exists in latest version 4.1.1 running on RHEL 5.8 64-bit

In our case there's absolutely nothing in the logs.
FTP
Site Admin
Posts: 2072
Joined: Tue Sep 29, 2009 6:09 am

Re: wftpserver service stops automatically

Post by FTP »

norus wrote:The problem still exists in latest version 4.1.1 running on RHEL 5.8 64-bit

In our case there's absolutely nothing in the logs.

Do you use SFTP? can you reproduce it?
norus
Posts: 11
Joined: Fri Nov 04, 2011 2:28 pm

Re: wftpserver service stops automatically

Post by norus »

We can't reproduce because this only happens once in a while. Our current "solution" is based on Nagios monitoring. We added an event_handler, so in case wing ftp daemon is not running, it's automatically started by executing /etc/init.d/wftpserver restart

No, we're not using SFTP, only pure FTP.
niqbert
Posts: 18
Joined: Mon Jul 11, 2011 1:06 pm

Re: wftpserver service stops automatically

Post by niqbert »

Same issue with my installation on:
v4.1.1
Red Hat Enterprise Linux Server release 6.3 (Santiago)
Linux 2.6.32-279.5.2.el6.x86_64 #1 SMP x86_64 x86_64 x86_64 GNU/Linux



Ussually no errors. Today I also noticed this error at the same time wftpserver crashed:

Nov 6 05:05:29 hostname kernel: wftpserver[2775]: segfault at 18 ip 00007f569b687657 sp 00007f55f09dfa58 error 4 in libstdc++.so.6.0.13[7f569b5e9000+e8000]
Nov 6 05:05:29 hostname kernel: wftpserver[2775]: segfault at 18 ip 00007f569b687657 sp 00007f55f09dfa58 error 4 in libstdc++.so.6.0.13[7f569b5e9000+e8000]
norus
Posts: 11
Joined: Fri Nov 04, 2011 2:28 pm

Re: wftpserver service stops automatically

Post by norus »

We are now monitoring various statistics of our FTP server using Nagios.

And since we many times ended up with stopped wftp process for no apparent reason, we added an event handler which automatically starts the FTP server when it's down.

Those resets you see on the image below is how many times the event handler was triggered.

I really hope we're gonna see this fixed in the coming releases.

Image
Post Reply