Seite 1 von 1

OPSI Produkte verschwunden

Verfasst: 08 Sep 2009, 12:08
von jore
Hallo,
ich habe hier Opsi 3.3.1 auf VMWare ESX 3.5 mit dem Installationsimage installiert. Nun habe ich mal versucht auf 3.4 upzudaten. Anleitung "opsi-serverinstallation" Punkt 13.1 habe ich befolgt.

Ergebnis:

Code: Alles auswählen

opsi-admin -d method getOpsiInformation_hash
{
"opsiVersion" : "3.3.1.11",
"modules" :
          {
          "valid" : false
          }
}
Mein Problem ist, dass die Pakete im configuration editor nun auch verschwunden sind. Die Clients jedoch sind noch da.
Unter opt/pcbin/install sind alle Pakete noch aufgeführt.
Was kann ich tun?

Re: OPSI Produkte verschwunden

Verfasst: 08 Sep 2009, 20:54
von d.oertel
Hi,

mit der modules Datei hat das nichts zu tun.

Was sind die Ausgaben von:

Code: Alles auswählen

opsi-admin -d method getInstalledProductIds_list <opsiservername.domain.tld>
opsi-admin -d method getBackendInfos_listOfHashes

ls -l /var/lib/opsi/config/depots/<opsiservername.domain.tld>/localboot
gruss
d.oertel

Re: OPSI Produkte verschwunden

Verfasst: 09 Sep 2009, 13:09
von jore
Hallo, hier die Ausgaben:

Code: Alles auswählen

ez-opsiserver:/# opsi-admin -d method getInstalledProductIds_list ez-opsiserver.lan.ttb-group.de
ez-opsiserver:/#

Code: Alles auswählen

