Tag Info

Hot answers tagged

5

The route command has the -p option, in OpenSolaris and I believe Solaris 10 as well. From man route: -p Make changes to the network route tables per- sistent across system restarts. The operation is applied to the network routing tables first and, if successful, is then applied to ...


5

To get a POSIX environment on Solaris, you need to put the standard conformance directory (/usr/xpg6/bin, the number can be different in different Solaris versions) early in your PATH, before /usr/bin or /bin. There is a POSIX-conforming sh in there (it's ksh, in fact), and a few utilities react differently depending on $PATH even though they come in a ...


5

I realize that this is an old thread, but in case someone stumbles across it, it is worth noting that this appears to now be possible in Solaris 11: http://docs.oracle.com/cd/E23824_01/html/821-1453/gexkw.html#gexnc There is now a '-I' option that allows snoop to work with IP-layer devices.


5

It looks as though your pool, tank, is comprised of four disks in a striped configuration; e.g. RAID-0 with no redundancy. Try bringing the disk back online (reseat it, if it's hot-pluggable), check its connections. Run the zpool online command, as given in the error message. See what happens. Short of that, I don't believe there's a way to get a listing of ...


4

The memory is filled with unmapped pages of data read from disk. It's kept in memory because those files may be read again and keeping the data in memory saves a disk read. Free memory is forever wasted, so the computer tries to keep as little of it as possible. For example, say you run a program. The program terminates. The program is still in memory, but ...


4

ZFS is likely using most of your memory as ARC cache. Should you want to know how your RAM is used, run this command as root: # echo ::memstat | mdb -k On Solaris 10 10/09 and newer, this displays something like this: Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel ...


4

NFS 4.1 (minor 1) is designed to be a faster and more efficient protocol and is recommended over previous versions, especially 4.0. This includes client-side caching, and although not relevant in this scenario, parallel-NFS (pNFS). The major change is that is that the protocol is now stateful. ...


4

It's getting "too localized" here, but anyway: http://www.coniugo.com/ still offer RS232-capable GSM modems. I bought a USB version from Conrad, and I guess they ship to the UK. Beside that, maybe it's possible to use a web based SMS service for your normal notifications and use the Nokia exclusively for Nagios notifications (so Nagios will reach you ...


3

I do not like the instructions on the opensystems blog you pointed to, as it replaces the default service in SMF. This is bad as it is likely that a future system patch will revert your changes. Here's my take on it, from a default system state: Disable the system syslog: svcadm disable system-log Download and install (using pkgadd) syslog-ng from ...


3

On older-solaris, the load-average is the average number of runnable and running threads. In other words, it is the number of threads running on the CPUs, plus the number of threads in the run queue, waiting for CPUs, averaged over time. So... a CPU that completed processing 10 threads for the last second... and had 5 more waiting to be processed would ...


3

You already have the solution. Use dd inside solaris to do this on each filesystem dd if=/dev/zero of=file.iso bs=1M count=<the amount of free space you have in megabytes> You will likely run out of space for a few seconds at the very end of the file creation, as soon as you get your disk full error, delete the file, shutdown the machine and image ...


2

As the the comments demonstrate, the SB2500 has issues reading the DVD. Usual causes are either in the recording side, some DVD recording applications cannot refrain to modify the iso they record, the media, or the server side, for example dvd recorded at too high a speed for the drive to properly read it. Often, using a CD recorded, especially at a lower ...


2

Have you tried something like: ldapsearch -LLL -h hostname -b "" -s base -D cn=admin,dc=yourdomain,dc=com -W "(objectclass=*)" vendorversion objectClass isGlobalCatalogReady vendorname Source


2

The definition of 'virtual' is too loose. If we assume that for AIX you mean any AIX image which is an LPAR (or a micro-partition, or any other terminology IBM chooses) then you can use uname -L, for example, nonlpar# umame -L -1 NULL lparhost# uname -L 5 lparhost If you mean WPAR, you can use uname -W and a result of 0 means you're not in a WPAR, a ...


2

The system that has this same issue for us is a V880 Removing these patches: 143643-04 requires 144500-19 147440-02 kernel patch 147713-01 requires 144500-19 147436-01 requires 144500-19 147434-01 requires 144500-19 147266-01 requires 144500-19 144500-19 kernel patch Fixed my boot up problem! But now we are 2 kernel updates behind and Oracle does not have ...


2

This has always been my biggest hassle with Solaris. Essentially if you're going to compile something, you need to make sure ALL of the following are correct: CFLAGS / CXXFLAGS (for C++) LDFLAGS (for the linker) Possibly LD_LIBRARY_PATH Make sure any include dirs (specified with -I) and library dirs (-R and/or -L) match the architecture you're building ...


2

Not as detailed as your Linux example but you could use the ::memstat macro in mdb: # echo ::memstat | mdb -k Page Summary Pages MB %Tot ------------ ---------------- ---------------- ---- Kernel 178001 1390 69% Anon 52748 412 21% Exec and libs ...


2

Two likely things here: 1) is there a perl in a different path? Maybe it's run by hand from there. 2) your "LD_LIBRARY_PATH" equivalent is PERL5LIB. Check around and see if there's anything setting that. after you get that figured out, time to start carving yourself a better paddle :) There are lots of options including building a complete library tree ...


2

Here is the script I wrote for this purpose. On a 4 processor machine it improved the sort performance by 100% ! (Thanks Bash for the tip!) #! /bin/ksh MAX_LINES_PER_CHUNK=1000000 ORIGINAL_FILE=$1 SORTED_FILE=$2 CHUNK_FILE_PREFIX=$ORIGINAL_FILE.split. SORTED_CHUNK_FILES=$CHUNK_FILE_PREFIX*.sorted usage () { echo Parallel sort echo usage: psort ...


2

It may be bug 6970542 Try setting: export DTRACE_DOF_INIT_DISABLE=1 I've seen that problem on a number of test machines which were working normally and then started to get really slow startup times. On JDK 1.6.0_26 it works properly again.


2

It really depends on what you're doing with that data. If the data gets used later as inputs to shell commands then you can just sneak in commands that subshell and execute arbitrary commands (install backdoor, add user, change passwords...) If the data gets inserted into SQL without prepared statements, then you have a standard SQL injection. The ...


2

1.) Check if Disk /dev/dsk/c2t0d0s2 exists you can use the format command to check 2.) If yes, does it have a ufs file system ? You can refer to http://www.softpanorama.org/Solaris/Disks_and_filesystems/solaris_ufs.shtml


