Sponsored Content
Top Forums UNIX for Dummies Questions & Answers no utmpx entry and other questions Post 302566464 by bjstaff on Thursday 20th of October 2011 01:11:09 PM
Old 10-20-2011
So it looks like I was wrong. When I do du -sk/dev it shows 314. If I understand correctly, the -k means display in kb? In that case, I am far below 60 MB.

the results of df -k is this:
Code:
/dev/dsk/c0t0d0s0     106047 kB   105799 kB 0 avail 100% /
/dev/dsk/c0t0d0s6     587382 kB   387151 kB 141493kB  74%  mounted on /usr
/proc      0kB   0kB    0kB avail  0%  mounted on /proc
fd           0kB   0kB    0kB avail  0% mounted on /dev/fd

the other machine I am managing, which is up and running looks like this with th df -k
Code:
/dev/dsk/c0t0d0s0    106047kB 104249kB 0kB avail 100%  /
/dev/dsk/c0t0d0s6    587382kB 408453kB 120191kB avail mounted on /usr

why does one have a problem and the other not, when both are full? There is a difference of 1.5MB more on the station that I can't login vs the one I can. I guess that can be the difference. You mentioed a couple of other things to look at, which I will try.

thanks.

---------- Post updated at 10:40 AM ---------- Previous update was at 09:51 AM ----------

trying the
Code:
ls -l |grep ^-r |wc -l command

shows
Code:
-r: not found

Is there something I should be looking for when doing the prtconf and prtvtoc? I entered the command prtconf and see devices, with one of three messages after: (driver not attached), instance #0, and insance #1. Prtvtoc shows
Code:
usage: prtvtoc [-fhs] [ -t fstab] [-m mnttab] rawdisk...

I am not sure what to get from that. I feel like such an unschooled newbie!

---------- Post updated at 11:11 AM ---------- Previous update was at 10:40 AM ----------

Another thing. Someone suggested doing the df -k, and finding the full disk, and fsck -y, which I did:

Code:
# fsck –y /dev/dsk/c0t0d0s0
1
2
3
4
5 (I don't remember what this says, but the message after always happens after a reboot.)
 FILE SYSTEM STATE IN SUPERBLOCK IS WRONG.  FIX? YES

I have done the fsck -y command several times, and always after a reboot, it gives the file system state in superblock is wrong. It repairs it. I could type fsck -y again, and it is fine. I will reboot the system, and do fsck -y, and I will receive the same file system state in superbock is wrong, and it repairs it. Once I did not do the fsck -y, and when I went to boot up, I saw a superblock is wrong error. Could this be the cause or result of a problem?

Thanks,

Moderator's Comments:
Mod Comment Please use code tags also on generated output, data, logs etc, thanks.

Last edited by zaxxon; 10-20-2011 at 02:30 PM.. Reason: code tags
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

No utmpx entry.

I am trying to set up a trust between two hosts and from another host to both by creating an /etc/hosts.equiv file on both. I am able to rsh to all but one host (and I am able to rsh from that host to the other). I receive the following error: No utmpx entry. You must exec "login" from the lowest... (1 Reply)
Discussion started by: 98_1LE
1 Replies

2. Filesystems, Disks and Memory

utmpx ???

:confused: HI... I am a brasilian software maker. I have a message " utmpx - filesystem isfull - /var/messages/unable to edit data " Like resolves its problem ??? Tank yours.... (2 Replies)
Discussion started by: jaimi.passos
2 Replies

3. UNIX for Advanced & Expert Users

shutting down 5.7 on Intel: failed to write of utmpx entry

When shutting down a freshly installed version of 5.7 on a Compaq server I get two messages: INIT: failed to write of utmpx entry: "s0" and: INIT: failed to write of utmpx entry: "fw" then I can continue with the shutdown. When I bring the system back up it has not saved any of my... (2 Replies)
Discussion started by: DarkLord
2 Replies

4. Shell Programming and Scripting

A entry form

Want to make a entry for using shell script, something like this: Name:_____________ Age:____________ address:___________ This entry form showed on the screen when the script executed, ask the user enter the field one by one ( user press <Enter>, cursor will be on the next field), anyone... (5 Replies)
Discussion started by: trynew
5 Replies

5. SCO

Failed Write of utmpx entry

I had a drive go bad. I have replaced the drive and have my system up. I have a 1-to-1 mirror raid. My mirrored boot drive brings the system up. I issued a reboot command. The system comes up gives me a login prompt and generates the error: failed write of utmpx entry:"i2". What is i2? (1 Reply)
Discussion started by: jwideman
1 Replies

6. Solaris

crontab entry

Hi, i need to setup a cronjob that has will execute iostat command from morning to evening time. for instance the timing has will be like this. 8:00 A.M -- 6:00P.M how to define this entry in crontab Regards (3 Replies)
Discussion started by: jaweedak
3 Replies

7. Solaris

Questions regarding crontab entry

can anyone explains me the last fields in the below cron job. Here it will run on 31st 23:59.. what is mean by 1-7/2 (first to seventh month) what /2 represents 59 23 31 1-7/2,8-12/2 Thanks in advance. (2 Replies)
Discussion started by: rogerben
2 Replies

8. Homework & Coursework Questions

Print questions from a questions folder in a sequential order

1.) I am to write scripts that will be phasetest folder in the home directory. 2.) The folder should have a set-up,phase and display files I have written a small script which i used to check for the existing users and their password. What I need help with: I have a set of questions in a... (19 Replies)
Discussion started by: moraks007
19 Replies

9. How to Post in the The UNIX and Linux Forums

Help me, write a bash script to delete parent entry with all their child entry in LDAP UNIX server

Hi All, Please help me and guide me to write a bash/shell script on Linux box to delete parent entry with all their child entries. example: Parent is : ---------- dn: email=yogesh.kumar@wipro.com, o=wipro, o=in child is: ---------- dn: cn: yogesh kumar, email=yogesh.kumar@wipro.com,... (1 Reply)
Discussion started by: Chand
1 Replies

10. Shell Programming and Scripting

How to replace multiple "&nbsp;" entry with in <td> tag into single entry using sed?

I have the input file like this. Input file: 12.txt 1) There are one or more than one <tr> tags in same line. 2) Some tr tags may have one <td> or more tna one <td> tags within it. 3) Few <td> tags having "<td> &nbsp; </td>". Few having more than one "&nbsp;" entry in it. <tr> some td... (4 Replies)
Discussion started by: thomasraj87
4 Replies
All times are GMT -4. The time now is 05:05 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy