kermit cannot open /dev/tty, /dev/cua1?

kermit cannot open /dev/tty, /dev/cua1?

Post by <U37.. » Sun, 09 Oct 1994 04:26:44



Hi, everyone,

I installed a 405Mb hard disk (my original is 128MB) and copied everything
from the first (original) to the second (new) HD. Now the second is master
and the first is slave. The system can successfuly boot from the second HD,
but kermit now is not working.
The message is:
                 /dev/tty  permission denied
                 /dev/cua1 permission denied
                 /usr/spool/uucp permission denied

It worked fine and I didn't change anything to these devices. I just
tar everything in old disk and untared on new disk. Could anyone tell
what to fix? ( i even re-compiled the kernel 1.1.35)
Thanks,

J Yue

 
 
 

kermit cannot open /dev/tty, /dev/cua1?

Post by ADAM P JENKI » Mon, 10 Oct 1994 10:41:34


: Hi, everyone,

: I installed a 405Mb hard disk (my original is 128MB) and copied everything
: from the first (original) to the second (new) HD. Now the second is master
: and the first is slave. The system can successfuly boot from the second HD,
: but kermit now is not working.
: The message is:
:                  /dev/tty  permission denied
:                  /dev/cua1 permission denied
:                  /usr/spool/uucp permission denied

: It worked fine and I didn't change anything to these devices. I just
: tar everything in old disk and untared on new disk. Could anyone tell
: what to fix? ( i even re-compiled the kernel 1.1.35)
: Thanks,

: J Yue

Are you using kermit while logged in as root?  If not, you may
need to set the read/write permissions on the devices so that they're
read/writeable by all. i.e:

cd /dev
chmod a+rw cua*
chmod a+rw ttyS*

Hope this helps.

--------------------------------------------------------------
Adam P. Jenkins


 
 
 

kermit cannot open /dev/tty, /dev/cua1?

Post by Klaus Lichtenwald » Tue, 11 Oct 1994 06:55:50



Quote:>cd /dev
>chmod a+rw cua*
>chmod a+rw ttyS*

IMHO, not one of the best solutions. One of the better kept secrets is
chown uucp kermit
chmod 4555 kermit,
'cause kermit has to access the uucp-lock area, among other things.
But in most distributions kermit's access rights and permissions aren'nt
set properly.

Klaus
--
__________________________________________________________________________
Klaus Lichtenwalder, Dipl. Inf., Buschingstr. 65
D-81677 Muenchen, F.R. Germany,  Fax +49-89-98292755

 
 
 

1. Cannot open /dev/rmt/0un (or any other /dev/rmt/??n)

(I see this group is much more active)

I've moved an L9 autoloader from a Solaris 9 E250 to a Solaris 9 V120.

I've duplicated the info from st.conf

tape-config-list=
"QUANTUM DLT8000","Quantum DLT8000","DLT8k-data";
DLT8k-data = 1,0x38,0,0x10639,4,0x84,0x85,0x88,0x89,3;

and sgen.conf

device-type-config-list="changer", "sequential"
.....
name="sgen" class="scsi" target=0 lun=0;
name="sgen" class="scsi" target=1 lun=0;
name="sgen" class="scsi" target=2 lun=0;
name="sgen" class="scsi" target=3 lun=0;
name="sgen" class="scsi" target=4 lun=0;
name="sgen" class="scsi" target=5 lun=0;
name="sgen" class="scsi" target=6 lun=0;
name="sgen" class="scsi" target=7 lun=0;
name="sgen" class="scsi" target=8 lun=0;

# ls -la /dev/scsi
total 14
drwxr-xr-x   4 root     other        512 May 16 08:31 .
drwxr-xr-x  15 root     sys         4096 May 17 07:26 ..
drwxr-xr-x   2 root     other        512 May 16 08:31 changer
drwxr-xr-x   2 root     other        512 May 16 08:31 sequential

My problem is every time I do a backup I get the following:

  DUMP: Date of this level 0 dump: Wed May 17 10:44:21 2006
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c1t0d0s0 (west:/) to /dev/rmt/0un.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Writing 63 Kilobyte records
  DUMP: Estimated 269898 blocks (131.79MB).
  DUMP: NEEDS ATTENTION: Cannot open `west:/dev/rmt/0un'.  Do you want
to retry the open?: ("yes" or "no") no
  DUMP: The ENTIRE dump is aborted.
  DUMP: Date of this level 0 dump: Wed May 17 10:44:24 2006
  DUMP: Date of last level 0 dump: the epoch
  DUMP: Dumping /dev/rdsk/c1t0d0s4 (west:/var) to /dev/rmt/0un.
  DUMP: Mapping (Pass I) [regular files]
  DUMP: Mapping (Pass II) [directories]
  DUMP: Writing 63 Kilobyte records
  DUMP: Estimated 544350 blocks (265.80MB).
  DUMP: NEEDS ATTENTION: Cannot open `west:/dev/rmt/0un'.  Do you want
to retry the open?: ("yes" or "no")

When the L9 was connected to the E250, I had no problems.  I tried
every /dev/rmt/ that ended with an "n" and all return the same error.

I think I am overlooking something obvious but so far no luck on a
solution.

Thanks!

2. Iptables question

3. ppp-on: tty_io.c: process 200 (pppd) used obsolete /dev/cua1 - update software to use /dev/ttyS1 tty_io.c: process 267 (pppd) used obsolete /dev/cua1 update software to use /dev/ttyS1

4. whois.server

5. Help needed: remote restore: cannot open /dev/tty: Device not configured

6. WANTED: phone # for LongShine

7. Help with /dev/console: no such device, and "cannot open tty"

8. will not fsck properly....

9. How to send commands to /dev/modem or /dev/cua1 ?

10. cat file > /dev/cua1 vs. cp file /dev/cual ?

11. SPARC - can't get to /dev/cua0 or /dev/cua1

12. How does CHAT regconize /dev/cua1 or /dev/cua2

13. /dev/ttyS1, /dev/cua1 and linux-2.2.2