Ask Your Question
1

Netatalk - where to find out, why it crashed?!?

asked 2018-06-15 14:38:28 -0500

kela gravatar image

Hello

been useing fedora since 21* and have to useage for netatalk, been useing this site http://netatalk.sourceforge.net/wiki....andCentOS and recently i had to reinstall a server, so got version 28. flawlessly until i had to use netatalk. used that site, it does say 29 and not testet on 28 but on 29 and 27. everything installs fine. but when ever i write/read on the shares, the hole server just stops it's connection to localnetwork/outside. i got login manuelly on the server with keyboard and screen. and simpley reboot it, then it works until i use netatalk agian. i sat the network on the server up with nmcli like i use to recently. can't ping google or gateway when ever it "crash" when i'm there physically can't find anything in logs that shouuld indicate that it's kernel panic or even a crash.

ALSO

i have a another server. did exactly the same with it. everything works in it tho.. only diffirience is how many cores they have..

here's netatalk afp.conf

;
; Netatalk 3.x configuration file
;

[Global]
    uam list = uams_dhx.so uams_dhx2.so
    afp listen = 10.0.0.14
    max connections = 100
    mimic model = RackMac
    afpstats = yes
    vol dbnest = no
    vol dbpath = /mnt/Hdd1/
    map acls = rights
    chmod request = preserve
afp interfaces = enp0s7
afp port = 548
cnid listen = localhost:4700
log level = default:maxdebug



;[Homes]
;basedir regex = /home


[Hdd1]
path = /mnt/Hdd1
cnid dev = no
    file perm = 774
    directory perm = 775
    umask = 000
    veto files = .windows/.mac/

[Timemachine]
path = /mnt/Hdd2/Backup
time machine = yes
cnid dev = no
    file perm = 774
    directory perm = 775
    umask = 000
    veto files = .windows/.mac/

[Hdd2]
path = /mnt/Hdd2
cnid dev = no
    file perm = 774
    directory perm = 775
    umask = 000
    veto files = .windows/.mac/
[Hdd3]
path = /mnt/Hdd3
cnid dev = no
    file perm = 774
    directory perm = 775
    umask = 000
    veto files = .windows/.mac/
[Hdd4]
path = /mnt/Hdd4
cnid dev = no
    file perm = 774
    directory perm = 775
    umask = 000
    veto files = .windows/.mac/
[Hdd5]
path = /mnt/Hdd5
cnid dev = no
    file perm = 774
    directory perm = 775
    umask = 000
    veto files = .windows/.mac/
edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2018-06-16 14:59:16 -0500

hhlp gravatar image

updated 2018-06-17 05:47:13 -0500

Netatalk is a freely-available Open Source AFP fileserver. A UNIX, Linux or BSD system running Netatalk is capable of serving many Macintosh clients simultaneously as an AppleShare file server (AFP).

you can install netatalk from this COPR repo here : see note what is COPR repo

you can serahc other COPR repo with this command :

   dnf copr search netatalk

let's to start :

sudo dnf copr enable msartori/netatalk
sudo dnf install netatalk mock

then you should do :

# systemctl enable avahi-daemon
# systemctl enable netatalk.sevice
# systemctl start avahi-daemon
# systemctl start netatalk.service

from Netatalk3.1.11SRPMforFedoraandCentOS

after that you can do the follow :

systemctl status netatalk    ->  see what happend with this daemond

then you want to more deep :

Some of the most compelling advantages of systemd are those involved with process and system logging. When using other tools, logs are usually dispersed throughout the system, handled by different daemons and processes, and can be fairly difficult to interpret when they span multiple applications. Systemd attempts to address these issues by providing a centralized management solution for logging all kernel and userland processes. The system that collects and manages these logs is known as the journal.

The journal is implemented with the journald daemon, which handles all of the messages produced by the kernel, initrd, services, etc. In this guide, we will discuss how to use the journalctl utility, which can be used to access and manipulate the data held within the journal.

Filtering by Message Interest

In this section in particular, we'll discuss how to filter based on what service or component you are interested in.

By Unit

Perhaps the most useful way of filtering is by the unit you are interested in. We can use the -u option to filter in this way.

For instance, to see all of the logs from an unit on our system, we can type:

journalctl -u netatalk.service

NOTE : Copr (Cool Other Package Repo) is a Fedora project to help make building and managing third party package repositories easy. The instance to be installed within Fedora Infrastructure provides Fedora maintainers with the ability to create repos of packages to build against and share with others.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2018-06-15 14:38:28 -0500

Seen: 225 times

Last updated: Jun 17 '18