• error 13 on cnf files

    From Ragnarok@VERT to All on Tuesday, September 05, 2017 08:38:41
    hi!
    i update to latest cvs code today and i cannot startup the bbs
    i found a error 13 (access denied)

    the log:

    root@scarlet:/sbbs/exec# ./sbbs nd

    Synchronet Console for Linux Version 3.17 Hack by Ragnarok rev. a Copyright 2016 Rob Swindell

    Reading /sbbs/ctrl/sbbs.ini
    Loading configuration files from /sbbs/ctrl/
    Current uids: ruid - 0, euid - 0, suid - 0
    Current gids: rgid - 0, egid - 0, sgid - 0
    The process 17731 was given capabilities = cap_chown,cap_dac_override,cap_dac_read_search,cap_fowner,cap_fsetid,cap_kill,c ap_setgid,cap_setuid,cap_setpcap,cap_linux_immutable,cap_net_bind_service,cap_n et_broadcast,cap_net_admin,cap_net_raw,cap_ipc_lock,cap_ipc_owner,cap_sys_modul e,cap_sys_rawio,cap_sys_chroot,cap_sys_ptrace,cap_sys_pacct,cap_sys_admin,cap_s ys_boot,cap_sys_nice,cap_sys_resource,cap_sys_time,cap_sys_tty_config,cap_mknod ,cap_lease,cap_audit_write,cap_audit_control,cap_setfcap,cap_mac_override,cap_m ac_admin,cap_syslog,cap_wake_alarm,cap_block_suspend,37+ep
    Setting initial privileges
    The process 17731 was given capabilities = cap_dac_read_search,cap_setgid,cap_setuid,cap_net_bind_service,cap_sys_resource +ep
    Successfully changed user_id to
    Setting minimum privileges
    Current uids: ruid - 0, euid - 0, suid - 0
    Current gids: rgid - 0, egid - 0, sgid - 0
    The process 17731 was given capabilities = cap_net_bind_service,cap_sys_resource+ep
    WARNING: No user account specified, running as root.
    9/5 12:28:40 mail Synchronet Mail Server Revision 1.608 Debug
    9/5 12:28:40 mail Compiled Sep 5 2017 12:14:52 with GCC 4.9.2
    9/5 12:28:40 mail SMBLIB 2.60 (format 1.21)
    9/5 12:28:40 mail Initializing on Tue Sep 5 12:28:40 2017 with options: 80004804
    9/5 12:28:40 mail Loading configuration files from /sbbs/ctrl/
    9/5 12:28:40 term Synchronet Terminal Server Version 3.17 Hack by Ragnarok rev. Revision A Debug
    9/5 12:28:40 srvc Synchronet Services Revision 1.300 Debug
    9/5 12:28:40 srvc Compiled Sep 5 2017 12:14:54 with GCC 4.9.2
    9/5 12:28:40 srvc Initializing on Tue Sep 5 12:28:40 2017 with options: 800 9/5 12:28:40 srvc Loading configuration files from /sbbs/ctrl/
    9/5 12:28:40 term Compiled Sep 5 2017 12:14:34 with GCC 4.9.2
    9/5 12:28:40 term SMBLIB 2.60 (format 1.21)
    9/5 12:28:40 term Initializing on Tue Sep 5 12:28:40 2017 with options: 1812 9/5 12:28:40 term Loading configuration files from /sbbs/ctrl/
    9/5 12:28:45 mail !ERROR 13 (Permission denied) opening /sbbs/node1/node.cnf 9/5 12:28:45 mail !Failed to load configuration files
    9/5 12:28:45 mail #### Mail Server thread terminated (0 connections served, 0 messages received, 2 errors, 2 critcal)
    9/5 12:28:45 term !ERROR 13 (Permission denied) opening /sbbs/node1/node.cnf 9/5 12:28:45 term !FAILED to load configuration files
    9/5 12:28:45 term Terminal Server thread terminating
    9/5 12:28:45 term Terminal Server thread terminated (0 clients served)
    9/5 12:28:45 srvc !ERROR 13 (Permission denied) opening /sbbs/node1/node.cnf 9/5 12:28:45 srvc !Failed to load configuration files
    9/5 12:28:45 srvc #### Services thread terminated (0 clients served)
    [Threads: 2 Sockets: 0 Clients: 0 Served: 0 Errors: 10] (?=Help):

    im running as root and files has correct premission
    any idea?

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT to Ragnarok on Sunday, September 10, 2017 20:39:11
    hi!
    i update to latest cvs code today and i cannot startup the bbs
    i found a error 13 (access denied)

    the log:

    im running as root and files has correct premission
    any idea?

    also get this when imorting qwk

    9/11 00:31:59 term Terminal Server thread started for nodes 1 through 10
    9/11 00:31:59 evnt Inbound QWK Packet detected: /sbbs/data/VERT.qwk
    9/11 00:31:59 evnt Executing external: unzip -o -j /sbbs/data/VERT.qwk * -d /sbbs/temp/event/
    9/11 00:31:59 term /sbbs/data/VERT.qwk doesn't contain MESSAGES.DAT (/sbbs/temp/event/MESSAGES.DAT)
    9/11 00:31:59 evnt /sbbs/data/VERT.qwk renamed to /sbbs/data/VERT.qwk.59b603af.bad

    and the unzip sems to work fine:

    root@scarlet:/sbbs/temp/event# ls -l
    total 68
    -rw-rw-r-- 1 root root 10 sep 10 14:06 2001.NDX
    -rw------- 1 root root 5 sep 10 15:16 2002.NDX
    -rw-rw-r-- 1 root root 5 sep 10 10:06 2003.NDX
    -rw-rw-r-- 1 root root 5 sep 10 19:07 2004.NDX
    -rw-rw-r-- 1 root root 5 sep 5 11:19 2006.NDX
    -rw-rw-r-- 1 root root 5 sep 10 20:07 2007.NDX
    -rw-rw-r-- 1 root root 5 sep 10 06:05 2013.NDX
    -rw-rw-r-- 1 root root 5 sep 10 20:07 2014.NDX
    -rw-rw-r-- 1 root root 10 sep 9 09:04 2015.NDX
    -rw-rw-r-- 1 root root 20 sep 9 09:04 2019.NDX
    -rw------- 1 root root 5 sep 7 13:25 3002.NDX
    -rw-rw-r-- 1 root root 1589 sep 10 20:07 CONTROL.DAT
    -rw-rw-r-- 1 root root 453 sep 10 20:07 DOOR.ID
    -rw-rw-r-- 1 root root 1040 sep 10 20:07 HEADERS.DAT
    -rw-rw-r-- 1 root root 2688 sep 10 20:07 MESSAGES.DAT
    -rw-rw-r-- 1 root root 3068 sep 10 20:07 NETFLAGS.DAT
    -rw------- 1 root root 863 sep 10 15:16 TOREADER.EXT
    -rw-rw-r-- 1 root root 0 sep 10 20:07 VOTING.DAT

    im blind =(

    ---
    þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net
  • From Ragnarok@VERT/DOCKSUD to Ragnarok on Tuesday, September 05, 2017 15:16:23
    El 05/09/17 a las 12:38, Ragnarok escribió:
    hi!
    i update to latest cvs code today and i cannot startup the bbs
    i found a error 13 (access denied)

    the log:

    root@scarlet:/sbbs/exec# ./sbbs nd


    i testing:

    if i use fullpath /sbbs/exec/sbbs nd it work, but if i use ./sbbs nd do
    not work.

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar - telnet://bbs.docksud.com.ar
  • From Ragnarok@VERT/DOCKSUD to Ragnarok on Thursday, September 07, 2017 17:13:25
    El 05/09/17 a las 15:16, Ragnarok escribió:
    El 05/09/17 a las 12:38, Ragnarok escribió:
    hi!
    i update to latest cvs code today and i cannot startup the bbs
    i found a error 13 (access denied)

    the log:

    root@scarlet:/sbbs/exec# ./sbbs nd


    i testing:

    if i use fullpath /sbbs/exec/sbbs nd it work, but if i use ./sbbs nd do
    not work.

    any idea?

    ---
    þ Synchronet þ Dock Sud BBS TLD 24 HS - http://www.docksud.com.ar - telnet://bbs.docksud.com.ar