Search Results

Search: Posts Made By: psshah
10,548
Posted By psshah
What does your script...
What does your script /remote_script/server_install_soft.ksh ?
You may need to automate your script to avoid any interactive input.
When you are running ksh, it is waiting for input in that...
Forum: Solaris 09-05-2011
30,418
Posted By psshah
Hi, Can you paste example o/p also with...
Hi,
Can you paste example o/p also with commands for better understanding?
Can you check if service name is sendmail or just mail?

svcs -a | grep mail


Also put an entry for your IP and...
Forum: Solaris 09-05-2011
2,278
Posted By psshah
Hi, Please explain a bit more. Did you...
Hi,

Please explain a bit more.
Did you configure BSM audit?
What are the flags you enabled?
What type of logs for a particular "library" you are talking about? User access/ IO? Which library?
1,795
Posted By psshah
Yes, it is possible. But, I am afraid, no one...
Yes, it is possible.
But, I am afraid, no one has enough time to write down a script for you.
Why don't you try out by yourself and reply back if you face any issue?
18,584
Posted By psshah
Comment out all code, and just print $1,2,3,4 and...
Comment out all code, and just print $1,2,3,4 and check if the value passed by you to function is properly reflected while calling?

Also, enable debugging using "set -x".
5,503
Posted By psshah
All three were for Solaris. Anyways for...
All three were for Solaris.

Anyways for linux,

Using ttysnoop (Linux Help - ttysnoop Setup Guide (http://www.linuxhelp.net/guides/ttysnoop/) & Linux Server Security Secrets and...
5,503
Posted By psshah
Yep. Check for: BSM Audit...
Yep.


Check for:

BSM Audit (http://www.sunwizard.net/html/PDFs/Solaris_C2_Auditing_with_BSM.pdf (http://www.sunwizard.net/html/PDFs/Solaris_C2_Auditing_with_BSM.pdf) )
ttywatcher...
Forum: Red Hat 08-30-2011
1,812
Posted By psshah
Please take some time and go through...
Please take some time and go through documentation link:
MRTG - MRTG Documentation (http://oss.oetiker.ch/mrtg/doc/index.en.html)

For checking correct version of System, run "uname -a".
Also...
1,827
Posted By psshah
I think all the tasks you want to achieve can be...
I think all the tasks you want to achieve can be done using rsync options only.
No need to write down a separate script for that.

rsync has option for dry run, i.e. instead of syncing data just...
17,210
Posted By psshah
Can you redirect o/p of sqlplus to a file and...
Can you redirect o/p of sqlplus to a file and check what is delimeter?

`echo "
set feedback off;
set pagesize 40;
select * from tblname;
exit;" | sqlplus -s scott/tiger` >tempfile


To...
2,020
Posted By psshah
At the start of both scripts, let them know how...
At the start of both scripts, let them know how they should run i.e. interpreter.
For bash, put first line as #!/bin/bash
Write down your logic.
Call ksh script.
In ksh script, put first line as...
Forum: Linux 08-30-2011
5,827
Posted By psshah
What I understand is, you wanted to run...
What I understand is, you wanted to run apache/php from linux machine, which is currently running fine from solaris machine. Is that so?

Now, shooting in blind, there may couple of...
Forum: AIX 08-29-2011
27,899
Posted By psshah
Did you check below? ...
Did you check below?

https://www.unix.com/answers-frequently-asked-questions/14327-lost-root-password-cant-login-root.html...
1,992
Posted By psshah
There is no different "K" script, can you please...
There is no different "K" script, can you please try to reboot system using "init 6" and check if "K" script ran or not ?
Forum: Solaris 08-29-2011
5,413
Posted By psshah
Can you please run below command on filesystem...
Can you please run below command on filesystem created on c0t0d0?

#fstyp /dev/vx/dsk/<DG_Name>/<Volume_Name>


This command will tell whether filesystem on disk is ufs of vxfs.
As updated by...
1,655
Posted By psshah
Try below modified code: for i in site1...
Try below modified code:

for i in site1 site2 site3 site4 site5 site6
do
cd /var/www/cgi-bin/$i
./application.cgi
done


Note: Just changed i$ to $i.
Refer Bash For Loop Examples...
1,655
Posted By psshah
Why don't you write down one for all of us and...
Why don't you write down one for all of us and post here?

Flow should be:


Run "ls" in directory
Prepare list of directories in a text file.
Set a loop to go through all the lines in test...
1,992
Posted By psshah
One query: Do you say that "K" script is...
One query:
Do you say that "K" script is getting called while system start up?

Two things:
1. When you do reboot your "K" scripts won't be called, it is not graceful shutdown of system. Please...
Forum: Solaris 08-27-2011
5,807
Posted By psshah
Hi there, I would suggest to refer only...
Hi there,
I would suggest to refer only official links from Oracle/Solaris/Symmentech, when it comes to patching.

Go to oracle site, search for correct patch, check dependencies etc.
Download...
Forum: SuSE 08-27-2011
3,094
Posted By psshah
Adding to what yazu suggested, below link may...
Adding to what yazu suggested, below link may help:
Unix shell - Wikipedia, the free encyclopedia (http://en.wikipedia.org/wiki/Unix_shell#Configuration_files_for_shells)
16,797
Posted By psshah
One query, is it a command or script? For a...
One query, is it a command or script?

For a single command, an alternative:
sh -xv SCRIPTNAME | tee output.log

For a script, better to add below at start (ofcourse shell dependent):

#...
2,558
Posted By psshah
Issue 1: Put space between "[" and "$";...
Issue 1:
Put space between "[" and "$"; something like below:
if [[ ${rc} -eq 0 ]]

Issue 2: Syntax for mail command is not correct.
This may vary depending upon type of OS. First try sending...
Forum: Linux 08-26-2011
2,212
Posted By psshah
Many Many Happy Returns of the day!!! :)
Many Many Happy Returns of the day!!! :)
Forum: Solaris 08-26-2011
2,470
Posted By psshah
Queries: 1. In above code, if someone directly...
Queries:
1. In above code, if someone directly shut down system, it won't log in mentioned file, what is remedy for that?
2. Do your user login to solaris using CLI/GUI?
3. How did you achieve...
Forum: Solaris 08-25-2011
10,973
Posted By psshah
Run "svcs -xv". It will show service...
Run "svcs -xv".

It will show service "svc:/system/filesystem/minimal:default " intom maintenance.
Check corresponding log file mentioned in o/p of svcs -xv.

See if you are able to figure out...
Showing results 1 to 25 of 55

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