Re: [gentoo-user] nfs and samba doesn't mount at boot

2006-09-25 Thread Pawel K
> Can you post the output of "rc-update show".
> Snowballs chance but I
> have an idea.

Thanx Drew. Below is my "rc-update show":

bootmisc | boot   
  
 checkfs | boot   
  
   checkroot | boot   
  
   clock | boot   
  
 consolefont | boot   
  
 gpm |  default   offline 
  
hostname | boot   
  
 keymaps | boot   
  
   local |  default nonetwork offline 
  
  localmount | boot   
  
 metalog |  default   offline 
  
 modules | boot   
  
net.eth0 |  default   
  
  net.lo | boot   
  
netmount |  default   
  
nfsmount |  default   
  
 portmap |  default   
  
   rmnologin | boot   
  
  serial | boot   
  
sshd |  default   
  
 urandom | boot   
  
  vixie-cron |  default   offline 
  
  vmware |  default   offline 
  
 xdm |  default   offline 
  

-pk

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nfs and samba doesn't mount at boot

2006-09-22 Thread Drew

Do You have any idea what can be wrong ?
Thank You for help.

-at


Can you post the output of "rc-update show". Snowballs chance but I
have an idea.


-Drew
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nfs and samba doesn't mount at boot

2006-09-22 Thread Pawel K
> It looks like an dependency problem on your init
scripts.
> Did you tried to run "depscan.sh"? it should fix
init.d dependencies.

depscan.sh didn't help.
I find that when I remove xdm from default runlevel
everything works fine.
I can also see that when stopping xdm via:
/etc/init.d/xdm stop
I receive error message.
My xdm depend() section looks like:
depend() {
need localmount

# this should start as early as possible
# we can't do 'before *' as that breaks it
# (#139824) Start after ypbind and autofs for
network authentication
# (#145219) Could use lirc mouse as input
device
after bootmisc readahead-list ypbind autofs
openvpn gpm netmount lircd
before alsasound net.lo

# Start before X
use acpid hald xfs
}

Do You have any idea what can be wrong ?
Thank You for help.

-at

--- Alan McKinnon <[EMAIL PROTECTED]> wrote:

> On Friday 15 September 2006 17:46, Pawel K wrote:
> > Hello
> > NFS and SAMBA doesn't mount at boot:
> >
> > 1. NFS
> >
> > I receive the following message at boot:
> > Sep 15 14:34:34 [rc-scripts] ERROR:  cannot start
> > nfsmount as net.eth0 could not start
> > Sep 15 14:34:35 [rc-scripts] ERROR:  cannot start
> > netmount as net.eth0 could not start
> 
> [snip]
> 
> > Do You have any idea what can be wrong with my
> > configuration ?
> 
> The answer is right there in the error messages. The
> scripts 
> cannot bring up your eth0 interface, so there's a
> snowball's 
> chance in hell of nfs or samba ever working until
> that's fixed.
> 
> You need to find out why networking isn't coming up.
> Start 
> with /etc/conf.d/net and the output from ifconfig. 
> 
> Can you use ifconfig to bring the interface up
> manually? 
> Run /etc/init.d/net.eth0 and inspect the output
> closely, 
> that'll give you further clues.
> 
> alan
> 
> 
> -- 
> gentoo-user@gentoo.org mailing list
> 
> 



__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] nfs and samba doesn't mount at boot

2006-09-18 Thread Claudinei Matos
It looks like an dependency problem on your init scripts.Did you tried to run "depscan.sh"? it should fix init.d dependencies.Claudinei MatosOn 9/18/06, 
Pawel K <[EMAIL PROTECTED]> wrote:
> Run /etc/init.d/net.eth0 and inspect the output> closely,Thanx for an answer.Yes I can start /et/init.d/net.eth0 manually. It isalso started at boot correctly.It looks like nfsmount is started before 
net.eth0 atboot:INIT: Entering runlevel: 3* Starting metalog ...  [ ok ]* Starting gpm ...  [ ok ]* Starting portmap ...  [ ok ]* ERROR:  cannot start nfsmount as 
net.eth0 could notstart* ERROR:  cannot start netmount as net.eth0 could notstart* Setting up xdm ...  [ ok ]* Starting eth0*   Configuration not set for eth0 - assuming DHCP
*   Bringing up eth0* dhcp*   Running dhcpcd ...  [ ok ]*   eth0 received address 172.18.129.98/22The following sequence of commands works fine:
/etc/init.d/net.eth0 stop/etc/init.d/nfsmount startnfsmount also brings up eth0 interface.No error messages are displayed.The depend() of /etc/init.d/nfsmount looks like:depend() {  need net portmap
  use ypbind}and net.eth0:depend() {need localmountafter bootmisc hostnameuse isapnp isdn pcmcia usb wlan# Load any custom depend functions for the
given interface# For example, br0 may need eth0 and eth1local iface="${SVCNAME#*.}"[[ $(type -t "depend_${iface}") == "function"]] && depend_${iface}
[[ ${iface} != "lo" && ${iface} != "lo0" ]] &&after net.lo net.lo0return 0}Do You have any idea what can be wrong ?thank You for help



Re: [gentoo-user] nfs and samba doesn't mount at boot

2006-09-18 Thread Alan McKinnon
On Friday 15 September 2006 17:46, Pawel K wrote:
> Hello
> NFS and SAMBA doesn't mount at boot:
>
> 1. NFS
>
> I receive the following message at boot:
> Sep 15 14:34:34 [rc-scripts] ERROR:  cannot start
> nfsmount as net.eth0 could not start
> Sep 15 14:34:35 [rc-scripts] ERROR:  cannot start
> netmount as net.eth0 could not start

[snip]

> Do You have any idea what can be wrong with my
> configuration ?

The answer is right there in the error messages. The scripts 
cannot bring up your eth0 interface, so there's a snowball's 
chance in hell of nfs or samba ever working until that's fixed.

You need to find out why networking isn't coming up. Start 
with /etc/conf.d/net and the output from ifconfig. 

Can you use ifconfig to bring the interface up manually? 
Run /etc/init.d/net.eth0 and inspect the output closely, 
that'll give you further clues.

alan


-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] nfs and samba doesn't mount at boot

2006-09-15 Thread Pawel K
Hello
NFS and SAMBA doesn't mount at boot:

1. NFS

I receive the following message at boot:
Sep 15 14:34:34 [rc-scripts] ERROR:  cannot start
nfsmount as net.eth0 could not start
Sep 15 14:34:35 [rc-scripts] ERROR:  cannot start
netmount as net.eth0 could not start

/etc/fstab:
remote_machine:/home/user/ /mnt_point nfs rw 0 0

I have both portmap and nfsmount running

The following command works fine:
/etc/init.d/nfsmount start

2. SAMBA

It also doesn't mount at boot.
I don't receive any message. It just doesn't mount.

/etc/fstab:
//1.2.3.4/specs /specs smbfs
defaults,ro,username=myname,password=mypass 0 0

But the following command works fine:
mount /specs

My Gentoo has been upgraded 3 weeks ago to 2006.1
portage. I have performed etc-update so my configs are
ok.
I think that it has stopped working after that.
I'm using the kernel: 2.6.15.1

Do You have any idea what can be wrong with my
configuration ?

Thank You for help

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
-- 
gentoo-user@gentoo.org mailing list