Ticket #36 (closed Defect: Invalid)

Opened 9 months ago

Last modified 2 months ago

how to check openxcap server is running.

Reported by: venkataragavan.v Owned by: Mircea Amarascu
Priority: Critical Milestone:
Component: Documentation Version:
Severity: Critical Keywords:
Cc:

Description

Hi,

The following are the things i have done.

debian:/home/venkatv# apt-get install python-mysqldb libxml2 python-lxml python-zopeinterface python-twisted python-twisted-web python-twisted-web2 libgnutls13 python-application python-gnutls Reading package lists... Done Building dependency tree... Done python-mysqldb is already the newest version. libxml2 is already the newest version. python-lxml is already the newest version. python-zopeinterface is already the newest version. python-twisted is already the newest version. python-twisted-web is already the newest version. python-twisted-web2 is already the newest version. libgnutls13 is already the newest version. python-application is already the newest version. python-gnutls is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

then i run that openxcap package debian:/home/venkatv# dpkg -i openxcap_0.9.9_all.deb tar: ./postinst: time stamp 2008-01-22 15:31:55 is 221206969.520234724 s in the future tar: ./prerm: time stamp 2008-01-22 15:31:55 is 221206969.518374981 s in the future tar: ./postrm: time stamp 2008-01-22 15:31:55 is 221206969.517663993 s in the future tar: ./conffiles: time stamp 2008-01-22 15:31:55 is 221206969.517006085 s in the future tar: ./md5sums: time stamp 2008-01-22 15:31:55 is 221206969.5162937 s in the future tar: ./control: time stamp 2008-01-22 15:31:55 is 221206969.515524325 s in the future tar: .: time stamp 2008-01-22 15:31:55 is 221206969.514913629 s in the future (Reading database ... 73361 files and directories currently installed.) Preparing to replace openxcap 0.9.9 (using openxcap_0.9.9_all.deb) ... Stopping OpenXCAP server: openxcap. Unpacking replacement openxcap ... Setting up openxcap (0.9.9) ... perl: warning: Setting locale failed. perl: warning: Please check that your locale settings:

LANGUAGE = (unset), LC_ALL = (unset), LANG = "en_IN"

are supported and installed on your system.

perl: warning: Falling back to the standard locale ("C"). Starting OpenXCAP server: openxcap.

debian:/home/venkatv#

Please tell me before executing this command dpkg -i openxcap_0.9.9_all.deb, i have to do anything like configuration. or else i have to do any other work like downloading the openxcap-0.9.9.tar and installing it and then running it.

Thanks and regards, venkataragavan

Change History

follow-up: ↓ 2   Changed 9 months ago by mircea

  • status changed from new to closed
  • resolution changed from To be investigated to Fixed

Hi,

You should first configure openxcap by editing /etc/openxcap/config.ini according to the documentation. You should then restart openxcap, /etc/init.d/openxcap restart. Then you can watch openxcap logs in syslog, for example you can tail -f /var/log/syslog | grep openxcap to see any error messages. You can see if openxcap process is running using ps command, for example ps -ax | grep openxcap.

in reply to: ↑ 1   Changed 9 months ago by venkataragavan.v

  • status changed from closed to reopened
  • resolution Fixed deleted

Replying to mircea:

Hi, You should first configure openxcap by editing /etc/openxcap/config.ini according to the documentation. You should then restart openxcap, /etc/init.d/openxcap restart. Then you can watch openxcap logs in syslog, for example you can tail -f /var/log/syslog | grep openxcap to see any error messages. You can see if openxcap process is running using ps command, for example ps -ax | grep openxcap.

Hi,

I have tried, but i got error while running openxcap.

The following are commands i have given. debian:/home/venkatv# /etc/init.d/openxcap restart Stopping OpenXCAP server: openxcap. Starting OpenXCAP server: openxcap. debian:/home/venkatv# tail -f /var/log/syslog | grep openxcap Jan 19 00:54:21 localhost openxcap[23348]: [-] from twisted.web2 import channel, resource, http, responsecode, server Jan 19 00:54:21 localhost openxcap[23348]: [-] File "/usr/lib/python2.4/site-packages/twisted/web2/channel/init.py", line 7, in ? Jan 19 00:54:21 localhost openxcap[23348]: [-] from twisted.web2.channel.cgi import startCGI Jan 19 00:54:21 localhost openxcap[23348]: [-] File "/usr/lib/python2.4/site-packages/twisted/web2/channel/cgi.py", line 8, in ? Jan 19 00:54:21 localhost openxcap[23348]: [-] from twisted.web2 import http, http_headers, server, responsecode Jan 19 00:54:21 localhost openxcap[23348]: [-] File "/usr/lib/python2.4/site-packages/twisted/web2/http.py", line 27, in ? Jan 19 00:54:21 localhost openxcap[23348]: [-] from twisted.web2 import iweb Jan 19 00:54:21 localhost openxcap[23348]: [-] File "/usr/lib/python2.4/site-packages/twisted/web2/iweb.py", line 58, in ? Jan 19 00:54:21 localhost openxcap[23348]: [-] class IOldNevowResource(components.Interface): Jan 19 00:54:21 localhost openxcap[23348]: [-] AttributeError: 'module' object has no attribute 'Interface'

the problem is in twisted.web2 I have installed the following, whether i have to install different versions or this is enough,please provide the versions of all dependencies software also.

python-twisted-web2_0.2.0-1.1_all.deb python-twisted-web_0.7.0-1_all.deb python-twisted_2.5.0-2_all.deb

  Changed 2 months ago by admin

  • status changed from reopened to closed
  • resolution set to Invalid
Note: See TracTickets for help on using tickets.