Failed to process method 'backend_getInterface'

agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

agnieszka hat geschrieben:Hi,

I cancelled task because i retrieve info: Failed to connect to config server 'opsi.kbw.gov.pl' as user |│ 'admin': [Errno 111] Connection refused
Could I please e-mail, i send a log /var/log/opsi/opsiconfd
regards,
Agnieszka
agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

this is log from log file /var/opsi/confpxeconfd, when opsipxeconfd is reloaded

==================================================================
= opsi pxe configuration service starting =
==================================================================
(Logger.py|831)
[5] [Feb 09 13:43:55] Starting opsipxeconfd main thread (opsipxeconfd|163)
[2] [Feb 09 13:44:00] Traceback: (Logger.py|742)
[2] [Feb 09 13:44:00] line 165 in 'run' in file '/usr/bin/opsipxeconfd' (Logger.py|742)
[2] [Feb 09 13:44:00] line 112 in '_createBackendInstance' in file '/usr/bin/opsipxeconfd' (Logger.py|742)
[2] [Feb 09 13:44:00] line 190 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 09 13:44:00] line 286 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 09 13:44:00] line 337 in '__loadBackends' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/BackendManager.py' (Logger.py|742)
[2] [Feb 09 13:44:00] line 326 in '__init__' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 09 13:44:00] line 395 in 'connect' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 09 13:44:00] line 612 in '_jsonRPC' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 09 13:44:00] line 123 in 'execute' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/JSONRPC.py' (Logger.py|742)
[2] [Feb 09 13:44:00] line 135 in 'waitForResult' in file '/usr/lib/pymodules/python2.6/OPSI/Backend/Backend.py' (Logger.py|742)
[Feb 09 13:44:00] ==>>> [Errno 111] Connection refused (opsipxeconfd|174)

returns the same error "Connection refused"

command opsi-setup --set-rights
[5] [Feb 09 14:27:04] Setting rights (opsi-setup|416)
[5] [Feb 09 14:27:04] Getting current system config (opsi-setup|70)
[5] [Feb 09 14:27:04] System information: (opsi-setup|120)
[5] [Feb 09 14:27:04] distributor : Debian (opsi-setup|121)
[5] [Feb 09 14:27:04] distribution : Debian GNU/Linux 6.0.4 (squeeze) (opsi-setup|122)
[5] [Feb 09 14:27:04] ip address : 10.1.0.2 (opsi-setup|123)
[5] [Feb 09 14:27:04] netmask : 255.255.255.0 (opsi-setup|124)
[5] [Feb 09 14:27:04] subnet : 10.1.0.0 (opsi-setup|125)
[5] [Feb 09 14:27:04] broadcast : 10.1.0.255 (opsi-setup|126)
[5] [Feb 09 14:27:04] fqdn : opsi.centrala.kbw.gov.pl (opsi-setup|127)
[5] [Feb 09 14:27:04] hostname : opsi (opsi-setup|128)
[5] [Feb 09 14:27:04] domain : centrala.kbw.pl (opsi-setup|129)
[5] [Feb 09 14:27:04] win domain : CENTRALA.KBW.PL (opsi-setup|130)
[3] [Feb 09 14:27:09] [Errno 111] Connection refused (opsi-setup|450)
[5] [Feb 09 14:27:09] Setting rights on directory '/tftpboot/linux' (opsi-setup|497)
[5] [Feb 09 14:27:09] Setting rights on directory '/home/opsiproducts' (opsi-setup|497)
[5] [Feb 09 14:27:09] Setting rights on directory '/var/log/opsi' (opsi-setup|497)
[5] [Feb 09 14:27:09] Setting rights on directory '/etc/opsi' (opsi-setup|497)
[5] [Feb 09 14:27:09] Setting rights on directory '/var/lib/opsi' (opsi-setup|497)


regards,
agnieszka
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Failed to process method 'backend_getInterface'

Beitrag von d.oertel »

Hi,

there is something broken in your backend.
So you may try

Code: Alles auswählen

dpkg-reconfigure opsi-depotserver
or / and

Code: Alles auswählen

opsi-admin -d method backend_createBase
Pleas check your
/etc/opsi/backenManger/dispatch.conf
for problems.

does this help ?

If not, I would recommend to restart from the beginning ...

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

