Solaris is a UNIX certified operating system owned and developed by Oracle for SPARC, x86 and x86-64 processor architectures.

learn more… | top users | synonyms

0
votes
2answers
645 views

Cleaning log files on Solaris for a service manifest

I have a service manifest on Solaris (Smart OS actually) and I would like to periodically clean its log files either automatically or manually without shutting down the server. My log is here: ...
5
votes
2answers
938 views

LACP vs 802.3ad

I’m looking to create an aggregation on a Solaris box using dladm. I understand that once the aggregation is created, 802.3ad will be used to balance the load depending on the policy (L2, L3 or L4). ...
1
vote
2answers
543 views

How can I re-install removed packages on Solaris-10?

My Solaris 10 SPARC host ran its pre-installed Apache server. After it failed to cooperate (it and I couldn't find my apxs) with the installation of mod_wsgi (to handle Django) I made the decision to ...
0
votes
2answers
427 views

linux + how to identify if file is pointed by link/s

I create new file called - 192.9.200.1 touch 192.9.200.1 then I create new link that will be pointed to 192.9.200.1 file ln -s 192.9.200.1 file so finally I get: ls -ltr /tmp ...
0
votes
2answers
944 views

sed + how to remove the last string after specific character

how to remove the last string after "." character include the "." character itself implementation can be with sed under Linux/Solaris operation system example of IP address before change ...
0
votes
0answers
70 views

How to check how many external hosts have mounted and accessing a unix (solaris) folder?

We have a local folder in a central Solaris machine(used as a repository) and would like to find out how many external hosts have currently mounted the folder and accessing the files. Is there any ...
1
vote
1answer
92 views

Solaris not seeing FC volume

We recently replaced a failed controller in an AL connected RAID. I wasn't the one that replaced the controller, but apparently when the new controller was installed something weird happened with the ...
0
votes
2answers
151 views

linux + delete duplicate IP's from file

what the best way to remove duplicate IP's from file I use the command: sort file | uniq but I am not sure if this is the best way , maybe I missed something? remark: my file contain two ...
3
votes
1answer
1k views

Can you set inode quotas in ZFS?

I figured out how to set block quotas in ZFS from the documentation on oracle's site. I didn't see if / how to setup a quota on how many inodes a user gets, though. I realize that there may not be ...
1
vote
1answer
625 views

Permanant ARP entries become Unresolved

We have a solution where a number of Solaris servers are in a private VLAN and no arp proxies exist in this VLAN, so to reach neighboring servers we must add static arp entries. Each other server in ...
1
vote
2answers
240 views

Routing to a floating IP between 2 servers on different networks

I have two servers in two different network subnets, there is a heartbeat between the servers and they automatically select active / standby. the active server will have a floating IP assigned to one ...
4
votes
1answer
200 views

ZFS: will RAM shortage cause trouble?

what can happen if i've not enough RAM with a ZFS with dedup option activated?
1
vote
1answer
342 views

Accounts expired immediately after reboot with Solaris 11, Why?

I installed ORACLE/Solaris 11 on my server. After installation I created an additional account for sysadmin. I then did the #passwd -x -1 command for the root role, and my two other user accounts. ...
4
votes
4answers
12k views

How to recover free space on deleted files without restarting the referencing processes?

When big files are deleted on a server, the files might still be referenced by processes, so the file system doesn't have more free space. I tried to use lsof, but it seems it didn't list the deleted ...
0
votes
1answer
1k views

Solaris disk label - delete slice with fmthard returns: invalid entry exists in vtoc

I am trying do create a script to remove all slices from a disk with Solaris disk labels. bash-3.2# prtvtoc /dev/rdsk/c0t2d0s2 * /dev/rdsk/c0t2d0s2 partition map * * Dimensions: * 512 ...
1
vote
1answer
611 views

How set ZFS ACL permissions on CentOS 6

I use last ZFS (ZFS for Linux) on the CentOS 6. Create successfully pool, all working fine. But i have one question. How i can set ACL for ZFS folder/file? GNU ls, chmod, and other coreutils not ...
0
votes
1answer
189 views

how to dump DNS cache on a Linux client?

Like the cache of nscd daemon. I suspect the daemon does not do its work, I mean, not caching at all since it failed the query right after I stopped the name server.
2
votes
1answer
1k views

How can I use the home, end, page-up, page-down keys on Solaris via PuTTY?

I love the shortcuts home, end, page-up, page-down, but I am unable to use them via PuTTY on Solaris servers. Windows PuTTY => Linux desktop via SSH, works fine. Windows PuTTY => Solaris ...
0
votes
0answers
118 views

Solaris memory allocation

I have solaris system that installed 12 GB RAM. All running process consume about %65 memory. I start to application that tshark (wireshark command line alternative). Tshark complete parse a ...
0
votes
1answer
565 views

@reboot cron directive doesn't work on Solaris? What do I use instead?

I just tried to use contab -e on a Solaris server to add this line: @reboot /root/reboot.sh The script starts up the web application. But the trouble is that this syntax is rejected. # crontab -e ...
0
votes
2answers
233 views

OpenIndiana Static IP

I've installed OpenIndiana 151a7 twice now. Configured a static ip using the following instructions: svcadm disable svc:/network/physical:nwam svcadm enable svc:/network/physical:default cp ...
1
vote
2answers
182 views

re-create new link and remove the old link on one command

according to ln manual page: man ln -f, --force remove existing destination files so as I understand if I want to re-create new link to some destination directory/file I can ...
1
vote
1answer
1k views

Sun Netra 240: How to get from ALOM menu to ok prompt?

I am connected to my server using a serial connection. I am currently at the ALOM menu (as shown below. I need to get to the {ok} prompt. How do I get there from here? FYI, One major complication: I ...
0
votes
2answers
317 views

How to find files with top io on solaris ZFS?

I have a Solaris 10 ZFS based NFS server. The physical disks are more or less at their maximum io rates. Performance is very bad - so we will add spindles. The NFS solely serves as storage for ...
0
votes
1answer
76 views

Restrict openSSH 6.1p1 logins via LDAP to an IP range

I have some servers in the DMZ that receive public traffic from an external (public) IPv4 address. This is translated at our gateway to a 172.x.x.x address. All external clients are using local ...
0
votes
1answer
58 views

DB2-Express-C and Postgresql using raw harddrive as datastore

I have a system running Solaris with 2 harddrives. One holding the OS and the other unpartitioned. I was thinking about using the second as database space. My question is, if it is possible to let ...
1
vote
1answer
489 views

Solaris 11.1 x86 won't boot, verifying DMI Pool. How to install or verify boot blocks

x86 Solaris 11.1 had a mirrored ZFS root pool (rpool) which was 2x 320GB disks, I detached one and replaced with a 500GB disk which resilvered ok so ran the "bootadm install-bootloader" and did the ...
1
vote
1answer
602 views

Solaris 11.1 ZFS Root rpool shows one disk unavailable and online, how to detach

This is an x86 Solaris 11.1 installation. I have two zfs pools R500 and rpool I wanted to upgrade R500 from 500GB disks to 2TB which I've done then use the 500GB disks as root rpool disks to replace ...
2
votes
2answers
2k views

How to remove the OpenSolaris ZFS dump device

The ZFS dump device is used only for debugging problems. In this case, I have decided the risk vs reward is such that I should delete the dump device to make room for other storage. I am able to ...
1
vote
1answer
229 views

OpenSolaris: What is the Dump device for?

What is the purpose of rpool/dump? Is is useful or necessary? When is it a good idea to re-size it? When is it a good idea to disable and remove it?
0
votes
1answer
124 views

Tshark read offline file start so slow

I execute tshark (wireshark utility) command that reading from pcap file. Process is too slow. Sometimes take more than 6-7 seconds. Pcap file is really small (~500bytes). Actually strange thing is ...
-2
votes
1answer
224 views

Cross-Compiling on x86 for Solaris SPARC [closed]

I've looked at a few sources on how to go about cross-compiling, and from what I understand, I need the header files for the system I am compiling for. Some background info: The school I am a student ...
3
votes
2answers
828 views

Why can't I launch more than 1000 processes in Solaris 11?

I'm trying to launch more than 1000 processes, but it hangs at 999. e.g. #!/usr/bin/env zsh for i in {1..$1} ; do sleep 300 & done Then running it, $ ./launchsleep.sh 3000 ...
2
votes
1answer
624 views

Disk replace breaks disk naming convention in zpool

After replacing two broken disks in my RAID-Z2 pool, the output of zpool status looks strange. The disks are addressed with their full path and also seem to contain 'slices', which all other disk ...
-2
votes
1answer
82 views

Solaris Service not showing any status in svcs

I'm creating a solaris service using SMF by following steps: Create SMF manifest Import manifest via svccfg Enable it using svcadm Check status using svcs Now in this process i had frequently ...
1
vote
1answer
2k views

How much space is in a Solaris /tmp filesystem?

On Solaris, the /tmp filesystem is a filesystem of type "tmpfs". It's implemented in the kernel by allocated space from the virtual memory pool. That means allocation interacts with the available RAM ...
0
votes
2answers
272 views

Solaris: information on sparc hardware

I'm having 2 solaris machines to manage, So i want to write my own scripts for getting various information. I'm able to get most of the information but not able to retrieve following: Chassis type ...
0
votes
1answer
631 views

Solaris prstat RSS does not add up

So, on a Solaris 10 10/09 zone, I am seeing all resident memory being used up. In attempting to located the process that is allocating all our physical memory, I notice that the RSS totals "prstat" ...
0
votes
0answers
73 views

Solaris and Hot-Standby

i have a short question. is it possible to create a hot-standby-cluster with 2 nodes and solaris 10? in Linux i would use DRBD and Hearbeat/corosync, but in Solaris? maybe do you have an tutorial? ...
1
vote
2answers
195 views

grep -m in solaris/sun OS

I searched a lot over google and stackoverflow/serverfault, but I was not able to find a corresponding to "-m" option in the bash shell. I need to fetch only the first result with the grep. Is this ...
1
vote
1answer
263 views

Unix Server unreachable, but responding to ping

I'm unable to login to my Solaris box, but its responding to ping when I do ping hostname I see the following messages under /var/adm/messages FATAL 2035: sslgets - SSL_read error - ...
-1
votes
2answers
676 views

How Can I Maximize Apache Performance on my Server - Need Calculations Please [closed]

I have a Sun T5140 server with 8GB of memory and two 4-core T-Series CPU's (128 max threads). This server is a dedicated web server. Based on the premise that I'm willing to allocate 1/2 of the ...
2
votes
2answers
687 views

Solaris doesn't know which MAC address to use to send an UDP multicast message

I have a pair of Solaris 10 boxes which are supposed to send multicast UDP packets to a group of hosts. One of them works just fine, whereas the other one does not. The problem with the second ...
0
votes
0answers
1k views

pkgrm + force remove of solaris pkg

I need to remove the pkg TIME-SV from my solaris 10 ( I need to use the pkgrm -a none ) to force removing but pkgrm ask me about "Enter path to package base directory" which PATH I need to enter ? ...
0
votes
2answers
122 views

sudoers file errors on solaris (suspecting wildcards)

I'm trying to write a universal sudoers file to control permissions for all our users across all our environments and I've been using the wildcard for the hostnames like so (all data has been ...
3
votes
3answers
7k views

how do I add a new disk to ZFS and make it available existing mountpoints if the current pool is root pool?

My S11 server has the following configuration: disk #1 is used for rpool, which is the root pool I want to add disk #2 to increase the size available for the already mounted folders, but I can't add ...
0
votes
2answers
134 views

raidz plus mirror on the same disk different slice in 2 pools

I need a little assistance. I have 6 2TB disks. I'm planning to assign approximately 500GB to my root pool slice 0 mirrored with another disk, since one disk isn't used up I then decided to do a raidz ...
0
votes
2answers
131 views

Install Neo4j via Maven

Neo4j says I can install Neo4j via Maven by adding it to my build: <dependency> <groupId>org.neo4j</groupId> <artifactId>neo4j</artifactId> ...
0
votes
1answer
2k views

Weblogic intensive CPU usage

I am using Weblogic 10.3.4 + Oracle DB both on Solaris machines (VM) Unfortunately last week our app hosted on Weblogic became very very slow not being able to serve new users coming (everything ...
0
votes
1answer
106 views

flexlm error on solaris

I'm configuring a solaris server to be used with flexlm license system. My software provider provided the script to install Flexlm, and I have its license. I launched the script, which asks me for ...