Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
Search:  
Power your search with and, or, +, -, or "some phrase" operators.
samba mounting start before ethernet up during booting-solved

samba mounting start before ethernet up during booting-solved

2005-08-01       - By M E Fieu

 Back
Hi..I upgraded my linux kernel to 2.4.21-32.0.1.EL, the problem resolved. Now
the mounting is
actually done by S88smbmount script with the following entry

mount -t smbfs -o username=mcg_iur,password=mcg1234 //SPM/IURdownload /mounted
_spm_dir

But this mount will mount under root, is that possible to change the command
and mount using linux
id=mcg  , uid=403, gid=504 ???

--- M E Fieu <sibu168@(protected)> wrote:

> > the network script should add that route if it is
> > properly set in the right config files
> >
> > as was previously mention, create the file
> > /etc/sysconfig/static-route{s} (I can remenber if
> > there is an "s" at the end or not)
> > with the content:
> > -net 172.16.1.0 netmask 255.255.255.0 gw 172.16.12.1
>
> Hi..Sorry for the confusion. In fact, I added static route with two methods,
> 1)/etc/sysconfig/static-routes and 2)/etc/rc.d/rc5.d/S22local.
>
> Both doesn't help the mounting to mount during boot.  
>
> > it is the argument to: "route add" command
> >
> > > I also create S99smbmount of entry "mount -t smbfs
> > > -o username=mcg_iur,password=mcg1234
> > > //SPM/IURdownload /mounted_spm_dir" but the mounting
> > > also never happen.  
> >
> > with the error you mention: "No route to host" ?
> > or that error is only from the netfs script ?
> >
>
> Also for mounting, I specified the mount in two portion too 1)/etc/fstab
> 2)/etc/rc.d/rc5.d/S99smbmount with that mounting command
>
> But both doesn't work.  I can let u see the error message during booting, it
seems tried to
> mount
> two time and both failed. See below with <---(1) and (2)
>
> Jul 31 03:18:13 APMCG1 kernel: eth1: Scatter-gather ON, 64-bit DMA ON, Tx
Checksum ON, Rx
> Checksum
> ON, 802.1Q VLAN ON, NAPI ON
> Jul 31 03:18:13 APMCG1 kernel: ip_tables: (C) 2000-2002 Netfilter core team
> Jul 31 03:18:14 APMCG1 kernel: e1000: eth2: e1000_watchdog: NIC Link is Up
100 Mbps Full Duplex
> Jul 31 03:18:14 APMCG1 kernel: bonding: bond0: link status definitely up for
interface eth2.
> Jul 31 03:18:14 APMCG1 kernel: e1000: eth3: e1000_watchdog: NIC Link is Up
100 Mbps Full Duplex
> Jul 31 03:18:14 APMCG1 kernel: bonding: bond0: link status definitely up for
interface eth3.
> Jul 31 03:18:14 APMCG1 kernel: ip_tables: (C) 2000-2002 Netfilter core team
> Jul 31 03:18:14 APMCG1 kernel: bcm5700: eth0 NIC Link is UP, 1000 Mbps full
duplex
> Jul 31 03:18:14 APMCG1 kernel: bcm5700: eth1 NIC Link is UP, 1000 Mbps full
duplex
> Jul 31 03:18:14 APMCG1 mount: Error connecting to 172.16.1.21 (No route to
host)<-- ---(1)
> Jul 31 03:18:14 APMCG1 mount: 2237: Connection to SPM failed
> Jul 31 03:18:14 APMCG1 mount: SMB connection failed
> Jul 31 03:18:14 APMCG1 netfs: Mounting SMB filesystems:  failed
> Jul 31 03:18:15 APMCG1 netfs: Mounting other filesystems:  succeeded
> Jul 31 03:18:15 APMCG1 autofs: automount startup succeeded
> Jul 31 03:18:16 APMCG1 sshd:  succeeded
> Jul 31 03:18:16 APMCG1 xinetd: xinetd startup succeeded
> Jul 31 03:18:18 APMCG1 xinetd[2292]: xinetd Version 2.3.12 started with
libwrap loadavg options
> compiled in.
> Jul 31 03:18:18 APMCG1 xinetd[2292]: Started working: 1 available service
> Jul 31 03:18:19 APMCG1 postfix:  succeeded
> Jul 31 03:18:20 APMCG1 sendmail: sendmail startup succeeded
> Jul 31 03:18:20 APMCG1 sendmail: sm-client startup succeeded
> Jul 31 03:18:20 APMCG1 gpm: gpm startup succeeded
> Jul 31 03:18:22 APMCG1 httpd: httpd startup succeeded
> Jul 31 03:18:29 APMCG1 smbmount: Error connecting to 172.16.1.21 (No route to
host)<----  (2)
> Jul 31 03:18:29 APMCG1 smbmount: 2406: Connection to SPM failed
> Jul 31 03:18:29 APMCG1 smbmount: SMB connection failed
> Jul 31 03:18:29 APMCG1 rc: Starting smbmount:  failed
> Jul 31 03:18:29 APMCG1 crond: crond startup succeeded
> Jul 31 03:18:30 APMCG1 xfs: xfs startup succeeded
> Jul 31 03:18:30 APMCG1 atd: atd startup succeeded
> Jul 31 03:18:31 APMCG1 rhnsd: rhnsd startup succeeded
> Jul 31 03:18:31 APMCG1 rhnsd[2467]: Red Hat Network Services Daemon starting
up.
> Jul 31 03:18:31 APMCG1 xfs: ignoring font path element /usr/X11R6/lib/X11
/fonts/cyrillic
> (unreadable)
> Jul 31 03:18:31 APMCG1 mdmonitor: mdadm startup succeeded
> Jul 31 03:18:31 APMCG1 mdmonitor: mdadm succeeded
> Jul 31 03:18:33 APMCG1 modprobe: modprobe: Can't locate module char-major-10
-134
> Jul 31 03:19:19 APMCG1 sshd(pam_unix)[2555]: session opened for user root by
(uid=0)
>
>
>
> __ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
>
> --
> Taroon-list mailing list
> Taroon-list@(protected)
> http://www.redhat.com/mailman/listinfo/taroon-list
>


__ ____ ____ ____ ____ ____ ____ ____ ____ ____ __
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around
http://mail.yahoo.com

--
Taroon-list mailing list
Taroon-list@(protected)
http://www.redhat.com/mailman/listinfo/taroon-list

Earn $52 per hosting referral at Lunarpages.