Page 1 of 2

wftpserver service stops automatically

Posted: Tue Aug 14, 2012 1:37 pm
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.

Re: wftpserver service stops automatically

Posted: Tue Aug 14, 2012 6:06 pm
by FTP
Please upgrade to the latest version, if the problem still exist, please email us.

Re: wftpserver service stops automatically

Posted: Thu Aug 23, 2012 1:08 pm
by setor.ti
I did the upgrade. But after 4 days the same error occurred

Re: wftpserver service stops automatically

Posted: Fri Aug 24, 2012 5:46 pm
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

Re: wftpserver service stops automatically

Posted: Mon Aug 27, 2012 8:19 pm
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!

Re: wftpserver service stops automatically

Posted: Wed Oct 03, 2012 7:47 pm
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.

Re: wftpserver service stops automatically

Posted: Fri Oct 05, 2012 4:36 pm
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?

Re: wftpserver service stops automatically

Posted: Fri Oct 05, 2012 6:39 pm
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.

Re: wftpserver service stops automatically

Posted: Tue Nov 06, 2012 12:20 pm
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]

Re: wftpserver service stops automatically

Posted: Fri Nov 09, 2012 10:13 am
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