End Point -File not written to hard drive! Msg

pdhpbx

New Member
Joined
Aug 4, 2009
Messages
9
Reaction score
0
PIAF Installed Version = 2.0.6.2
Freepbx Version = 2.9.0.9
Running Asterisk = 10.0.0
Asterisk Source Version = 10.0.0

Verified /tftpboot is present and has my spa942.cfg and phone xml files.

After searching for an answer, I've tried everything I've found so far but no luck yet.

First try...
pbx-menu ->install-t*f*t*p
rebooted server
Got the error msg in End Point Config Mgr

Second try...
yum -y install t*f*t*p-server
/sbin/chkconfig --level 345 xinetd on
/sbin/chkconfig --level 345 t*f*t*p on
rebooted server
Got the error msg in End Point Config Mgr

Third try...
To test t*f*t*p services
1. On your PiaF server, use Webmin’s File Manager and create a NEW test file called test.txt and save it in /tftpboot directory. This is the directory that ALL t*f*t*p files must reside.
2. On a PC connected to your network, open up a command line prompt
3. Type the following command to access the t*f*t*p server on the Data VLAN:
c:> t*f*t*p –i <server ip address> GET test.txt
4. The file test.txt should download to your PC to the directory where you ran the t*f*t*p command from.

This test failed from Win7 workstation with Win7 t*f*t*p client installed, timeout occurred, connect request failed

Any advice on what to do from here?

TIA,
Paul
 
On the system hosting tftpd look in the /var/log/messages file for any errors with tftpd.

You can edit the /etc/xinetd.d/t*f*t*p file

server_args = -s /tftpboot -vvv

So it looks similar to above

then

service xinetd restart

Then from the console of the machine that tftpd is running on

t*f*t*p -v 127.0.0.1 -c get test.txt

You should get the file.

Then try again from a different machine... Ensuring that the machine you are running the t*f*t*p client from has it's firewall/iptables turned OFF

Tom
 
After modifying t*f*t*p file and restarting service, putty in as root, and tried...

t*f*t*p -v 127.0.0.1 -c get test.txt
-bash: t*f*t*p: command not found

Then tried...
/etc/xinetd.d/t*f*t*p -v 127.0.0.1 -c get test.txt
-bash: /etc/xinetd.d/t*f*t*p: Permission denied

Also tried
/etc/xinetd.d/t*f*t*p -v 127.0.0.1 -c get /tftpboot/test.txt
-bash: /etc/xinetd.d/t*f*t*p: Permission denied

Checked log file and it was empty. So is it just a permissions problem?

Should the files have the same permissions as their directory?

TIA
 
yum install t*f*t*p*

then you can do the commands darmock stated. You can't run client commands against the server which is what you have tried to do a few times.

However all you really need to do is set the permissions on the directory to the asterisk user......

chown asterisk:asterisk /tftpboot

Also. Reading up on linux would help immensely...

Further reading here: http://wiki.provisioner.net/index.php/t*f*t*p

After modifying t*f*t*p file and restarting service, putty in as root, and tried...

t*f*t*p -v 127.0.0.1 -c get test.txt
-bash: t*f*t*p: command not found

Then tried...
/etc/xinetd.d/t*f*t*p -v 127.0.0.1 -c get test.txt
-bash: /etc/xinetd.d/t*f*t*p: Permission denied

Also tried
/etc/xinetd.d/t*f*t*p -v 127.0.0.1 -c get /tftpboot/test.txt
-bash: /etc/xinetd.d/t*f*t*p: Permission denied

Checked log file and it was empty. So is it just a permissions problem?

Should the files have the same permissions as their directory?

TIA
 
Read the article. The t*f*t*p server was installed, but not the client. The tests worked after I installed the client. Then rebooted and can now save in the End Point Mgr.

Thank you for your help.

yum install t*f*t*p*

then you can do the commands darmock stated. You can't run client commands against the server which is what you have tried to do a few times.

However all you really need to do is set the permissions on the directory to the asterisk user......

chown asterisk:asterisk /tftpboot

Also. Reading up on linux would help immensely...

Further reading here: http://wiki.provisioner.net/index.php/t*f*t*p
 

Members online

No members online now.

Forum statistics

Threads
26,688
Messages
174,412
Members
20,259
Latest member
Fadeek86
Get 3CX - Absolutely Free!

Link up your team and customers Phone System Live Chat Video Conferencing

Hosted or Self-managed. Up to 10 users free forever. No credit card. Try risk free.

3CX
A 3CX Account with that email already exists. You will be redirected to the Customer Portal to sign in or reset your password if you've forgotten it.
Back
Top