Quantcast
Channel: Ocsinventory Q&A - Recent questions and answers in OCS Inventory NG server
Viewing all 7082 articles
Browse latest View live

Not able to configure my ocsng server

$
0
0
I am getting and error during my test invalid ocsng configuration (trace_deleted must be active) can't find no where how to activate it though...

Virtual Machine Mac Changed

$
0
0
Hello People,

I changed some virtual machines of host and the Mac address of it changed.

My problem is: The old machine inventory, with old MAC, are inventory, but the "new" machines with new MAC, are non-inventory,

I don't want remove the old registry of the machine, because the only change is in the MAC, my question is: How I update the old registry with the new MAC, without delete the old Inventory?

Answered: Les agents ne remonte pas les information du plug in Uptime

$
0
0
Bonjour,

Est-ce que la partie "server" du plugin a été installée (fichier Map.pm du plugin)?

Cordialement

Frank

Answered: Add Attachments Field

Deployment - multisite scenario with permissions?

$
0
0
Hello,

Im running OCS for several years on local network without problems. Now Im considering deployment of OCS on much large scale with multiple sites with different access level for those sites. I trying to find a way howto restrict user view for specific tags, so users on specific site will see only audited PC of their location. So far no luck. Whats the solution here?

tags - sites

$
0
0
Hi, I cant find a way, howto interconnect specific TAG with specific admin-user account. Lets say, I have 50 sites and on for those sites I would like to have 2-3 accounts and those accounts will be able to see only one specific tag (representing group of audited PC) for their own site and other accounts from other sites will not see this specific tag...

How to upgrade ocs 2.0.5 to version 2.3.1 in linux CentOs 7

Answered: Mass Import local Files

$
0
0
i found this script and it works great :)

Thank you

Answered: Ocsiventory.ini

$
0
0
Perso, dans le certificat j'ai mis un DNS à "Common Name" car je ne suis pas à l'abri de migrer un jour mon serveur OCS sur un autre site, mais si j'avais un serveur OCS sur le même LAN que les clients, je préfèrerais renseigner l'IP.

Pour le(s) fichier(s) certificat à renseigner dans le fichier default-ssl.conf, j'ai effectivement un fichier .pem et un fichier .key, mais j'ai aussi remarqué que d'autres méthodes existent et ne procèdent pas comme cela (cf. Yves Guimard, auteur de l'ouvrage OCS Inventory NG [éditions 1 et 2]) n'exploite pas le fichier .key et sa méthode (si elle est comme le reste de son bouquin), est certainement obsolète.

Pour le fichier .pem, je pense qu'il faut creuser à ce niveau, il me semble que le client OCS ne supporte que le cacert.pem alors le choix vs .crt est vite fait.

> L'erreur, c'est au redémarrage d'Apache ? La raison doit être que le fichier cacert.pem n'existe pas ou n'est pas au bon endroit sur le serveur.

Selon moi, vous devriez régénérer les fichiers de certificats, en utilisant par exemple la méthode de Milos Zengel (voir son tuto sur le Net) qui fonctionne chez moi, et bien sûr ne pas oublier de faire la modif dans le fichier default-ssl.conf ainsi que de mettre le fichier cacert.pem dans le répertoire de l'agent du client et sur le serveur OCS aux emplacements :

/user/local/share/ca-certificates/cacert.pem

/etc/apache2/ssl/cacert.pem et /etc/apache2/ssl/cacert.key

Answered: Add Attachments Field

$
0
0
Hi,

this file integration function linked to a client PC is available in the latest version of the OCS Inventory server (v. 2.3) but unfortunately for many of us it seems that it does not work : appearance of "btn" instead of the file insert button ("Notices and documents" section of administrative data).

Regards, Stéphane

Answered: Besoin d'aide sur le télédeploiment

$
0
0
Je suis heureux d'avoir pu vous aider... Enjoy !

Docker Container Stack Deployment: Issues with osinventory-db server.

$
0
0

Built and deployed OCSinventory server and db docker containers by cloning https://github.com/OCSInventory-NG/OCSInventory-Server.

