Skip to content

dionaea syntax error, failed to run #331

@six40

Description

@six40
ISSUE TYPE
  • Bug Report
DIONAEA VERSION
Dionaea Version 0.11.0-7-g4e459f1                                                                                      
Compiled on Linux/x86_64 at Jul 29 2022 19:57:39 with gcc 5.4.0 20160609                                                
Started on Ubuntu-Dionaea-Honeypot running Linux/x86_64 release 4.15.0-1113-azure   
                                                                                                                                                                                                                                                                                    
CONFIGURATION

not sure where to find config settings

OS / ENVIRONMENT
  • Ubuntu Server 16.04-LTS
SUMMARY

I attempted to run dionaea via "sudo /opt/dionaea/bin/dionaea". I ran into a syntax error

STEPS TO REPRODUCE
  1. Create an Ubuntu Server 16.04 LTS virtual machine on microsoft azure
  2. Go through installation process on https://dionaea.readthedocs.io/en/0.9.2/installation.html
  3. Run sudo "/opt/dionaea/bin/dionaea"
EXPECTED RESULTS

I expected dionaea to run successfully

ACTUAL RESULTS

When executing the dionaea binary, I ran into a syntax error

Screenshot 2022-07-30 112204

Dionaea Version 0.11.0-7-g4e459f1                                                                                       
Compiled on Linux/x86_64 at Jul 29 2022 19:57:39 with gcc 5.4.0 20160609                                                
Started on Ubuntu-Dionaea-Honeypot running Linux/x86_64 release 4.15.0-1113-azure                                                                                                                                                               Traceback (most recent call last):                                                                                        
File "<string>", line 1, in <module>                                                                                    
File "lib/dionaea/python/dionaea/__init__.py", line 114                                                                   
self._timer: Optional[SubTimer] = None                                                                                             
               ^                                                                                                        
SyntaxError: invalid syntax                                                                                             
Traceback (most recent call last):                                                                                        
File "<string>", line 1, in <module>                                                                                  
NameError: name 'init_traceables' is not defined                                                                          
File "lib/dionaea/python/dionaea/__init__.py", line 114                                                                   
self._timer: Optional[SubTimer] = None                                                                                             
               ^                                                                                                        
SyntaxError: invalid syntax                                                                                            
 [30072022 11:21:34] python /home/azureuser/dionaea/modules/python/module.c:382: Import failed dionaea.log               Trace/breakpoint trap (core dumped)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions