Koozali.org: home of the SME Server

Linux Workstations on SME

crimsonline

Linux Workstations on SME
« Reply #60 on: January 28, 2005, 10:01:35 PM »
sorry ...i dont have auto.master in /etc/
just had an tripple espresso :pint:

Damian

Linux Workstations on SME
« Reply #61 on: January 28, 2005, 10:06:57 PM »
Yes you need one. It should contain:

/home auto.home

Make sure that its a TAB between /home and auto.home - not a space.

Then run push

Just had a large Donner Kebab with extra chilli sauce (ouch!)

Damian

crimsonline

Linux Workstations on SME
« Reply #62 on: January 28, 2005, 10:11:19 PM »
done.

i get;
[root@server yp]# ./push
gmake[1]: Entering directory /var/yp/crimson'
Updating passwd.byname...
Updating passwd.byuid...
Updating shadow.byname... Ignored -> merged with passwd
gmake[1]: Leaving directory /var/yp/crimson'

Damian

Linux Workstations on SME
« Reply #63 on: January 28, 2005, 10:28:22 PM »
OK,

Now retry:

On SUSE, do you get this ....

# ypcat auto.home
192.168.2.X:/home/e-smith/files/users/&/home

where X is the ip of your NIS server.?

If so, on SUSE try "su - louis"

If successful does "df -k ." show that you're on the NFS mount of SME ?

Damian

crimsonline

Linux Workstations on SME
« Reply #64 on: January 28, 2005, 10:37:53 PM »
On SUSE:
# ypcat auto.home
192.168.2.100:/home/e-smith/files/users/&/home

#su - louis
su: warning: cannot change directory to /home/louis: no such file or directory

Louis

Damian

Linux Workstations on SME
« Reply #65 on: January 28, 2005, 10:41:53 PM »
Louis,

rcautofs restart

On SUSE

Damian

crimsonline

Linux Workstations on SME
« Reply #66 on: January 28, 2005, 10:56:32 PM »
Damian,
suse:

#rcautofs restart
no problem, but

#su - louis
su: warning: cannot change directory to /home/louis: no such file or directory

I can "su louis" but not "su - louis"

if we get this right, what is still left? how would i mount "map" a drive so samba in suse?

Louis

Damian

Linux Workstations on SME
« Reply #67 on: January 28, 2005, 10:59:47 PM »
Louis,

Can you post the last (relevant) error lines from SME's /var/log/messages. That should tell us what's causing the last problem.

You probably won't need samba if this is going. If you want to mount the ibays you could use this method or use smbmount by putting lines in SUSE's /etc/fstab file to mount the ibays.

Damian

crimsonline