I changed the default root and ocs passwords in: docker-compose.yml and ran: sh setup.sh
ocsinventory-server as far as I can tell is working.
ocsinventory-db refuses the passwords defined in docker-compose.yml:

From docker host:
$ docker exec -it ocsinventory-db mysql -uroot -p
Enter password: <copied/pasted root password from docker-compose.yml>
ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using password: YES)
$ docker exec -it ocsinventory-db mysql -uocs -p
Enter password: <copied/pasted ocs password from docker-compose.yml>
ERROR 1045 (28000): Access denied for user 'ocs'@'localhost' (using password: YES)

$ docker logs ocsinventory-db
2017-05-02T07:14:45.857852Z 0 [Warning] TIMESTAMP with implicit DEFAULT value is deprecated. Please use --explicit_defaults_for_timestamp server option (see documentation for more details).
2017-05-02T07:14:45.860873Z 0 [Note] mysqld (mysqld 5.7.18) starting as process 1 ...
2017-05-02T07:14:45.865287Z 0 [Note] InnoDB: PUNCH HOLE support available
2017-05-02T07:14:45.865361Z 0 [Note] InnoDB: Mutexes and rw_locks use GCC atomic builtins
2017-05-02T07:14:45.865367Z 0 [Note] InnoDB: Uses event mutexes
2017-05-02T07:14:45.865370Z 0 [Note] InnoDB: GCC builtin __atomic_thread_fence() is used for memory barrier
2017-05-02T07:14:45.865373Z 0 [Note] InnoDB: Compressed tables use zlib 1.2.3
2017-05-02T07:14:45.865376Z 0 [Note] InnoDB: Using Linux native AIO
2017-05-02T07:14:45.865846Z 0 [Note] InnoDB: Number of pools: 1
2017-05-02T07:14:45.866079Z 0 [Note] InnoDB: Using CPU crc32 instructions
2017-05-02T07:14:45.869596Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-05-02T07:14:45.882667Z 0 [Note] InnoDB: Completed initialization of buffer pool
2017-05-02T07:14:45.885792Z 0 [Note] InnoDB: If the mysqld execution user is authorized, page cleaner thread priority can be changed. See the man page of setpriority().
2017-05-02T07:14:45.900591Z 0 [Note] InnoDB: Highest supported file format is Barracuda.
2017-05-02T07:14:45.928628Z 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2017-05-02T07:14:45.928728Z 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2017-05-02T07:14:46.050479Z 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2017-05-02T07:14:46.051799Z 0 [Note] InnoDB: 96 redo rollback segment(s) found. 96 redo rollback segment(s) are active.
2017-05-02T07:14:46.051812Z 0 [Note] InnoDB: 32 non-redo rollback segment(s) are active.
2017-05-02T07:14:46.052101Z 0 [Note] InnoDB: Waiting for purge to start
2017-05-02T07:14:46.102685Z 0 [Note] InnoDB: 5.7.18 started; log sequence number 12920473
2017-05-02T07:14:46.103264Z 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2017-05-02T07:14:46.104217Z 0 [Note] Plugin 'FEDERATED' is disabled.
2017-05-02T07:14:46.111938Z 0 [Note] InnoDB: Buffer pool(s) load completed at 170502  7:14:46
2017-05-02T07:14:46.112786Z 0 [Note] Found ca.pem, server-cert.pem and server-key.pem in data directory. Trying to enable SSL support using them.
2017-05-02T07:14:46.113204Z 0 [Warning] CA certificate ca.pem is self signed.
2017-05-02T07:14:46.115956Z 0 [Note] Server hostname (bind-address): '*'; port: 3306
2017-05-02T07:14:46.116052Z 0 [Note] IPv6 is available.
2017-05-02T07:14:46.116060Z 0 [Note]   - '::' resolves to '::';
2017-05-02T07:14:46.116077Z 0 [Note] Server socket created on IP: '::'.
2017-05-02T07:14:46.180232Z 0 [Note] Event Scheduler: Loaded 0 events
2017-05-02T07:14:46.180730Z 0 [Note] mysqld: ready for connections.
Version: '5.7.18'  socket: '/var/run/mysqld/mysqld.sock'  port: 3306  MySQL Community Server (GPL)
2017-05-02T07:14:46.180742Z 0 [Note] Executing 'SELECT * FROM INFORMATION_SCHEMA.TABLES;' to get a list of tables using the deprecated partition engine. You may use the startup option '--disable-partition-engine-check' to skip this check.
2017-05-02T07:14:46.180745Z 0 [Note] Beginning of list of non-natively partitioned tables
2017-05-02T07:14:46.210410Z 0 [Note] End of list of non-natively partitioned tables
2017-05-02T07:16:31.283652Z 3 [Note] Access denied for user 'root'@'localhost' (using password: YES)
2017-05-02T07:25:26.914955Z 4 [Note] Access denied for user 'ocs'@'ocsinventory-server.ocsinventorydockerstack_default' (using password: YES)
2017-05-02T07:41:19.637730Z 5 [Note] Access denied for user 'ocs'@'localhost' (using password: YES)
2017-05-02T08:00:19.598549Z 6 [Note] Access denied for user 'root'@'localhost' (using password: YES)

$ docker logs ocsinventory-server
AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 172.18.0.3. Set the 'ServerName' directive globally to suppress this message

$ docker images | grep 'ocs\|mysql'
mysql                                    5.7                 9e64176cd8a2        7 days ago          407 MB
ocsinventory/ocsinventory-docker-image   latest              5691548a221e        6 weeks ago         406 MB

Can anyone assist in identifying the root cause of the issue with the ocsinventory containers, and resolve it?

Answered: Les agents ne remonte pas les information du plug in Uptime

$
0
0
Bonjour Frank

Si cela consiste à mettre le fichier zip dans le dossier uptime du server, et lancer l'install depuis l'interface graphique, oui je l'ai fait.

Si ce n'est pas la même chose je souhaiterais un peu plus d'explication, je suis un peu paumé la :/

Merci beaucoup en tout cas ! :)

Is it possible to set up a new duplicate condition?

$
0
0
Hi,

we are interested in duplicates but for us duplicate computers are those with the same serial number and manufacturer.

Is it possible to set it up as a new duplicate condition which we can access from "manage->duplicates" ?

how to check the version of ocs ng server

$
0
0
how to check the version of ocs ng server i have installed in cent os 6.5 kindly help

Answered: Problem after changing mariadb root password... Help me plesase

$
0
0
make sure you ocsweb database is still there and running
make sure you have user 'ocs'@'localhost' (or your ocs serveur hostname), and that he has all privileges on ocsweb, if necessary grant him all the privilieges again

in /usr/share/ocsinventory-reports/ocsreports/ edit dbconfig.inc.php
make sure the user/password is correct and the database host too :
define("DB_NAME", "ocsweb");
define("SERVER_READ","localhost");
define("SERVER_WRITE","localhost");
define("COMPTE_BASE","user");
define("PSWD_BASE","password");

in /etc/apache2/con.d edit z-ocsinventory-server.conf
again, make sure everything is in order :
# User allowed to connect to database
PerlSetEnv OCS_DB_USER user
# Password for user
PerlSetVar OCS_DB_PWD password

restart mysql service, apache, if its still not working, it should tho):
backup or drop ocsweb if you're okay with rebuilding it (google how to backup mysql db),
activate install.php on ocs server (you're supposed to have deleted it so just put it back there : /usr/share/ocsinventory-reports/ocreports/).
go to http://YourServerIpOrHostname/ocsreports/install.php and fill the forms with correct mysql informations, the server should find the existing db or rebuild it

Answered: report generation issue

OCSNG 2.3.1/Debian 8.5 /Agent:2.3.0.0 Some computers will not show usernames

$
0
0

For some reason some computers in OCSinventoryNG will show everything except the username. We are using Windows 10 with the latest 2.3.0.0 agent. This seems to be a random issue that does not affect every computer.

Je vous remercie!

Answered: Can't create a super administrators warning

$
0
0
Have you tried using another browser?

Answered: How to remove package history in merged duplicates

$
0
0
try to edit in the client c:\programData\OCS Inventory NG\Agent\history and leave only the ids of installed packages you don't want to deploy again.
Viewing all 7082 articles
Browse latest View live