ez-opsiserver:/# opsi-admin -d method getBackendInfos_listOfHashes
[
          {
          "version" : "not available",
          "config" :
                    {
                    "username" : "",
                    "password" : "",
                    "timeout" : null,
                    "address" : ""
                    },
          "name" : "JSONRPC",
          "module" : "not loaded"
          },
          {
          "version" : "not available",
          "config" :
                    {
                    "depotDir" : "/opt/pcbin/install",
                    "pclogDir" : "/opt/pcbin/pcpatch/pclog",
                    "groupsFile" : "/opt/pcbin/utils/groups.ini",
                    "licensesFile" : "/opt/pcbin/utils/licenses.ini",
                    "opsiTFTPDir" : "/tftpboot/opsi",
                    "pcpatchDir" : "/opt/pcbin/pcpatch",
                    "fileOpenTimeout" : 2000,
                    "productsFile" : "/opt/pcbin/utils/produkte.txt",
                    "pckeyFile" : "/etc/opsi/pckeys"
                    },
          "name" : "File",
          "module" : "not loaded"
          },
          {
          "version" : "0.2.4.4",
          "config" :
                    {
                    "username" : "opsi",
                    "host" : "localhost",
                    "password" : "opsi",
                    "defaultdomain" : "lan.ttb-group.de",
                    "database" : "opsi"
                    },
          "name" : "MySQL",
          "module" : "OPSI.Backend.MySQL"
          },
          {
          "version" : "not available",
          "config" :
                    {
                    "opsiBaseDn" : "cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "defaultContainersObjectDn" : "cn=default containers,cn=univention,dc=lan,dc=ttb-group,dc=de",
                    "productDeploymentPoliciesContainerDn" : "cn=productDeployments,cn=opsi,cn=policies,dc=lan,dc=ttb-group,dc=de",
                    "productLicensesContainerDn" : "cn=productLicenses,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "productsContainerDn" : "cn=products,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "productPropertyPoliciesContainerDn" : "cn=productProperties,cn=opsi,cn=policies,dc=lan,dc=ttb-group,dc=de",
                    "baseDn" : "dc=lan,dc=ttb-group,dc=de",
                    "bindPw" : "*******",
                    "policiesContainerDn" : "cn=opsi,cn=policies,dc=lan,dc=ttb-group,dc=de",
                    "productClassesContainerDn" : "cn=productClasses,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "productStatesContainerDn" : "cn=productStates,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "hostsContainerDn" : "cn=computers,dc=lan,dc=ttb-group,dc=de",
                    "networkConfigPoliciesContainerDn" : "cn=networkConfigs,cn=opsi,cn=policies,dc=lan,dc=ttb-group,dc=de",
                    "host" : "localhost",
                    "generalConfigPoliciesContainerDn" : "cn=generalConfigs,cn=opsi,cn=policies,dc=lan,dc=ttb-group,dc=de",
                    "bindDn" : "cn=admin,dc=lan,dc=ttb-group,dc=de",
                    "univentionAdminPropertiesContainerDn" : "cn=custom attributes,cn=univention,dc=lan,dc=ttb-group,dc=de",
                    "groupsContainerDn" : "cn=groups,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "productDependenciesContainerDn" : "cn=productDependencies,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "productClassDependenciesContainerDn" : "cn=productClassDependencies,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "univentionBaseDn" : "cn=univention,dc=lan,dc=ttb-group,dc=de",
                    "univentionSyntaxesContainerDn" : "cn=opsiSyntax,cn=univention,dc=lan,dc=ttb-group,dc=de"
                    },
          "name" : "Univention",
          "module" : "not loaded"
          },
          {
          "version" : "not available",
          "config" :
                    {
                    "reinstmgrCommand" : "/usr/sbin/reinstmgr"
                    },
          "name" : "Reinstmgr",
          "module" : "not loaded"
          },
          {
          "version" : "not available",
          "config" : null,
          "name" : "Etherwake",
          "module" : "not loaded"
          },
          {
          "version" : "0.3.3",
          "config" :
                    {
                    "port" : "/var/run/opsipxeconfd.socket",
                    "defaultdomain" : "lan.ttb-group.de"
                    },
          "name" : "OpsiPXEConfd",
          "module" : "OPSI.Backend.OpsiPXEConfd"
          },
          {
          "version" : "0.5.5",
          "config" :
                    {
                    "dhcpdConfigFile" : "/etc/dhcp3/dhcpd.conf",
                    "fixedAddressFormat" : "IP",
                    "defaultClientParameters" :
                              {
                              "next-server" : "192.168.1.96",
                              "filename" : "linux/pxelinux.0"
                              },
                    "defaultdomain" : "lan.ttb-group.de",
                    "reloadConfigCommand" : "sudo /etc/init.d/dhcp3-server restart"
                    },
          "name" : "DHCPD",
          "module" : "OPSI.Backend.DHCPD"
          },
          {
          "version" : "not available",
          "config" :
                    {
                    "deleteClientCommand" : "",
                    "opsiBaseDn" : "cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "hostAttributeDescription" : "opsiDescription",
                    "deleteClient" : true,
                    "productLicensesContainerDn" : "cn=productLicenses,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "networkConfigsContainerDn" : "cn=networkConfigs,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "productsContainerDn" : "cn=products,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "baseDn" : "dc=lan,dc=ttb-group,dc=de",
                    "serverObjectSearchFilter" : "",
                    "bindPw" : "*******",
                    "productClassesContainerDn" : "cn=productClasses,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "productStatesContainerDn" : "cn=productStates,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "hostsContainerDn" : "cn=hosts,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "deleteServer" : false,
                    "hostAttributeNotes" : "opsiNotes",
                    "clientObjectSearchFilter" : "",
                    "productPropertiesContainerDn" : "cn=productProperties,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "host" : "localhost",
                    "deleteServerCommand" : "",
                    "hostAttributeIpAddress" : "opsiIpAddress",
                    "bindDn" : "cn=admin,dc=lan,dc=ttb-group,dc=de",
                    "createClientCommand" : "",
                    "groupsContainerDn" : "cn=groups,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "hostAttributeHardwareAddress" : "opsiHardwareAddress",
                    "generalConfigsContainerDn" : "cn=generalConfigs,cn=opsi,dc=lan,dc=ttb-group,dc=de",
                    "createServerCommand" : ""
                    },
          "name" : "LDAP",
          "module" : "not loaded"
          },
          {
          "version" : "0.3.1",
          "config" :
                    {
                    "fileOpenTimeout" : 2000,
                    "globalConfigFile" : "/var/lib/opsi/config/global.ini",
                    "groupsFile" : "/var/lib/opsi/config/clientgroups.ini",
                    "clientConfigDir" : "/var/lib/opsi/config/clients",
                    "licensesFile" : "/var/lib/opsi/config/licenses.ini",
                    "passwdFile" : "/etc/opsi/passwd",
                    "auditInfoDir" : "/var/lib/opsi/audit",
                    "defaultClientTemplateFile" : "/var/lib/opsi/config/templates/pcproto.ini",
                    "logDir" : "/var/log/opsi",
                    "depotConfigDir" : "/var/lib/opsi/config/depots",
                    "clientTemplatesDir" : "/var/lib/opsi/config/templates",
                    "pckeyFile" : "/etc/opsi/pckeys",
                    "defaultdomain" : "lan.ttb-group.de"
                    },
          "name" : "File31",
          "module" : "OPSI.Backend.File31"
          },
          {
          "version" : "0.9.2",
          "config" :
                    {
                    "defaultdomain" : "lan.ttb-group.de"
                    },
          "name" : "WakeOnLAN",
          "module" : "OPSI.Backend.WakeOnLAN"
          }
]
ez-opsiserver:/#

Code: Alles auswählen

ez-opsiserver:/# ls -l /var/lib/opsi/config/depots/ez-opsiserver.lan.ttb-group.de/localboot
ls: Zugriff auf /var/lib/opsi/config/depots/ez-opsiserver.lan.ttb-group.de/localboot nicht möglich: Datei oder Verzeichnis nicht gefunden
ez-opsiserver:/#

Code: Alles auswählen

ez-opsiserver:/var/lib/opsi/config/depots/ez-opsiserver.lan.ttb-group.de# l
insgesamt 4
-rw-rw---- 1 opsiconfd pcpatch 312  2. Sep 12:30 depot.ini
ez-opsiserver:/var/lib/opsi/config/depots/ez-opsiserver.lan.ttb-group.de#

Re: OPSI Produkte verschwunden

Verfasst: 10 Sep 2009, 15:17
von d.oertel
Hi,

sorry, ich habe mich verschrieben.
Biite Ausgabe von:

Code: Alles auswählen

ls -l /var/lib/opsi/config/depots/ez-opsiserver.lan.ttb-group.de/products/localboot
Ansonsten betreibt Ihr seit Jahren eine produktive Installation im kommerziellen Einsatz.
Ist also ein klarer Fall für einen Supportvertrag.

gruss
d.oertel