Your message dated Wed, 10 Jun 2015 17:32:32 +0000
with message-id <[email protected]>
and subject line Re: ERROR: Module perl does not exist!
has caused the Debian Bug report #616078,
regarding ERROR: Module perl does not exist!
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
616078: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=616078
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: ocsinventory-server
Version: 1.02.2-1.1
Severity: important

etting up ocsinventory-server (1.02.2-1.1) ...
ERROR: Module perl does not exist!
dpkg: error processing ocsinventory-server (--configure):
 subprocess installed post-installation script returned error exit status 1
configured to not write apport reports
                                      Errors were encountered while processing:
 ocsinventory-server
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install.  Trying to recover:
Setting up ocsinventory-server (1.02.2-1.1) ...
ERROR: Module perl does not exist!
dpkg: error processing ocsinventory-server (--configure):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 ocsinventory-server

Crossreferencing to the ocs Documentation wiki. These are installed...

aptitude search libxml-simple-perl libcompress-zlib-perl libdbi-perl 
libdbd-mysql-perl libapache-dbi-perl libnet-ip-perl libsoap-lite-perl
i A libapache-dbi-perl              - Connect apache server to database via perl
i A libcompress-zlib-perl           - Transitional dummy package for Compress::Z
i A libdbd-mysql-perl               - Perl5 database interface to the MySQL data
i A libdbi-perl                     - Perl Database Interface (DBI)             
i A libnet-ip-perl                  - Perl extension for manipulating IPv4/IPv6 
i   libsoap-lite-perl               - Perl implementation of a SOAP client and s
i A libxml-simple-perl              - Perl module for reading and writing XML 


-- System Information:
Debian Release: 6.0
  APT prefers squeeze-updates
  APT policy: (500, 'squeeze-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages ocsinventory-server depends on:
ii  apache2                      2.2.16-6    Apache HTTP Server metapackage
ii  apache2-mpm-prefork [apache2 2.2.16-6    Apache HTTP Server - traditional n
ii  dbconfig-common              1.8.46      common framework for packaging dat
ii  debconf [debconf-2.0]        1.5.36.1    Debian configuration management sy
ii  libapache-dbi-perl           1.08-1      Connect apache server to database 
ii  libapache2-mod-perl2         2.0.4-7     Integration of perl with the Apach
ii  libcompress-zlib-perl        2.024-1     Transitional dummy package for Com
ii  libdbd-mysql-perl            4.016-1     Perl5 database interface to the My
ii  libdbi-perl                  1.612-1     Perl Database Interface (DBI)
ii  libnet-ip-perl               1.25-2      Perl extension for manipulating IP
ii  libxml-simple-perl           2.18-3      Perl module for reading and writin
ii  perl [libcompress-zlib-perl] 5.10.1-17   Larry Wall's Practical Extraction 
ii  ucf                          3.0025+nmu1 Update Configuration File: preserv

Versions of packages ocsinventory-server recommends:
ii  ocsinventory-reports          1.02.2-1.1 Hardware and software inventory to

Versions of packages ocsinventory-server suggests:
ii  libsoap-lite-perl             0.712-2    Perl implementation of a SOAP clie
ii  mysql-server                  5.1.49-3   MySQL database server (metapackage
ii  mysql-server-5.1 [mysql-serve 5.1.49-3   MySQL database server binaries and
pn  ocsinventory-agent            <none>     (no description available)

-- debconf information:
  ocsinventory-server/internal/skip-preseed: true
  ocsinventory-server/upgrade-error: abort
  ocsinventory-server/remote/port:
  ocsinventory-server/db/app-user: ocs
  ocsinventory-server/mysql/admin-user: root
  ocsinventory-server/remove-error: abort
  ocsinventory-server/internal/reconfiguring: false
* ocsinventory-server/dbconfig-install: true
  ocsinventory-server/dbconfig-upgrade: true
  ocsinventory-server/upgrade-backup: true
  ocsinventory-server/remote/host:
  ocsinventory-server/dbconfig-remove:
  ocsinventory-server/remote/newhost:
  ocsinventory-server/install-error: abort
  ocsinventory-server/passwords-do-not-match:
  ocsinventory-server/mysql/method: unix socket
  ocsinventory-server/database-type: mysql
  ocsinventory-server/missing-db-package-error: abort
  ocsinventory-server/purge: false
  ocsinventory-server/dbconfig-reinstall: false
  ocsinventory-server/db/dbname: ocsweb



--- End Message ---
--- Begin Message ---
Hello

> Setting up ocsinventory-server (1.02.2-1.1) ...
> ERROR: Module perl does not exist!
> dpkg: error processing ocsinventory-server (--configure):
>  subprocess installed post-installation script returned error exit status 1

That error is generated by apache2, when command "a2enmod perl" fails.

This occurs when /etc/apache2/mods-available/perl.load doesn't exists.

Maybe you moved the file from mods-available/ to mods-enabled/, instead
of using a2enmod?

Or maybe you just deleted that file from /etc.

In all cases, you're not really supposed to do that.
See /usr/share/doc/apache2/README.Debian.gz for documentation about how
to enable and disable modules properly.

ocsinventory-server cannot be configured automatically if you don't use
apache2 tools. In that case, you are on your own, and you can't expect
this package to work out of the box. You'll have to set it up manually.

I encourage you to reinstall package libapache2-mod-perl2.


Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

-- 
Nirgal

--- End Message ---

Reply via email to