Loading ...
Sorry, an error occurred while loading the content.

setcmsstat errno 13 (permission denied?)

Expand Messages
  • young_gun262001
    i been (just recently) getting these messages in the syslog... Apr 14 13:25:49 Sputnik rmsgw[8383]: WARNING: setcmsstat() failed (errno = 13) Apr 14 13:25:49
    Message 1 of 3 , Apr 14, 2010
    • 0 Attachment
      i been (just recently) getting these messages in the syslog...
      Apr 14 13:25:49 Sputnik rmsgw[8383]: WARNING: setcmsstat() failed (errno = 13)
      Apr 14 13:25:49 Sputnik rmsgw[8383]: Channel: AI4RI-10 on DABLAN (144050000 Hz, mode 0)
      Apr 14 13:25:50 Sputnik rmsgw[8383]: Login AI4RI on DABLAN connected to sandiego.winlink.org
      Apr 14 13:26:26 Sputnik rmsgw[8383]: Logout AI4RI tx:54 rx:82 36.0s 3.8 Bytes/s (0)
      Apr 14 13:55:50 Sputnik rmsgw[9155]: #012AI4RI - Linux RMS Gateway LNX2.0.2 Feb 18 2010 (EL99KE)#012
      Apr 14 13:55:50 Sputnik rmsgw[9155]: WARNING: setcmsstat() failed (errno = 13)
      Apr 14 13:55:50 Sputnik rmsgw[9155]: Channel: AI4RI-10 on DABLAN (144050000 Hz, mode 0)
      Apr 14 13:55:50 Sputnik rmsgw[9155]: Login AI4RI on DABLAN connected to sandiego.winlink.org
      Apr 14 14:06:00 Sputnik rmsgw[9155]: ; INFO: Connection closed by CMS#015
      Apr 14 14:06:01 Sputnik rmsgw[9155]: Logout AI4RI tx:135 rx:0 611.0s 0.2 Bytes/s (0)

      permissions "look" ok, all rms files owned by rmsgw.rmsgw. what's happening is that it will connect to my rmsgw server and immediately gets told to disconnect. here's the agwmonitor log.

      1:Fm AI4RI To AI4RI-10 Via N4WKQ-4 <SABM P>[14:15:04]
      1:Fm AI4RI To AI4RI-10 Via N4WKQ-4* <SABM P>[14:15:05]
      1:Fm AI4RI-10 To AI4RI Via N4WKQ-4* <DM F >[14:15:07]
      1:Fm AI4RI-10 To AI4RI Via N4WKQ-4* <DISC P>[14:15:24]
      1:Fm AI4RI-10 To AI4RI Via N4WKQ-4* <DISC P>[14:17:14]

      any ideas ?
      charlie
      ai4ri
    • Jordan
      ... This is for files in /etc/rmsgw/stat ... make sure that the directory is at least writable by group rmsgw and that the files in that directory are
      Message 2 of 3 , Jun 12, 2010
      • 0 Attachment
        >> WARNING: setcmsstat() failed (errno = 13)
        >
        > permissions "look" ok, all rms files owned by rmsgw.rmsgw

        This is for files in /etc/rmsgw/stat ... make sure that the directory is at least writable by group rmsgw and that the files in that directory are likewise. At the worst, you can remove the files in that directory, and they will get re-created.

        /jordan
      • Brian R. Eckert - W3SG
        Hi Jordan! It may be that the directory path leading into stat is the problem. Look at the output of the following commands and make sure that rmsgw has
        Message 3 of 3 , Jun 12, 2010
        • 0 Attachment
          Hi Jordan!

          It may be that the directory path leading into "stat" is the problem.

          Look at the output of the following commands and make sure that rmsgw
          has permissions:
          ls -ld /etc/rmsgw
          ls -ld /etc/rmsgw/stat

          And what user is executing rmsgw and rmsgw_aci? If it is executing as a
          user that doesn't have permissions in that directory, or to the existing
          stat files, that will cause such an error too.

          73
          -brian W3SG


          Jordan wrote:
          >
          > >> WARNING: setcmsstat() failed (errno = 13)
          > >
          > > permissions "look" ok, all rms files owned by rmsgw.rmsgw
          >
          > This is for files in /etc/rmsgw/stat ... make sure that the directory
          > is at least writable by group rmsgw and that the files in that
          > directory are likewise. At the worst, you can remove the files in that
          > directory, and they will get re-created.
          >
          > /jordan
          >
          >
        Your message has been successfully submitted and would be delivered to recipients shortly.