LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


Reply
  Search this Thread
Old 09-20-2006, 12:34 PM   #1
Armor
Member
 
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | Xunbuntu
Posts: 55

Rep: Reputation: 15
10 x86 Issue


I am currently working on a Sun V40z 10 x86 system. I have a requirement to "mv /var/tmp/* /tmp". In the "/var/tmp" directory there is a socket called "mapping-root".

In attempting to move it, I get an error message: "mv: mapping-root: unknown file type 0xc000.

Question: Can I move this? If so, what does it take?

Thank You
 
Old 09-20-2006, 02:42 PM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Armor
I am currently working on a Sun V40z 10 x86 system. I have a requirement to "mv /var/tmp/* /tmp".
This is foolish.
Quote:
In the "/var/tmp" directory there is a socket called "mapping-root".

In attempting to move it, I get an error message: "mv: mapping-root: unknown file type 0xc000.

Question: Can I move this?
Well, no as the mv command is telling you.

Is that socket in use ? (fuser /var/tmp/mapping-root)
 
Old 09-21-2006, 09:50 AM   #3
Armor
Member
 
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | Xunbuntu
Posts: 55

Original Poster
Rep: Reputation: 15
10 x86 Issue

Foolish... not for me to comment. This is a request from a customer who is requiring this task from my section. The box is going off to a vendor for development work at the behest of a government office.

In the parallel setup of SPARC boxes, I have not hit this issue. I have not seen this socket. I cannot find relevant information on the socket. I can probable get around this, but it would require, maybe, a re-build. I was hoping to avoid a time crunch issue.

"fuser /vat/tmp/mapping-root" returns "/var/tmp/mapping-root:"

I am trying to find who owns this socket and what the function.
 
Old 09-21-2006, 10:14 AM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,789

Rep: Reputation: 492Reputation: 492Reputation: 492Reputation: 492Reputation: 492
Quote:
Originally Posted by Armor
Foolish... not for me to comment.
You should, this is nonsense.
You could at least ask for a rationale behind that request.
Quote:
This is a request from a customer who is requiring this task from my section. The box is going off to a vendor for development work at the behest of a government office.
Assuming you have the standard Solaris /tmp using tmpfs, you'd rather simply remove all /var/tmp files.
They will be lost anyway when you send that machine to the vendor, or at next reboot, panic or power-outage, whichever comes first ...
Quote:
In the parallel setup of SPARC boxes, I have not hit this issue. I have not seen this socket. I cannot find relevant information on the socket. I can probable get around this, but it would require, maybe, a re-build.
Rebuild of what ?
Quote:
I was hoping to avoid a time crunch issue.

"fuser /vat/tmp/mapping-root" returns "/var/tmp/mapping-root:"

I am trying to find who owns this socket and what the function.
From the fuser point of view, nobody is owning it.

This mapping-root is just telling someone has used JDS (gnome) as root on that server. Using a graphic environment logged in as root is a poor practice, by the way.

You can safely remove it, it will be created again when needed.
 
Old 09-21-2006, 01:08 PM   #5
Armor
Member
 
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | Xunbuntu
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
You should, this is nonsense.
You could at least ask for a rationale behind that request.
Again, I should be happy that the individuals that requested this work, do not have the depth in UNIX. My company was tasked because we have a TestBed with multi-disciplines in contract at the request of the government. So they are eating some "humble pie" as they could not get the initial requiments met.

Quote:
Rebuild of what ?
I will do a late night and start with the boot CD and re-do all the requirements again. I will move the "mv /var/tmp/* /tmp" to earlier in the requiments. As a special note, this box has not been rebooted yet due to the requirement of additianl packages added. I was going to re-boot later. I may do that next and check the "/var/tmp" directory.

Quote:
This mapping-root is just telling someone has used JDS (gnome) as root on that server. Using a graphic environment logged in as root is a poor practice, by the way.
I know this, but the prime contractors are Windows type. I am currently doing CLI work from my Mandriva 2006 workstation via "ssh". I use "scp" to move packages to the system.

As an aside, I do have an SCS box, but the all the V40z Sun system won't allow serial connection. Even the local Sun tech had issues. I believe he went "tip hardwire" for access.

I will use your information and check the system after reboot.
Thank You.
 
Old 09-25-2006, 10:24 AM   #6
Armor
Member
 
Registered: Jul 2004
Location: MidWest
Distribution: CentOS 6 | Xunbuntu
Posts: 55

Original Poster
Rep: Reputation: 15
Quote:
This mapping-root is just telling someone has used JDS (gnome) as root on that server. Using a graphic environment logged in as root is a poor practice, by the way.

You can safely remove it, it will be created again when needed.
You were correct. Once I rebooted the system and logged in via CLI, the socket was able to be removed and the symbolic link created.

Thank You.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Sabayon Linux X86/X86-64 3.0 Released Kwestion Linux - Distributions 0 09-14-2006 12:50 PM
Need Life Raft! Kubuntu or Ubuntu / X86 or X86-64 carl0ski Ubuntu 3 07-08-2006 11:13 PM
Difference between SUSE 10.0 X86 and X86/64 performance ausm SUSE / openSUSE 2 12-13-2005 03:53 PM
Mandriva 32-bit X86, 64-bit x86-64 & i586. La Dima Mandriva 9 10-07-2005 06:12 AM
Boot x86 target from flash, with the image and file system on the x86 host. batsayan Linux - Software 2 08-23-2005 12:09 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:08 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration