Operating System - HP-UX
1755036 Members
2701 Online
108828 Solutions
New Discussion

Error in make_net_recovery command

 
SOLVED
Go to solution
Taurian
Valued Contributor

Error in make_net_recovery command

 

Hello All,

 

 

I am receiving the following error when I run the make_net_recovery command from the Ignite-UX GUI:

 

WARNING: Could not open client status file "/var/opt/ignite/recovery/client_mnt/0x2C27H2F32380/recovery/client_status" :Permission denied (errno = 13).
...
...
ERROR: Could not make directory "/var/opt/ignite/recovery/client_mnt/0x2C27H2F32380/recovery/2012-06-21,09:37" : Permission denied (errno = 13).
...
...
ERROR: Failed creating directory "/var/opt/ignite/recovery/client_mnt/0x2C27H2F32380/recovery/2012-06-21,09:37" Permission denied (errno = 13) to store configuration files for client
ERROR: Failed to create NFS mount directories for configuration files.
...
...

 

 

I have checked permissions for the files and directories mentioned in above paths. I even gave "chown -R bin:bin /var/opt/ignite/", but I am still receiving errors. Below is the output of "ls -la /var/opt/ignite/recovery":

drwxrwxrwx 2 bin bin 8192 May 31 18:00 2012-05-31,17:58
drwxrwxrwx 2 bin bin 8192 Jun 5 17:38 2012-06-05,17:24
drwxrwxrwx 2 bin bin 96 Jun 5 21:16 2012-06-05,21:16
drwxrwxrwx 6 bin bin 96 Jun 19 12:54 archives
drwxrwxrwx 3 bin bin 96 Jun 20 16:18 client_mnt
-rwxrwxrwx 1 bin bin 67 Jun 5 21:16 client_status
lrwxr-x--- 1 root sys 16 Jun 5 21:16 latest -> 2012-06-05,21:16
-rwxrwxrwx 1 bin bin 128 Jun 5 17:26 previews


I have also tried the solutions I could find in other threads, none of them are working.

A bit of history: The Ignite-UX operations were running fine. I could make archives of clients, and very smoothly could restore them. There were no issues whatsoever. I then had to remove the directories on which the ignite backups were stored as they were only for testing purposes. I deleted them from the OS as I could not find any options in the Ignite-UX GUI to remove previous archives. Could this have created any issues?

I am running the following versions:

 

HP-UX 11.31
Ignite-UX C.7.12.519

 

Let me know if any other information is required.

Please help to remove the error.

 

Thanks,
Taurian.

10 REPLIES 10
pradeep m
Respected Contributor

Re: Error in make_net_recovery command

Hi Taurian,

Try to refresh client system from the Ignite-UX server and then try the make_net_recovery on the client.

 

To refresh the client, From the Ignite-UX GUI, select the client --> Go to Actions Menu --> choose "Refresh Client" 

 

Refreshing the client would reestablish the connection between Ignite-UX server and client and update the client status in the ignite-ux server. 

 

If the issue still persists, you can try to delete the client and re-add the client from Ignite-UX server.

 

Hope this helps.

 


Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Dennis Handly
Acclaimed Contributor

Re: Error in make_net_recovery command

What does "bdf /var/opt/ignite/recovery" show?

If this is a NFS client, how is this exported?

Taurian
Valued Contributor

Re: Error in make_net_recovery command

 

Hi Pardeep,

 

Thanks for your reply.

 

I have already tried refreshing the client. The refresh works OK. But the error still persists.

 

I have also tried to delete and then add the client. Client deletes and adds fine. But the errors still persists.

 

Regards,

Taurian.

Taurian
Valued Contributor

Re: Error in make_net_recovery command

 

Hi Dennis,

 

Thanks for your reply.

 

The following is the entry in the /etc/dfs/dfstab file:

 

/usr/sbin/share -F nfs -o rw -d "" /var/opt/ignite/clients -

/usr/sbin/share -F nfs -o rw -d "" /var/opt/ignite/recovery -

 

I can mount the directories manually on the client systems.

 

 

Regards,

Taurian.

pradeep m
Respected Contributor

Re: Error in make_net_recovery command

 

Run the make_net_recovery command from the client system and check if you get any errors:

 

From Ignite-UX Client System:

# make_net_recovery -s <iux_server> -i

 

Make sure the NFS services are running on both the Ignite-UX Server and client systems.

Start the NFS services.

# /sbin/init.d/nfs.server start

# /sbin/init.d/nfs.client start

 

Also make sure you have the below directory in Ignite-UX server

 

#ll /var/opt/ignite/clients/0x2C27H2F32380/recovery/


Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Taurian
Valued Contributor

Re: Error in make_net_recovery command

 

Hi Pradeep,

 

Thanks for your reply.

 

I checked permissions for "/var/opt/ignite/clients". Some files permissions were not set correctly. I did "chown -R bin:bin /var/opt/ignite/clients/". Now the errors have reduced, as shown below. This is the command I ran on the client.

 

# make_net_recovery -s agbign -i
* Creating NFS mount directories for configuration files.
ERROR: Could not make directory: /var/opt/ignite/recovery/client_mnt/0x2C27D7A1D680/recovery: Permission denied (errno = 13)
ERROR: Failed creating the directory /var/opt/ignite/recovery/client_mnt/0x2C27D7A1D680/recovery:Permission denied (errno = 13)

ERROR: Failed to create NFS mount directories for configuration files.

======= 06/21/12 11:43:54 PST make_net_recovery completed unsuccessfully

 

 

 

 

The /var/opt/ignite/recovery/client_mnt/0x2C27D7A1D680/recovery directory exists and it's permissions are also correct. I don't know why the above is showing up.

 

Regards,

Taurian.

Dennis Handly
Acclaimed Contributor
Solution

Re: Error in make_net_recovery command

>The following is the entry in the /etc/dfs/dfstab file:

>/usr/sbin/share -F nfs -o rw -d "" /var/opt/ignite/clients -

>/usr/sbin/share -F nfs -o rw -d "" /var/opt/ignite/recovery -

 

I don't think this is good enough.  The default is "root is less than dirt", nobody.

You need to change to: -o rw,anon=2

pradeep m
Respected Contributor

Re: Error in make_net_recovery command


Check if the "/var/opt/ignite/client_mnt/<MACADDR>/recovery" directory permissions are set correctly. 


Make sure you have the permission set to -rwxr-xr-x (755) or -rwxrwxrwx (777).

 

 

Regards,
Pradeep

I am an HP Employee
A quick resolution to technical issues for your HP Enterprise products is just a click away HP Support Center Knowledge-base
See Self Help Post for more details


Taurian
Valued Contributor

Re: Error in make_net_recovery command

 

Hi Dennis,

 

Awesome......that did the trick. Now I am not getting the error. These are the entries I put in /etc/dfs/dfstab.

 

/usr/sbin/share -F nfs -o sec=sys,anon=2 -d "" /var/opt/ignite/clients -
/usr/sbin/share -F nfs -o sec=sys,anon=2 -d "" /var/opt/ignite/recovery -

 

 

regards,

Mohammad Yasir Azam.