[mythtv-users] help..mythbackend.."failed to bind port"

Nada De nada marromzinho02 at yahoo.com
Tue Sep 27 17:16:33 UTC 2005


 Hello

 Thank's again for all the information. It has been
really helpfull but since I do not really know much
about Fedora (linux) its hard for me to try to
interpret some of the messages that i get when i run a
command. 
 I checked using the -p option of the netstap and i
found this..

tcp       0     0 0.0.0.0:6543               
0.0.0.0:*                   LISTEN    
3301/mythbackend


 I went to the services part under server settings and
i stopped the mythbackend which was running in that
PID to see what this will do.. I then run the back end
and gave me this message which seemed to stop at that
last line.

[mythtv at localhost ~]$ mythbackend &
[1] 19745
[mythtv at localhost ~]$ 2005-09-27 09:57:47.560 New DB
connection, total: 1
Starting up as the master server.
2005-09-27 09:57:47.581 New DB connection, total: 2
2005-09-27 09:57:47.598 New DB connection, total: 3
2005-09-27 09:57:48.099 New DB scheduler connection
2005-09-27 09:57:48.108 mythbackend version:
0.18.1.20050523-1 www.mythtv.org
2005-09-27 09:57:48.108 Enabled verbose msgs :
important general
2005-09-27 09:57:50.107 Reschedule requested for id
-1.
2005-09-27 09:57:50.205 Scheduled 0 items in 0.1 =
0.09 match + 0.00 place
2005-09-27 09:57:50.208 Seem to be woken up by USER
sh: user: command not found
2005-09-27 09:59:30.250 MainServer::HandleAnnounce
Playback
2005-09-27 09:59:30.250 adding: localhost.localdomain
as a client (events: 0)
2005-09-27 09:59:31.577 MainServer::HandleAnnounce
Playback
2005-09-27 09:59:31.577 adding: localhost.localdomain
as a client (events: 1)


 I then openened another terminal window to run
mythfrontend and see what happen and i got this 


[mythtv at localhost ~]$ mythfrontend
2005-09-27 09:59:28.369 New DB connection, total: 1
Total desktop width=1280, height=1024, numscreens=1
2005-09-27 09:59:28.379 Using screen 0, 1280x1024 at
0,0
2005-09-27 09:59:28.386 mythfrontend version:
0.18.1.20050523-1 www.mythtv.org
2005-09-27 09:59:28.387 Enabled verbose msgs :
important general
2005-09-27 09:59:28.730 Switching to square mode
(PurpleGalaxy)
mythtv: could not connect to socket
mythtv: Connection refused
lirc_init failed for mythtv, see preceding messages
2005-09-27 09:59:29.083 Joystick disabled.
2005-09-27 09:59:29.138 Registering Internal as a
media playback plugin.
2005-09-27 09:59:29.157 Registering MythDVD DVD Media
Handler as a media handler2005-09-27 09:59:29.158
Registering MythDVD VCD Media Handler as a media
handler2005-09-27 09:59:29.327 Registering MythMusic
Media Handler as a media handler
SIP listening on IP Address 147.222.29.11:5060 NAT
address 147.222.29.11
2005-09-27 09:59:29.392 New DB connection, total: 2
SIP: Cannot register; proxy, username or password not
set
2005-09-27 09:59:30.237 Connecting to backend server:
127.0.0.1:6543 (try 1 of 5)
2005-09-27 09:59:30.245 Using protocol version 15



-- I run back end again and gave me the same error
that i have been getting

[mythtv at localhost ~]$ mythbackend &
[2] 19943
[mythtv at localhost ~]$ 2005-09-27 10:09:38.211 New DB
connection, total: 1
Starting up as the master server.
2005-09-27 10:09:38.233 New DB connection, total: 2
2005-09-27 10:09:38.248 New DB connection, total: 3
2005-09-27 10:09:38.746 New DB scheduler connection
2005-09-27 10:09:38.755 mythbackend version:
0.18.1.20050523-1 www.mythtv.org
2005-09-27 10:09:38.755 Enabled verbose msgs :
important general
QServerSocket: failed to bind or listen to the socket
Failed to bind port: 6543


 I run the netsta command one more time and gave me
this message

[mythtv at localhost ~]$ netstat -l -n -p | grep 6543
(Not all processes could be identified, non-owned
process info
 will not be shown, you would have to be root to see
it all.)
tcp        0      0 0.0.0.0:6543               
0.0.0.0:*                   LISTEN     
19745/mythbackend



   What would be the best way to solve the problem.

 Thank for all your help

 Peter



--- Stephen Boddy <stephen.boddy at btinternet.com>
wrote:

> On Monday 26 September 2005 16:54, Greg Woods wrote:
> > On Mon, 2005-09-26 at 08:51 -0700, Nada De nada
> wrote:
> > >  I run the "netstat -l -n
> > >
> > > | grep 6543" to see if something else was using
> the
> > >
> > > port and I got this message
> > >
> > > tcp   0    0 0.0.0.0:6543     0.0.0.0:*    
> LISTEN
> >
> > Try running "lsof | grep -w 6543" to find which
> process is listening on
> > that port. I'll lay odds you already have a
> mythbackend process running.
> >
> > --Greg
> or pass the -p option to the netstat command for the
> PID & process name.
> -- 
> Steve Boddy
> > _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
>
http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 




		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.yahoo.com


More information about the mythtv-users mailing list