NuSphere Forums Forum Index
NuSphere Forums
Reply to topic
[resolved] DBG doesnt listen on port


Joined: 19 Feb 2007
Posts: 2
Reply with quote
According to phpinfo():
Code:

    with DBG v3.1.1, (C) 2000,2006, by Dmitri Dmitrienko
(...)
Version    3.1.1
Linked    as a shared library.
Dbg SSL    not available
Dbg ip security    enabled.
Profiler    enabled
Target PHP version    5.1.4
Server API    Apache 2.0 Handler
Extensions API    220051025
Modules API    20050922
PHP API    20041225

Directive   Local Value   Master Value
debugger.enable_session_cookie   On   On
debugger.enabled   On   On
debugger.fail_silently   On   On
debugger.hosts_allow   protected value   protected value
debugger.hosts_deny   protected value   protected value
debugger.ignore_nops   Off   Off
debugger.JIT_enabled   Off   Off
debugger.JIT_host   clienthost   clienthost
debugger.JIT_level   3   3
debugger.JIT_port   7869   7869
debugger.net.chunksize   48000   48000
debugger.net.maxpacketsize   4096000   4096000
debugger.ports   protected value   protected value
debugger.profiler_enabled   On   On
debugger.session_nocache   On   On
debugger.timeout_seconds   300   300


php.ini
Code:

extension=dbg.so

[debugger]
debugger.enabled=on
debugger.profiler_enabled=on
debugger.hosts_allow=localhost 83.91.6.* 86.58.130.*
debugger.hosts_deny=ALL
debugger.ports=7869, 10000/16


I have copied the dbg.so-5.1.x from debugger/server/linux to my server and renamed it dbg.so and loaded it with php. If i try to run netstat:
Code:

vservGEN ~ # netstat -na
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address           Foreign Address         State
tcp        0      0 86.58.130.*:3306      0.0.0.0:*               LISTEN
tcp        0      0 86.58.130.*:80        0.0.0.0:*               LISTEN
tcp        0      0 86.58.130.*:22        0.0.0.0:*               LISTEN
tcp        0      0 86.58.130.*:443       0.0.0.0:*               LISTEN
tcp        0      0 86.58.130.*:443       83.91.6.*:4061        ESTABLISHED
tcp        0      0 86.58.130.*:443       83.91.6.*:4062        ESTABLISHED
tcp        0    840 86.58.130.*:22        83.91.6.*:4053        ESTABLISHED
tcp        0      0 86.58.130.*:22        83.91.6.*:4173        ESTABLISHED
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags       Type       State         I-Node Path
unix  2      [ ACC ]     STREAM     LISTENING     5571760 /var/run/mysqld/mysqld.sock
unix  2      [ ACC ]     STREAM     LISTENING     26059136 /var/run/cgisock
unix  3      [ ]         STREAM     CONNECTED     25031096
unix  3      [ ]         STREAM     CONNECTED     25031095
unix  3      [ ]         STREAM     CONNECTED     25031094
unix  3      [ ]         STREAM     CONNECTED     25031093
unix  3      [ ]         STREAM     CONNECTED     24817204
unix  3      [ ]         STREAM     CONNECTED     24817203
unix  3      [ ]         STREAM     CONNECTED     24817202
unix  3      [ ]         STREAM     CONNECTED     24817201
unix  3      [ ]         STREAM     CONNECTED     24815445
unix  3      [ ]         STREAM     CONNECTED     24815444
unix  3      [ ]         STREAM     CONNECTED     24815443
unix  3      [ ]         STREAM     CONNECTED     24815442


And there is nothing to see in the apache logs.

If i try to use the profiler it tells me:
Quote:

DBG 3.1.1

Failed to run DBG session

Reason: failed to connect to the client address 127.0.0.1:7869
Not sure what it means? Visit http://www.nusphere.com/dbg/ for troubleshooting.

Debugger request: "391328241164700023@localhost;d=0,p=1,c=0"
Request found in: "query_string"
Target PHP version: "5.1.4"
Server API: "Apache 2.0 Handler"
Extensions API: "220051025"
Modules API: "20050922"
PHP API: "20041225"

(But that is quite obvious when there is nothing listening on the port 7869)

Can anyone out there help me?
View user's profileFind all posts by xtr0Send private message


Joined: 19 Feb 2007
Posts: 2
Reply with quote
Ah.. Found out that the client should have the port open. It works now, but i am still getting some errors about mapping.
Failed to map '/var/www/foo/bar' remote file to local filesystem

If i look in my mappings for my project i see:
Remote: /var/www/foo/bar/
Local: C:/programmer/phped/projects/project1/ (empty)
Url: http://mywebserver/

Anything wrong there?
View user's profileFind all posts by xtr0Send private message
Site Admin

Joined: 13 Jul 2003
Posts: 8340
Reply with quote
Please read this post:
howto-set-project-mapping-t2135.html

_________________
The PHP IDE team
View user's profileFind all posts by dmitriSend private messageVisit poster's website
[resolved] DBG doesnt listen on port
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT - 5 Hours  
Page 1 of 1  

  
  
 Reply to topic