I can confirm that I have servers that backup via FTP each week without
issue.  I'd check your firewall.

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Tony Graziano
Sent: Wednesday, May 30, 2012 9:45 AM
To: Discussion list for users of sipXecs software
Subject: Re: [sipx-users] SIPX Backup

 

No. I put that in the file manually. But I think you misunderstand FTP
backup a little bit...

 

It really be more or less of an issue with the backup FTP server and how you
are (or might be) restricted behind a firewall. In the larger sense, FTP
works fine for me except there is a memory leak when the backup runs for 30
days or so it seems to stop and the memory is not all released after each
backup job (there is another JIRA for that). The way to fix the backup
"stopped working" is to delete the job and recreate it.

 

It would seem to be simpler to use SMB and use a cron/amanda script to move
your onboard backups from your host to a back server.

 

We have also tested and used a webdav client to make the backup from the
onboard backup within sipx to a WEBDAV enabled FTP server. 

 

The issue I brought up (JIRA) you can try but if there is NAT between your
sipx and the ftp server you should see what the FTP server is sending and
why it stops. That JIRA was for the FTP server has to FTP configuration
files to phones (it is the ftp server and the phones are the ftp ua's).

 

In general, I have never had an instance where FTP just refuses to connect,
and when I have it has always been a matter of a firewall or remote server
configuration. I would not classify it as broken at all, it is more likely
an environmental issue.

 

Dig into how your FTP server works and make sure you know what it needs
(PASV or ACTIVE). A pcap should show you what control ports and if the
server is a PASV server your sipx server will try to ftp but if you are
blocking the PASV port range, it will stop.

 

Either get a pcap or use the linux cli to do a manual ftp session from sipx
to your server to see what's up with that. I think it's fair that if it is
your FTP server you really ought to look at it from your end.

 

To verify this I just did a FTP backup successful from behind my firewall to
my FT server in California. I am on 4.4 latest stable.

On Wed, May 30, 2012 at 10:38 AM, Saad <[email protected]> wrote:

Thank you Tony..

Well, The FTP backup seems to be broken on sipx .. We have tried 3 different
FTP servers ( Microsoft, QNAP and fileZilla) and in all cases the connection
was established but no writting occured untill the connection is timed out
on the FTP.. We are currently on sipXecs(4.4.0- 2012-04-13EDT09:33:36
ip-10-72-10-163)
Is this fix going to be available soon?
http://track.sipfoundry.org/browse/XX-8904
<http://track.sipfoundry.org/browse/XX-8904> 

Thank you
Saad



On May 28, 2012 12:38 PM, "Saad" <[email protected]> wrote:

Yes, Thank you :) .. from the SIpxconfig file it looksmlike the FTP server
is replying with error 421 and closing connection after .. Sound s like FTP
server issue .. 

Regards
Saad

On Mon, May 28, 2012 at 11:50 AM, George Niculae <[email protected]> wrote:

On Mon, May 28, 2012 at 6:45 PM, Saad <[email protected]> wrote:
> Is the External FTP broken on  4.4? I keep receiving "Unknown Internal
Error
> returned by the FTP server" .. The SIPX config for the FTP is attached and
> below is a snapshot of my vsftpd.conf:
>
> # vsftpd config for sipxconfig
> local_enable=YES
> write_enable=YES
> local_umask=022
> dirlist_enable=NO
> xferlog_enable=YES
> connect_from_port_20=YES
> xferlog_std_format=YES
> pam_service_name=vsftpd
> listen=YES
> chroot_local_user=YES
> pasv_enable=yes
> pasv_min_port=50000
> pasv_max_port=50050
> ~

Try pasv_enable=YES
if doesn't work check sipxconfig.log file and post back detailed exception

George
_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/



_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

 

LAN/Telephony/Security and Control Systems Helpdesk:

Telephone: 434.984.8426

sip: [email protected]

 

Helpdesk Customers: http://myhelp.myitdepartment.net

Blog: http://blog.myitdepartment.net

 

_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/



_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/





 

-- 
~~~~~~~~~~~~~~~~~~
Tony Graziano, Manager
Telephone: 434.984.8430
sip: [email protected]
Fax: 434.465.6833
~~~~~~~~~~~~~~~~~~
Linked-In Profile:
http://www.linkedin.com/pub/tony-graziano/14/4a6/7a4
Ask about our Internet Fax services!
~~~~~~~~~~~~~~~~~~

 

LAN/Telephony/Security and Control Systems Helpdesk:

Telephone: 434.984.8426

sip: [email protected]

 

Helpdesk Customers: http://myhelp.myitdepartment.net

Blog: http://blog.myitdepartment.net

_______________________________________________
sipx-users mailing list
[email protected]
List Archive: http://list.sipfoundry.org/archive/sipx-users/

Reply via email to