Author |
Message
|
Sneha |
Posted: Tue Feb 26, 2008 3:56 am Post subject: I changed my log path but it is saying inaccessible |
|
|
Apprentice
Joined: 17 Feb 2008 Posts: 29
|
I am working with evaluation copy of MQ in Solaris 10 Box.
I changed my log path to /home/log in the mqs.ini entry of
LogDefaultPath=/home/log from LogDefaultPath=/var/mqm/log.
on top of these entries I found this entry which i did not change at all. is it necessary to change that too???
DefaultPrefix=/var/mqm
Note : i checked the attributes of /home/log which is showing like this.
drwxr-xr-x 2 root root 512 Feb 26 9:45 log |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 26, 2008 4:00 am Post subject: Re: I changed my log path but it is saying inaccessible |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Sneha wrote: |
Note : i checked the attributes of /home/log which is showing like this.
drwxr-xr-x 2 root root 512 Feb 26 9:45 log |
And you're wondering why the queue manager thinks this is inaccessable?
Why are you changing it anyway? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
Sneha |
Posted: Tue Feb 26, 2008 4:05 am Post subject: |
|
|
Apprentice
Joined: 17 Feb 2008 Posts: 29
|
sorry while I am trying to creating the new Queue manager that error is coming. |
|
Back to top |
|
 |
fjb_saper |
Posted: Tue Feb 26, 2008 4:16 am Post subject: Re: I changed my log path but it is saying inaccessible |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
Vitor wrote: |
Sneha wrote: |
Note : i checked the attributes of /home/log which is showing like this.
drwxr-xr-x 2 root root 512 Feb 26 9:45 log |
And you're wondering why the queue manager thinks this is inaccessable?
|
And it never occurred to you that the directory in question needed to be at least rw by the mqm group if not owned by it?
By the way I would not co-mingle the mqm logs with all the other logs...
Have them on their own mounted volume (/home/log/mqm
chown mqm:mqm /home/log/mqm
chmod ug+rwx /home/log/mqm
And in case you wondered those logs are not human friendly... Their are intended to be machine read as redo logs...
And try again...  _________________ MQ & Broker admin |
|
Back to top |
|
 |
Sneha |
Posted: Tue Feb 26, 2008 4:18 am Post subject: |
|
|
Apprentice
Joined: 17 Feb 2008 Posts: 29
|
Log path not valid or inaccessible !!
is the error while I am trying to create the new queue manager. but when i change the defualtpath as /var/mqm queue manager is getting created. pluck this bug please. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Feb 26, 2008 4:22 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
Ask your Unix admin why this isn't working.
They will tell you the same thing we've told you, but maybe you'll listen with your other ears. _________________ I am *not* the model of the modern major general. |
|
Back to top |
|
 |
Sneha |
Posted: Tue Feb 26, 2008 4:23 am Post subject: |
|
|
Apprentice
Joined: 17 Feb 2008 Posts: 29
|
that log i only created especially for mqm with the support of one solaris administrator. Since i tried to create that folder it gave an error that "make directory is not applicable" then that guy gave the same commands what Saper has given just now and made it created at /home. |
|
Back to top |
|
 |
Vitor |
Posted: Tue Feb 26, 2008 4:28 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, USA
|
Sneha wrote: |
that log i only created especially for mqm with the support of one solaris administrator. |
It's a shame this support didn't include doing the chown & chmod the first time round.
How does a log folder created especially for mqm at /home differ from the existing one in /var/mqm which is especially for mqm? _________________ Honesty is the best policy.
Insanity is the best defence. |
|
Back to top |
|
 |
jefflowrey |
Posted: Tue Feb 26, 2008 4:30 am Post subject: |
|
|
Grand Poobah
Joined: 16 Oct 2002 Posts: 19981
|
|
Back to top |
|
 |
Sneha |
Posted: Tue Feb 26, 2008 4:45 am Post subject: |
|
|
Apprentice
Joined: 17 Feb 2008 Posts: 29
|
thank you for the invaluable support. i finished it. it is working perfectly. |
|
Back to top |
|
 |
|