Search Results

Search: Posts Made By: Peasant
129
Posted By Peasant
Can you please be more precise and note your...
Can you please be more precise and note your operating system with shell details.
Offer an example of your problem and/or make better wording.

Regards
Peasant.
Forum: Solaris 5 Days Ago
193
Posted By Peasant
But you issued zlogin <zone>, not zlogin -C...
But you issued zlogin <zone>, not zlogin -C <zone>
Please issue with -C.

Did you have disk full on global zone and all the zones in one point of time ?

I've seen zones on attach required to...
Forum: Solaris 5 Days Ago
193
Posted By Peasant
What kind of zone is it (exclusive or shared ip...
What kind of zone is it (exclusive or shared ip stack) ?
Are you sharing disk for zone with global zone, and everything got full or ?

Can you show / check the output of

zoneadm list -cv
zfs...
373
Posted By Peasant
Please open new topic for new questions or...
Please open new topic for new questions or issues.

Regards
Peasant.
373
Posted By Peasant
Great you have everything working. Depending on...
Great you have everything working.
Depending on the network topology and desired level of redundancy of network, one might configure it a bit more.

If you have one cable in physical machine...
373
Posted By Peasant
Looks fine. As far as i could read online, it's...
Looks fine.
As far as i could read online, it's some kind of Oracle Linux derivative which in turn is RHEL base.

Can we see inside the guest ..

ls -lrt /etc/sysconfig/network-scripts/ifcfg-e*...
373
Posted By Peasant
Strange combination, sparc linux on Solaris ldom,...
Strange combination, sparc linux on Solaris ldom, to notice at first.
I do not think that is supported or condoned by Oracle, but since you installed / booted it lets take a look.

Can you show...
Forum: What is on Your Mind? 1 Week Ago
466
Posted By Peasant
HAL9000 : Welcome Dave :) Regards Peasant.
HAL9000 : Welcome Dave :)

Regards
Peasant.
311
Posted By Peasant
Perfectly normal. When you unplug the PS, a...
Perfectly normal.
When you unplug the PS, a fault is generated.

You can clear the fault, after you plugged it back in and it shows everything is ok.

Regards
Peasant.
440
Posted By Peasant
How about mounting the NFS share read-only /...
How about mounting the NFS share read-only / noexec no the reference server ?
User will still be able to execute the script in that directory/mountpoint using bash script.sh
Read only would stop...
418
Posted By Peasant
Here is one as well. awk...
Here is one as well.

awk '/s_ohs_instance_loc/ && match($0,/>.*</) { print substr($0,RSTART+1,RLENGTH-2) } '


Regards
Peasant.
Forum: Solaris 2 Weeks Ago
955
Posted By Peasant
Here : open("/etc/nsswitch.conf",...
Here :

open("/etc/nsswitch.conf", O_RDONLY|O_LARGEFILE) = 4
fcntl(4, F_DUPFD, 0x00000100) = 256
close(4) = 0
read(256, 0xFF352400, 1024)...
Forum: Solaris 2 Weeks Ago
955
Posted By Peasant
Can you please show output of : cat...
Can you please show output of :

cat /etc/nsswitch.conf


Regards
Peasant.
Forum: Solaris 2 Weeks Ago
955
Posted By Peasant
Can you try the following, perhaps it will shed...
Can you try the following, perhaps it will shed some light :

truss -rall -wall chown root:sys <some insignificant file>

Are you using ZFS ?
Please check if you have some old snapshot of rpool...
Forum: Shell Programming and Scripting 3 Weeks Ago
933
Posted By Peasant
I'm not sure i follow. I cannot see -w option...
I'm not sure i follow.
I cannot see -w option handled in code.

Can you be more precise on your problem and write exactly what you need / want your script to do ?

Regards
Peasant.
502
Posted By Peasant
This is not a representative input. First,...
This is not a representative input.

First, lines are not proper but broken. Little vi yank magic helps but ...
Second, the grep success or grep promo_cashback return nothing from your input.
...
502
Posted By Peasant
If we could see the content of tdr12009.log ,...
If we could see the content of tdr12009.log , your job could probably be done with a single awk invocation against the log file.
Show the input please, operating system and shell you are using.
...
Forum: Shell Programming and Scripting 4 Weeks Ago
939
Posted By Peasant
How long does ls -d "/app/scripts"/* last, how...
How long does ls -d "/app/scripts"/* last, how many files are inside ?

What are your operating system and shell details ?
With what options is the filesystem mounted ?

Regards
Peasant.
Forum: What is on Your Mind? 4 Weeks Ago
1,216
Posted By Peasant
Welcome and nice to meet you! Regards ...
Welcome and nice to meet you!

Regards
Peasant.
322
Posted By Peasant
You never used code i posted, and you have...
You never used code i posted, and you have expanded your code with pipes and line counts.

If [[ 'ls $INPUTDIR/abc*.dat | wc -l > 0' ]] -> will always evaluate to true
Without test it will default...
322
Posted By Peasant
Complement the code with : ...
Complement the code with :

INPUTDIR=/path/with/files
for i in $INPUTDIR/abc*.dat
do
if [ -f $i ]; then
echo "File exist, processing..."
else
...
322
Posted By Peasant
Don't think array here is required, as well as a...
Don't think array here is required, as well as a testing if file(s) exists.
Only in some corner cases, if file is deleted during program execution..
Is that your case ?

Will this fill your...
1,268
Posted By Peasant
Presenting snapshot luns will work fine, as long...
Presenting snapshot luns will work fine, as long as you don't present source and snapshots to the same box.

Rescan the fabric, followed by pvscan, then vgimport <your_group_from_pvscan>
Take care...
Forum: Cybersecurity 09-19-2019
370
Posted By Peasant
I've seen this when multiple PAM rules are...
I've seen this when multiple PAM rules are matched for one user or group.
Check pam configuration for such rules.

For instance :

.. other lines ..
password [default=1 success=ignore]...
1,604
Posted By Peasant
Looks strange to me... You did not use the GNU...
Looks strange to me...
You did not use the GNU tar gzip option -z at all.
So content is not compressed.

Can we see output of

file tar_test.tar.gz


Does tar -tvf tar_test.tar.gz display...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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