web service not working with python3

125 views
Skip to first unread message

Andres Chandia

unread,
Jun 25, 2014, 6:47:55 AM6/25/14
to cherryp...@googlegroups.com
Hi there I have a web service that works perfectly well with python2.7 but if I run it with python3.4 it starts, it works for a while and then stops, I need to run it with pythone3 because inside it has some regular expressions that work with special characters, which are well treated with python3, while python2 gives some encoding errors:

this is what logs out when the service stops (actually from the starting to the stopping):

[25/Jun/2014:12:43:23] ENGINE Listening for SIGTERM.
[25/Jun/2014:12:43:23] ENGINE Listening for SIGUSR1.
[25/Jun/2014:12:43:23] ENGINE Listening for SIGHUP.
[25/Jun/2014:12:43:23] ENGINE Bus STARTING
CherryPy Checker:
The Application mounted at '' has an empty config.

[25/Jun/2014:12:43:23] ENGINE Started monitor thread 'Autoreloader'.
[25/Jun/2014:12:43:23] ENGINE Started monitor thread '_TimeoutMonitor'.


and after a while....... (1 minute more or less)

[25/Jun/2014:12:44:14] ENGINE Error in 'start' listener <bound method Server.start of <cherrypy._cpserver.Server object at 0x7f2a622fcfd0>>
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 197, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/lib/python3/dist-packages/cherrypy/_cpserver.py", line 151, in start
    ServerAdapter.start(self)
  File "/usr/lib/python3/dist-packages/cherrypy/process/servers.py", line 174, in start
    self.wait()
  File "/usr/lib/python3/dist-packages/cherrypy/process/servers.py", line 214, in wait
    wait_for_occupied_port(host, port)
  File "/usr/lib/python3/dist-packages/cherrypy/process/servers.py", line 427, in wait_for_occupied_port
    raise IOError("Port %r not bound on %r" % (port, host))
OSError: Port 8080 not bound on '0.0.0.0'

[25/Jun/2014:12:44:14] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 235, in start
    self.publish('start')
  File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 215, in publish
    raise exc
cherrypy.process.wspbus.ChannelFailures: OSError("Port 8080 not bound on '0.0.0.0'",)

[25/Jun/2014:12:44:14] ENGINE Bus STOPPING
[25/Jun/2014:12:44:14] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
[25/Jun/2014:12:44:14] ENGINE Joining '_TimeoutMonitor'
[25/Jun/2014:12:44:23] ENGINE Stopped thread '_TimeoutMonitor'.
[25/Jun/2014:12:44:23] ENGINE Joining 'Autoreloader'
[25/Jun/2014:12:44:23] ENGINE Stopped thread 'Autoreloader'.
[25/Jun/2014:12:44:23] ENGINE Bus STOPPED
[25/Jun/2014:12:44:23] ENGINE Bus EXITING
[25/Jun/2014:12:44:23] ENGINE Bus EXITED





_______________________
            andrés chandía
chandia.net
administrador de
parles.upf.edu
psicoaching.net
mapuche koyaktu
ong mapuche koyaktu
P No imprima innecesariamente. ¡Cuide el medio ambiente!

Sylvain Hellegouarch

unread,
Jun 25, 2014, 7:38:22 AM6/25/14
to cherryp...@googlegroups.com
Hi Anders,


This actuelly tells you that you are trying to bind the listening socket of your CherryPy server to an address (IP+port) that is already taken by another listening party. In other words, something else already listen on the 8080 port. Simply change the port of one or the other. 

As for the encoding error... well the log you're displaying has nothing to do with it.
--
- Sylvain
http://www.defuze.org
http://twitter.com/lawouach

Andres Chandia

unread,
Jun 25, 2014, 7:42:11 AM6/25/14
to cherryp...@googlegroups.com
Yes, I know is telling that, but that is not true, I've checked thousand times the ports, I've even changed the port many times, and always happens the same, python2 works, python3 don't...




On Wed, June 25, 2014 13:38, Sylvain Hellegouarch wrote:
Hi Anders,


On 25 June 2014 12:47, Andres Chandia and...@chandia.net> wrote:
Hi there I have a web service that works perfectly well with python2.7 but if I run it with python3.4 it starts, it works for a while and then stops, I need to run it with pythone3 because inside it has some regular expressions that work with special characters, which are well treated with python3, while python2 gives some encoding errors:

this is what logs out when the service stops (actually from the starting to the stopping):

[25/Jun/2014:12:43:23] ENGINE Listening for SIGTERM.
[25/Jun/2014:12:43:23] ENGINE Listening for SIGUSR1.
[25/Jun/2014:12:43:23] ENGINE Listening for SIGHUP.
[25/Jun/2014:12:43:23] ENGINE Bus STARTING
CherryPy Checker:
The Application mounted at '' has an empty config.

[25/Jun/2014:12:43:23] ENGINE Started monitor thread 'Autoreloader'.
[25/Jun/2014:12:43:23] ENGINE Started monitor thread '_TimeoutMonitor'.


and after a while....... (1 minute more or less)

[25/Jun/2014:12:44:14] ENGINE Error in 'start' listener >
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 197, in publish
    output.append(listener(*args, **kwargs))
  File "/usr/lib/python3/dist-packages/cherrypy/_cpserver.py", line 151, in start
    ServerAdapter.start(self)
  File "/usr/lib/python3/dist-packages/cherrypy/process/servers.py", line 174, in start
    self.wait()
  File "/usr/lib/python3/dist-packages/cherrypy/process/servers.py", line 214, in wait
    wait_for_occupied_port(host, port)
  File "/usr/lib/python3/dist-packages/cherrypy/process/servers.py", line 427, in wait_for_occupied_port
    raise IOError("Port %r not bound on %r" % (port, host))

OSError: Port 8080 not bound on '0.0.0.0'

[25/Jun/2014:12:44:14] ENGINE Shutting down due to error in start listener:
Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 235, in start
    self.publish('start')
  File "/usr/lib/python3/dist-packages/cherrypy/process/wspbus.py", line 215, in publish
    raise exc

cherrypy.process.wspbus.ChannelFailures: OSError("Port 8080 not bound on '0.0.0.0'",)

[25/Jun/2014:12:44:14] ENGINE Bus STOPPING
[25/Jun/2014:12:44:14] ENGINE HTTP Server cherrypy._cpwsgi_server.CPWSGIServer(('0.0.0.0', 8080)) already shut down
[25/Jun/2014:12:44:14] ENGINE Joining '_TimeoutMonitor'
[25/Jun/2014:12:44:23] ENGINE Stopped thread '_TimeoutMonitor'.
[25/Jun/2014:12:44:23] ENGINE Joining 'Autoreloader'
[25/Jun/2014:12:44:23] ENGINE Stopped thread 'Autoreloader'.
[25/Jun/2014:12:44:23] ENGINE Bus STOPPED
[25/Jun/2014:12:44:23] ENGINE Bus EXITING
[25/Jun/2014:12:44:23] ENGINE Bus EXITED




This actuelly tells you that you are trying to bind the listening socket of your CherryPy server to an address (IP+port) that is already taken by another listening party. In other words, something else already listen on the 8080 port. Simply change the port of one or the other. 

As for the encoding error... well the log you're displaying has nothing to do with it.
--
- Sylvain
http://www.defuze.org
http://twitter.com/lawouach

 

--
You received this message because you are subscribed to the Google Groups "cherrypy-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-user...@googlegroups.com.
To post to this group, send email to cherryp...@googlegroups.com.
Visit this group at http://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.

Sylvain Hellegouarch

unread,
Jun 25, 2014, 7:57:41 AM6/25/14
to cherryp...@googlegroups.com
Hi Andres,


On 25 June 2014 13:41, Andres Chandia <and...@chandia.net> wrote:
Yes, I know is telling that, but that is not true, I've checked thousand times the ports, I've even changed the port many times, and always happens the same, python2 works, python3 don't...





Just to be on the safe side, could you run one of the following commands: http://unix.stackexchange.com/questions/9252/determining-what-process-is-bound-to-a-port

This will make sure the port is available.

Thanks,

Andres Chandia

unread,
Jun 25, 2014, 8:07:37 AM6/25/14
to cherryp...@googlegroups.com
nmap localhost

Starting Nmap 6.40 ( http://nmap.org ) at 2014-06-25 14:05 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000080s latency).
Not shown: 988 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
25/tcp    open  smtp
80/tcp    open  http
110/tcp   open  pop3
111/tcp   open  rpcbind
143/tcp   open  imap
783/tcp   open  spamassassin
993/tcp   open  imaps
995/tcp   open  pop3s
3306/tcp  open  mysql
10024/tcp open  unknown
10025/tcp open  unknown


lsof -i TCP |grep LISTEN
rpcbind     632     root    8u  IPv4   8698      0t0  TCP *:sunrpc (LISTEN)
rpcbind     632     root   11u  IPv6   8701      0t0  TCP *:sunrpc (LISTEN)
sshd        993     root    3u  IPv4   9601      0t0  TCP *:ssh (LISTEN)
sshd        993     root    4u  IPv6   9604      0t0  TCP *:ssh (LISTEN)
/usr/sbin  1322   amavis    5u  IPv4  10248      0t0  TCP localhost:10024 (LISTEN)
/usr/sbin  1329     root    5u  IPv4  10270      0t0  TCP localhost:spamd (LISTEN)
/usr/sbin  1329     root    6u  IPv6  10271      0t0  TCP ip6-localhost:spamd (LISTEN)
spamd      1378     root    5u  IPv4  10270      0t0  TCP localhost:spamd (LISTEN)
spamd      1378     root    6u  IPv6  10271      0t0  TCP ip6-localhost:spamd (LISTEN)
spamd      1379     root    5u  IPv4  10270      0t0  TCP localhost:spamd (LISTEN)
spamd      1379     root    6u  IPv6  10271      0t0  TCP ip6-localhost:spamd (LISTEN)
couriertc  2360     root    3u  IPv6  12252      0t0  TCP *:imap2 (LISTEN)
couriertc  2390     root    3u  IPv6  12289      0t0  TCP *:imaps (LISTEN)
couriertc  2414     root    3u  IPv6  12323      0t0  TCP *:pop3 (LISTEN)
couriertc  2444     root    3u  IPv6  12359      0t0  TCP *:pop3s (LISTEN)
master     2574     root   12u  IPv4  12683      0t0  TCP *:smtp (LISTEN)
master     2574     root   13u  IPv6  12684      0t0  TCP *:smtp (LISTEN)
master     2574     root  107u  IPv4  12776      0t0  TCP localhost:10025 (LISTEN)
famd       2637     root    3u  IPv4  12936      0t0  TCP localhost:693 (LISTEN)
apache2    2715     root    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
mysqld     8872    mysql   10u  IPv4 114410      0t0  TCP localhost:mysql (LISTEN)
/usr/sbin 11507   amavis    5u  IPv4  10248      0t0  TCP localhost:10024 (LISTEN)
/usr/sbin 11508   amavis    5u  IPv4  10248      0t0  TCP localhost:10024 (LISTEN)
apache2   13124 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13222 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13232 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13381 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13387 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13419 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13448 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13449 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13498 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13504 www-data    4u  IPv6  13122      0t0  TCP *:http (LISTEN)
smtpd     13519  postfix    6u  IPv4  12683      0t0  TCP *:smtp (LISTEN)
smtpd     13519  postfix    7u  IPv6  12684      0t0  TCP *:smtp (LISTEN)


netstat -lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name
tcp        0      0 127.0.0.1:10024         0.0.0.0:*               LISTEN      1322/amavisd-new (m
tcp        0      0 127.0.0.1:10025         0.0.0.0:*               LISTEN      2574/master    
tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      8872/mysqld    
tcp        0      0 127.0.0.1:783           0.0.0.0:*               LISTEN      1329/spamd.pid 
tcp        0      0 0.0.0.0:111             0.0.0.0:*               LISTEN      632/rpcbind    
tcp        0      0 127.0.0.1:693           0.0.0.0:*               LISTEN      2637/famd      
tcp        0      0 0.0.0.0:22              0.0.0.0:*               LISTEN      993/sshd       
tcp        0      0 0.0.0.0:25              0.0.0.0:*               LISTEN      2574/master    
tcp6       0      0 :::993                  :::*                    LISTEN      2390/couriertcpd
tcp6       0      0 :::995                  :::*                    LISTEN      2444/couriertcpd
tcp6       0      0 :::110                  :::*                    LISTEN      2414/couriertcpd
tcp6       0      0 :::143                  :::*                    LISTEN      2360/couriertcpd
tcp6       0      0 ::1:783                 :::*                    LISTEN      1329/spamd.pid 
tcp6       0      0 :::111                  :::*                    LISTEN      632/rpcbind    
tcp6       0      0 :::80                   :::*                    LISTEN      2715/apache2   
tcp6       0      0 :::22                   :::*                    LISTEN      993/sshd       
tcp6       0      0 :::25                   :::*                    LISTEN      2574/master    

ss -ap |grep 80
u_str  LISTEN     0      100      private/anvil 12748                 * 0       users:(("anvil",12933,6),("master",2574,80))
u_dgr  UNCONN     0      0                    * 12788                 * 9248    users:(("qmgr",2580,7))
u_str  ESTAB      0      0                    * 212805                * 0       users:(("imapd",13444,5))
u_str  ESTAB      0      0                    * 12693                 * 12692   users:(("qmgr",2580,5),("master",2574,25))



when I start with python2 , this is what I get:

nmap localhost

Starting Nmap 6.40 ( http://nmap.org ) at 2014-06-25 14:06 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000080s latency).
Not shown: 987 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
25/tcp    open  smtp
80/tcp    open  http
110/tcp   open  pop3
111/tcp   open  rpcbind
143/tcp   open  imap
783/tcp   open  spamassassin
993/tcp   open  imaps
995/tcp   open  pop3s
3306/tcp  open  mysql
8080/tcp  open  http-proxy
10024/tcp open  unknown
10025/tcp open  unknown


I get the same with python3, but just for a minute.........




On Wed, June 25, 2014 13:57, Sylvain Hellegouarch wrote:
Hi Andres,


On 25 June 2014 13:41, Andres Chandia and...@chandia.net> wrote:
Yes, I know is telling that, but that is not true, I've checked thousand times the ports, I've even changed the port many times, and always happens the same, python2 works, python3 don't...





Just to be on the safe side, could you run one of the following commands: http://unix.stackexchange.com/questions/9252/determining-what-process-is-bound-to-a-port

This will make sure the port is available.

Thanks,

 

--

Sylvain Hellegouarch

unread,
Jun 25, 2014, 8:19:38 AM6/25/14
to cherryp...@googlegroups.com
Thank you for running those commands. Are you running the python3 server at the same time as the python2 one? I mean, do you stop the python2 server before starting the other one? 

Andres Chandia

unread,
Jun 25, 2014, 8:24:58 AM6/25/14
to cherryp...@googlegroups.com
Yes, of course, I stop the python2 service before starting the python3 one



On Wed, June 25, 2014 14:19, Sylvain Hellegouarch wrote:
On 25 June 2014 14:07, Andres Chandia and...@chandia.net> wrote:
nmap localhost

Starting Nmap 6.40 ( http://nmap.org ) at 2014-06-25 14:05 CEST
Nmap scan report for localhost (127.0.0.1)
Host is up (0.0000080s latency).
Not
shown: 988 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
25/tcp    open  smtp
80/tcp    open  http
110/tcp   open  pop3
111/tcp   open  rpcbind
143/tcp   open  imap
783/tcp   open  spamassassin
993/tcp   open  imaps
995/tcp   open  pop3s
3306/tcp  open  mysql
10024/tcp
open  unknown
10025/tcp open  unknown



lsof -i TCP |grep
LISTEN
rpcbind     632     root   
8u  IPv4   8698      0t0  TCP *:sunrpc
(LISTEN)
rpcbind     632     root  
11u  IPv6   8701      0t0  TCP *:sunrpc
(LISTEN)
sshd        993    
root    3u  IPv4   9601      0t0 
TCP *:ssh (LISTEN)
sshd       
993     root    4u  IPv6  
9604      0t0  TCP *:ssh (LISTEN)
/usr/sbin 
1322   amavis    5u  IPv4 
10248      0t0  TCP localhost:10024 (LISTEN)
/usr/sbin  1329     root    5u  IPv4 
10270      0t0  TCP localhost:spamd (LISTEN)
/usr/sbin  1329     root    6u  IPv6 
10271      0t0  TCP ip6-localhost:spamd (LISTEN)
spamd      1378     root   
5u  IPv4  10270      0t0  TCP localhost:spamd
(LISTEN)
spamd      1378    
root    6u  IPv6  10271      0t0  TCP
ip6-localhost:spamd (LISTEN)
spamd     
1379     root    5u  IPv4 
10270      0t0  TCP localhost:spamd (LISTEN)
spamd      1379     root   
6u  IPv6  10271      0t0  TCP ip6-localhost:spamd
(LISTEN)
couriertc  2360     root    3u 
IPv6  12252      0t0  TCP *:imap2 (LISTEN)
couriertc  2390     root    3u  IPv6 
12289      0t0  TCP *:imaps (LISTEN)
couriertc 
2414     root    3u  IPv6 
12323      0t0  TCP *:pop3 (LISTEN)
couriertc 
2444     root    3u  IPv6 
12359      0t0  TCP *:pop3s (LISTEN)
master     2574     root   12u 
IPv4  12683      0t0  TCP *:smtp (LISTEN)
master     2574     root   13u 
IPv6  12684      0t0  TCP *:smtp (LISTEN)
master     2574     root  107u  IPv4 
12776      0t0  TCP localhost:10025 (LISTEN)
famd       2637     root   
3u  IPv4  12936      0t0  TCP localhost:693
(LISTEN)
apache2    2715     root   
4u  IPv6  13122      0t0  TCP *:http (LISTEN)
mysqld     8872    mysql   10u  IPv4
114410      0t0  TCP localhost:mysql (LISTEN)
/usr/sbin
11507   amavis    5u  IPv4 
10248      0t0  TCP localhost:10024 (LISTEN)
/usr/sbin
11508   amavis    5u  IPv4 
10248      0t0  TCP localhost:10024 (LISTEN)
apache2   13124 www-data    4u  IPv6 
13122      0t0  TCP *:http (LISTEN)
apache2  
13222 www-data    4u  IPv6  13122     
0t0  TCP *:http (LISTEN)
apache2   13232 www-data   
4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13381 www-data    4u  IPv6 
13122      0t0  TCP *:http (LISTEN)
apache2  
13387 www-data    4u  IPv6  13122     
0t0  TCP *:http (LISTEN)
apache2   13419 www-data   
4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13448 www-data    4u  IPv6 
13122      0t0  TCP *:http (LISTEN)
apache2  
13449 www-data    4u  IPv6  13122     
0t0  TCP *:http (LISTEN)
apache2   13498 www-data   
4u  IPv6  13122      0t0  TCP *:http (LISTEN)
apache2   13504 www-data    4u  IPv6 
13122      0t0  TCP *:http (LISTEN)
smtpd     13519  postfix    6u  IPv4 
12683      0t0  TCP *:smtp (LISTEN)
smtpd     13519  postfix    7u  IPv6 
12684      0t0  TCP *:smtp (LISTEN)



netstat
-lntp
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local
Address           Foreign
Address        
State       PID/Program name
tcp        0      0
127.0.0.1:10024        
0.0.0.0:*              
LISTEN      1322/amavisd-new (m
tcp        0      0
127.0.0.1:10025        
0.0.0.0:*              
LISTEN      2574/master    
tcp        0      0
127.0.0.1:3306         
0.0.0.0:*              
LISTEN      8872/mysqld    
tcp        0      0
127.0.0.1:783          
0.0.0.0:*              
LISTEN      1329/spamd.pid 
tcp        0      0
0.0.0.0:111            
0.0.0.0:*              
LISTEN      632/rpcbind    
tcp        0      0
127.0.0.1:693          
0.0.0.0:*              
LISTEN      2637/famd      
tcp        0      0
0.0.0.0:22             
0.0.0.0:*              
LISTEN      993/sshd       
tcp        0      0
0.0.0.0:25             
0.0.0.0:*              
LISTEN      2574/master    
tcp6       0      0
:::993                 
:::*                   
LISTEN      2390/couriertcpd
tcp6       0      0
:::995                 
:::*                   
LISTEN      2444/couriertcpd
tcp6       0      0
:::110                 
:::*                   
LISTEN      2414/couriertcpd
tcp6       0      0
:::143                 
:::*                   
LISTEN      2360/couriertcpd
tcp6       0      0
::1:783                
:::*                   
LISTEN      1329/spamd.pid 
tcp6       0      0
:::111                 
:::*                   
LISTEN      632/rpcbind    
tcp6       0      0
:::80                  
:::*                   
LISTEN      2715/apache2   
tcp6       0      0
:::22                  
:::*                   
LISTEN      993/sshd       
tcp6       0      0
:::25                  
:::*                   
LISTEN      2574/master    

ss -ap
|grep 80
u_str  LISTEN     0     
100      private/anvil
12748                
* 0      

users:(("anvil",12933,6),("master",2574,80))
u_dgr 
UNCONN     0     
0                   
*
12788                
* 9248    users:(("qmgr",2580,7))
u_str 
ESTAB      0     
0                   
*
212805               
* 0       users:(("imapd",13444,5))
u_str 
ESTAB      0     
0                   
*
12693                
* 12692   users:(("qmgr",2580,5),("master",2574,25))




when I start with python2 , this is what I get:

nmap localhost

Starting Nmap 6.40 ( http://nmap.org ) at 2014-06-25 14:06 CEST
Nmap scan report
for localhost (127.0.0.1)
Host is up (0.0000080s latency).
Not shown: 987 closed
ports
PORT      STATE SERVICE
22/tcp   
open  ssh
25/tcp    open  smtp
80/tcp   
open  http
110/tcp   open  pop3
111/tcp   open 
rpcbind
143/tcp   open  imap
783/tcp   open 
spamassassin
993/tcp   open  imaps
995/tcp   open 
pop3s
3306/tcp  open  mysql
8080/tcp  open  http-proxy
10024/tcp open  unknown
10025/tcp open  unknown



I get the
same with python3, but just for a minute.........



Thank you for running those commands. Are you running the python3 server at the same time as the python2 one? I mean, do you stop the python2 server before starting the other one? 

Andres Chandia

unread,
Jun 25, 2014, 8:45:13 AM6/25/14
to cherryp...@googlegroups.com
if you want to download the code of my cherrypy application tou can find it here:

Andres Chandia

unread,
Jun 29, 2014, 5:53:07 AM6/29/14
to cherryp...@googlegroups.com
Hi there, I still can not find a solution to this, how could  I chek if it is a failure on my code or a python3 bug?

Joel Rivera

unread,
Jun 30, 2014, 5:43:55 AM6/30/14
to cherryp...@googlegroups.com
Hi Andres,

The code that you packed is using:


cherrypy.config.update({'server.socket_host': 'www.chandia.net',
'server.socket_port': 8080,
})


why don't you use:

cherrypy.config.update({'server.socket_host': '0.0.0.0',
'server.socket_port': 8080,
})


Maybe you are actually using that but the code that you packed does not
reflect that?

Regards.

On Sun, 29 Jun 2014 11:52:52 +0200
"Andres Chandia" <and...@chandia.net> wrote:

>
>
> Hi there, I still can not find a solution to this, how could  I chek
> if it is a failure on my code or a python3 bug?
>
>
> On Wed, June 25, 2014 14:43, Andres Chandia
> wrote:
> if you want to download the code of my cherrypy
> application tou can find it here:
>
>
>
> NMT-2.6-20110529.tar.gz
Rivera²

Andres Chandia

unread,
Jun 30, 2014, 10:32:24 AM6/30/14
to cherryp...@googlegroups.com
Actually yes, one of the things I've tried is changing this part of the code, and at
this
moment I got this:

# set service port, to not conflict with other services

cherrypy.config.update({'server.socket_host': '0.0.0.0',
'server.socket_port': 8080,
})


Different from the packed version as you correctly point out...

I've been thinking about the parameters of the server, could it be that the cherrypy server with python3
consumes too much memory, how could I control that, or any other parameter that can help.

thanks for the interest in my problem...
 >      --  Rivera²  --  You received this message
because you are subscribed to the Google Groups "cherrypy-users" group. To
unsubscribe from this group and stop receiving emails from it, send an email to cherrypy-user...@googlegroups.com.
To post to this group, send email to cherryp...@googlegroups.com.
Visit this group at http://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.

Joel Rivera

unread,
Jun 30, 2014, 4:58:20 PM6/30/14
to cherryp...@googlegroups.com
By too much memory you mean less than 20MB? If so that is pretty normal
on the Python 3 world. Nevertheless I don't think that socket
binding errors are related to the memory consumption in such a low
scale.

Try running this script [1] it just use the socket library to pass
around some messages, just in case that there is something very wrong
with your python 3 installation. By the way which minor version is?

On the script you can specify the port to test the conversation but
without any argument it will use 8181.

Give it a try.

Regards.

[1]https://gist.github.com/cyraxjoe/73eae99408f091c8b29d




On Mon, 30 Jun 2014 16:32:14 +0200
> administrador de
> parles.upf.edu
> psicoaching.net
> mapuche koyaktu
> ong mapuche koyaktu
> P No imprima innecesariamente. ¡Cuide el medio ambiente!
>



--
Rivera²

Andres Chandia

unread,
Jul 1, 2014, 9:39:27 AM7/1/14
to cherryp...@googlegroups.com
Ok, this is what happened:

python3 socket_test.py
Client: Hi!
Server: Whatsup!
Client: Just the usual
Server: Oh... ok..
Client: ... (unconfortably staring)
Server: ... Ok... talk to you later...
Client: Ok Bye!
Server: Bye! (rushes away)





_______________________
            andrés chandía
chandia.net

Andres Chandia

unread,
Jul 2, 2014, 11:54:28 AM7/2/14
to cherryp...@googlegroups.com
I continue looking for a solution and I can see that other people have the same problem:

check this:
https://groups.google.com/forum/#!topic/cherrypy-users/ttTKVN8dkE8

andres....@upf.edu

unread,
Jul 5, 2014, 6:58:58 AM7/5/14
to cherryp...@googlegroups.com, and...@chandia.net
Sorry, one thing I have forget: this is the version: Python 3.4.0



El dimecres 2 de juliol de 2014 17:54:28 UTC+2, Andrés Chandía va escriure:
> it, send an email to
cherrypy-users+unsubscribe@googlegroups.com.
To  > post to this group, send email to cherrypy-users@googlegroups.com.
 > Visit this group at http://groups.google.com/group/cherrypy-users.
 > For more options, visit https://groups.google.com/d/optout. 
>   >   >   >   >
_______________________  >             andrés 
> chandía  >   > administrador de  > parles.upf.edu
 > psicoaching.net  > mapuche
koyaktu  > ong mapuche koyaktu  > P No imprima innecesariamente. ¡Cuide el medio ambiente! 
>  
    --  Rivera²  --  You received this message because
you are subscribed to the Google Groups "cherrypy-users" group. To unsubscribe from
this group and stop receiving emails from it, send an email to cherrypy-users+unsubscribe@googlegroups.com.
To post to this group, send email to cherrypy-users@googlegroups.com.
Visit this group at <a title="Este enlace externo
...

Andres Chandia

unread,
Jul 5, 2014, 7:25:40 AM7/5/14
to cherryp...@googlegroups.com
I have upgrated to Python 3.4.1 and it heppends exacly the same....



El Sab, 5 de Julio de 2014, 12:58, andres....@upf.edu escribió:
Sorry, one thing I have forget: this is the version: Python 3.4.0


El dimecres 2 de juliol de 2014 17:54:28 UTC+2, Andrés Chandía va escriure:
I continue looking for a solution and I can see that other people have the same problem:

check this:
https://groups.google.com/forum/#!topic/cherrypy-users/ttTKVN8dkE8



El Mar, 1 de Julio de 2014, 15:39, Andres Chandia escribió:
> (127.0.0.1)  > Host is up (0.0000080s latency).  > Not  > 
shown:  > 988  > closed ports  > PORTÂ
     STATE SERVICE  >
22/tcp  >   
open  ssh  > 25/tcp   >    > open  smtp  >
80/tcp    open  http  >
110/tcp  >   open   > pop3  > 111/tcp   open 
rpcbind   > > 143/tcp  
open  imap  > 783/tcp   open  
>  > spamassassin  >  993/tcpÂ
  open  imaps  >  >
995/tcp    >  >
open  pop3s  > 3306/tcp  open  mysql 
>  > 10024/tcp  >  open   >  > unknown  > 10025/tcp  >
open  unknown  >   >   >  > lsof -i
TCP |grep  >   > LISTEN  > rpcbindÂ
    632  >     root 
> Â Â   >  > 
8u  IPv4   8698 Â
 > Â Â  > Â 
0t0Â  TCP *:sunrpc   > >  (LISTEN)  >
rpcbind   > Â
   > 632    
 > root    > 
11u  IPv6   > 
>  8701Â Â Â Â Â 
0t0Â   > TCP *:sunrpc  >  (LISTEN)  >
 > sshd  Â
     993Â
   >  >   
>  root  >   
3u  IPv4   9601  >
     0t0   > 
TCP *:ssh (LISTEN)  >  > sshdÂ
  >    Â
    > >  993 Â
   root  >   
4u  IPv6    >  9604Â
    >  >
  0t0  TCP *:ssh (LISTEN)  > /usr/sbin 
 >  >  1322Â Â   > 
> amavis   
5u  IPv4   >   >
10248Â Â Â  > Â Â 
0t0Â   > TCP localhost:10024 (LISTEN)  >
/usr/sbin  1329  >  >
    root Â
   > 5u  IPv4  
>   >  > 10270Â Â
    0t0  TCP localhost:spamd
(LISTEN)   > > /usr/sbin 
1329Â Â Â Â  rootÂ
 >     > 6u 
IPv6Â   >  10271Â Â Â
   0t0  TCP   >
> ip6-localhost:spamd (LISTEN)  >  >
spamd     
1378Â  >  > Â Â
  root     >   > 5u  IPv4   > 10270Â
   > Â
  0t0  TCP localhost:spamd  >    > > (LISTEN)  > spamd   >     1378Â
   >  >   
>  root    6u   > IPv6  10271   >
     >
0t0  TCP  >  ip6-localhost:spamd (LISTEN)  > spamd  >
    >
   >  1379    
root  >  >   
5u  IPv4   >  10270 Â
     > 0t0  TCP localhost:spamd
 >  > (LISTEN)  > spamd Â
     > 1379 Â
   root     
> >  6u  IPv6  >   > 10271   Â
  0t0  TCP ip6-localhost:spamd   > >   > (LISTEN)  > couriertc  2360Â
    root  >   >   3u   > 
IPv6Â  12252Â Â Â Â
   > 0t0  TCP *:imap2  >
(LISTEN)  > couriertc  2390  Â
   >  > root Â
  3u  IPv6   >   > 12289    >
   0t0   > TCP
*:imaps (LISTEN)  > couriertc   >  2414  >
     >
root    3u  IPv6  
>   >  > 12323Â Â
    0t0   > TCP *:pop3 (LISTEN)  > couriertc   > 
2444Â Â Â Â  rootÂ
    >  > 3u 
IPv6Â   >   > 12359Â
     0t0  TCP  >
*:pop3s (LISTEN)  > master   >    2574 Â
  >    > rootÂ
  12u   >  IPv4  12683 
> Â Â  > Â
  0t0  TCP *:smtp  > (LISTEN) 
> master       > > 2574    
root    > 13u  
>  IPv6Â   > 12684Â Â Â
   0t0  TCP *:smtp  > (LISTEN)  > master  Â
  2574  > Â
   root   > 107u   > IPv4   >  12776 Â
     >
0t0Â  TCP  > localhost:10025 (LISTEN)  > famdÂ
     
2637Â   > > Â Â
  root     >  3uÂ
 IPv4Â   > 12936Â  >
     0t0  TCP
localhost:693  >  (LISTEN)  > apache2Â Â  > Â  2715Â Â Â
  root   >    > 
4u  IPv6   >
13122Â Â Â Â Â   >
0t0Â   > TCP *:http (LISTEN)  >
mysqld      > 8872  >   
mysql    > 10u 
IPv4  >  114410Â Â Â   > > Â Â  0t0Â  TCP
localhost:mysql (LISTEN)   > > /usr/sbin  > 
11507Â   > > Â 
amavis    5u  IPv4 
 >  >  10248Â Â  > 
> Â Â Â  0t0Â
 TCP localhost:10024 (LISTEN)  > /usr/sbin  >   > 11508  >   amavis   
5u IPv4   >   >  >
10248Â Â Â Â Â 
0t0Â  TCP localhost:10024 (LISTEN)   > >
apache2   13124 www-data Â
   > 4u  IPv6  
>   >  > 13122Â Â
    0t0  TCP *:http (LISTEN)  >
apache2Â Â   >  13222  >
www-data    4u 
IPv6Â   >  > 13122Â
      >  0t0 
 > TCP *:http (LISTEN)  > apache2Â
  13232  > www-dataÂ
    >  4u  IPv6   >  > 13122  Â
   0t0   > TCP
*:http (LISTEN)  > apache2   13381  > www-data   
4u  IPv6   >   >  >
13122Â Â Â Â Â 
0t0Â   > TCP *:http (LISTEN)  >
apache2    >  13387 www-data Â
  4u  > IPv6  
 > > 13122Â Â Â
    >  0t0  TCP *:http (LISTEN)  > 
> apache2Â Â  13419
www-data     >  4u 
IPv6Â   > 13122Â  >
     0t0  TCP
*:http (LISTEN)  > apache2Â Â  13448 www-dataÂ
  >   4uÂ
IPv6Â   >   >  > 13122Â
     0t0  TCP
*:http (LISTEN)  > apache2    >  13449  > www-data   
4u  IPv6   >  >
13122Â Â Â Â Â   > 
0t0Â   > TCP *:http (LISTEN)  >
apache2Â Â  13498  >
www-data     >  4u 
IPv6Â   >  > 13122Â
     0t0  
> TCP *:http (LISTEN)  > apache2Â Â 
13504  > www-data Â
  4u  IPv6   >   >  > 13122  Â
   0t0   > TCP
*:http (LISTEN)  > smtpd    
 > 13519Â  postfixÂ
    > 6u   >
IPv4Â   >  12683Â Â Â
    > 0t0  TCP 
> *:smtp (LISTEN)  > smtpd  Â
  13519  postfix  >  >    7u 
IPv6Â   >  12684Â Â Â
    > 0t0  TCP *:smtp (LISTEN)  >  > >   >  >   > netstat  >
 -lntp  > Active Internet  > connections (only  >  > 
 > servers)  > Proto  > Recv-Q Send-Q Local  > 
Address     >
> Â Â Â Â Â
   Foreign  >  > 
Address   >  >
    Â
   >   > StateÂ
    >    
> PID/Program name  > tcp Â
    >
  >   0  Â
    > 0  > 
127.0.0.1:10024Â Â Â Â Â
 >  > Â Â Â  
>  >  0.0.0.0:*Â Â
     >  >    Â
      >  LISTENÂ
  >    >
  1322/amavisd-new (m  > tcp  Â
 > Â Â  > Â
  0    >    0  >  127.0.0.1:10025Â
   > Â
  >      > 
0.0.0.0:*Â Â Â Â Â
  >    Â
       > >  LISTEN   >  
> Â Â  2574/masterÂ
      > tcp  
> Â Â  > Â
   0  Â
   0  >  127.0.0.1:3306 Â
      > >      >  
> 0.0.0.0:*Â Â Â
    >  >
    Â
     >  LISTEN  
> Â Â  > Â 
8872/mysqld       > 
> tcp   > Â
      > 0   Â
  0  >   > 127.0.0.1:783Â
      >
      >   > 0.0.0.0:*   Â
  >   > Â
    Â
    >  LISTEN  > Â
   >  
1329/spamd.pid    > tcp  Â
 >  > Â Â Â
  0    >    0  >  0.0.0.0:111Â
   > Â
   >   Â
  >     > 
0.0.0.0:*Â Â Â   >
> Â Â Â Â Â
    >
     >   > LISTENÂ
     632/rpcbindÂ
  >      >
tcp     >     0Â
    >  >
  0  >  127.0.0.1:693  Â
  >    >
       > >  0.0.0.0:*  Â
   >   Â
    Â
   >  >  LISTEN  >
  >  Â
  2637/famd   Â
      > > tcpÂ
    Â
   > 0 Â
   >   0  >  0.0.0.0:22Â
    Â
  >  >  Â
       > >  0.0.0.0:*    >
    Â
     >     >   >  > LISTEN   Â
  993/sshd   Â
  >  >     
>  > tcp  Â
     0  >
     0  >   > 0.0.0.0:25   Â
 > Â Â  > Â
    Â
   >   >  > 0.0.0.0:*Â
      >      >
    >
   >  LISTEN   Â
   >  > 2574/masterÂ
      > tcp6 Â
    >   0Â
     0  >  > >  :::993    >
  >  Â
    Â
    >  Â
   >  :::*  > Â
      >
  >  Â
    Â
    >    > 
LISTENÂ Â  > Â
   2390/couriertcpd  > tcp6  >    Â
  0     >
  0  >  :::995   >    Â
    >  >
    Â
     >  :::*  
> Â Â  > Â
    Â
    >  Â
      >  LISTENÂ
    >  >
  2444/couriertcpd  > tcp6  Â
 > Â Â Â 
0Â  > Â Â Â  > Â  0  >  :::110Â Â
    >
  >    Â
   > Â
      >   >
:::*Â Â Â Â Â
    >
    >  Â
   > Â
     >  LISTEN Â
 >  > Â Â Â 
2414/couriertcpd  > tcp6Â Â Â Â
  >   0  Â
   0  >  > > 
:::143Â Â Â  > Â  > Â Â Â Â
    Â
  >      > 
:::*Â  > Â Â
     >  
> Â Â Â Â
    Â
  >    >  LISTEN  
> Â Â Â  2360/couriertcpd 
> tcp6Â  > Â Â
    0 Â
   >   0  >  ::1:783Â
  >  Â
     >  
> Â Â Â Â
     >   >
:::*Â Â  > Â Â Â
   > Â
      >
  >  Â
     >  LISTEN  >     >  
1329/spamd.pid    >  > tcp6Â
       >  > 0   Â
  0  >  :::111  Â
  >  >  Â
    Â
     >  >     >   > :::*   Â
     > Â
    Â
    >
    >   >  >
LISTENÂ Â Â Â Â 
632/rpcbind       >  > tcp6   Â
    > 0Â
    >   0  > 
:::80Â Â Â Â Â
    >
  >    Â
   > Â
    >  :::*  > Â
    Â
    >
   >   Â
   > Â
   >  LISTEN     > >    2715/apache2Â
      > > tcp6Â
   >  > Â
   0  Â
   0  >  :::22  > Â
   > Â
    Â
   >   Â
     >  :::* Â
   >  > Â
    Â
      >  >      
>  LISTENÂ Â Â Â Â  
> 993/sshd    Â
      > > tcp6Â
  >   > Â
   0  Â
   0  >   > :::25 Â
   > Â
    Â
  >  >  Â
       > 
 > :::*Â Â Â  >
     >    Â
    >  >
       > 
LISTENÂ  > Â Â
    > 2574/master  
> Â Â    >   > ss  > -ap  >  |grep 80  >  >
u_str  LISTEN    
0Â Â Â Â   > > Â   >  100Â Â 
> Â Â Â  private/anvil 
>  12748Â  >  > Â
    Â
  >  Â
   >    
> Â   >  * 0Â Â
    >
   >   >
users:(("anvil",12933,6),("master",2574,80))  >
u_dgr   >   >  > UNCONNÂ
    0 Â
     >   > 0  >    Â
    Â
  >    Â
       > >  *  >  12788  >  Â
    Â
   > Â
  >      
 > >  * 9248Â Â Â
  >  > users:(("qmgr",2580,7))  >
u_str    > >  ESTABÂ
   >  > Â
  0   Â
   >   > 0 Â
  >     
> Â Â Â Â
    >  >
       >  * 
>  212805Â Â Â Â  > 
> Â Â Â Â
    Â
    >  >   > *
0Â Â  > Â
    users:(("imapd",13444,5))  >
u_str   >  ESTAB   >     0Â
   >   >
   >  0   Â
   > Â
  >    Â
  >  Â
      >    > > *  >  12693  Â
 > Â Â Â
     >  >    Â
    >  *  >
12692Â Â   >  >
users:(("qmgr",2580,5),("master",2574,25))  >   >   > 
 >  > when I  > start with  > python2 , this is what I get:  >   > nmap localhost  >   >
Starting  > Nmap  > 6.40 ( http://nmap.org ) at 2014-06-25 14:06 CEST   >
>  Nmap scan  > report  >  for localhost (127.0.0.1)  > Host is up  
> (0.0000080s latency).  > Not shown:  > 987 closed  >  ports 
> PORTÂ  > Â Â
   STATE SERVICE  > 22/tcp Â
   > open  ssh  > 25/tcp Â
    > > open  smtp  >
80/tcp  >    
>  open  http  > 110/tcp  
open  pop3  > 111/tcp   > open   >   >  >
rpcbind  > 143/tcp  >  
open  imap  > 783/tcp     > > open   >  spamassassin  >  > 993/tcp   open  imaps 
> 995/tcp   open   >   > pop3s  > 3306/tcp  open  mysql  >
8080/tcp  open  http-proxy  >  > 10024/tcp open  unknown  > 10025/tcp  >
open  unknown  >   >   > I  > get the 
>  same with python3, but just for a  > minute.........  >  > >   >   >   >  >   >  
>   > Thank you for running those commands.  > Are you
running the python3  > server at the same time as the  >
python2 one? I mean, do you stop the  > python2 server before  > starting the other one?   >   >    >   > 
 >  >      --  Rivera²  --  You received this
message  > because you are subscribed to the Google Groups
"cherrypy-users"  > group. To unsubscribe from this
group and stop receiving emails from  > it, send an email to
cherrypy-users+unsubscribe@googlegroups.com. To  > post to this group, send email to cherrypy-users@googlegroups.com.  >
Visit this group at http://groups.google.com/group/cherrypy-users.  > For more options, visit https://groups.google.com/d/optout.  >
  >   >   >   > _______________________  >             andrés  >
chandía  >   >
administrador de  > parles.upf.edu 
> psicoaching.net  > mapuche koyaktu  > ong mapuche koyaktu
 > P No imprima innecesariamente. ¡Cuide el medio
ambiente!  >      --  Rivera²  --  You
received this message because you are subscribed to the Google Groups
"cherrypy-users" group. To unsubscribe from this group and stop receiving emails
from it, send an email to cherrypy-users+unsubscribe@googlegroups.com. To post to this group,
send email to cherrypy-users@googlegroups.com. Visit this group at 



_______________________
            andrés chandía
chandia.net

Andres Chandia

unread,
Jul 7, 2014, 12:41:44 PM7/7/14
to cherryp...@googlegroups.com
Does anybody has any idea of what can be happening, I've just tried on another server and it happend exactly the same, it opens for just a minute and then gives the error as it the port were already in use, which is not, it is maybe that I need to add some more parameters?
You received this message because you are subscribed to a topic in the Google Groups "cherrypy-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/cherrypy-users/CAJfxhEg_24/unsubscribe.
To unsubscribe from this group and all its topics, send an email to cherrypy-user...@googlegroups.com.
To post to this group, send email to cherryp...@googlegroups.com.

Visit this group at http://groups.google.com/group/cherrypy-users.
For more options, visit https://groups.google.com/d/optout.



_______________________

Joel Rivera

unread,
Jul 8, 2014, 2:17:18 AM7/8/14
to cherryp...@googlegroups.com
Could you send the "exact" code that you are using? Last time the code
was "a little" different I wonder if is there anything else that it
may have been overlooked.

I have tried the code that you have previously send and
everything is worked fine.

Could you send and answer this:

1. Send the exact code that you are executing.
2. Which OS and version are you running?
3. Which python 3.4? (right?)
4. Which cherrypy version?
5. How are you executing the code? (from the cli?)

I think that I can give you better answers with this information.

Regards.

On Mon, 7 Jul 2014 18:41:11 +0200
"Andres Chandia" <and...@chandia.net> wrote:

>
>
> Does anybody has any idea of what can be happening, I've just tried
> on another server and it happend exactly the same, it opens for just
> a minute and then gives the error as it the port were already in use,
> which is not, it is maybe that I need to add some more parameters?
>
>
>
>
> On Sat, July 5, 2014 13:25, Andres Chandia wrote:
> I have upgrated to Python 3.4.1 and it heppends exacly the same....
>
>
> El Sab, 5 de Julio de 2014, 12:58, andres....@upf.edu escribió:
>
> Sorry, one thing I have forget: this is the version: Python 3.4.0
>
>
> El dimecres 2 de juliol de 2014 17:54:28 UTC+2, AndrÃ(c)s
> ChandÃ-a va escriure:I continue looking for a solution and I
> cherrypy-user...@googlegroups.com.
> To > post to this group, send email to
> cherryp...@googlegroups.com.
> > Visit this group at http://groups.google.com/group/cherrypy-users.
> > For more options, visit https://groups.google.com/d/optout.
> > > > > >
> _______________________ > andrÃ(c)s
> > chandÃ-a >
> > administrador de > parles.upf.edu > psicoaching.net > mapuche
> > koyaktu > ong mapuche koyaktu > P No imprima
> innecesariamente. ¡Cuide el medio ambiente! >
> -- Rivera² -- You received this message because you are
> subscribed to the Google Groups "cherrypy-users" group. To
> unsubscribe from this group and stop receiving emails from it, send
> an email to cherrypy-user...@googlegroups.com. To post to
> this group, send email to cherryp...@googlegroups.com. Visit this
> group at
>
>
>
>
> _______________________
> andrés chandía
>
> administrador de
> parles.upf.edu
> psicoaching.net
> mapuche koyaktu
> ong mapuche
> koyaktu
> P No imprima
> innecesariamente. ¡Cuide el medio ambiente!
>
>



--
Rivera²

Andres Chandia

unread,
Jul 8, 2014, 8:59:57 AM7/8/14
to cherryp...@googlegroups.com
Ok,
1. code attached.
2. Ubuntu server 14.04
3. Python 3.4.1
4. python3-cherrypy3  3.2.2-4ubuntu5
5. python3 nmt_web.py (from a script in the init.d)
6. Thanks a


On Tue, July 8, 2014 08:17, Joel Rivera wrote:
> Could you send the "exact" code that you are using? Last time the code
> was "a little" different I wonder if is there anything else that it
> may have been overlooked.
>
> I have tried the code that you have previously send and
> everything is worked fine.
>
> Could you send and answer this:
>
> 1. Send the exact code that you are executing.
> 2. Which OS and version are you running?
> 3. Which python 3.4? (right?)
> 4. Which cherrypy version?
> 5. How are you executing the code? (from the cli?)
>
> I think that I can give you better answers with this information.
>
> Regards.
>
> On Mon, 7 Jul 2014 18:41:11 +0200
> "Andres Chandia" <and...@chandia.net> wrote:
>
>>
>>
>> Does anybody has any idea of what can be happening, I've just tried
>> on another server and it happend exactly the same, it opens for just
>> a minute and then gives the error as it the port were already in use,
>> which is not, it is maybe that I need to add some more parameters?
>>
>>
>>
>>
>> On Sat, July 5, 2014 13:25, Andres Chandia wrote:
>> I have upgrated to Python 3.4.1 and it heppends exacly the same....
>>
>>
>> El Sab, 5 de Julio de 2014, 12:58, andres....@upf.edu escribió:

>>
>> Sorry, one thing I have forget: this is the version: Python 3.4.0
>>
>>
>> El dimecres 2 de juliol de 2014 17:54:28 UTC+2, AndrÃ(c)s
>> ChandÃ-a va escriure:I continue looking for a solution and I

>> can see that other people have the same problem:
>>
>> check this:
>> https://groups.google.com/forum/#!topic/cherrypy-users/ttTKVN8dkE8
>>
>>
>>
>> El Mar, 1 de Julio de 2014, 15:39, Andres Chandia
>> escribió:
>> PORTÃ' Ã' Ã' Ã' Ã' STATE
>> SERVICE > 22/tcpÃ' > Ã'
>> Ã' openÃ' ssh > 25/tcpÃ' Ã'
>> > Ã' > openÃ' smtp >
>> 80/tcpÃ' Ã' Ã' openÃ' http >
>> 110/tcpÃ' > Ã' openÃ' > pop3 > 111/tcpÃ' Ã' openÃ'
>> rpcbind > > 143/tcpÃ' Ã'
>> openÃ' imap > 783/tcpÃ' Ã' openÃ'
>> > > spamassassin > 993/tcpÃ'
>> Ã' openÃ' imaps > >
>> 995/tcpÃ' Ã' > >
>> openÃ' pop3s > 3306/tcpÃ' openÃ' mysql
>> > > 10024/tcp > openÃ' > > unknown > 10025/tcp >
>> openÃ' unknown > > > > lsof -i
>> TCP |grep > > LISTEN > rpcbindÃ'
>> Ã' Ã' Ã' 632Ã' > Ã' Ã' Ã' rootÃ'
>> > Ã' Ã' > >
>> 8uÃ' IPv4Ã' Ã' 8698Ã' Ã'
>> > Ã' Ã' > Ã'
>> 0t0Ã' TCP *:sunrpc > > (LISTEN) >
>> rpcbindÃ' Ã' > Ã'
>> Ã' > 632Ã' Ã' Ã' Ã'
>> > rootÃ' Ã' >
>> 11uÃ' IPv6Ã' Ã' >
>> > 8701Ã' Ã' Ã' Ã' Ã'
>> 0t0Ã' > TCP *:sunrpc > (LISTEN) >
>> > sshdÃ' Ã' Ã'
>> Ã' Ã' Ã' Ã' 993Ã'
>> Ã' Ã' > > Ã'
>> > rootÃ' > Ã' Ã'
>> 3uÃ' IPv4Ã' Ã' 9601Ã' >
>> Ã' Ã' Ã' Ã' 0t0Ã' >
>> TCP *:ssh (LISTEN) > > sshdÃ'
>> Ã' > Ã' Ã' Ã' Ã'
>> Ã' > > 993Ã' Ã'
>> Ã' Ã' rootÃ' > Ã' Ã'
>> 4uÃ' IPv6Ã' Ã' > 9604Ã'
>> Ã' Ã' Ã' > >
>> Ã' 0t0Ã' TCP *:ssh (LISTEN) > /usr/sbinÃ'
>> > > 1322Ã' Ã' >
>> > amavisÃ' Ã' Ã'
>> 5uÃ' IPv4Ã' > >
>> 10248Ã' Ã' Ã' > Ã' Ã'
>> 0t0Ã' > TCP localhost:10024 (LISTEN) >
>> /usr/sbinÃ' 1329Ã' > >
>> Ã' Ã' Ã' rootÃ' Ã'
>> Ã' > 5uÃ' IPv4Ã'
>> > > > 10270Ã' Ã'
>> Ã' Ã' Ã' 0t0Ã' TCP localhost:spamd
>> (LISTEN) > > /usr/sbinÃ'
>> 1329Ã' Ã' Ã' Ã' rootÃ'
>> > Ã' Ã' > 6uÃ'
>> IPv6Ã' > 10271Ã' Ã' Ã'
>> Ã' Ã' 0t0Ã' TCP >
>> > ip6-localhost:spamd (LISTEN) > >
>> spamdÃ' Ã' Ã' Ã' Ã'
>> 1378Ã' > > Ã' Ã'
>> Ã' rootÃ' Ã' Ã' > > 5uÃ' IPv4Ã' > 10270Ã'
>> Ã' Ã' > Ã'
>> Ã' 0t0Ã' TCP localhost:spamd > > > (LISTEN) > spamdÃ' Ã' > Ã'
>> Ã' Ã' 1378Ã' Ã' Ã' > > Ã'
>> > rootÃ' Ã' Ã' 6uÃ' > IPv6Ã' 10271Ã' Ã' >
>> Ã' Ã' Ã' >
>> 0t0Ã' TCP > ip6-localhost:spamd (LISTEN) > spamdÃ' >
>> Ã' Ã' Ã' >
>> Ã' > 1379Ã' Ã' Ã' Ã'
>> rootÃ' > > Ã' Ã'
>> 5uÃ' IPv4Ã' > 10270Ã' Ã'
>> Ã' Ã' Ã' > 0t0Ã' TCP localhost:spamd
>> > > (LISTEN) > spamdÃ' Ã'
>> Ã' Ã' Ã' > 1379Ã' Ã'
>> Ã' Ã' rootÃ' Ã' Ã'
>> > > 6uÃ' IPv6Ã' > > 10271Ã' Ã' Ã' Ã'
>> Ã' 0t0Ã' TCP ip6-localhost:spamd > > > (LISTEN) > couriertcÃ'
>> 2360Ã' Ã' Ã' Ã' rootÃ' > Ã' > Ã' 3uÃ' >
>> IPv6Ã' 12252Ã' Ã' Ã' Ã'
>> Ã' > 0t0Ã' TCP *:imap2 >
>> (LISTEN) > couriertcÃ' 2390Ã' Ã' Ã'
>> Ã' > > rootÃ' Ã'
>> Ã' 3uÃ' IPv6Ã' > > 12289Ã' Ã' Ã' >
>> Ã' Ã' 0t0Ã' > TCP
>> *:imaps (LISTEN) > couriertcÃ' > 2414Ã' >
>> Ã' Ã' Ã' >
>> rootÃ' Ã' Ã' 3uÃ' IPv6Ã'
>> > > > 12323Ã' Ã'
>> Ã' Ã' Ã' 0t0Ã' > TCP *:pop3 (LISTEN) > couriertcÃ' >
>> 2444Ã' Ã' Ã' Ã' rootÃ'
>> Ã' Ã' > > 3uÃ'
>> IPv6Ã' > > 12359Ã'
>> Ã' Ã' Ã' Ã' 0t0Ã' TCP >
>> *:pop3s (LISTEN) > masterÃ' Ã' > Ã' Ã' 2574Ã' Ã'
>> Ã' > Ã' > rootÃ'
>> Ã' 12uÃ' > IPv4Ã' 12683Ã'
>> > Ã' Ã' > Ã'
>> Ã' 0t0Ã' TCP *:smtp > (LISTEN)
>> > masterÃ' Ã' Ã' Ã' > > 2574Ã' Ã' Ã' Ã'
>> rootÃ' Ã' > 13uÃ'
>> > IPv6Ã' > 12684Ã' Ã' Ã'
>> Ã' Ã' 0t0Ã' TCP *:smtp > (LISTEN) > masterÃ' Ã' Ã'
>> Ã' 2574Ã' > Ã'
>> Ã' Ã' rootÃ' > 107uÃ' > IPv4Ã' > 12776Ã' Ã'
>> Ã' Ã' Ã' >
>> 0t0Ã' TCP > localhost:10025 (LISTEN) > famdÃ'
>> Ã' Ã' Ã' Ã' Ã'
>> 2637Ã' > > Ã' Ã'
>> Ã' rootÃ' Ã' Ã' > 3uÃ'
>> IPv4Ã' > 12936Ã' >
>> Ã' Ã' Ã' Ã' 0t0Ã' TCP
>> localhost:693 > (LISTEN) > apache2Ã' Ã' > Ã' 2715Ã' Ã' Ã'
>> Ã' rootÃ' Ã' > Ã' >
>> 4uÃ' IPv6Ã' >
>> 13122Ã' Ã' Ã' Ã' Ã' >
>> 0t0Ã' > TCP *:http (LISTEN) >
>> mysqldÃ' Ã' Ã' Ã' > 8872Ã' > Ã' Ã'
>> mysqlÃ' Ã' > 10uÃ'
>> IPv4 > 114410Ã' Ã' Ã' > > Ã' Ã' 0t0Ã' TCP
>> localhost:mysql (LISTEN) > > /usr/sbin >
>> 11507Ã' > > Ã'
>> amavisÃ' Ã' Ã' 5uÃ' IPv4Ã'
>> > > 10248Ã' Ã' >
>> > Ã' Ã' Ã' 0t0Ã'
>> TCP localhost:10024 (LISTEN) > /usr/sbin > > 11508Ã' > Ã'
>> amavisÃ' Ã' Ã' 5uÃ' IPv4Ã' > > >
>> 10248Ã' Ã' Ã' Ã' Ã'
>> 0t0Ã' TCP localhost:10024 (LISTEN) > >
>> apache2Ã' Ã' 13124 www-dataÃ' Ã'
>> Ã' > 4uÃ' IPv6Ã'
>> > > > 13122Ã' Ã'
>> Ã' Ã' Ã' 0t0Ã' TCP *:http (LISTEN) >
>> apache2Ã' Ã' > 13222 >
>> www-dataÃ' Ã' Ã' 4uÃ'
>> IPv6Ã' > > 13122Ã'
>> Ã' Ã' Ã' Ã' > 0t0Ã'
>> > TCP *:http (LISTEN) > apache2Ã'
>> Ã' 13232 > www-dataÃ'
>> Ã' Ã' > 4uÃ' IPv6Ã' > > 13122Ã' Ã' Ã'
>> Ã' Ã' 0t0Ã' > TCP
>> *:http (LISTEN) > apache2Ã' Ã' 13381 > www-dataÃ' Ã' Ã'
>> 4uÃ' IPv6Ã' > > >
>> 13122Ã' Ã' Ã' Ã' Ã'
>> 0t0Ã' > TCP *:http (LISTEN) >
>> apache2Ã' Ã' > 13387 www-dataÃ' Ã'
>> Ã' 4uÃ' > IPv6Ã'
>> > > 13122Ã' Ã' Ã'
>> Ã' Ã' > 0t0Ã' TCP *:http (LISTEN) >
>> > apache2Ã' Ã' 13419
>> www-dataÃ' Ã' Ã' > 4uÃ'
>> IPv6Ã' > 13122Ã' >
>> Ã' Ã' Ã' Ã' 0t0Ã' TCP
>> *:http (LISTEN) > apache2Ã' Ã' 13448 www-dataÃ'
>> Ã' > Ã' 4uÃ'
>> IPv6Ã' > > > 13122Ã'
>> Ã' Ã' Ã' Ã' 0t0Ã' TCP
>> *:http (LISTEN) > apache2Ã' Ã' > 13449 > www-dataÃ' Ã' Ã'
>> 4uÃ' IPv6Ã' > >
>> 13122Ã' Ã' Ã' Ã' Ã' >
>> 0t0Ã' > TCP *:http (LISTEN) >
>> apache2Ã' Ã' 13498 >
>> www-dataÃ' Ã' Ã' > 4uÃ'
>> IPv6Ã' > > 13122Ã'
>> Ã' Ã' Ã' Ã' 0t0Ã'
>> > TCP *:http (LISTEN) > apache2Ã' Ã'
>> 13504 > www-dataÃ' Ã'
>> Ã' 4uÃ' IPv6Ã' > > > 13122Ã' Ã' Ã'
>> Ã' Ã' 0t0Ã' > TCP
>> *:http (LISTEN) > smtpdÃ' Ã' Ã' Ã'
>> > 13519Ã' postfixÃ'
>> Ã' Ã' > 6uÃ' >
>> IPv4Ã' > 12683Ã' Ã' Ã'
>> Ã' Ã' > 0t0Ã' TCP
>> > *:smtp (LISTEN) > smtpdÃ' Ã' Ã'
>> Ã' 13519Ã' postfixÃ' > > Ã' Ã' 7uÃ'
>> IPv6Ã' > 12684Ã' Ã' Ã'
>> Ã' Ã' > 0t0Ã' TCP *:smtp (LISTEN) > > > > > > netstat >

>> -lntp > Active Internet > connections (only > >
>> > servers) > Proto > Recv-Q Send-Q Local >
>> AddressÃ' Ã' Ã' >
>> > Ã' Ã' Ã' Ã' Ã'
>> Ã' Ã' Foreign > >
>> AddressÃ' Ã' > >
>> Ã' Ã' Ã' Ã' Ã'
>> Ã' > > StateÃ'
>> Ã' Ã' Ã' > Ã' Ã'
>> > PID/Program name > tcpÃ' Ã'
>> Ã' Ã' Ã' >
>> Ã' > Ã' 0Ã' Ã' Ã'
>> Ã' Ã' > 0 >
>> 127.0.0.1:10024Ã' Ã' Ã' Ã' Ã'
>> > > Ã' Ã' Ã'
>> > > 0.0.0.0:*Ã' Ã'
>> Ã' Ã' Ã' Ã' > > Ã' Ã' Ã' Ã'
>> Ã' Ã' Ã' Ã' > LISTENÃ'
>> Ã' > Ã' Ã' >
>> Ã' 1322/amavisd-new (m > tcpÃ' Ã' Ã'
>> > Ã' Ã' > Ã'
>> Ã' 0Ã' Ã' Ã' > Ã' Ã' 0 > 127.0.0.1:10025Ã'
>> Ã' Ã' > Ã'
>> Ã' > Ã' Ã' Ã' >
>> 0.0.0.0:*Ã' Ã' Ã' Ã' Ã'
>> Ã' > Ã' Ã' Ã' Ã'
>> Ã' Ã' Ã' Ã' > > LISTENÃ' Ã' > Ã'
>> > Ã' Ã' 2574/masterÃ'
>> Ã' Ã' Ã' > tcpÃ' Ã'
>> > Ã' Ã' > Ã'
>> Ã' Ã' 0Ã' Ã' Ã'
>> Ã' Ã' 0 > 127.0.0.1:3306Ã' Ã'
>> Ã' Ã' Ã' Ã' > > Ã' Ã' Ã' >
>> > 0.0.0.0:*Ã' Ã' Ã'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Ã' Ã' >
>> LISTENÃ' > Ã' Ã'
>> Ã' Ã' > 2574/masterÃ' Ã'
>> > Ã' Ã' > > ss > -ap > |grep 80 > >
>> u_strÃ' LISTENÃ' Ã' Ã' Ã'
>> 0Ã' Ã' Ã' Ã' > > Ã' > 100Ã' Ã'
>> > Ã' Ã' Ã' private/anvil
>> > 12748Ã' > > Ã'
>> Ã' Ã' Ã' Ã' Ã'
>> Ã' > Ã' Ã'
>> Ã' Ã' > Ã' Ã' Ã'
>> > Ã' > * 0Ã' Ã'
>> Ã' Ã' Ã' >
>> Ã' > >

>> users:(("anvil",12933,6),("master",2574,80)) >
>> u_dgrÃ' > > > UNCONNÃ'
>> Ã' Ã' Ã' 0Ã' Ã'
>> Ã' Ã' Ã' > > 0Ã' > Ã' Ã' Ã' Ã'
>> Ã' Ã' Ã' Ã' Ã'
>> Ã' > Ã' Ã' Ã' Ã'
>> Ã' Ã' Ã' Ã' > > * > 12788Ã' > Ã' Ã'
>> Ã' Ã' Ã' Ã' Ã'
>> Ã' Ã' > Ã'
>> Ã' > Ã' Ã' Ã' Ã'
>> > > * 9248Ã' Ã' Ã'
>> > > users:(("qmgr",2580,7)) >
>> u_strÃ' > > ESTABÃ'
>> Ã' Ã' > > Ã'
>> Ã' 0Ã' Ã' Ã' Ã'
>> Ã' > > 0Ã' Ã'
>> Ã' > Ã' Ã' Ã' Ã'
>> > Ã' Ã' Ã' Ã'
>> Ã' Ã' Ã' > >
>> Ã' Ã' Ã' Ã' Ã' > *
>> > 212805Ã' Ã' Ã' Ã' >
>> > Ã' Ã' Ã' Ã'
>> Ã' Ã' Ã' Ã' Ã'
>> Ã' Ã' > > > *
>> 0Ã' Ã' > Ã'
>> Ã' Ã' Ã' users:(("imapd",13444,5)) >
>> u_strÃ' > ESTABÃ' Ã' > Ã' Ã' Ã' 0Ã'
>> Ã' Ã' > Ã' >
>> Ã' > 0Ã' Ã' Ã' Ã'
>> Ã' Ã' > Ã'
>> Ã' > Ã' Ã' Ã' Ã'
>> Ã' > Ã' Ã'
>> Ã' Ã' Ã' Ã' > > > * > 12693Ã' Ã' Ã'
>> > Ã' Ã' Ã'
>> Ã' Ã' Ã' Ã' > > Ã' Ã' Ã' Ã'
>> Ã' Ã' > * >
>> 12692Ã' Ã' > >

>> users:(("qmgr",2580,5),("master",2574,25)) > > >
>> > > when I > start with > python2 , this is what I get: > >
>> > > nmap localhost > >
>> Starting > Nmap > 6.40 ( http://nmap.org ) at
>> 2014-06-25 14:06 CEST > > Nmap scan > report >
>> for localhost (127.0.0.1) > Host is up > (0.0000080s
>> latency). > Not shown: > 987 closed > ports > PORTÃ'
>> > Ã' Ã' Ã' Ã'
>> STATE SERVICE > 22/tcpÃ' Ã' Ã' >
>> openÃ' ssh > 25/tcpÃ' Ã' Ã'
>> > > openÃ' smtp > 80/tcpÃ'
>> > Ã' Ã' > openÃ' http
>> > 110/tcpÃ' Ã' openÃ' pop3 >
>> 111/tcpÃ' Ã' > openÃ'
>> > > > rpcbind > 143/tcpÃ'
>> > Ã' openÃ' imap >
>> 783/tcpÃ' Ã' > >
>> openÃ' > spamassassin > >
>> 993/tcpÃ' Ã' openÃ' imaps >
>> 995/tcpÃ' Ã' openÃ' > > pop3s > 3306/tcpÃ' openÃ' mysql >
>> 8080/tcpÃ' openÃ' http-proxy > > 10024/tcp openÃ' unknown >
>> 10025/tcp > openÃ' unknown > > > I > get the

>> > same with python3, but just for a > minute......... > > > >
>> > > > > >
>> > > Thank you for running those commands. > Are you
>> running the python3 > server at the same time as the >
>> python2 one? I mean, do you stop the > python2 server before >
>> starting the other one?Ã' > > > >
>> > > -- Rivera² -- You received this

>> message > because you are subscribed to the Google Groups
>> "cherrypy-users" > group. To unsubscribe from this
>> group and stop receiving emails from > it, send an email to
>> cherrypy-user...@googlegroups.com.
>> To > post to this group, send email to
>> cherryp...@googlegroups.com.
>> > Visit this group at http://groups.google.com/group/cherrypy-users.
>> > For more options, visit https://groups.google.com/d/optout.
>> > > > > >
>> _______________________ > andrÃ(c)s
>> > chandÃ-a >

>> > administrador de > parles.upf.edu > psicoaching.net > mapuche
>> > koyaktu > ong mapuche koyaktu > P No imprima
>> innecesariamente. ¡Cuide el medio ambiente! >
>> -- Rivera² -- You received this message because you are

>> subscribed to the Google Groups "cherrypy-users" group. To
>> unsubscribe from this group and stop receiving emails from it, send
>> an email to cherrypy-user...@googlegroups.com. To post to
>> this group, send email to cherryp...@googlegroups.com. Visit this
>> group at
>>
>>
>>
>>
>> _______________________
>> andrés chandía

>>
>> administrador de
>> parles.upf.edu
>> psicoaching.net
>> mapuche koyaktu
>> ong mapuche
>> koyaktu
>> P No imprima
>> innecesariamente. ¡Cuide el medio ambiente!
>>
>>
>
>
>



_______________________
            andrés chandía
chandia.net
nmt_web.py

Joel Rivera

unread,
Jul 8, 2014, 4:28:09 PM7/8/14
to cherryp...@googlegroups.com
Hi!

I manage to replicate the error that you were having.

The problem is on the packaged version from ubuntu/debian.

It is a 3.2.2 with patches, in particular this one [1] to be able to
work on python3.3 and up but does not have another relevant patch that
is the one that is biting you.

This is the issue that you are having [2].

I think that this is an issue for the debian/ubuntu packagers I'll
create the bug report and link to this references.

In the mean time you can use cherrypy>=3.2.4 directly from pip or
manually patch cherrypy/process/servers.py [3]. I recommend you just to
use virtualenv plus pip.

virtualenv myenv
./myenv/bin/pip install cherrypy

. ./myenv/bin/activate

python nmt_web.py

And enjoy.

Regards.

[1]
https://bitbucket.org/cherrypy/cherrypy/issue/1163/attributeerror-in-cherrypyprocessplugins
[2]
https://bitbucket.org/cherrypy/cherrypy/issue/1170/bug-in-check_port-running-python-33
[3]
https://bitbucket.org/cherrypy/cherrypy/commits/9820107d4ffb8058fd507888f90e28c695f6b4c0/raw/
> administrador de
> parles.upf.edu
> psicoaching.net
> mapuche koyaktu
> ong mapuche koyaktu
> P No imprima innecesariamente. ¡Cuide el medio ambiente!
>



--
Rivera²

Michiel Overtoom

unread,
Jul 8, 2014, 5:01:54 PM7/8/14
to cherryp...@googlegroups.com

Hi Andrés,

I also tried to run your program. I didn't get the error and it ran fine, but my setup is a bit different from yours:

- Ubuntu server 3.13.0-24-generic
- Python 3.4.0
- cherrypy.__version__: '3.5.1'

I installed cherrypy from source:
# hg clone https://bitbucket.org/cherrypy/cherrypy
# cd cherrypy
# python3 setup.py install

Greetings,


Andres Chandia

unread,
Jul 9, 2014, 4:07:55 PM7/9/14
to cherryp...@googlegroups.com
Thanks a lot Joel, I did it your way and it didn't work, but I did it as Michiel Overtoom suggested and that way it worked for me.


I installed cherrypy from source:
# hg clone https://bitbucket.org/cherrypy/cherrypy
# cd cherrypy
# python3 setup.py install


>> python3-cherrypy3  3.2.2-4ubuntu5
>> escribió:

>> >>
>> >> Sorry, one thing I have forget: this is the
>> version: Python 3.4.0
>> >>
>> >>
>> >> El dimecres 2 de juliol de
>> 2014 17:54:28 UTC+2, AndrÃ(c)s
>> >> ChandÃ-a va escriure:I

>> continue looking for a solution and I
>> >> can see that other people have the same
>> problem:
>> >>
>> >> check this:
>> >>
>> https://groups.google.com/forum/#!topic/cherrypy-users/ttTKVN8dkE8
>> >>
>> >>
>> >>
>> >> El Mar, 1 de Julio de 2014, 15:39, Andres Chandia
>> >> escribió:
>> PORTÃ' Ã' Ã' Ã' Ã' STATE
>> >> SERVICE > 22/tcpÃ' > Ã'
>> >>
>> Ã' openÃ' ssh > 25/tcpÃ' Ã'
>> >> > Ã' > openÃ' smtp >
>> >>
>> 80/tcpÃ' Ã' Ã' openÃ' http >
>> >> 110/tcpÃ' > Ã' openÃ' > pop3 >
>> 111/tcpÃ' Ã' openÃ'
>> >> rpcbind > >
>> 143/tcpÃ' Ã'
>> >> openÃ' imap >
>> 783/tcpÃ' Ã' openÃ'
>> >> > >
>> spamassassin > 993/tcpÃ'
>> >> Ã' openÃ'
>> imaps > >
>> >> 995/tcpÃ' Ã' > >
>> >> openÃ' pop3s > 3306/tcpÃ' openÃ'
>> mysql
>> >> > > 10024/tcp > openÃ' > > unknown >
>> 10025/tcp >
>> >> openÃ' unknown > > > > lsof
>> -i
>> >> TCP |grep > > LISTEN > rpcbindÃ'
>> >>
>> Ã' Ã' Ã' 632Ã' > Ã'
>> Ã' Ã' rootÃ'
>> >> > Ã'
>> Ã' > >
>> >> 8uÃ' IPv4Ã'
>> Ã' 8698Ã' Ã'
>> >> > Ã'
>> Ã' > Ã'
>> >> 0t0Ã' TCP *:sunrpc >
>> > (LISTEN) >
>> >> rpcbindÃ' Ã' >
>> Ã'
>> >> Ã' > 632Ã' Ã'
>> Ã' Ã'
>> >> > rootÃ' Ã'
>> >
>> >> 11uÃ' IPv6Ã' Ã' >
>> >>
>> > 8701Ã' Ã' Ã' Ã' Ã'
>> >> 0t0Ã' > TCP *:sunrpc > (LISTEN) >
>> >> >
>> sshdÃ' Ã' Ã'
>> >> Ã'
>> Ã' Ã' Ã' 993Ã'
>> >>
>> Ã' Ã' > > Ã'
>> >> >
>> rootÃ' > Ã' Ã'
>> >> 3uÃ'
>> IPv4Ã' Ã' 9601Ã' >
>> >> Ã'
>> Ã' Ã' Ã' 0t0Ã' >
>> >> TCP
>> *:ssh (LISTEN) > > sshdÃ'
>> >> Ã' >
>> Ã' Ã' Ã' Ã'
>> >> Ã'
>> > > 993Ã' Ã'
>> >> Ã' Ã'
>> rootÃ' > Ã' Ã'
>> >> 4uÃ'
>> IPv6Ã' Ã' > 9604Ã'
>> >> Ã'
>> Ã' Ã' > >
>> >> Ã' 0t0Ã'
>> TCP *:ssh (LISTEN) > /usr/sbinÃ'
>> >> > >
>> 1322Ã' Ã' >
>> >> > amavisÃ'
>> Ã' Ã'
>> >> 5uÃ' IPv4Ã' >
>> >
>> >> 10248Ã' Ã' Ã' > Ã'
>> Ã'
>> >> 0t0Ã' > TCP localhost:10024 (LISTEN) >
>> >> /usr/sbinÃ' 1329Ã' > >
>> >>
>> Ã' Ã' Ã' rootÃ' Ã'
>> >> Ã' > 5uÃ' IPv4Ã'
>> >> >
>> > > 10270Ã' Ã'
>> >> Ã' Ã'
>> Ã' 0t0Ã' TCP localhost:spamd
>> >> (LISTEN) > >
>> /usr/sbinÃ'
>> >> 1329Ã' Ã' Ã'
>> Ã' rootÃ'
>> >> > Ã' Ã'
>> > 6uÃ'
>> >> IPv6Ã' > 10271Ã'
>> Ã' Ã'
>> >> Ã' Ã'
>> 0t0Ã' TCP >
>> >> > ip6-localhost:spamd (LISTEN) > >
>> >> spamdÃ' Ã' Ã' Ã'
>> Ã'
>> >> 1378Ã' > > Ã'
>> Ã'
>> >> Ã' rootÃ' Ã'
>> Ã' > > 5uÃ' IPv4Ã' >
>> 10270Ã'
>> >> Ã' Ã' > Ã'
>> >> Ã' 0t0Ã' TCP localhost:spamd > > >
>> (LISTEN) > spamdÃ' Ã' > Ã'
>> >>
>> Ã' Ã' 1378Ã' Ã' Ã' >
>> > Ã'
>> >> > rootÃ' Ã' Ã'
>> 6uÃ' > IPv6Ã' 10271Ã' Ã' >
>> >> Ã' Ã' Ã' >
>> >>
>> 0t0Ã' TCP > ip6-localhost:spamd (LISTEN) > spamdÃ'
>> >
>> >> Ã' Ã' Ã' >
>> >>
>> Ã' > 1379Ã' Ã' Ã' Ã'
>> >> rootÃ' > > Ã' Ã'
>> >>
>> 5uÃ' IPv4Ã' > 10270Ã' Ã'
>> >> Ã' Ã' Ã' > 0t0Ã' TCP
>> localhost:spamd
>> >> > > (LISTEN) > spamdÃ'
>> Ã'
>> >> Ã' Ã' Ã' >
>> 1379Ã' Ã'
>> >> Ã' Ã'
>> rootÃ' Ã' Ã'
>> >> > > 6uÃ'
>> IPv6Ã' > > 10271Ã' Ã' Ã'
>> Ã'
>> >> Ã' 0t0Ã' TCP ip6-localhost:spamd
>> > > > (LISTEN) > couriertcÃ'
>> >> 2360Ã'
>> Ã' Ã' Ã' rootÃ' > Ã'
>> > Ã' 3uÃ' >
>> >> IPv6Ã'
>> 12252Ã' Ã' Ã' Ã'
>> >>
>> Ã' > 0t0Ã' TCP *:imap2 >
>> >> (LISTEN) >
>> couriertcÃ' 2390Ã' Ã' Ã'
>> >>
>> Ã' > > rootÃ' Ã'
>> >> Ã'
>> 3uÃ' IPv6Ã' > > 12289Ã' Ã'
>> Ã' >
>> >> Ã' Ã' 0t0Ã' >
>> TCP
>> >> *:imaps (LISTEN) > couriertcÃ' > 2414Ã'
>> >
>> >> Ã' Ã' Ã' >
>> >>
>> rootÃ' Ã' Ã' 3uÃ' IPv6Ã'
>> >> > > > 12323Ã' Ã'
>> >>
>> Ã' Ã' Ã' 0t0Ã' > TCP *:pop3 (LISTEN)
>> > couriertcÃ' >
>> >> 2444Ã' Ã'
>> Ã' Ã' rootÃ'
>> >> Ã'
>> Ã' > > 3uÃ'
>> >> IPv6Ã' > >
>> 12359Ã'
>> >> Ã' Ã' Ã'
>> Ã' 0t0Ã' TCP >
>> >> *:pop3s (LISTEN) >
>> masterÃ' Ã' > Ã' Ã'
>> 2574Ã' Ã'
>> >> Ã' > Ã' >
>> rootÃ'
>> >> Ã' 12uÃ' >
>> IPv4Ã' 12683Ã'
>> >> > Ã' Ã'
>> > Ã'
>> >> Ã' 0t0Ã' TCP *:smtp >
>> (LISTEN)
>> >> > masterÃ' Ã' Ã'
>> Ã' > > 2574Ã' Ã' Ã'
>> Ã'
>> >> rootÃ' Ã' > 13uÃ'
>> >> > IPv6Ã' > 12684Ã' Ã'
>> Ã'
>> >> Ã' Ã' 0t0Ã' TCP *:smtp
>> > (LISTEN) > masterÃ' Ã' Ã'
>> >>
>> Ã' 2574Ã' > Ã'
>> >> Ã'
>> Ã' rootÃ' > 107uÃ' > IPv4Ã'
>> > 12776Ã' Ã'
>> >> Ã' Ã'
>> Ã' >
>> >> 0t0Ã' TCP > localhost:10025 (LISTEN)
>> > famdÃ'
>> >> Ã' Ã' Ã'
>> Ã' Ã'
>> >> 2637Ã' > > Ã'
>> Ã'
>> >> Ã' rootÃ' Ã'
>> Ã' > 3uÃ'
>> >> IPv4Ã' >
>> 12936Ã' >
>> >> Ã' Ã' Ã'
>> Ã' 0t0Ã' TCP
>> >> localhost:693 > (LISTEN) >
>> apache2Ã' Ã' > Ã' 2715Ã'
>> Ã' Ã'
>> >> Ã' rootÃ'
>> Ã' > Ã' >
>> >> 4uÃ'
>> IPv6Ã' >
>> >> 13122Ã' Ã' Ã'
>> Ã' Ã' >
>> >> 0t0Ã' > TCP *:http
>> (LISTEN) >
>> >> mysqldÃ' Ã' Ã'
>> Ã' > 8872Ã' > Ã' Ã'
>> >>
>> mysqlÃ' Ã' > 10uÃ'
>> >> IPv4 >
>> 114410Ã' Ã' Ã' > > Ã'
>> Ã' 0t0Ã' TCP
>> >> localhost:mysql (LISTEN) > >
>> /usr/sbin >
>> >> 11507Ã' > > Ã'
>> >>
>> amavisÃ' Ã' Ã' 5uÃ'
>> IPv4Ã'
>> >> > > 10248Ã' Ã' >
>> >> > Ã' Ã' Ã' 0t0Ã'
>> >> TCP localhost:10024 (LISTEN) > /usr/sbin > > 11508Ã'
>> > Ã'
>> >> amavisÃ' Ã' Ã'
>> 5uÃ' IPv4Ã' > > >
>> >> 10248Ã'
>> Ã' Ã' Ã' Ã'
>> >>
>> 0t0Ã' TCP localhost:10024 (LISTEN) > >
>> >>
>> apache2Ã' Ã' 13124 www-dataÃ' Ã'
>> >> Ã' > 4uÃ' IPv6Ã'
>> >> >
>> > > 13122Ã' Ã'
>> >> Ã' Ã'
>> Ã' 0t0Ã' TCP *:http (LISTEN) >
>> >>
>> apache2Ã' Ã' > 13222 >
>> >>
>> www-dataÃ' Ã' Ã' 4uÃ'
>> >>
>> IPv6Ã' > > 13122Ã'
>> >> Ã'
>> Ã' Ã' Ã' > 0t0Ã'
>> >> >
>> TCP *:http (LISTEN) > apache2Ã'
>> >> Ã' 13232 >
>> www-dataÃ'
>> >> Ã' Ã' >
>> 4uÃ' IPv6Ã' > > 13122Ã' Ã'
>> Ã'
>> >> Ã' Ã' 0t0Ã' >
>> TCP
>> >> *:http (LISTEN) > apache2Ã' Ã' 13381 >
>> www-dataÃ' Ã' Ã'
>> >> 4uÃ'
>> IPv6Ã' > > >
>> >> 13122Ã' Ã'
>> Ã' Ã' Ã'
>> >> 0t0Ã' > TCP
>> *:http (LISTEN) >
>> >> apache2Ã' Ã' > 13387
>> www-dataÃ' Ã'
>> >> Ã' 4uÃ' >
>> IPv6Ã'
>> >> > > 13122Ã' Ã'
>> Ã'
>> >> Ã' Ã' > 0t0Ã' TCP
>> *:http (LISTEN) >
>> >> > apache2Ã' Ã' 13419
>> >> www-dataÃ' Ã' Ã' >
>> 4uÃ'
>> >> IPv6Ã' > 13122Ã' >
>> >> Ã' Ã' Ã' Ã' 0t0Ã'
>> TCP
>> >> *:http (LISTEN) > apache2Ã' Ã' 13448
>> www-dataÃ'
>> >> Ã' > Ã'
>> 4uÃ'
>> >> IPv6Ã' > > >
>> 13122Ã'
>> >> Ã' Ã' Ã'
>> Ã' 0t0Ã' TCP
>> >> *:http (LISTEN) >
>> apache2Ã' Ã' > 13449 > www-dataÃ'
>> Ã' Ã'
>> >> 4uÃ' IPv6Ã' >
>> >
>> >> 13122Ã' Ã' Ã' Ã'
>> Ã' >
>> >> 0t0Ã' > TCP *:http (LISTEN) >
>> >> apache2Ã' Ã' 13498 >
>> >>
>> www-dataÃ' Ã' Ã' > 4uÃ'
>> >> IPv6Ã' > > 13122Ã'
>> >> Ã'
>> Ã' Ã' Ã' 0t0Ã'
>> >> > TCP
>> *:http (LISTEN) > apache2Ã' Ã'
>> >> 13504 >
>> www-dataÃ' Ã'
>> >> Ã' 4uÃ'
>> IPv6Ã' > > > 13122Ã' Ã'
>> Ã'
>> >> Ã' Ã' 0t0Ã' >
>> TCP
>> >> *:http (LISTEN) > smtpdÃ' Ã' Ã'
>> Ã'
>> >> > 13519Ã' postfixÃ'
>> >>
>> Ã' Ã' > 6uÃ' >
>> >>
>> IPv4Ã' > 12683Ã' Ã' Ã'
>> >>
>> Ã' Ã' > 0t0Ã' TCP
>> >> > *:smtp
>> (LISTEN) > smtpdÃ' Ã' Ã'
>> >>
>> Ã' 13519Ã' postfixÃ' > > Ã'
>> Ã' 7uÃ'
>> >> IPv6Ã' >
>> 12684Ã' Ã' Ã'
>> >> Ã'
>> Ã' > 0t0Ã' TCP *:smtp (LISTEN) > > > > >

>> > netstat >
>> >> -lntp > Active Internet > connections (only >
>> >
>> >> > servers) > Proto > Recv-Q Send-Q Local >
>> >>
>> AddressÃ' Ã' Ã' >
>> >> >
>> Ã' Ã' Ã' Ã' Ã'
>> >>
>> Ã' Ã' Foreign > >
>> >> AddressÃ'
>> Ã' > >
>> >> Ã' Ã' Ã'
>> Ã' Ã'
>> >> Ã' > >
>> StateÃ'
>> >> Ã' Ã' Ã' >
>> Ã' Ã'
>> >> > PID/Program name > tcpÃ'
>> Ã'
>> >> Ã' Ã' Ã' >
>> >> Ã' > Ã' 0Ã' Ã'
>> Ã'
>> >> Ã' Ã' > 0 >
>> >>
>> 127.0.0.1:10024Ã' Ã' Ã' Ã'
>> Ã'
>> >> > > Ã' Ã' Ã'
>> >> > > 0.0.0.0:*Ã' Ã'
>> >> Ã'
>> Ã' Ã' Ã' > > Ã' Ã'
>> Ã' Ã'
>> >> Ã' Ã' Ã'
>> Ã' > LISTENÃ'
>> >> Ã' >
>> Ã' Ã' >
>> >> Ã' 1322/amavisd-new (m >
>> tcpÃ' Ã' Ã'
>> >> > Ã'
>> Ã' > Ã'
>> >> Ã' 0Ã'
>> Ã' Ã' > Ã' Ã' 0 >
>> 127.0.0.1:10025Ã'
>> >> Ã' Ã' >
>> Ã'
>> >> Ã' > Ã' Ã'
>> Ã' >
>> >> 0.0.0.0:*Ã' Ã' Ã'
>> Ã' Ã'
>> >> Ã' > Ã'
>> Ã' Ã' Ã'
>> >> Ã' Ã'
>> Ã' Ã' > > LISTENÃ' Ã' >
>> Ã'
>> >> > Ã' Ã'
>> 2574/masterÃ'
>> >> Ã' Ã' Ã'
>> > tcpÃ' Ã'
>> >> > Ã' Ã'
>> > Ã'
>> >> Ã' Ã' 0Ã'
>> Ã' Ã'
>> >> Ã' Ã' 0 >
>> 127.0.0.1:3306Ã' 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> >> Ã' Ã' Ã'
>> Ã' Ã' >
>> >> Ã' > Ã'
>> Ã'
>> >> Ã' Ã' Ã' Ã'
>> Ã'
>> >> Ã' Ã' Ã' >
>> Ã' >
>> >> LISTENÃ' Ã' >
>> Ã'
>> >> Ã' Ã' 2390/couriertcpd >
>> tcp6Ã' > Ã' Ã' Ã' Ã'
>> >> Ã' 0Ã' Ã' Ã' Ã'
>> >
>> >> Ã' 0 > :::995Ã' Ã' >
>> Ã' Ã' Ã' Ã'
>> >> Ã'
>> Ã' Ã' > >
>> >> Ã' Ã'
>> Ã' Ã' Ã'
>> >> Ã' Ã'
>> Ã' > :::*Ã' Ã'
>> >> > Ã'
>> Ã' > Ã'
>> >> Ã' Ã'
>> Ã' Ã' Ã'
>> >> Ã' Ã'
>> Ã' > Ã' Ã'
>> >> Ã'
>> Ã' Ã' Ã' > LISTENÃ'
>> >>
>> Ã' Ã' Ã' > >
>> >> Ã'
>> 2444/couriertcpd > tcp6Ã' Ã' Ã'
>> >> >
>> Ã' Ã' Ã'
>> >> 0Ã' >
>> Ã' Ã' Ã' > Ã' 0 >
>> :::110Ã' Ã'
>> >> Ã' Ã'
>> Ã' >
>> >> Ã' > Ã' Ã'
>> Ã' Ã'
>> >> Ã' Ã' >
>> Ã'
>> >> Ã' Ã' Ã' Ã'
>> > >
>> >> :::*Ã' Ã' Ã' Ã'
>> Ã'
>> >> Ã' Ã' Ã' >
>> >> Ã' Ã' Ã' > Ã'
>> Ã'
>> >> Ã' Ã' > Ã'
>> >> Ã' Ã' Ã' > LISTENÃ'
>> Ã'
>> >> > > Ã' Ã' Ã'
>> >> 2414/couriertcpd > tcp6Ã' Ã' Ã'
>> Ã'
>> >> Ã' > Ã' 0Ã'
>> Ã' Ã'
>> >> Ã' Ã' 0 > >
>> >
>> >> :::143Ã' Ã' Ã' > Ã'
>> > Ã' Ã' Ã' Ã'
>> >>
>> Ã' Ã' Ã' Ã' Ã'
>> >>
>> Ã' > Ã' Ã' Ã' >
>> >>
>>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
>> Ã'
>> >> Ã' Ã' > Ã'
>> >> Ã' Ã' > :::*Ã' >
>> Ã'
>> >> Ã' Ã' Ã' Ã'
>> Ã'
>> >> Ã' Ã' Ã' >
>> >> Ã' Ã' > Ã' Ã'
>> Ã'
>> >> Ã' Ã' > Ã'
>> >> Ã' > LISTENÃ' Ã' Ã'
>> > > Ã' Ã' 2715/apache2Ã'
>> >>
>> Ã' Ã' > > tcp6Ã'
>> >>
>> Ã' Ã' > > Ã'
>> >> Ã'
>> Ã' 0Ã' Ã' Ã'
>> >>
>> Ã' Ã' 0 > :::22Ã' > Ã'
>> >> Ã' Ã' > Ã'
>> >> Ã'
>> Ã' Ã' Ã' Ã'
>> >> Ã'
>> Ã' > Ã' Ã' Ã'
>> >>
>> Ã' Ã' Ã' > :::*Ã' Ã'
>> >> Ã' Ã' > > Ã'
>> >>
>> Ã' Ã' Ã' Ã' Ã'
>> >>
>> Ã' Ã' Ã' Ã' Ã' > >
>> Ã' Ã' Ã' Ã'
>> >> >
>> LISTENÃ' Ã' Ã' Ã' Ã'
>> >> > 993/sshdÃ' Ã' Ã' Ã'
>> Ã'
>> >> Ã' Ã' > >
>> tcp6Ã'
>> >> Ã' > Ã' >
>> Ã'
>> >> Ã' Ã' 0Ã'
>> Ã' Ã'
>> >> Ã' Ã' 0 > >
>> :::25Ã' Ã'
>> >> Ã' Ã' >
>> Ã'
>> >> Ã' Ã' Ã' Ã'
>> Ã'
>> >> Ã' > > Ã' Ã'
>> >> Ã' Ã' Ã' Ã' Ã'
>> >
>> >> > :::*Ã' Ã' Ã' >
>> >> Ã' Ã' Ã' Ã' >
>> Ã' Ã' Ã' Ã'
>> >> Ã'
>> Ã' Ã' > >
>> >> Ã' Ã'
>> Ã' Ã' Ã' >
>> >> LISTENÃ'
>> > Ã' Ã'
>> >> Ã' Ã' >
>> 2574/masterÃ' Ã'
>> >> > Ã' Ã'
>> > > ss > -ap > |grep 80 > >
>> >> u_strÃ'
>> LISTENÃ' Ã' Ã' Ã'
>> >>
>> 0Ã' Ã' Ã' Ã' > > Ã'
>> > 100Ã' Ã'
>> >> > Ã' Ã'
>> Ã' private/anvil
>> >> > 12748Ã' > >
>> Ã'
>> >> Ã' Ã' Ã' Ã'
>> Ã'
>> >> Ã' > Ã' Ã'
>> >> Ã' Ã' > Ã' Ã'
>> Ã'
>> >> > Ã' > * 0Ã'
>> Ã'
>> >> Ã' Ã' Ã' >
>> >> Ã' > >

>> >>
>> users:(("anvil",12933,6),("master",2574,80)) >
>> >>
>> u_dgrÃ' > > > UNCONNÃ'
>> >> Ã'
>> Ã' Ã' 0Ã' Ã'
>> >>
>> Ã' Ã' Ã' > > 0Ã' >
>> Ã' Ã' Ã' Ã'
>> >> Ã'
>> Ã' Ã' Ã' Ã'
>> >> Ã'
>> > Ã' Ã' Ã' Ã'
>> >>
>> Ã' Ã' Ã' Ã' > > * >
>> 12788Ã' > Ã' Ã'
>> >> Ã'
>> Ã' Ã' Ã' Ã'
>> >> Ã'
>> Ã' > Ã'
>> >> Ã' > Ã'
>> Ã' Ã' Ã'
>> >> > > *
>> 9248Ã' Ã' Ã'
>> >> > >
>> users:(("qmgr",2580,7)) >
>> >> u_strÃ' > >
>> ESTABÃ'
>> >> Ã' Ã' > >
>> Ã'
>> >> Ã' 0Ã' Ã'
>> Ã' Ã'
>> >> Ã' > > 0Ã'
>> Ã'
>> >> Ã' > Ã' Ã'
>> Ã' Ã'
>> >> > Ã' Ã'
>> Ã' Ã'
>> >> Ã' Ã' Ã'
>> > >
>> >> Ã' Ã' Ã' Ã'
>> Ã' > *
>> >> > 212805Ã' Ã'
>> Ã' Ã' >
>> >> > Ã' Ã'
>> Ã' Ã'
>> >> Ã' Ã' Ã'
>> Ã' Ã'
>> >> Ã' Ã' > >
>> > *
>> >> 0Ã' Ã' > Ã'
>> >>
>> Ã' Ã' Ã' users:(("imapd",13444,5)) >
>> >> u_strÃ' > ESTABÃ' Ã' >
>> Ã' Ã' Ã' 0Ã'
>> >>
>> Ã' Ã' > Ã' >
>> >> Ã'
>> > 0Ã' Ã' Ã' Ã'
>> >>
>> Ã' Ã' > Ã'
>> >> Ã' >
>> Ã' Ã' Ã' Ã'
>> >> Ã'
>> > Ã' Ã'
>> >> Ã' Ã'
>> Ã' Ã' > > > * > 12693Ã'
>> Ã' Ã'
>> >> > Ã' Ã'
>> Ã'
>> >> Ã' Ã' Ã' Ã'
>> > > Ã' Ã' Ã' Ã'
>> >>
>> Ã' Ã' > * >
>> >> 12692Ã'
>> Ã' > >

>> >>
>> users:(("qmgr",2580,5),("master",2574,25)) > > >
>> >> > > when I > start with > python2 , this is what I get: >
>> >
>> >> > > nmap localhost > >
>> >> Starting > Nmap
>> > 6.40 ( http://nmap.org ) at
>> >> 2014-06-25 14:06 CEST > > Nmap scan
>> > report >
>> >> for localhost (127.0.0.1) > Host is up >
>> (0.0000080s
>> >> latency). > Not shown: > 987 closed > ports >
>> PORTÃ'
>> >> > Ã' Ã' Ã'
>> Ã'
>> >> STATE SERVICE > 22/tcpÃ' Ã'
>> Ã' >
>> >> openÃ' ssh > 25/tcpÃ'
>> Ã' Ã'
>> >> > > openÃ' smtp >
>> 80/tcpÃ'
>> >> > Ã' Ã' >
>> openÃ' http
>> >> > 110/tcpÃ' Ã'
>> openÃ' pop3 >
>> >> 111/tcpÃ' Ã' >
>> openÃ'
>> >> > > > rpcbind > 143/tcpÃ'
>> >> > Ã' openÃ' imap >
>> >>
>> 783/tcpÃ' Ã' > >
>> >> openÃ' >
>> spamassassin > >
>> >> 993/tcpÃ' Ã'
>> openÃ' imaps >
>> >> 995/tcpÃ' Ã'
>> openÃ' > > pop3s > 3306/tcpÃ' openÃ'
>> mysql >
>> >> 8080/tcpÃ' openÃ' http-proxy > >
>> 10024/tcp openÃ' unknown >
>> >> 10025/tcp > openÃ'

>> unknown > > > I > get the
>> >> > same with python3, but just
>> for a > minute......... > > > >
>> >> > > > >
>> >
>> >> > > Thank you for running those commands. > Are you
>> >> running the python3 > server at the same time as the >
>> >>
>> python2 one? I mean, do you stop the > python2 server before >
>> >> starting
>> the other one?Ã' > > > >
>> >> > > --
>> Rivera² -- You received this

>> >> message > because
>> you are subscribed to the Google Groups
>> >> "cherrypy-users" > group.
>> To unsubscribe from this
>> >> group and stop receiving emails from > it, send an
>> email to
>> >> cherrypy-user...@googlegroups.com.
>> >> To >
>> post to this group, send email to
>> >> cherryp...@googlegroups.com.
>> >>
>> > Visit this group at http://groups.google.com/group/cherrypy-users.
>> >> >
>> For more options, visit https://groups.google.com/d/optout.
>> >> > > >
>> > >
>> >> _______________________ > andrÃ(c)s
>> >> > chandÃ-a >

>> >> > administrador de >
>> parles.upf.edu > psicoaching.net > mapuche
>> >> > koyaktu > ong
>> mapuche koyaktu > P No imprima
>> >> innecesariamente.
>> ¡Cuide el medio ambiente! >
>> >> --
>> Rivera² -- You received this message because you are

>> >> subscribed to the Google Groups "cherrypy-users" group. To
>> >>
>> unsubscribe from this group and stop receiving emails from it, send
>> >> an email to
>> cherrypy-user...@googlegroups.com. To post to
>> >> this group, send email
>> to cherryp...@googlegroups.com. Visit this
>> >> group at
>> >>
>> >>
>> >>
>> >>
>> >> _______________________
>> >>
>> andrés chandía

>> >>
>> >> administrador
>> de
>> >> parles.upf.edu
>> >> psicoaching.net
>> >> mapuche koyaktu
>> >> ong mapuche
>> >> koyaktu
>> >> P No imprima
>> >>
>> innecesariamente. ¡Cuide el medio ambiente!
>> >>
>> >>
>> >
>>
>> >
>> >
>>
>>
>>
>> _______________________
>>             andrés

>> chandía
>>
>> administrador de
>> parles.upf.edu
>> psicoaching.net
>> mapuche koyaktu
>> ong mapuche koyaktu
>> P No imprima innecesariamente. ¡Cuide el medio ambiente!
>>
>
>
>
> --
> Rivera²

>



_______________________
            andrés chandía
chandia.net

Andres Chandia

unread,
Jul 9, 2014, 4:08:27 PM7/9/14
to cherryp...@googlegroups.com

Thanks a lot Michiel, your advice saved my life.....



_______________________
            andrés chandía
chandia.net
Reply all
Reply to author
Forward
0 new messages