2

From here: The hostname command should return an FQDN... ... The solution is to edit /etc/nodename and put the FQDN in there and reboot. echo foo.your.domain.com > /etc/nodename You might also be able to use: getent hosts `hostname` | cut -f 3 or similar.


2

We're serving some NFS shares from a Windows Server 2008 R2 x64 machine, There's your problem right there. All kidding aside, setting up proper authentication isn't too bad with Services for NFS on Windows. Here's a guide from microsoft with all the relevant details: http://technet.microsoft.com/en-us/library/dd758767%28WS.10%29.aspx


1

Please note that Solaris 11 has not been released but that should happen until the end of this year (or sooner). With that in mind, your options are Solaris 10 and Solaris 11 Express. Both are supported in production and will require you to buy a license. So I'm assuming that's not a problem. Since you're asking which one to use, I'm also assuming your ...


1

Solaris 11(former OpenSolaris) has enhancement on its Network stack, it can create virtual-nics, using dladm. Solaris 11 can turn it self into a switch/router/firewall, you can build a virtual network environment (multiple VMs, switches, traffic-throttle) in sol11. Take a look at Solaris 11 manual and manpage of dladm(1m) in Solaris 11


1

It entirely depends on what platform you are on. For instance if this is a lamp system it can be as simple as writing a .php file to the web root or a more complex approach is an advanced LIF attack. Under windows you can use some named-pipe trickery to get remote code execution.


1

Something very similar is a well known security mistake many websites make. If you take uploads from users (say, avatar images for a forum) and don't verify that they are actally valid image files, an attacker can upload a PHP file instead and execute it on your server by requesting it in a web browser from your images directory. It is often not adequate ...


1

You probably want to use change automation for this. e.g., Puppet, Chef, cfengine, bcm2, or whatever. Personally, I've used Puppet on Solaris for the last three years, and have been quite happy with the decision. We use it to manage every aspect of our systems administration: Users, files, cron jobs, ZFS filesystems, NFS mounts, Zones, services (via SMF), ...


1

Do you VM's have the same number of processor's as the host system? if so this is a bad thing, and it can prevent the scheduler from working properly. IE if you have an 8 core system then no system on that box should have 8 cores assigned to it. You can have 20 VM's with 4 Cores assigned and that is not a problem, but 1 box with 8 cores assigned can cause ...



Only top voted, non community-wiki answers of a minimum length are eligible