Search Results

Search: Posts Made By: Peasant
36
Posted By Peasant
Welcome to the forums Lukej21x Can you share...
Welcome to the forums Lukej21x

Can you share the entire or a major part of the script ?
How are you writing to file(s) using those checks ?

Regards
Peasant.
136
Posted By Peasant
Check out GNU specific grep option find...
Check out GNU specific grep option

find /u0/appl_top/ -name moveplan.xml -exec grep -H -i Passphrase {} \;


Or without GNU grep option

find /u0/appl_top/ -type f -name '*.txt' -exec grep...
344
Posted By Peasant
Such command does not exist, or else someone...
Such command does not exist, or else someone would suggest it.

Regards
Peasant.
283
Posted By Peasant
Please, do post your attempts and efforts,...
Please, do post your attempts and efforts, including operating system and shell details in future.

We would like to see how far you got before helping.

See if this helps you get started...

...
389
Posted By Peasant
I've seen this mostly related to DNS query...
I've seen this mostly related to DNS query timeouts setup from client side.
The defaults are quite high on most linux/unix operating system, from AIX man page online :


In practice if you have,...
294
Posted By Peasant
Check out this example, and apply it to your...
Check out this example, and apply it to your enviroment.


[root@box ~]# id goprog
uid=1000(goprog) gid=1000(goprog) groups=1000(goprog)
[root@box ~]# id jboss
uid=666(jboss) gid=666(jboss)...
344
Posted By Peasant
Check firewall-cmd or iptables -L (depending on...
Check firewall-cmd or iptables -L (depending on linux release and type) rules for specific rules, containing IP addresses in questions.
This should help, if linux firewall is used.

If not, other...
344
Posted By Peasant
If you have access to switches in LAN network or...
If you have access to switches in LAN network or access to both hosts to examine configuration and traffic, yes.
Otherwise, you will not get advice here about 'hacking' tools or their usage, if...
101
Posted By Peasant
Both are exact ports. Currenty jboss is...
Both are exact ports.

Currenty jboss is running in standalone mode, with 9990 being management port (jboss cli and HTTP access for deploying restarting etc...)
And 8080 being application served....
1,063
Posted By Peasant
Since you are using Oracle PL/SQL, it has DBMS...
Since you are using Oracle PL/SQL, it has DBMS Output availability to write to logs and UTL_SMTP to send mails.
Do everything in PL/SQL procedure and make your life easier.

At least, do not use...
116
Posted By Peasant
If your exclude.txt contains content like : ...
If your exclude.txt contains content like :

192.168.1.101
192.168.1.102
192.168.1.103
192.168.1.123


And you wish to exclude from your output.txt based on IP address in exclude.txt, this...
973
Posted By Peasant
Enviroment file is not a apache configuration...
Enviroment file is not a apache configuration file, try removing that line entirely.
Every time you change a systemd unit, you need to reload the daemon

systemctl daemon-reload


Then try to...
817
Posted By Peasant
When dealing with /etc/passwd, /etc/shadow, PAM...
When dealing with /etc/passwd, /etc/shadow, PAM or sudo files :


Have a root session / prompt opened aside from everything else, you will use this session to fix / remedy if something does not...
973
Posted By Peasant
You have an error here i believe : .... ...
You have an error here i believe :

....
EnvironmentFile=/usr/local/apache-2.4.33/bin/httpd
.....


What i guess is going on, is that you are passing $OPTIONS as content of binary httpd file...
1,055
Posted By Peasant
Try adding the -P option to both tar commands and...
Try adding the -P option to both tar commands and omit the change directory.
Since you are extracting full paths, you do not need to cd to anywhere.


tar -Pcvf - $filename |ssh -p222...
Forum: Red Hat 12-02-2019
2,077
Posted By Peasant
Any systemd or init script can be ran as resource...
Any systemd or init script can be ran as resource in linux cluster with most common preconfigured (a lot).

As for scalable, do you expect a shared filesystem among all nodes or similar ?
Such...
Forum: What is on Your Mind? 11-28-2019
1,467
Posted By Peasant
Welcome, well deserved, great coding & advice...
Welcome, well deserved, great coding & advice given here!

Regards
Peasant.
1,504
Posted By Peasant
For DIY ... you can get a small ARM board with...
For DIY ... you can get a small ARM board with sim slot with linux installed.
Buy a sim card or make a contract, like for regular phone.

Using opensource software such as Gammu...
950
Posted By Peasant
Solaris 10 in LDOM should work fine from flar...
Solaris 10 in LDOM should work fine from flar archive.
ldmp2v -
Oracle(R) VM Server for SPARC 3.5 Reference Manual (https://docs.oracle.com/cd/E80106_01/html/E80113/ldmp2v-1m.html)

If...
950
Posted By Peasant
Looks like you are mixing ldoms and zones on the...
Looks like you are mixing ldoms and zones on the same box ?
This is doable, but ill advised.
Create a LDOM first, then zone inside or restore flar archive directly into a LDOM.

As for exclusive...
198
Posted By Peasant
Is this virtual machine and if yes on what...
Is this virtual machine and if yes on what platform ?

If not, what driver is running for that card, which kind of card is it.
Do you have access to lspci command from pciutils ?

Hope that...
1,219
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....
1,301
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...
853
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...
958
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...
Showing results 1 to 25 of 500

 

Featured Tech Videos

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