Tag Info

New answers tagged

0

I looked at /etc/passwd but there's no user with UID 105 (I think this user was deleted). That's what the lsof output is indicating. There's a process running owned by UID 105, but when it tried to lookup the username, there's no entry for that UID in /etc/passwd. Most likely the process was started before the user was deleted, and has been running ever ...


0

I have resolved the issue. The server was on hang state due to hardware failure. I let it remained logged in for more than 30 mins & it got the terminal. But thanks for the suggestions guys !!


3

You will have to find the process that's writing to the unlinked (not deleted!) file(s). All the Unix and Unix-a-like operating systems allow a process to keep open files that have no name in a directory. That's fallout from the design of Unix filesystems, where the on-disk data structure that holds permissions and disk blocks of a file's data (the inode) is ...


1

arcfour128 and arcfour256 are not supported by Sun SSH on Solaris 10. Try: ssh -c arcfour256 somehost You'll likely get: Unknown cipher type 'arcfour256' You will need to remove them from your Ciphers list. Alternately, install OpenSSH if you really need them.


0

"Invalid argument" when running a Solaris binary often means you installed a version for the wrong architectures - a SPARC binary on an x86 platform or an x86 binary on a SPARC platform. Run uname -p to see what processor type your system has and make sure you downloaded Java for that type of CPU.


0

Files and directories which have ACLs are identified with a + sign at the right side of the permission mask ie.: -rw-r--r--+ To remove ACLs you should use chmod A- /usr/share/X11/app-defaults/XScreenSaver See also man ls and search for explanation of the -l argument and man chmod and search for A-


0

It is possible that the Solaris 10 OS is installed on a ZFS root pool. If so, try zpool list and/or zpool import. If you want to import a pool with an alternate root try zpool import -R /alt <pool>


2

On Solaris tar works differently. So either use gtar from GNU or use tar cf - and then the solution from Miline: tar cf - folder | sum P.S.: I don't have 50 reputation yet to be able to comment - that's why I posted another answer.


6

1) do a reference: find . -type f -exec sum {} \; | sort -k3 > /my/reference.txt 2) do a run time check find . -type f -exec sum {} \; | sort -k3 | diff /my/reference.txt - where sort -k3 do a sorting on file name diff part will show file changed, added or deleted.


3

Use tar to create tarball of directory and run sum on it then. tar cf - <directory name> | sum -


5

You need to use \r, not ^M to match carriage return characters. ^M has removed all M characters at the beginning of the line, so you may want to check your file is still OK...


6

Perl needs a \r as well. perl -pi -e 's/^M//g' file1 ^^ - should be \r Although actually, you probably just want to stick with line endings. perl -pi -e 's,\r\n,\n,g' file1 Although actually - you don't need perl for this. sed is perfectly capable: sed -i.bak -e 's,\r\n$,\n,g' file1


-1

Most likely your server is a NIS client and hence adding local users maybe forbidden. Just check if this is a part of NIS domain.


0

Firstly - you really need to use a cluster framework of some sort in order to have any guarantee regarding data integrity. When it comes to enabling multi-node access to shared storage, HA-ZFS is great, HA-SVM is good if you can't do ZFS, VxVM is also good (make sure you check the licensing first). Did I mention you need to use a cluster framework? Yeah - ...


0

You can use an online tool such as www.firewallruletest.com to see if external hosts can establish tcp connections.


4

Solaris patches are available on support.oracle.com to customers with an Oracle Solaris support contract. However, 'withdrawn patch 110910-04105' is not a valid Solaris patch name, even for a withdrawn patch - you can't find it because someone gave you the wrong name.


0

It's not possible to atomically modify a file to insert variable amounts of data at the beginning. This would involve copying the previous contents of the file to the necessary offset and then writing the new data over the beginning. This process would become more and more difficult as the amount of data to copy increases. I'd solve this by using a script ...



Top 50 recent answers are included