Linux Workstations on SME
« Reply #68 on: January 28, 2005, 11:08:41 PM »
Jan 29 01:12:06 server syslogd 1.4.1: restart.
Jan 29 01:12:06 server e-smith[2285]: S65reload-syslogd=action|Event|logrotate|Action|S65reload-syslogd|Start|1106953925 452672|End|1106953926 112185|Elapsed|0.659513
Jan 29 01:12:06 server e-smith[2285]: Running event handler: /etc/e-smith/events/logrotate/S65restart-httpd-graceful
Jan 29 01:12:07 server httpd-e-smith: httpd -USR1 succeeded
Jan 29 01:12:12 server e-smith[2285]: Gracefully reloading httpd: [   OK   ]^M
Jan 29 01:12:12 server e-smith[2285]: S65restart-httpd-graceful=action|Event|logrotate|Action|S65restart-httpd-graceful|Start|1106953926 112648|End|1106953932 355375|Elapsed|6.242727
Jan 29 01:12:12 server e-smith[2285]: Running event handler: /etc/e-smith/events/logrotate/S70reload-httpd-admin
Jan 29 01:12:13 server httpd-admin: httpd-admin -USR1 succeeded
Jan 29 01:12:13 server e-smith[2285]: Gracefully reloading e-smith httpd-admin: [   OK   ]^M
Jan 29 01:12:13 server e-smith[2285]: S70reload-httpd-admin=action|Event|logrotate|Action|S70reload-httpd-admin|Start|1106953932 355896|End|1106953933 320086|Elapsed|0.96419
Jan 29 01:12:13 server e-smith[2285]: Running event handler: /etc/e-smith/events/logrotate/S75purge-old-logs
Jan 29 01:12:13 server e-smith[2285]: S75purge-old-logs=action|Event|logrotate|Action|S75purge-old-logs|Start|1106953933 320592|End|1106953933 670642|Elapsed|0.35005
Jan 29 01:17:43 server sshd[2365]: Accepted password for root from 192.168.2.111 port 1083 ssh2
Jan 29 01:17:43 server sshd(pam_unix)[2367]: session opened for user root by root(uid=0)
Jan 29 01:21:31 server rpc.mountd: refused mount request from 192.168.2.11 for /home/e-smith/files/users/louis/home (/): no export entry
Jan 29 01:22:09 server last message repeated 4 times
Jan 29 01:37:10 server last message repeated 2 times
Jan 29 01:52:22 server last message repeated 29 times
Jan 29 01:52:43 server last message repeated 21 times
Jan 29 01:54:34 server rpc.mountd: export request from 192.168.2.11
Jan 29 01:54:45 server rpc.mountd: refused mount request from 192.168.2.11 for /home/e-smith/files/users/New (/): no export entry
Jan 29 01:54:59 server rpc.mountd: refused mount request from 192.168.2.11 for /home/e-smith/files/users (/): no export entry
Jan 29 01:55:34 server rpc.mountd: refused mount request from 192.168.2.11 for /home/e-smith/files/users/louis/home (/): no export entry
Jan 29 02:07:35 server sshd[2520]: Accepted password for root from 192.168.2.111 port 1084 ssh2
Jan 29 02:07:35 server sshd(pam_unix)[2522]: session opened for user root by root(uid=0)
Jan 29 02:08:01 server sshd[2520]: subsystem request for sftp
Jan 29 02:08:01 server sshd(pam_unix)[2567]: session opened for user root by (uid=0)

Damian

Linux Workstations on SME
« Reply #69 on: January 28, 2005, 11:32:47 PM »
OK,

It seems you aren't exporting the required directories from SME. Check the SME file /etc/exports contains:

/home/e-smith/files/ibays       192.168.2.0/24(rw)

Then on SME run

/etc/init.d/nfs restart

and still on SME run and post the output of:

exportfs

If it shows something like:

/home/e-smith/files/users
                192.168.2.0/24

Then you're ready to try "su - louis" on SUSE again.

Damian

Damian

Linux Workstations on SME
« Reply #70 on: January 28, 2005, 11:44:22 PM »
Oops :idea:

I mean, /etc/exports on SME contains:

/home/e-smith/files/users 192.168.2.0/24(rw)

My fault - I don't export users on this SME server - just ibays.

Damian

crimsonline

Linux Workstations on SME
« Reply #71 on: January 28, 2005, 11:56:09 PM »
Damian,
i did not have
/home/e-smith/files/ibays       192.168.2.0/24(rw)
but i had
/home/e-smith/files/users      192.168.2.0/24(rw)
 i replaced users with ibays (right?)

Then on SME run
/etc/init.d/nfs restart
did that!

#exportfs
/home/e-smith/files/ibays
                192.168.2.0/24

Then you're ready to try "su - louis" on SUSE again.
i still get
su: warning: cannot change directory to /home/louis: No such file or directory

Louis

crimsonline

Linux Workstations on SME
« Reply #72 on: January 29, 2005, 12:05:38 AM »
:-D
ok changed it back to users
did the nfs restart
exportfs
/home/e-smith/files/users
192.168.2.0/24
suse....
rcautofs restart

ypcat auto.home
192.168.2.100:/home/e-smith/files/users/&/home

su - louis
password:
su: warning: cannot ...... :hammer:

Damian

Linux Workstations on SME
« Reply #73 on: January 29, 2005, 12:09:40 AM »
Louis,

Zip over to the online help / chat

We'll finish it there (or skype if you have it)

Damian

crimsonline

Linux Workstations on SME
« Reply #74 on: January 30, 2005, 09:57:24 AM »
damian,
I'm busy making a howto but once again i'm stuck at the push command:
[root@fileserver yp]# /var/yp/push
gmake[1]: Entering directory /var/yp/platinum'
gmake[1]: *** No rule to make target /etc/shadow.dist', needed by passwd.byname'.  Stop.
gmake[1]: Leaving directory /var/yp/platinum'
make: *** [target] Error 2