Networking Forums

Networking Forums > Computer Networking > Linux Networking > Linux NIS Problems

Reply
Thread Tools Display Modes

Linux NIS Problems

 
 
Owen Funkhouser
Guest
Posts: n/a

 
      09-15-2005, 11:21 PM
Upon boot, I am having to execute the following commands using "root" to
allow users to connect via NIS. I'd prefer that this be done
automatically on boot.

domainname in
service ypbind start
service autofs start

Why is this not started by default?

Below are additional details surrounding the problem:

[root]# chkconfig --list ypbind
ypbind 0ff 1ff 2n 3n 4n 5n 6ff
[root]# service ypbind status
ypbind is stopped

[root]# chkconfig --list autofs
autofs 0ff 1ff 2ff 3n 4n 5n 6ff
[root]# service autofs status
Configured Mount Points:
------------------------

Active Mount Points:
--------------------

Inside my /etc/yp.conf file, I have the following (the NIS server has
been renamed for this post):
domain in server my.nis.server.com

Inside my /etc/hosts file, I have mapped an IP address to the NIS server.

Inside my /etc/inittab file, I have:
id:5:initdefault:

To take a stab in the dark, it appears that since "domainname" is not
getting set that the ypbind and autofs services are failing to start.
However, I thought by configuring the yp.conf file would fix this.

Help?
 
Reply With Quote
 
 
 
 
Owen Funkhouser
Guest
Posts: n/a

 
      09-15-2005, 11:58 PM
Owen Funkhouser wrote:
> Upon boot, I am having to execute the following commands using "root" to
> allow users to connect via NIS. I'd prefer that this be done
> automatically on boot.
>
> domainname in
> service ypbind start
> service autofs start
>
> Why is this not started by default?
>
> Below are additional details surrounding the problem:
>
> [root]# chkconfig --list ypbind
> ypbind 0ff 1ff 2n 3n 4n 5n 6ff
> [root]# service ypbind status
> ypbind is stopped
>
> [root]# chkconfig --list autofs
> autofs 0ff 1ff 2ff 3n 4n 5n 6ff
> [root]# service autofs status
> Configured Mount Points:
> ------------------------
>
> Active Mount Points:
> --------------------
>
> Inside my /etc/yp.conf file, I have the following (the NIS server has
> been renamed for this post):
> domain in server my.nis.server.com
>
> Inside my /etc/hosts file, I have mapped an IP address to the NIS server.
>
> Inside my /etc/inittab file, I have:
> id:5:initdefault:
>
> To take a stab in the dark, it appears that since "domainname" is not
> getting set that the ypbind and autofs services are failing to start.
> However, I thought by configuring the yp.conf file would fix this.
>
> Help?


Found the problem. The NISDOMAIN variable in the /etc/sysconfig/network
file (which is sourced by /etc/rc.d/init.d/ypbind) was set to an
incorrect value.
 
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Linux NFS fsync problems byaarov@yahoo.com Linux Networking 4 05-01-2008 12:14 AM
Problems with VPN over NAT / Linux 2.6 John Fjoldstad Linux Networking 1 03-29-2006 01:47 PM
Linux-Wlan Problems Michael Heath Linux Networking 0 12-13-2003 05:46 AM
linux-wlan problems! hosk Linux Networking 0 10-03-2003 02:12 AM
Linux wlan-ng configuration problems (LINUX) matty-x Wireless Internet 2 09-05-2003 09:18 AM



1 2 3 4 5 6 7 8 9 10 11