Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

PROBLEM WITH AUTOMOUNTER

Status
Not open for further replies.

evanski25

MIS
Mar 17, 2003
2
PH
I tested HP-UX 11 automounter on two work station exporting /home and its working fine. All the users given authority to check the directory can access it by login in the CDE.

The Problem NOW: I tried to impliment it with our real server L-Series and copied the configuration. but i have this login promblem at CDE!!!

here is the warning that i get:

A session cannot be started bec. of the following error:

The authentication file - /.ICEauthority could not be created,
If the files - /.ICEauthority-c and - /.ICEauthority-l exist, they must be removed before your session can be started.

here is the configuration i made to my Server and Client station:
-----SERVER-----

# cd /etc
# vi exports
/home -rw="workstation name" or "ipaddress"
:wq!


# cd /etc/rc.config.d
#
# vi nfsconf
NFS_CLIENT=1
NFS_SERVER=1
NUM_NFSD=4
NUM_NFSIOD=4
PCNFS_SERVER=0

AUTOMOUNT=1
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"

START_MOUNTD=1

AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""

# wq!

stop & start Server via command line

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

CONFIGURATION COMPLETE!!!


-----CLIENT-----

# cd /etc
# vi auto_master

/net -hosts -nosuid,soft
/home /etc/auto_home -nobrowse,soft,intr,timeout=60,nosuid
:wq!


# vi auto_home

"user name" -suid,rw,intr,soft "SERVER":/home/&

# :wq!

# cd /etc

# vi fstab ---Edit /home to /home2---
/dev/vg00/lvol3 / vxfs delaylog 0 1
/dev/vg00/lvol1 /stand hfs defaults 0 1
/dev/vg00/lvol5 /opt vxfs delaylog 0 2
/dev/vg00/lvol6 /tmp vxfs delaylog 0 2
/dev/vg00/lvol7 /usr vxfs delaylog 0 2
/dev/vg00/lvol8 /var vxfs delaylog 0 2
/dev/vg00/lvol4 /home2 vxfs delaylog 0 2

:wq!

# cd /
# mkdir /home2

# umount /home ---must be in "/"---

# cd /etc/rc.config.d

# vi nfsconf
NFS_CLIENT=1
NFS_SERVER=0
NUM_NFSD=4
NUM_NFSIOD=4
PCNFS_SERVER=0

AUTOMOUNT=1
cp: cannot access nfsconf: No such file or directory
AUTO_MASTER="/etc/auto_master"
AUTO_OPTIONS="-f $AUTO_MASTER"

START_MOUNTD=1

AUTOFS=1
AUTOMOUNT_OPTIONS=""
AUTOMOUNTD_OPTIONS=""

# :wq!

stop & start Server via command line

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

CONFIGURATION COMPLETE!!!


Hope somebody out there can help me!

thanks!!!
evan
 
Hey Guys I solved my problem!!! theres alittle difference in syntax configuration between an ordinary workstation acting as server and a real server!

I change the syntax in /etc/exports in my server!!!

how sweet it is!!! Its now working very fine!
 
What was the syntax changed you did in /etc/exports file?

I get same error message but I am trying to x-window from pc to hp-unix box with Exceed.
 
first make sure that the workstation that will access the export file is listed in your /etc/hosts.

at /etc/exports -> server
here's the syntax i used:

/home -access=workstation1:workstation2 and etc

hope this help man
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top