[j-nsp] monitor start messages - SOLVED

Vincent De Keyzer vincent at dekeyzer.net
Thu Jun 20 08:27:24 EDT 2013


Hi Tom, all,

solution: use "monitor start /var/log/messages" (i.e. specify the complete
path) instead of the command below, which does not work anymore with
12.1R3.5.

Regards,

Vincent


On 16 June 2013 01:11, Tom Storey <tom at snnap.net> wrote:

> Just a thought, but have you tried doing a "chmod 664 /var/log/messages"?
>
> That should make it world readable, so should not matter what your user
> level/permissions are.
>
> I would also compare the user/group ownership against a working box to
> make sure its all the same.
>
>
> On 13 June 2013 16:06, Vincent De Keyzer <vincent at dekeyzer.net> wrote:
>
>> Hello,
>>
>> I hope this is a simple one.
>>
>> I have trouble with "monitor start messages":
>>
>> dude at LON2-R96-01-re0> monitor start messages
>>
>> {master}
>> dude at LON2-R96-01-re0>
>> *** error - couldn't open 'messages' (Permission denied) - removed ***
>>
>>
>> {master}
>> dude at LON2-R96-01-re0>
>>
>> It is unclear to me whether this is a file permission issue, or a system
>> login configuration issue.
>>
>> These are the rights I have:
>>
>> dude at LON2-R96-01-re0> show configuration system login class noc-team-user
>> permissions
>> permissions [ access access-control admin configure firewall flow-tap
>> interface-control network routing security snmp-control system
>> trace-control view view-configuration ];
>>
>> {master}
>> dude at LON2-R96-01-re0>
>>
>> Logging on with higher priviledges, I can start a shell and see that:
>>
>> % ls -al /var/log/messages
>> -rw-rw----  1 root  wheel  316194 Jun 13 14:57 /var/log/messages
>> %
>>
>> Strangely, a similar configuration works ok on an EX4200 (it is on a MX960
>> that it does not work).
>>
>> Any idea?
>>
>> Thanks,
>>
>> Vincent
>> _______________________________________________
>> juniper-nsp mailing list juniper-nsp at puck.nether.net
>> https://puck.nether.net/mailman/listinfo/juniper-nsp
>>
>
>


More information about the juniper-nsp mailing list