Hi I am new to solaris
I am running solaris from sun virtual box I am trying to create a zone but it is giving some error...
First i configured my zone
zonename: test
zonepath: /rpool/zones/test
brand: ipkg
autoboot: true
bootargs:
pool:
limitpriv:
scheduling-class:
ip-type: shared
hostid:
net:
address: 10.0.2.15
physical: e1000g0
defrouter not specified
Now I am trying to install zone but some error is coming
A ZFS file system has been created for this zone.
Publisher: Using opensolaris.org (
http://pkg.opensolaris.org/release/).
Image: Preparing at /rpool/zones/test/root.
pkg: image-create: The URI 'http://pkg.opensolaris.org/release/' does not appear to point to a valid pkg server.
Please check the server's address and client's network configuration.
Additional details:
Unable to contact valid package server:
http://pkg.opensolaris.org/release/
Encountered the following error(s):
Transport errors encountered when trying to contact depot server. Reported the following errors:
1: Transfer from 'opensolaris.org' timed out: timed out.
2: Transfer from 'opensolaris.org' timed out: timed out.
3: Transfer from 'opensolaris.org' timed out: timed out.
4: Transfer from 'opensolaris.org' timed out: timed out.
ERROR: failed to create image
rm: Unable to remove directory /rpool/zones/test/root: Device busy
zoneadm: zone 'test': '/usr/bin/rm -rf' failed with exit code 2.
zoneadm: test: cleaning up zonepath failed: Empty document
My Doubt is I set the IP address to some 10.0.2.15 it is the same IP my solaris virtual box is using. Is it correct Ip address I set pls see below ipconfig -a command
ifconfig -a
lo0: flags=2001000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv4,VIRTUAL> mtu 8232 index 1
inet 127.0.0.1 netmask ff000000
e1000g0: flags=1004843<UP,BROADCAST,RUNNING,MULTICAST,DHCP,IPv4> mtu 1500 index 2
inet 10.0.2.15 netmask ffffff00 broadcast 10.0.2.255
ether 8:0:27:b2:4:e4
lo0: flags=2002000849<UP,LOOPBACK,RUNNING,MULTICAST,IPv6,VIRTUAL> mtu 8252 index 1
inet6 ::1/128
e1000g0: flags=2004841<UP,RUNNING,MULTICAST,DHCP,IPv6> mtu 1500 index 2
inet6 fe80::a00:27ff:feb2:4e4/10
ether 8:0:27:b2:4:e4