issue with adding a new netbootProduct

zero0ne
Beiträge: 13
Registriert: 10 Jul 2008, 03:30

issue with adding a new netbootProduct

Beitrag von zero0ne »

when i run opsi-admin

then i get to the admin console area thing

I then run:

method createNetBootProduct <productid> <productname> etc etc...

i do something like: method createNetBootProduct winxp, winxp, 5, 1

I get an error saying that the productID is using invalid characters... I have tried numbers only, and also letters only and i get the same error code both times...

what exactly is it looking for? everything else is working now and even when i run the boot Cd in a VM, i get to the end and it gives me an error saying I dont have any netboot products configred so it cant install anything!

what am I to do? could you post an example of this command that should work?

Thanks!!
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1789
Registriert: 29 Mai 2008, 15:14

Re: issue with adding a new netbootProduct

Beitrag von j.schneider »

If you want to add products, please download product-packages (.opsi) from:
http://download.uib.de/opsi3.3/produkte/essential

You can then install these product packages by using the command:

Code: Alles auswählen

opsi-package-manager -i <productpackage>
zero0ne
Beiträge: 13
Registriert: 10 Jul 2008, 03:30

Re: issue with adding a new netbootProduct

Beitrag von zero0ne »

Im confused, I have to download product packages even for the netboot products?

If so, I see there is one for XP SP 3... will that work fine for XP sp2 as well?

EDIT: I am also using the VMWare server image, and I still have to install packages?

What other packages are required or pretty much used a lot that I should also install?
zero0ne
Beiträge: 13
Registriert: 10 Jul 2008, 03:30

Re: issue with adding a new netbootProduct

Beitrag von zero0ne »

So i ran that command and this is what I ended up getting:

Installing package 'winxppro_sp3-8.opsi' on depot 'opsidemo.uib.local'
ERROR: Failed to delete directory 'opt/pcbin/install/winxppro': [Errno 13] Permision denied: 'opt/pcbin/install/winxppro/i386/COMPDATA/FTCOMP3.TXT'
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1789
Registriert: 29 Mai 2008, 15:14

Re: issue with adding a new netbootProduct

Beitrag von j.schneider »

Hi,

it seems like you copied some files into /opt/pcbin/install/winxppro/i386.
If you do so, please change the owner of these files to opsiconfd, because otherwise the opsiconfd daemon cannot access these correctly.

Code: Alles auswählen

chown -R opsiconfd /opt/pcbin/install/winxppro
opsi-package-manager -i winxppro_sp3-8.opsi
Benutzeravatar
d.oertel
uib-Team
Beiträge: 3319
Registriert: 04 Jun 2008, 14:27

Re: issue with adding a new netbootProduct

Beitrag von d.oertel »

Hello zer0ne,
Im confused, I have to download product packages even for the netboot products?
yes
If so, I see there is one for XP SP 3... will that work fine for XP sp2 as well?
yes, the name indicates that is tested with SP3 as well
EDIT: I am also using the VMWare server image, and I still have to install packages?
yes, see Installation-manual (http://downloads.sourceforge.net/opsi/o ... ion_en.pdf)
chapter 6 'Install the minimal opsi-products' and chapter 10 'OS-Installation: Complete the base package for Windows 2000 and XP'
What other packages are required or pretty much used a lot that I should also install?
There are some sample products at http://download.uib.de/opsi3.3/produkte/
but they mostly German products and not topical.
But they are could be used to see how opsi works.
So i ran that command and this is what I ended up getting:

Installing package 'winxppro_sp3-8.opsi' on depot 'opsidemo.uib.local'
ERROR: Failed to delete directory 'opt/pcbin/install/winxppro': [Errno 13] Permision denied: 'opt/pcbin/install/winxppro/i386/COMPDATA/FTCOMP3.TXT'
Hmm, the installation is done via opsiconfd by the user opsiconfd (no matter as which user you are logged in).
Therefor all files beneath /opt/pcbin/install should be owned by opsiconfd:pcpatch with read and write access also for the group:

Code: Alles auswählen

cd /opt/pcbin/install
chown -R opsiconfd:pcpatch *
chmod -R ug+rw *
Now, try again to install the product.

regards
detlef oertel


What other packages are required or pretty much used a lot that I should also install?
opsi support - uib gmbh

For productive opsi installations we recommend support contracts.
http://www.uib.de
http://www.opsi.org
zero0ne
Beiträge: 13
Registriert: 10 Jul 2008, 03:30

Re: issue with adding a new netbootProduct

Beitrag von zero0ne »

This is why im still a noob, I was using pcpatch instead of opsiconfd

:/

time to see how the test VM goes with the install now that there is a package!

it's very hard to go through that boot CD you have since its only in german. but im getting there!
zero0ne
Beiträge: 13
Registriert: 10 Jul 2008, 03:30

Re: issue with adding a new netbootProduct

Beitrag von zero0ne »

when I run the boot CD i get this after I chose winxppro:

Open P Server Intergation

[ produkt: windows XP professional ]
[Binde epotserver-freigabe 'smb://opsidemo/opt_pcbin' unter 'mnt/opsi' ein]

All the above there is on the blue screen part

then the error is:

Ein Fehler it aufgetreten
Cannot mount: Command `******************` failed (65280): mount error 13 = permission denied refer to the mount.cifs(8) manual page (eg man mount.cifs)


what have I forgotten to take care of?
Benutzeravatar
j.schneider
uib-Team
Beiträge: 1789
Registriert: 29 Mai 2008, 15:14

Re: issue with adding a new netbootProduct

Beitrag von j.schneider »

Hello,

please run the following command on the server and try again.

Code: Alles auswählen

opsi-admin -d task setPcpatchPassword
zero0ne
Beiträge: 13
Registriert: 10 Jul 2008, 03:30

Re: issue with adding a new netbootProduct

Beitrag von zero0ne »

OH MAN!!

Thanks a lot guys!

its installing XP as we speak.

One last question for you...

If i wanted to work on translating some of the program to english, (i'd like to start with the boot disk) where should I begin?

Of course it wont be excellent, as i would just translate word by word and try to guess the grammar and syntax, but that would still be a big help i bet.


Thanks again everyone!

Chris
Antworten