Search Results

Search: Posts Made By: NewSolarisAdmin
Forum: Solaris 06-25-2010
3,190
Posted By NewSolarisAdmin
Need assistance using live upgrade to patch a zfs server.
I am new to using zfs. I have a new Solaris 10 server and I would like to start using live upgrade to help me have a route to "get back to good" if when patching the server things go badly. In my...
Forum: Solaris 09-24-2009
3,668
Posted By NewSolarisAdmin
Actually I think I am getting it down. I will...
Actually I think I am getting it down. I will post my proposed process here in a bit. I have been thinking more about trying to go with zfs. I asked again and the DB people seem to think it may be...
Forum: Solaris 09-23-2009
3,668
Posted By NewSolarisAdmin
Thanks for the links. Lots of good info in...
Thanks for the links. Lots of good info in there. I understand all of the pieces, it's just how to put them together that I am having trouble with...
Forum: Solaris 09-23-2009
3,668
Posted By NewSolarisAdmin
It is Sol 10. There is supposedly some...
It is Sol 10. There is supposedly some limitation on the Database side of things that limits me to using ufs file systems. If it was up to me I would use zfs too, but I can't.
Forum: Solaris 09-23-2009
3,668
Posted By NewSolarisAdmin
SVM question
I am trying to set up a new server. It has 8 HD's in it. I am using 2 for the system disk. IE set one up mirror to the other. I am using the other 6 as data disks. For those I want to concat 3...
Forum: Solaris 03-31-2009
7,443
Posted By NewSolarisAdmin
Ahh I see thanks guys!
Ahh I see thanks guys!
Forum: Solaris 03-31-2009
7,443
Posted By NewSolarisAdmin
ipf.conf question
OK I am running solaris 10.

I made some changes to my ipf.conf file and issued the command:
ipf -Fa -f /etc/ipf/ipf.conf
to flush out the old and bring in the new changes.

When I ran ipfstat...
1,740
Posted By NewSolarisAdmin
OK cool thanks. I ended up changing the way...
OK cool thanks.

I ended up changing the way I inced it to the:

i=`expr $i + 1`

format and I was good to go!

Thanks again!
1,740
Posted By NewSolarisAdmin
OK I tried to cheat but I get this: NUM="1" ...
OK I tried to cheat but I get this:

NUM="1"

while true; do

if [ $NUM -lt 10 ]
then
NUM="0$NUM"
fi

echo "$NUM"

NUM=$[$NUM + 1]

if [ "$NUM" == "15" ]; then
break
fi

done
1,740
Posted By NewSolarisAdmin
while loop inc a var help please
OK guys I think this is an easy one but i am having a bit of trouble getting a while loop I have to do what I want. I need it to increment a number 1 - 99 but I need it to use 2 digits. So not...
Forum: Solaris 02-20-2009
4,015
Posted By NewSolarisAdmin
I guess it is seeming like no one here uses pca...
I guess it is seeming like no one here uses pca to patch with? If not then what do you guys use? smpatch... Do it by hand using patchadd?
Forum: Solaris 02-19-2009
4,713
Posted By NewSolarisAdmin
I did a search on it when you posted it and found...
I did a search on it when you posted it and found the same place myself.

I guess I will just try it and see.

Log in, su - to root, touch the file.

try to ssh in again on another session and...
Forum: Solaris 02-19-2009
4,713
Posted By NewSolarisAdmin
BTW what will that do to active logins? I mean...
BTW what will that do to active logins? I mean if I were to do it now would it kill existing ones, or just stop new ones?

And just to clarify I will still be able to get to the system over the...
Forum: Solaris 02-19-2009
4,713
Posted By NewSolarisAdmin
WOW I had no idea that existed, that is awesome! ...
WOW I had no idea that existed, that is awesome!

Thank you very much for sharing that, it is exactly what I needed.
Forum: Solaris 02-19-2009
4,015
Posted By NewSolarisAdmin
using pca for the first time, any tips?
I am wanting to use pca to update my solaris 10 server.

I have figured out how to give it my SOA credentials, set it to auto update the pca tool and ignore a few patches I don't want to do. I...
Forum: Solaris 02-19-2009
4,713
Posted By NewSolarisAdmin
stay in multi user mode but stop logins to system?
I want to apply patches in multiuser mode but stop logins of other users while I do it?

What is the best way to do this?

I will be connected to the system via a putty session over a serial...
2,933
Posted By NewSolarisAdmin
Hey thanks anyway but I figured it out. I used: ...
Hey thanks anyway but I figured it out. I used:
grep '[\,,",\ ][0-9]\{9\}[\,,",\ ]'

in case that can help anyone else
2,933
Posted By NewSolarisAdmin
I need a script to find socials in files and output a list of those files
I am trying to find socail security numbers in files in (and under) a specific directory and output a list of the files where they are found... the format would be with no dashes just 9 numeric...
30,473
Posted By NewSolarisAdmin
can I use the script command in a bash script?
can I use the script command in a bash script?
39,909
Posted By NewSolarisAdmin
OK figured it out you just have to use the -o...
OK figured it out you just have to use the -o like this:
sftp -o IdentityFile=${IdFile} -b ${BatchFile} user@server
30,473
Posted By NewSolarisAdmin
I can't figure anything out either... This is...
I can't figure anything out either... This is really bumming me out, seems like it should be easy.
39,909
Posted By NewSolarisAdmin
yep worked for me, I should have tried that...
yep worked for me, I should have tried that before I asked..

Sorry for the dumb question, but thanks for the help!

Now I just have to figure out how to direct it to use a private key???
39,909
Posted By NewSolarisAdmin
sftp how to deal with space in path to dir?
OK I am trying to use something similar to this:

#!/bin/sh
echo "OK, starting now..."
sftp -b /dev/fd/0 user@remotehost <<EOF
cd pub
ascii
put filename.txt
bye
EOF

only...
30,473
Posted By NewSolarisAdmin
how to direct scp output to a file in bash shell or script
I can run this from the command line:
scp -i identfile /path/file_to_send remotelogin@remotebox:/path_to_put_it/file_to_send

and I get:
file_to_send 100%...
15,609
Posted By NewSolarisAdmin
Awesome, thanks a bunch!
Awesome, thanks a bunch!
Showing results 1 to 25 of 56

 
All times are GMT -4. The time now is 05:02 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy