Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.8 available

The official documentation can be found on http://wiki.ocsinventory-ng.org. Read it before asking your question.

Can't call method "do"

Hi,

I've this famous error :

Can't call method "do" on an undefined value at /usr/local/share/perl/5.14.2/Apache/Ocsinventory/Server/System.pm line 177.

I've checked file : ocsinventory-server.conf
User and Password are correct.

Have you an idea about my problem ?

Thanks
in OCS Inventory NG server for Unix by (260 points)

6 Answers

0 votes
Hi,

Have you restarted apache after modification?

Regards

Frank
by (79.6k points)
0 votes
Hi Frank,

Yes of course !
Apache, MySQL and server. Same issue...
by (260 points)
0 votes
Hi,

Have you changed ocs user and password in zz-ocsinventory-restapi.conf file?

Regards

Frank
by (79.6k points)
0 votes
Hi Frank,

I've checked the conf file z-ocsinventory-server.conf
DB access OK with Copy/Paste from conf file.

I've reinstalled OCS Inventory => Same Problem
I've created another DB and new installation => Same Problem

However, I've always access to the GUI.
by (260 points)
0 votes
which version of ocs server?

Search for zz-ocsinventory-restapi.conf file and make the changes you made for z-ocsinventory-server.conf file. Restart apache after.

Regards
by (79.6k points)
0 votes
OCS Server 2.1.1 => No comment...

I haven't "zz-ocsinventory-restapi.conf" file because I don't use API function.
by (260 points)
 
Powered by Question2Answer
...