help with system problem in solaris2.4

help with system problem in solaris2.4

Post by Arthur Wo » Tue, 11 Nov 1997 04:00:00



i have been having what is clearly a systems problem on a sparc2
running solaris2.4. i believe that some permissions have been changed
somewhere, but this was done before i got possession of the machine.
the problem surfaced when i tried to format, mount, and read and
write on diskettes. i finally was able to achieve all of those but
found that unless i did something about vold, i could not proceed.

with vold running, i can 'fdformat' and 'fdformat -d' and 'eject', but
i cannot 'mount -F ufs /dev/diskette /mnt' or the equivalent for
dos-type diksettes..

if i kill vold, then i can 'mount -F ufs /dev/diskette /mnt', write
and read diskettes, but i cannot 'fdformat' and 'fdformat -d' and
'eject'.

so what i do is kill vold  to actually use the diskettes. thus i have
a workaround, which i would like to avoid, and have the system behave
properly.

when i log shutdown with telinit 0 i get the following message:

nfs umount: sasha:vold(pid199) server not responding: RPC: Program not
registered.

the boot which follows has no error messages.

when i look into /var/adm/vold.log after a reboot, i find a series of
error messages which lead me to an interesting place.

there are four lines which essentially say the same thing. here is the
first of them:

Wed Oct 22 10:45:22 1997 warning config file (/etc/vold.conf) line
19: /bin/volcheck;/usr/sbin/rmmount; No such file or directory

the others replace 19 with 20, 21,22.

ls -l /bin/volcheck /usr/sbin/rmmount yields

-r-sr-xr-x    1  root   bin    4872  Jul 15  1994  /bin/volcheck
-r-sr-xr-x    1  bin    bin   37260  Jul 15  1994  /usr/sbin/rmmount

so the files in question are actually present.

when i look at /etc/vold.conf, what do i find in lines 19-22?

#Actions
insert /vol*/dev/diskette[0-9]/* user=root /bin/volcheck;/usr/sbin/rmmount -D
insert /vol*/dev/dsk/* user=root /bin/volcheck;/usr/sbin/rmmount -D
eject /vol*/dev/diskette[0-9]/* user=root /bin/volcheck;/usr/sbin/rmmount -D
eject /vol*/dev/dsk/* user=root /bin/volcheck;/usr/sbin/rmmount -D

this explains the above error messages, but they make no sense. can
anyone point to an obvious error in file ownership or permissions
which would explain why rmmount and cvolcheck cannot be found on boot,
or later?

is it the permisions -r-sr-xr-x for these files? what should they be?
--
experience is what allows a person to make new mistakes, instead of
the old ones.

 
 
 

help with system problem in solaris2.4

Post by Martin Pa » Wed, 12 Nov 1997 04:00:00


: with vold running, i can 'fdformat' and 'fdformat -d' and 'eject', but
: i cannot 'mount -F ufs /dev/diskette /mnt' or the equivalent for
: dos-type diksettes..

if volume manager is in control, the corresponding device file
entries can be found under /vol/dev/* (e.g. /vol/dev/aliases/floppy0).

: so what i do is kill vold  to actually use the diskettes. thus i have
: a workaround, which i would like to avoid, and have the system behave
: properly.

yup - so don't kill it, and use mount like above. You can also
get mtools, the newer versions are vold-aware, and it gives you
more of a DOS feeling (mdir, mcopy, ...).

: when i log shutdown with telinit 0 i get the following message:

: nfs umount: sasha:vold(pid199) server not responding: RPC: Program not
: registered.

: the boot which follows has no error messages.

i seem to remember that this is a bug, and there is a patch for it.
Check sunsolve.

: when i look into /var/adm/vold.log after a reboot, i find a series of
: error messages which lead me to an interesting place.

: there are four lines which essentially say the same thing. here is the
: first of them:

: Wed Oct 22 10:45:22 1997 warning config file (/etc/vold.conf) line
: 19: /bin/volcheck;/usr/sbin/rmmount; No such file or directory

: the others replace 19 with 20, 21,22.

: ls -l /bin/volcheck /usr/sbin/rmmount yields

: -r-sr-xr-x    1  root bin    4872  Jul 15  1994  /bin/volcheck
: -r-sr-xr-x    1  bin    bin   37260  Jul 15  1994  /usr/sbin/rmmount

: so the files in question are actually present.

: when i look at /etc/vold.conf, what do i find in lines 19-22?

: #Actions
: insert /vol*/dev/diskette[0-9]/* user=root /bin/volcheck;/usr/sbin/rmmount -D
: insert /vol*/dev/dsk/* user=root /bin/volcheck;/usr/sbin/rmmount -D
: eject /vol*/dev/diskette[0-9]/* user=root /bin/volcheck;/usr/sbin/rmmount -D
: eject /vol*/dev/dsk/* user=root /bin/volcheck;/usr/sbin/rmmount -D

: this explains the above error messages, but they make no sense. can
: anyone point to an obvious error in file ownership or permissions
: which would explain why rmmount and cvolcheck cannot be found on boot,
: or later?

the error message makes sense - vold searches for a program called
'/bin/volcheck;/usr/sbin/rmmount', which doesn't exist - it's not
interpreting the ';' like a shell does. So someone has modified
vold.conf, and now it's broken. Check man pages vor volcheck
and vold.conf for correct and working vold.conf entries.

I assume the guy who changed vold.conf wanted volcheck to be executed
automatically, but this doesn't work this way. There IS a possibility
to run volcheck permanently, but it's not recommended - `man volcheck`
tells you about it.

mp.
--
                         Martin Paul | Systems Administrator

                and Parallel Systems | Tel: 01-3105608-84
Liechtensteinstrasse 22, A-1090 Wien | Fax: 01-3105608-88

 
 
 

1. Need HELP to Log User Log-ins form the internet

Hi,

I've setup a FreeBSD 4.1.1-STABLE box to connect a network to the internet
with natd and ipfw firewall.
I've also setup the FreeBSD box to let teleworkers log in with FTP and
telnet.

Now I would like to log FTP and telnet Log-in's from teleworkers who connect
to the machine from the internet.
I woul like to see the time and IP numer from which users Log-in.

I have looked at the /var/log/messages file but this only shows SU Login's.

All help is greatly appriciated!

Luke

2. kmail

3. Netscape helpers and plug-ins, also java help

4. Help setting directory rights for uploaded files

5. HELP: Solaris2 Automount problem

6. access cisco router from sparc

7. Help! the problem of solaris2.4 httpd

8. mouse problem solution

9. please help with Solaris2.3 port problem

10. HELP WITH DIAL INS

11. Solaris2.5--mountd problems with Irix5.2--need help!!!

12. Need Help on setting up getty for dial-ins

13. New HOWTO....HOWTO-Hose-RedHat-Installation (help!)