Hi,

thanks you a lot, i have to reinstall opsi.
Could i ask, how enable pxe installation system from opsi server. Opsi server using external dhcp server (windows)?

Thank you for help and answer.

Regards,
agnieszka
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Failed to process method 'backend_getInterface'

Beitrag von d.oertel »

Hi,
Could i ask, how enable pxe installation system from opsi server. Opsi server using external dhcp server (windows)?
did you had a look at:

http://download.uib.de/opsi_stable/doc/ ... her-server

regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

Hi,

yes, i did. I installed server opsi from this document.
I ask more how to configure windows server to communication tftp server on opsi server. I explain, when the client is power on IP address is downloaded from dhcp (dhcp-server - windows server), but the system image is not downloaded from the server tftp Opsi. Is error : file not found.

regards,
agnieszka
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Failed to process method 'backend_getInterface'

Beitrag von d.oertel »

Hi,

so you should look at the /var/log/syslog if there are entries from the tftpd which indicates that the client connects the opsi server.
If not - you may look again using 'tcpdump port bootps' . If there are no tcp packages from the client you have either a network ore dhcp configuration problem.
If there are no tftpd entries but tcp packages your opsi-tftpd is not installed correctly.
If there are tftpd entries you usally want to increase the loglevel to see what is going wrong:
see at:
http://download.uib.de/opsi_stable/doc/ ... files-logs
and look for:
tftp log in /var/log/syslog

The log of the tftpd you will find at /var/log/syslog.

You should increase the log level to see important information.
At the file /etc/inetd.conf in the line starting with tftpd set the parameter verbose to 7 :

tftp dgram udp wait nobody /usr/sbin/tcpd /usr/sbin/in.tftpd --tftpd-timeout 300 --retry-timeout 5 --mcast-port 1758 --mcast-addr 239.239.239.0-255 --mcast-ttl 1 --maxthread 100 --verbose=7 /tftpboot

If this is done execute:

killall tftpd
killall -1 inetd
regards

d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

Hi,

I'sorry that i answer now.
Thank you, it's works.

I have another question, i found info about creating boot image win 7 x64 (i hope i good uderstand procedure):
" copy the contents of your win7 iso into /opt/pcbin/install/win7/installfiles/
create a winpe 2.0 matching the architecture you want to install 32/64bit
adapt the winpe image boot.wim (mount +edit startnet.cmd that it only contains c:\opsi\startnet.cmd + umount)
copy the created winpe 2.0 to /opt/pcbin/install/win7/winpe/"
but
" copy the contents of your win7 iso into /opt/pcbin/install/win7/installfiles/ "does mean copy win7/sources /opt/pcbin/install/win7/installfiles/ ?
"create a winpe 2.0 matching the architecture you want to install 32/64bit" what does mean, i try to creat bootimage from documentation opsi-getting-started-stable-en but i don't uderstand where i'm should looking startnet.cmd, i haven't this file in c:\opsi ("adapt the winpe image boot.wim (mount +edit startnet.cmd that it only contains c:\opsi\startnet.cmd + umount"))

Thank you for help.
agnieszka
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: Failed to process method 'backend_getInterface'

Beitrag von d.oertel »

Hi,
" copy the contents of your win7 iso into /opt/pcbin/install/win7/installfiles/ "does mean copy win7/sources /opt/pcbin/install/win7/installfiles/ ?
Copy the complete content of your win7 installation DVD to /opt/pcbin/install/win7/installfiles/

I don't know from which source you cite.
Just follow the steps in the getting started:
http://download.uib.de/opsi_stable/doc/ ... ckages-nt6

regards
d.oertel
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
agnieszka
Beiträge: 15
Registriert: 30 Jan 2012, 15:22

Re: Failed to process method 'backend_getInterface'

Beitrag von agnieszka »

I don't know from which source you cite.
Just follow the steps in the getting started:
http://download.uib.de/opsi_stable/doc/ ... ckages-nt6
the source is a forum opsi.
I have a problem in step 3:
next command (again in one line):
echo c:\opsi\startnet.cmd > "C:\winpe\mount\Windows\System32\startnet.cmd"
i can't find the file stratnet.cmd in the location c:\opsi, where i should search "c:\opsi\startnet.cmd" , ? :)

best regards,
agnieszka
Antworten