Advertisements

Tag Archives: grep

Samba share without permission. Directory showing as d———

Server is mounting network share being exported using CIFS

root@linux:~ # df -hP /arq/avf/ROT_EFC
Filesystem Size Used Avail Use% Mounted on
//172.20.1.2/Operacao_ROT_EFC$ 43G 40G 3.2G 93% /arq/avf/ROT_EFC

root@linux:~ # mount | grep ROT_EFC
//172.20.1.2/Operacao_ROT_EFC$ on /arq/avf/ROT_EFC type cifs (rw)

Information about the filesystem on /etc/fstab

root@linux:~ # grep Operacao_ROT_EFC /etc/fstab
//172.20.1.2/Operacao_ROT_EFC$ /arq/avf/ROT_EFC cifs _netdev,user=s-ad-USER1468,pass=userpassword,uid=21376,gid=889,file_mode=0775,dir_mode=0775,domain=setaoffice,cifsacl

There is no permission and it can’t be changed by the Linux server brqsb1valeas890

root@linux:~ # ls -ld /arq/avf/ROT_EFVM /arq/avf/ROT_EFC
d——— 7 user1468 admweb 0 Sep 15 15:53 /arq/avf/ROT_EFC

root@linux:~ # chmod 775 /arq/avf/ROT_EFC
chmod: changing permissions of `/arq/avf/ROT_EFC’: Permission denied

No problem mounting manually

mount -t cifs //172.20.1.2/Operacao_ROT_EFC$ /arq/avf/ROT_EFC -o “username=s-ad-USER1468,domain=setaoffice,uid=21376,gid=889,file_mode=0775,dir_mode=0775”

Rewrote entry in /etc/fstab. Must have been a hidden character

root@linux:~ # umount /arq/avf/ROT_EFC
root@linux:~ # mount /arq/avf/ROT_EFC
root@linux:~ # ls -dl /arq/avf/ROT_EFC
drwxrwxr-x 7 user1468 admweb 0 Sep 15 15:53 /arq/avf/ROT_EFC

Advertisements

HPOM – SOL_mon is warning about a network interface

UXMON: genunix: [ID 408789 kern.warning] WARNING: ce1: fault detected external to device; service degraded

Node : solaris10_node1.setaoffice.com
Node Type : Sun SPARC (HTTPS)
Severity : major
OM Server Time: 2015-06-23 09:22:58
Message : UXMON: genunix: [ID 408789 kern.warning] WARNING: ce1: fault detected external to device;

service degraded
Msg Group : OS
Application : SOL_mon
Object : hardware
Event Type :
not_found

Instance Name :
not_found

Instruction : “The Fault Management agent has identified a HW

or OS related problem with the severity presented by the ticket.
The problem(s) can be viewed and managed with the command – fmdump
To get a better understanding of the problem and on how to resolve it, locate the event that generated
the ticket in the syslog file /var/adm/messages, a URL will be found (http://sun.com/msg/xxx-nnnn-yy),
follow the link using your Oracle portal account for instructions.”

Check /var/adm/messages for mentions about this network interface

root@solaris10_node1:/ # grep ce1 /var/adm/messages
Jun 23 10:20:59 solaris10_node1 genunix: [ID 408789 kern.warning] WARNING: ce1: fault detected external to device; service degraded
Jun 23 10:20:59 solaris10_node1 genunix: [ID 451854 kern.warning] WARNING: ce1: xcvr addr:0x01 – link down

Also check dmesg

root@solaris10_node1:/ # dmesg | grep ce1
Jun 22 14:26:02 solaris10_node1 genunix: [ID 408789 kern.warning] WARNING: ce1: fault detected external to device; service degraded
Jun 22 14:26:02 solaris10_node1 genunix: [ID 451854 kern.warning] WARNING: ce1: xcvr addr:0x01 – link down
Jun 22 14:26:05 solaris10_node1 genunix: [ID 408789 kern.notice] NOTICE: ce1: fault cleared external to device; service available
Jun 22 14:26:05 solaris10_node1 genunix: [ID 451854 kern.notice] NOTICE: ce1: xcvr addr:0x01 – link up 10 Mbps half duplex
Jun 22 14:26:11 solaris10_node1 genunix: [ID 408789 kern.warning] WARNING: ce1: fault detected external to device; service degraded
Jun 22 14:26:11 solaris10_node1 genunix: [ID 451854 kern.warning] WARNING: ce1: xcvr addr:0x01 – link down
Jun 22 14:26:12 solaris10_node1 genunix: [ID 408789 kern.notice] NOTICE: ce1: fault cleared external to device; service available
Jun 22 14:26:12 solaris10_node1 genunix: [ID 451854 kern.notice] NOTICE: ce1: xcvr addr:0x01 – link up 10 Mbps half duplex
Jun 23 10:20:59 solaris10_node1 genunix: [ID 408789 kern.warning] WARNING: ce1: fault detected external to device; service degraded
Jun 23 10:20:59 solaris10_node1 genunix: [ID 451854 kern.warning] WARNING: ce1: xcvr addr:0x01 – link down

If you don’t need monitoring, configure /var/opt/OV/conf/OpC/dmsg_mon.cfg to suppress this alarm.

%d bloggers like this: