Search Results

Search: Posts Made By: Peasant
404
Posted By Peasant
Looks like a broken ...
Looks like a broken /app/perm/backend/check_port_process/CHECK_PORT_PROCESS_MAIN.sh script.
Can you post content of that script perhaps ?

Script hangs due to some condition, one should debug it....
110
Posted By Peasant
Bit vague requirement, processes must be running...
Bit vague requirement, processes must be running on servers :)

Using, for instance, local5.info facility and logger command inside a shell script.
You configure that servers syslog to send logs...
173
Posted By Peasant
Here is an awk example with ip -ooption (among...
Here is an awk example with ip -ooption (among others).
Not everything is parsed, but you get the idea with this example how to proceed if you want (or not :)



Perhaps somebody can shorten...
256
Posted By Peasant
I do condone coding practices mentioned and...
I do condone coding practices mentioned and standard compliance.
One should produce shell code to run anywhere (or any code), if able.

But, the OP posted his operating system is fedora linux and...
342
Posted By Peasant
Can you post output of : find $HOME -type f...
Can you post output of :

find $HOME -type f -name 'salt'
ls -dl $HOME/salt


From the whereis output salt is located under /home/stack

This looks like openstack software, which on the...
301
Posted By Peasant
After 1300ish posts one should know to post error...
After 1300ish posts one should know to post error you found.
This will benefit others and be in search results.

So, please, post the solution.

Regards
Peasant.
301
Posted By Peasant
Please post operating system details. Can...
Please post operating system details.

Can you show output from :

which bash
head -1 <your script> | od -cb


Regards
Peasant.
261
Posted By Peasant
Why not check it by creating some files and doing...
Why not check it by creating some files and doing for loop with a simple echo ?
Default order of things should be apparent from the output produced.

As for other requirements, it will have to be...
144
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 2 Weeks Ago
447
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 2 Weeks Ago
447
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...
609
Posted By Peasant
Please open new topic for new questions or...
Please open new topic for new questions or issues.

Regards
Peasant.
609
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...
609
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*...
609
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? 3 Weeks Ago
698
Posted By Peasant
HAL9000 : Welcome Dave :) Regards Peasant.
HAL9000 : Welcome Dave :)

Regards
Peasant.
427
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.
473
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...
451
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 4 Weeks Ago
1,268
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 4 Weeks Ago
1,268
Posted By Peasant
Can you please show output of : cat...
Can you please show output of :

cat /etc/nsswitch.conf


Regards
Peasant.
Forum: Solaris 4 Weeks Ago
1,268
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 4 Weeks Ago
1,263
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.
525
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.
...
525
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.
...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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