LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-26-2012, 07:30 PM   #1
ashujain13
LQ Newbie
 
Registered: Jul 2012
Posts: 15
Blog Entries: 1

Rep: Reputation: Disabled
steps to install TFTP server for CISCO ip phones


Hi,

i want to install new tftp server in Linux to register my IP phones can any one help me.
 
Old 07-26-2012, 08:37 PM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,695

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
Hi,

use your package manager to search for tftp and then install the package corresponding to the daemon/server.

If you want more help please at the very least tell us what Linux distribution and version you are running.

Evo2.
 
Old 07-28-2012, 12:04 PM   #3
ashujain13
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Unhappy : steps to install TFTP server for CISCO ip phones

i am using RedHat 5.3 need some help as after running 'YUM' command it says

"This system is not registered with RHN"
RHN support will be disabled.
Skipping security plugin, no data
Skipping security plugin, no data
Skipping security plugin, no data

Kindly advise
 
Old 07-29-2012, 07:23 PM   #4
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,695

Rep: Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698Reputation: 1698
Hi,

if you are using RHEL you need to pay some money and register with the RHN (Red Hat Network). If you don't want to spend any money you should not be using RHEL. CentOS or Scientific Linux may suit you better.

Evo2.
 
Old 08-02-2012, 03:13 PM   #5
ashujain13
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
hi EVo2,

sorry for the late reply as i was out of time.

I can install tftp-server-5.2-1.el5.rfx.i386.rpm this package manually to configure tftp server? even after this i am getting the following message :-

rpm -U tftp-server-5.2-1.el5.rfx.i386.rpm
warning: tftp-server-5.2-1.el5.rfx.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
package tftp-server-5.2-1.el5.rfx.i386 is already installed

Even after this i am not able to check the status of TFTPD service it says "No suck File or Directory"

Please advice...
 
Old 08-02-2012, 03:18 PM   #6
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,801

Rep: Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745
Quote:
Originally Posted by ashujain13 View Post
hi EVo2,
sorry for the late reply as i was out of time.

I can install tftp-server-5.2-1.el5.rfx.i386.rpm this package manually to configure tftp server? even after this i am getting the following message :-

rpm -U tftp-server-5.2-1.el5.rfx.i386.rpm
warning: tftp-server-5.2-1.el5.rfx.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6b8d79e6
package tftp-server-5.2-1.el5.rfx.i386 is already installed

Even after this i am not able to check the status of TFTPD service it says "No suck File or Directory"
No, that's not the error message. And it's quite clearly telling you that you already HAVE the TFTP server RPM installed. Did you try to CONFIGURE the service?? There is lots of info you can find on Red Hat's website or on Google, if you tried to look:
https://docs.redhat.com/docs/en-US/R...boot-tftp.html
http://lonesysadmin.net/2007/10/29/h...erprise-linux/

Since you're using RHEL, you need to PAY FOR IT, which would get you support for questions like this, and access to the online repositories. If you're not going to pay, use CentOS instead.
 
Old 08-02-2012, 05:31 PM   #7
ashujain13
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
Hi EV02

i Have install new CentOS kindly Advice.
 
Old 08-02-2012, 05:39 PM   #8
ashujain13
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
just tell me what all packages do i need to install?Now i have centOS 5.2 on my server.

kindly reply ASAP
 
Old 08-02-2012, 05:46 PM   #9
ashujain13
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
even after this i am getting an message whenever i am trying to run YUM command it says

yum install tftp-server
There was a problem importing one of the Python modules
required to run yum. The error leading to this problem was:

librpmbuild-4.4.so: cannot open shared object file: No such file or directory

Please install a package which provides this module, or
verify that the module is installed correctly.

