Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Alexander Eremin
mknod /devices/pseudo/mm@0:null c 13 2 chown root:sys /devices/pseudo/mm@0:null chmod 666 /devices/pseudo/mm@0:null cd /dev ln -s ../devices/pseudo/mm@0:null null Alexander On 25.04.2013, at 12:51, Richard Jones openindiana-disc...@jonze.com wrote: Hi, I've overwritten /dev/null and

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Richard Jones
On Thu, Apr 25, 2013 at 09:57:56AM +0100, Khushil Dep wrote: mknod /dev/null c 1 3 should work. mknod: `/dev/null': No such file or directory :( -- Richard Jones +44 7843 588 599 Quod gratis asseritur, gratis negatur Privacy

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Richard Jones
On Thu, Apr 25, 2013 at 01:00:52PM +0400, Alexander Eremin wrote: mknod /devices/pseudo/mm@0:null c 13 2 mknod: `/devices/pseudo/mm@0:null': File exists chown root:sys /devices/pseudo/mm@0:null chown: changing ownership of `/devices/pseudo/mm@0:null': Not owner chmod 666

[OpenIndiana-discuss] link property e1000 / igb

2013-04-25 Thread Randy S
Hi all, version OI5a7 I'm trying to force a nic to work at 1000 mb. To test the commands first, I usually test it on a testsystem. I found some docs from oracle stating that if you want to force a nic to perform at a certain speed, you should disable advertising the speeds that you don't

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Colin Ellis
Boot using a live cd, mount your original /dev and /devices somewhere and then copy from the live cd using rsync. On Thu, Apr 25, 2013 at 6:03 AM, Richard Jones openindiana-disc...@jonze.com wrote: On Thu, Apr 25, 2013 at 01:30:35PM +0200, Jim Klimov wrote: How about removing both

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Martin Bochnig
On Thu, Apr 25, 2013 at 2:03 PM, Richard Jones openindiana-disc...@jonze.com wrote: On Thu, Apr 25, 2013 at 01:30:35PM +0200, Jim Klimov wrote: How about removing both /devices/pseudo/mm@null* and /dev/null and then trying devfsadm? # rm /dev/null rm: cannot remove `/dev/null': No such

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Martin Bochnig
Which exactly? Seemingly unimportant details can be essential here. I have been in similar situations (during OpenSXCE debugging), I know how ugly and hopeless it feels in such a scenario. Fact is, that if running scripts directly from /lib/svc/method does not even help (if you tried), then

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread James Carlson
On 04/25/13 08:03, Richard Jones wrote: On Thu, Apr 25, 2013 at 01:30:35PM +0200, Jim Klimov wrote: How about removing both /devices/pseudo/mm@null* and /dev/null and then trying devfsadm? # rm /dev/null rm: cannot remove `/dev/null': No such file or directory # rm

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Martin Bochnig
On Thu, Apr 25, 2013 at 2:53 PM, James Carlson carls...@workingcode.comwrote: On 04/25/13 08:03, Richard Jones wrote: On Thu, Apr 25, 2013 at 01:30:35PM +0200, Jim Klimov wrote: How about removing both /devices/pseudo/mm@null* and /dev/null and then trying devfsadm? # rm /dev/null

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Laurent Blume
On 25/04/13 14:53, James Carlson wrote: snip Unfortunately, that's where my knowledge of the system (based on my years in PSARC) ends. I don't know how to repair damage like you're describing. I just know that the people telling you to rm these fake files or run mknod are misinformed. That'll

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread James Carlson
On 04/25/13 09:24, Laurent Blume wrote: On 25/04/13 14:53, James Carlson wrote: snip Unfortunately, that's where my knowledge of the system (based on my years in PSARC) ends. I don't know how to repair damage like you're describing. I just know that the people telling you to rm these fake

Re: [OpenIndiana-discuss] Recreate /dev/null

2013-04-25 Thread Richard Jones
On Thu, Apr 25, 2013 at 04:15:08PM +0400, Alexander Eremin wrote: Boot from alternate BE or CD should help. Mount this BE and run devfsadm against mountdir. Bingo! # beadm create newpool # beadm activate newpool # reboot [...] # beadm mount opendiana /mnt # cd /mnt/dev # ln -s

Re: [OpenIndiana-discuss] link property e1000 / igb

2013-04-25 Thread Jim Klimov
On 2013-04-25 13:59, Randy S wrote: Hi all, version OI5a7 I'm trying to force a nic to work at 1000 mb. To test the commands first, I usually test it on a testsystem. I found some docs from oracle stating that if you want to force a nic to perform at a certain speed, you should disable

Re: [OpenIndiana-discuss] Logwatch equivalent...

2013-04-25 Thread John Doe
From: qutic development mailingli...@qutic.com We are using logwatch from OpenCSW [1], which installs fine. To send a report by email just run: /opt/csw/bin/logwatch --detail 10 --mailto rep...@example.com Thx, I mixed both install script/Makefile and made my own install script. The main

Re: [OpenIndiana-discuss] link property e1000 / igb

2013-04-25 Thread Jim Klimov
On 2013-04-25 17:11, Randy S wrote: To clarify why I'm testing this: we have a machine in production with a nic (autonegotiation) that should be 1000Mb connected but is 100Mb connected. We already forced the switchport at 1000Mb at which point there is no connection with the OI machine. It's

Re: [OpenIndiana-discuss] Logwatch equivalent...

2013-04-25 Thread John Doe
From: Jim Klimov jimkli...@cos.ru On 2013-04-25 17:04, John Doe wrote: Now, the only thing left is to find out how to send an email to the outside world without getting a 550 relay not permitted... root is in the trusted-users. What host says that error (i.e. your local host, or some

[OpenIndiana-discuss] NFSv4 user/group server mapping refresh

2013-04-25 Thread Milo Parker
Hello everybody. We are currently using NFSv4 to connect to a ZFS datasheet hosted in an OpenIndiana system. User and group mapping works correctly on NFSv4 clients. However, when we add a local user/group in OpenIndiana box and the same user/group on clients they are not updated, they ares

Re: [OpenIndiana-discuss] NFSv4 user/group server mapping refresh

2013-04-25 Thread Marcel Telka
On Thu, Apr 25, 2013 at 07:53:00PM +0200, Milo Parker wrote: Hello everybody. We are currently using NFSv4 to connect to a ZFS datasheet hosted in an OpenIndiana system. User and group mapping works correctly on NFSv4 clients. However, when we add a local user/group in OpenIndiana box and

[OpenIndiana-discuss] should there be a network inplace on first boot

2013-04-25 Thread Harry Putnam
Once installed and on first boot of newly installed OS. Should there be a network in place or does all that need to be done once os is running before the pkg tool can be used . The install itself is able to create a network but then it seems the booted OS is back to square 1.

Re: [OpenIndiana-discuss] NFS exported dataset crashes the system

2013-04-25 Thread Peter Wood
If we create local users in /etc/passwd and /etc/groups, can you please tell us how to refresh NFSv4 server to update the user mapping table in Openindiana?. How do you face this issue?. If we restart the NFS service in Openindiana, using /etc/init.d/nfs restart, will NFSv4 clients reconnect