[oi-dev] [OpenIndiana-discuss] success stories about SRSS and OI

Alexander Pyhalov alp at rsu.ru
Sat Jul 5 19:32:30 UTC 2014


Hello.

Alexander Pyhalov писал 05.07.2014 17:07:
> Jonathan Adams писал 04.07.2014 19:40:
>> ran a "dhcpconfig -U" then destroyed the existing "/var/dhcp"
>> files/directory, afterwards I cannot create any new DHCP files:
>> 
>> root at jadlaptop:~# dhcpconfig -D -r files -p /var/dhcp -l 28800
>> dhcpconfig: Error - files is not a valid resource.
>> 
>> root at jadlaptop:~# dhcpconfig -D -r SUNWfiles -p /var/dhcp -l 28800
>> dhcpconfig: Error - creating location: /var/dhcp.
>> 
>> root at jadlaptop:~# dhcpconfig -D -r SUNWbinfiles -p /var/dhcp -l 28800
>> dhcpconfig: Error - creating location: /var/dhcp.
>> 
>> all fail almost instantly ...
>> 
>> I'm sure it used to work with java1.7, but just in case I removed 
>> /usr/java
>> and re-linked to the java1.6 on the system, which failed in the same 
>> way.
>> 
>> I've attached the bzip2'd log files from truss ...
>> 
> 
> BTW, I see the same behavior on /dev with recent illumos-gate
> (compiled with GCC).
> However, dhcpconfig works on stock /dev a8.
> So, I see two possibilities:
> 1) something is wrong with using GCC & dhcp Java configuration tool
> 2) dhcpconfig is broken in current illumos-gate.

Checked on both GCC-compiled and Sun Studio compiled latest illumos the 
following command fails:

# dhcpconfig -D -r SUNWfiles -p /var/dhcp -l 28800
dhcpconfig: Error - creating location: /var/dhcp.

But it works on the same host on OI /dev a9.

Has someone seen something similar?
---
System Administrator of Southern Federal University Computer Center






More information about the oi-dev mailing list