It's possible that the above module doesn't match the
current version of Python, which is:
2.4.3 (#1, May 24 2008, 13:47:28)
[GCC 4.1.2 20070626 (Red Hat 4.1.2-14)]

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq


Please advice....
 
Old 08-03-2012, 09:49 AM   #10
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,801

Rep: Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745
Quote:
Originally Posted by ashujain13 View Post
Hi EV02
i Have install new CentOS kindly Advice.
..and, 8 minutes later...
Quote:
Originally Posted by ashujain13
just tell me what all packages do i need to install?Now i have centOS 5.2 on my server.
kindly reply ASAP
We VOLUNTEER our time here...don't tell us to hurry up, and don't bump your own threads after 8 minutes.
Quote:
Originally Posted by ashujain13
even after this i am getting an message whenever i am trying to run YUM command it says

If you cannot solve this problem yourself, please go to
the yum faq at:
http://wiki.linux.duke.edu/YumFaq
CentOS 5.2 is NOT the latest version, so if you DID do a fresh installation, this is a good time to do a fresh, CLEAN installation (that is, FORMAT your drive), and start clean. The error you're getting is mentioned on the web link you posted, for the Yum faq...did you read it??

It points to a bad installation of yum (see question 7), which indicates that you didn't do a fresh installation, or that things got corrupted somehow. In question 7, it even gives you a possible SOLUTION to the problem..have you tried it?
 
Old 08-05-2012, 01:28 AM   #11
ashujain13
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
HI EVO2,

i have installed all the required patches on my server like tftp, xinetd but still am not able to start tftpd service its says no such file and direcotry.....kindly help or is there any way where i can give access to anyone for troubleshoot


please reply please.......
 
Old 08-05-2012, 01:52 AM   #12
Celyr
Member
 
Registered: Mar 2012
Location: Italy
Distribution: Slackware+Debian
Posts: 321

Rep: Reputation: 81
Well, while i don't know centos i can give you some simple advice:
go to your /etc/inetd.conf or xinetd.conf
go to something like

# Tftp service is provided primarily for booting. Most sites
# run this only on machines acting as "boot servers."
# tftp dgram udp wait root /usr/sbin/in.tftpd in.tftpd -s /tftpboot -r blksize

Your one is probabily a bit different but should start with tftp, just make sure that:
- you remove the leading # of the tftp line
- Do you see /tftpboot ? This is the directory that is served via tftp so make it or change it

Last edited by Celyr; 08-05-2012 at 01:53 AM.
 
Old 08-05-2012, 09:37 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,801

Rep: Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745
Quote:
Originally Posted by ashujain13 View Post
HI EVO2,
i have installed all the required patches on my server like tftp, xinetd but still am not able to start tftpd service its says no such file and direcotry.....kindly help or is there any way where i can give access to anyone for troubleshoot

please reply please.......
I asked questions of you which you haven't answered, and will again point out that CentOS 5.2 is NOT the latest version, so if you did do a fresh installation, you should stop now, and really DO install the latest version of things.

And saying "not able to start" tells us nothing. HOW did you try to start it? Did you follow the steps you were given to CONFIGURE TFTP?? Unless you configure it, it won't start.

And if you want to give someone access to do your work for you, then post it in the LQ Job marketplace, along with how much you're willing to PAY.
 
Old 08-05-2012, 11:25 PM   #14
ashujain13
LQ Newbie
 
Registered: Jul 2012
Posts: 15

Original Poster
Blog Entries: 1

Rep: Reputation: Disabled
this is my xinetd.conf file


#
# This is the master xinetd configuration file. Settings in the
# default section will be inherited by all service configurations
# unless explicitly overridden in the service configuration. See
# xinetd.conf in the man pages for a more detailed explanation of
# these attributes.

defaults
{
# The next two items are intended to be a quick access place to
# temporarily enable or disable services.
#
# enabled =
# disabled =

# Define general logging characteristics.
log_type = SYSLOG daemon info
log_on_failure = HOST
log_on_success = PID HOST DURATION EXIT

# Define access restriction defaults
#
# no_access =
# only_from =
# max_load = 0
cps = 50 10
instances = 50
per_source = 10

# Address and networking defaults
#
# bind =
# mdns = yes
v6only = no

# setup environmental attributes
#
# passenv =
groups = yes
umask = 002

# Generally, banners are not used. This sets up their global defaults
#
# banner =
# banner_fail =
# banner_success =
}

includedir /etc/xinetd.d
 
Old 08-06-2012, 10:18 AM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 25,801

Rep: Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745Reputation: 7745
Quote:
Originally Posted by ashujain13 View Post
this is my xinetd.conf file

# This is the master xinetd configuration file. Settings in the
# default section will be inherited by all service configurations
# unless explicitly overridden in the service configuration. See
# xinetd.conf in the man pages for a more detailed explanation of
# these attributes.
Great...you still haven't answered any of the questions asked of you. Did you CONFIGURE TFTP? Did you follow the instructions in the links provided to you? What message(s) are you getting when it starts? Posting files and not answering any questions is pointless....it doesn't provide anyone here any further information, in order to be able to help you.

READ the two links I sent you in my first reply. Check the /etc/xinetd.d/tftp file, and make sure it's enabled. Allow that port through your firewall/iptables/selinux.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Google Steps Into Another Market: GPS for Phones LXer Syndicated Linux News 0 10-28-2009 11:30 AM
"Help Me!! URGENT cisco 7960 Ip phones any ideas? itman18 General 6 10-22-2009 02:48 PM
in.tftpd: cannot get a Cisco client to tftp to my Slackware 12.0 server. Larus Linux - Server 1 05-21-2008 12:11 PM
Need tftp server with install script GUIPenguin Linux - Software 0 11-08-2004 10:36 PM
TFTP Server for AVAYA Phones Jellis Linux - Networking 2 01-07-2004 06:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 10:39 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration