Used Vici Server as archive but still not connecting

All installation and configuration problems and questions

Moderators: gerski, enjay, williamconley, Op3r, Staydog, gardo, mflorell, MJCoate, mcargile, Kumba, Michael_N

Used Vici Server as archive but still not connecting

Postby devin.it3 » Thu Sep 13, 2018 7:30 pm

Built out a cluster and attempted to use another vicibox as archive server, set the FTP settings in the astguiclient.conf file on the Telephony servers, uncommented the line for the CRON in the AST_CRON_audio_3_ftp.pl file and ran chmod 755 /var/spool/asterisk on the archive and telephony servers but still can't connect and still receive the Access forbidden! on recording links. Plus I'm seeing that the recordings are staying on the telephony servers and not being transferred to the archive server. Please tell me someone has an answer for this, I've scoured the forums and haven't been able to find the same problem being posted.

VERSION: 2.14-687a
BUILD: 180908-1618
Database
2x Xeon Hex Core E5-2620 2.00 GHz
32 GB DDR3-1600 ECC SDRAM
Second Hard Drive: 1 TB SATA HDD (7200 RPM)
SATA 2 Port RAID Card

Other 4 servers
Xeon Quad Core E3-1230v6 3.5 GHz
16 GB DDR4-2400 ECC
First Hard Drive: 1 TB SATA HDD (7200 RPM)
Second Hard Drive: 1 TB SATA HDD (7200 RPM)
LSI MegaRAID 9361-4i
devin.it3
 
Posts: 12
Joined: Fri May 25, 2018 5:13 pm

Re: Used Vici Server as archive but still not connecting

Postby williamconley » Fri Sep 14, 2018 12:12 pm

You left off the installation method for each of the servers. FTP has had bugs and requires configuration differently based on the installer. Vicidial itself merely assumes FTP will work. But the installer (be that YOU or some installation script, or a combination thereof) must actually provide functional FTP.

You also didn't mention whether you tried to log in as the FTP user manually and demonstrate that (a) FTP is actually running and (b) your FTP user has permission to read/write.

A couple other things are important: Are you sure the Sending server has network access to the receiving server?

Testing stages:
1) Log on to FTP on the server hosting the ftp at the CLI (ftp localhost). Success proves FTP is running and your credentials are valid.
2) Log on to FTP from your workstation (WinSCP? Some other FTP client?) and upload a file. Also create the RECORDINGS and REPORTS folders if they are not already present. Success proves read/write and external access.
3) Log on to FTP from the Sending Server to the IP of the receiving server (ftp xxx.xxx.xxx.xxx). Success will prove access from the sending server.
4) Execute the FTP cron job from the command line with switches "debugX" and limit the transfer to 1 file. This should show you any problems still remaining.
5) If that last step worked: Ensure the URL from that lead's "modify lead" page works properly before fully activating the system. Modifications to the astguiclient.conf file may be necessary to make the links generated by the Vicidial interface will work seamlessly to access the new audio files at their new location. Limiting to 1 file at a time allows you to fix problems before firing it up and letting it transfer ALL the files.

Failure of any of these stages requires a fix before continuing. The fix will depend on your OS and version and installer. FTP, however, is a standard package on all OSs. Specific steps to a Vicibox ISO installed system differ from install to install (but make no mistake: any functional FTP in the OS on that server will suffice, you don't need to use the Vicibox-installer packages, any will do if you get it running).

Happy Hunting 8-)
Vicidial Installation and Repair, plus Hosting and Colocation
Newest Product: Vicidial Agent Only Beep - Beta
http://www.PoundTeam.com # 352-269-0000 # +44(203) 769-2294
williamconley
 
Posts: 20258
Joined: Wed Oct 31, 2007 4:17 pm
Location: Davenport, FL (By Disney!)


Return to Support

Who is online

Users browsing this forum: No registered users and 80 guests