Search Results

Search: Posts Made By: Sumanthsv
1,233
Posted By Sumanthsv
HI rbatte1, Thanks for the reply. I have...
HI rbatte1,

Thanks for the reply.
I have removed the extra white spaces in the kickstart file, which resolved the issue

Thanks
1,233
Posted By Sumanthsv
Unable to open input kickstart file curl#37
Hi,

Getting the below error while installing from ks.cfg unable to open input kickstart file curl#37 Couldn't open file /tmp/swappart
Here am trying to include /tmp/swappart file from pre...
Forum: Solaris 06-03-2019
864
Posted By Sumanthsv
Hi, Actually dladm can't be used from non...
Hi,

Actually dladm can't be used from non global zone. Still didn't get any luck

TIA
Forum: Solaris 05-31-2019
6,956
Posted By Sumanthsv
Block port for all except for one specific ip in Solaris11.4
Hi,

I need to block ssh port 22 from all the servers except one server ip.
Until solaris11.3 and below, I used to do like below(under /etc/ipf/ipf.conf),and it's working fine
pass in quick from...
Forum: Solaris 05-09-2019
864
Posted By Sumanthsv
Set MTU value for ipv6 interfaces
Hi,

I am trying to set mtu value for ipv6 interfaces. I know how to set it for ipv4 interfaces
ifconfig net1 mtu 1240

Do I need to add any iptype for the above command ?

Note:
OS:Solaris...
Forum: Solaris 04-30-2019
4,487
Posted By Sumanthsv
Hi, Thanks for the reply. @hicksd8 I...
Hi,

Thanks for the reply.

@hicksd8 I have followed the steps mentioned in the link https://dtrace-discuss.opensolaris.n...ts-not-working

zonecfg -z z1-zonename
info
brand: solaris10...
Forum: Solaris 04-29-2019
4,487
Posted By Sumanthsv
Prustat throwing error only in zones not in global
Hi,

Prustat is throwing error only in zones. But it is working fine in global.
dtrace: invalid probe specifier
/*
** The following is a trimmed version of two seperate DTrace scripts:
**
**...
162
Posted By Sumanthsv
Make throwing error while compiling python3.6 on Solaris10
Hi,

I have downloaded gzipped source tarball of python3.7. I have tried to compile like below,
./configure --prefix=/directory

Compiling seems to be ok..But when running make all..Getting too...
Forum: Solaris 04-07-2019
673
Posted By Sumanthsv
Hi, Yes. The gcc is not the latest version ....
Hi,

Yes. The gcc is not the latest version . It comes with the Solaris. I don't think thats an issue.. Only thing is that, while compiling it should take from /usr/sfw/lib/amd64 which is for 64...
Forum: Solaris 04-07-2019
673
Posted By Sumanthsv
Hi, Contents of /usr/sfw/lib with respective...
Hi,

Contents of /usr/sfw/lib with respective to gcc

drwxr-xr-x 3 root bin 3 Nov 16 2010 gcc
lrwxrwxrwx 1 root root 13 Nov 16 2010 libgcc_s.so -> libgcc_s.so.1...
Forum: Solaris 04-07-2019
673
Posted By Sumanthsv
Hi, While debugging I came to know that the...
Hi,

While debugging I came to know that the following error line appears many times

WARNING: renaming "itertools" since importing it failed: ld.so.1: python: fatal: /usr/sfw/lib/libgcc_s.so.1:...
Forum: Solaris 04-07-2019
673
Posted By Sumanthsv
Need help to compile and create python64 bit (2.7.9) on Solaris10
Hi,

I am trying to build python(2.7.9) 64 bit from source on solaris10. Using the below to compile

./configure CFLAGS=-m64 LDFLAGS=-m64


But getting errors like below while executing make
...
394
Posted By Sumanthsv
Sort only numbers within a string
Hi,

I am having contents in a file like below,

cat testfile
rpool/swap
rpool/swap14
rpool/swap2
rpool/swap3


I want to sort the above contents like,
rpool/swap
rpool/swap2...
233
Posted By Sumanthsv
Thanks a lot..Its working..
Thanks a lot..Its working..
233
Posted By Sumanthsv
Need to compare numbers in alphanumeric string
Hi,

I will be having file names like below,

1420SP1.01804
1420SP1.01805D
1420SP1.01805
1420SP1.01806D
1420SP1.01806
1420SP1.01901D
1420SP1.01901
1420SP1.01902D
1420SP1.01902...
Forum: Red Hat 10-10-2018
841
Posted By Sumanthsv
Pyanaconda yumpayload.py while installing custom CentOS
I have added grub2 efi package to package folder in extracted iso folder and used below command to create repo
createrepo -v PackagesFolder
I didn't do any changes in comps.xml as an entry with...
558
Posted By Sumanthsv
Thanks Scrutinizer ..it's working
Thanks Scrutinizer ..it's working
558
Posted By Sumanthsv
Print loop output on same line dynamically
Hi,

I am trying to print copy percentage completion dynamically by using the script below,

#!/bin/bash
dest_size=0
orig_size=`du -sk $sourcefile | awk '{print $1}'`
while [ $orig_size -gt...
Forum: Solaris 03-29-2018
1,032
Posted By Sumanthsv
Create-aggr failed
Hi,

I am trying to create aggregation by using dladm, But am getting the following error.
dladm create-aggr -P L2 -l net2 sumaggr2
dladm: create operation failed: link busy

I have checked in...
Forum: Solaris 03-01-2018
789
Posted By Sumanthsv
Date and time change in global and non global zone
Hi,

If I change date and time in global zone, then it will affect in non global zones.

During this process what files will get affect in non global zones and which mechanism it's using to...
471
Posted By Sumanthsv
Thanks a lot for the reply.. I have done...
Thanks a lot for the reply..

I have done using "sed" like below and its working fine.

func=`grep "()" Scriptname | cut -d "(" -f1`
for i in $func
do
sed -i "/$i()/ {n;a\
echo $i
}"...
471
Posted By Sumanthsv
HI, As my script is having too many...
HI,

As my script is having too many functions.I need to know the flow while executing..Because of that i need to print each function names inside the function(echo 'functionname')

Note:I can...
471
Posted By Sumanthsv
Need help on awk for printing the function name inside each function
Hi,

I am having script which contains many functions. Need to print each function name at the starting of the function. Like below,

functionname()
{
echo "functionname"
commands....
}

...
351
Posted By Sumanthsv
Hi, This is not an homework assignment..In...
Hi,

This is not an homework assignment..In my own script i wanted to do this.
OS=Sol11

I tried by using the below, I feel some better way is there to do the same
var=xms@milano:z1...
351
Posted By Sumanthsv
Need help on awk or sed
Hi,

I am having variable like below
var=xms@milano:z1I need to exchange the fields after '@' like "z1-milano"..Finally i need a output like "xms@z1-milano"

I tried by using tr and cut command...
Showing results 1 to 25 of 45

 

Featured Tech Videos

All times are GMT -4. The time now is 06:06 AM.
Unix & Linux Forums Content Copyright 1993-2019. All Rights Reserved.
Privacy Policy