10-02-2015
Hello Raj,
It completly depends on the services/application/tools you are using that where you want to set the default location of the logs(including core/dump logs).As you haven't mentioned which tool you are using so let's say for an example I am using JMS(Java method Server) an efficient tool for handling JAVA applications to call methods using web services or dmbasic methods. It is fairly used in content managment tools specially Documentum(A product of EMC2 very famous for content mgmt). So after installing JMS you will get the default STOP/START scripts to make service up and down in that case you have option there to mention the location of logs(any code deplyment or code/dumps too), so let's say I have given there location /tmp then it will put all logs there and if I am NOT setting anythig then it will put them in a default location $DM_HOME/bin. So check in your tool and try to expore it more about these things, share with us which tool you are using if it is not harming your company's policy. You should get many options to do so.
Hope this helps.
Thanks,
R. Singh
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
What command(s) do I use to change the security on a file? I need to change the owner as well as read write end execute options. (5 Replies)
Discussion started by: ekkehard
5 Replies
2. UNIX for Dummies Questions & Answers
HP UX 11i
Ok my server is about to run out of space, and i would like to know if there is something that i should be doing on a regular basis to maintain the machine like logs that i should clear or dmp file that i should delete...
Thanks in Advance (2 Replies)
Discussion started by: bbutler3295
2 Replies
3. AIX
Is there a setting anywhere to set the default directory for core files rather than creating in /home ?, and I believe there is an option to have named core files e.g core.login.2905, again does anyone know the setting. (0 Replies)
Discussion started by: gefa
0 Replies
4. UNIX for Dummies Questions & Answers
Hi,
If I have a directory full of say 100 random files, and I would like to organize them, for example: FILE001, FILE002, FILE003, FILE004, etc.
How would I do this from Terminal, instead of manually changing each file? I'm using Mac OS X, if that makes a difference.
Thank you in advance... (8 Replies)
Discussion started by: andou
8 Replies
5. UNIX for Dummies Questions & Answers
I have a directory that is existing under my root dir of the FTP server. The DIR name is 'Software Patch'. I want to move in to that DIR to download some patches. But, when I issued a command 'cd SOftware Patch', the system said that it cannot find the dir 'Software'. I tried all possible ways like... (2 Replies)
Discussion started by: vskr72
2 Replies
6. Shell Programming and Scripting
Hi All,
I am trying to wite a Shell script which changes the permission of the files in a folder but stuck at a particular point,please help.
The scenario is as follwoing:
I am having a list of 10 files and a folder which has 100 files.
I need to copare the list and the folder ,for... (4 Replies)
Discussion started by: Sriram.Vedula53
4 Replies
7. UNIX for Dummies Questions & Answers
Hi,
I Installed mysql on my CentOS 6.2 Server. But when I tried to change the location of /var/lib/mysql to another directory. I can't start the mysql. Below is what I've done
yum install mysql mysql-server mysql-devel
mkdir /path/to/new/
cp -R /var/lib/mysql /path/to/new
chown -R... (1 Reply)
Discussion started by: ganitolngyundre
1 Replies
8. Shell Programming and Scripting
I am trying to do the following task :
export ENV=aaa
export ENV_PATH=$(cd /apps | ls | grep $ENV)
However, it's not working. What's the way to change to directory and search some file in that directory in single command
Please help. (2 Replies)
Discussion started by: saurau
2 Replies
9. Shell Programming and Scripting
Hi All,
There is a code like below in my script
###############################################
###Create Directories and Sub-Directories
###############################################
dpdir=DP_FROM_${from}_TO_${to}
mkdir $dpdir
cd $dpdir
mkdir AWQM WFCONTROLLER PROVCO PRISM
... (1 Reply)
Discussion started by: pvmanikandan
1 Replies