BART (Basic Auditing and Reporting Tool) provides the ability to determine file-level changes at a granular level within the Solaris 10 operating system. This is achieved via the creation of 2 manifest files (a control-manifest and test-manifest), each manifest catalogs the attributes of each file and then a comparison is run between the files and … Read more
Below shows you the steps in order to compile Rancid on an x86 Solaris 10 platform. RANCID monitors a router’s (or more generally a device’s) configuration, including software and hardware (cards, serial numbers, etc) and uses CVS or Subversion to maintain history of changes. Space on /var If you havent much space on /var run … Read more
When compiling from source you may see the following errors occur : /usr/include/sys/siginfo.h:259: error: parse error before “ctid_t” /usr/include/sys/siginfo.h:292: error: parse error before ‘}’ token /usr/include/sys/siginfo.h:294: error: parse error before ‘}’ token /usr/include/sys/siginfo.h:390: error: parse error before “ctid_t” /usr/include/sys/siginfo.h:392: error: conflicting types for `__proc’ /usr/include/sys/siginfo.h:261: error: previous declaration of `__proc’ /usr/include/sys/siginfo.h:398: error: conflicting … Read more
When compiling programs in Solaris you may find you recieve the following error (or something along the same lines) complaining about grep. checking for grep that handles long lines and -e… ./configure: line 3859: 13085 Killed “$ac_path_GREP” -e ‘GREP$’ -e ‘-(cannot match)-‘ <“conftest.nl” >”conftest.out” 2>/dev/null ./configure: line 3859: 13092 Killed “$ac_path_GREP” -e ‘GREP$’ -e ‘-(cannot … Read more
When trying to install the gcc package on Solaris you may find you get the following error : cpio: Cannot write “reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/cc1obj”, errno 28, No space left on device cpio: Cannot write “reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/cc1plus”, errno 28, No space left on device cpio: Cannot write “reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/collect2”, errno 28, No space left on device cpio: Cannot write “reloc/lib/gcc-lib/i386-pc-solaris2.10/3.3.2/f771”, … Read more
This guide will show you how to install SSH on Solaris 10 x86 from the Solaris installation DVD. Mount CD If you havent enabled the feature that will automatically mount your CDROM drive you will need to mount it using the following commands : mkdir /cdrom Find the name of your cdrom -bash-3.00# iostat -En … Read more
When running an upgrade_export on a Solaris Smart Centre you may receive the following error : Compressing the files… gtar: Only wrote 2047 of 10240 bytes to export.tgz.tar gtar: Error is not recoverable: exiting now Error: Failed to execute ‘gtar -c -C “/opt/CPsuite-R65/fw1/tmp/upgrade_temp_dir” -f “export.tgz.tar” .’ command [ 26409 1]@#######[10 May 15:35:27] Compress: … Read more
You may receive the following error when using VI within Solaris, Terminal too wide To resolve this increase the number of columns with the command stty columns 120
Solaris is a UNIX based (BSD derivative) operating system. Nativity based on Sun (SPARC) hardware, Solaris allows for high performance due to its lightweight and minimal design. Basic Configuration /etc/inittab – sets run-level (default 3, runs scripts under S, 2 and 3) /etc/init.d/ – boot scripts /etc/rc?.d/S* – links to scripts to be run on … Read more
To add a default route simply use the following syntax, echo default-route-IP > /etc/defaultrouter
To enable the DNS resolver client on Solaris, follow these steps, Change the line in the file /etc/nsswitch.conf that reads “hosts: files” to hosts: dns files Add the following line to the file /etc/resolv.conf. If the file doesnt exsist, create one. nameserver [DNS IP]
The version of sed on Solaris cannot actually save the file. So as a work around just type ‘perl -pi -e’ instead of the sed command : perl -pi -e ’s/who/when/g’ /tmp/afile
In this example we will configure interface qfe1 with the an IP of 192.168.1.1 255.255.255.0 and set the speed to 100 full duplex. Bring up the Interface To bring up and plumb the interface, we first need to type the following, (change the IP to yours) ifconfig qfe1 plumbifconfig qfe1 192.168.1.1 netmask 255.255.255.0 up Update … Read more
To add the route, use the following syntax, /usr/sbin/route add host [destination ip] [via ip] Then add this as well to your routes script (so it survives a reboot) in the /etc/rc?.d, i normally just do a find for the routes file in /etc. find /etc -name *routes* If there isnt one then you will … Read more
Want to become a UNIX expert?
Here is our hand-picked selection of the best courses you can find online:
UNIX Administration Fundamentals
Vim Masterclass
and our recommended certification practice exams:
AlphaPrep Practice Tests - Free Trial