Migrating from SME 9.2 - nethserver-hylafax

ls -lla /etc/e-smith/templates/var/spool/hylafax/etc/
total 0
drwxr-xr-x 9 root root 131 Jan 12 16:05 .
drwxr-xr-x 3 root root 17 Jan 12 16:05 …
drwxr-xr-x 2 root root 20 Jan 14 15:50 config
drwxr-xr-x 2 root root 247 Jan 14 15:50 config.nethesis
drwxr-xr-x 3 root root 24 Jan 12 16:05 dispatch
drwxr-xr-x 2 root root 59 Jan 14 15:50 FaxDispatch
drwxr-xr-x 2 root root 59 Jan 14 15:50 FaxNotify
drwxr-xr-x 2 root root 20 Jan 14 15:50 FaxWedged
drwxr-xr-x 2 root root 55 Jan 14 15:50 hosts.hfaxd

ls -lla /etc/e-smith/templates/var/spool/hylafax/etc/config/
total 4
drwxr-xr-x 2 root root 20 Jan 14 15:50 .
drwxr-xr-x 9 root root 131 Jan 12 16:05 …
-rw-r–r-- 1 root root 201 May 14 2020 10base

I’m pretty sure that I didn’t touch this side…

NethServer templates seem to be ok, but verify with rpm -V nethserver-hylafax.
Honestly, I can’t guess what’s wrong, probably reinstalling and starting the configuration from a clean state is a better option.

rpm -V nethserver-hylafax
shows nothing.

additionally:
rpm -ql nethserver-hylafax
/etc/backup-data.d/nethserver-hylafax.include
/etc/e-smith/db/configuration/defaults/hylafax
/etc/e-smith/db/configuration/defaults/hylafax-faxq
/etc/e-smith/db/configuration/defaults/hylafax-faxq/status
/etc/e-smith/db/configuration/defaults/hylafax-faxq/type
/etc/e-smith/db/configuration/defaults/hylafax-hfaxd
/etc/e-smith/db/configuration/defaults/hylafax-hfaxd/TCPPort
/etc/e-smith/db/configuration/defaults/hylafax-hfaxd/access
/etc/e-smith/db/configuration/defaults/hylafax-hfaxd/status
/etc/e-smith/db/configuration/defaults/hylafax-hfaxd/type
/etc/e-smith/db/configuration/defaults/hylafax/AreaNumber
/etc/e-smith/db/configuration/defaults/hylafax/ClientShowReceived
/etc/e-smith/db/configuration/defaults/hylafax/CountryCode
/etc/e-smith/db/configuration/defaults/hylafax/DateFormat
/etc/e-smith/db/configuration/defaults/hylafax/Debug
/etc/e-smith/db/configuration/defaults/hylafax/DispatchFileType
/etc/e-smith/db/configuration/defaults/hylafax/FaxDevice
/etc/e-smith/db/configuration/defaults/hylafax/FaxName
/etc/e-smith/db/configuration/defaults/hylafax/FaxNumber
/etc/e-smith/db/configuration/defaults/hylafax/InternationalPrefix
/etc/e-smith/db/configuration/defaults/hylafax/Lang
/etc/e-smith/db/configuration/defaults/hylafax/LongDistance
/etc/e-smith/db/configuration/defaults/hylafax/Mail2Fax
/etc/e-smith/db/configuration/defaults/hylafax/Mode
/etc/e-smith/db/configuration/defaults/hylafax/NotifyFileType
/etc/e-smith/db/configuration/defaults/hylafax/NotifyMaster
/etc/e-smith/db/configuration/defaults/hylafax/PBXPrefix
/etc/e-smith/db/configuration/defaults/hylafax/PaperSize
/etc/e-smith/db/configuration/defaults/hylafax/PrintReceived
/etc/e-smith/db/configuration/defaults/hylafax/PrinterName
/etc/e-smith/db/configuration/defaults/hylafax/Resolution
/etc/e-smith/db/configuration/defaults/hylafax/RingsBeforeAnswer
/etc/e-smith/db/configuration/defaults/hylafax/SambaFax
/etc/e-smith/db/configuration/defaults/hylafax/SambaFaxName
/etc/e-smith/db/configuration/defaults/hylafax/SendReport
/etc/e-smith/db/configuration/defaults/hylafax/SendTo
/etc/e-smith/db/configuration/defaults/hylafax/WaitDialTone
/etc/e-smith/db/configuration/defaults/hylafax/status
/etc/e-smith/db/configuration/defaults/hylafax/type
/etc/e-smith/db/configuration/migrate/hylafax.ns7
/etc/e-smith/db/modems
/etc/e-smith/events/actions/nethserver-hylafax-conf
/etc/e-smith/events/actions/nethserver-hylafax-migrate
/etc/e-smith/events/actions/nethserver-hylafax-modemsetup
/etc/e-smith/events/actions/nethserver-hylafax-sambafax
/etc/e-smith/events/hostname-modify/templates2expand/etc/pam.d/hylafax
/etc/e-smith/events/migration-import/S70nethserver-hylafax-migrate
/etc/e-smith/events/nethserver-hylafax-save/S20nethserver-hylafax-modemsetup
/etc/e-smith/events/nethserver-hylafax-save/S20nethserver-hylafax-sambafax
/etc/e-smith/events/nethserver-hylafax-save/S20nethserver-mail-postmap-update
/etc/e-smith/events/nethserver-hylafax-save/services2adjust/hylafax-faxq
/etc/e-smith/events/nethserver-hylafax-save/services2adjust/hylafax-hfaxd
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/etc/hylafax/hyla.conf
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/etc/pam.d/hylafax
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/etc/sysconfig/hylafax+
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/var/spool/hylafax/etc/FaxDispatch
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/var/spool/hylafax/etc/FaxNotify
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/var/spool/hylafax/etc/FaxWedged
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/var/spool/hylafax/etc/config
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/var/spool/hylafax/etc/config.nethesis
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/var/spool/hylafax/etc/dispatch/print.conf
/etc/e-smith/events/nethserver-hylafax-save/templates2expand/var/spool/hylafax/etc/hosts.hfaxd
/etc/e-smith/events/nethserver-hylafax-update
/etc/e-smith/events/nethserver-hylafax-update/S00initialize-default-databases
/etc/e-smith/events/nethserver-hylafax-update/S20nethserver-hylafax-conf
/etc/e-smith/events/nethserver-hylafax-update/S30nethserver-mail-postmap-update
/etc/e-smith/events/nethserver-hylafax-update/services2adjust/hylafax-faxq
/etc/e-smith/events/nethserver-hylafax-update/services2adjust/hylafax-hfaxd
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/etc/hylafax/hyla.conf
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/etc/pam.d/hylafax
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/etc/sysconfig/hylafax+
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/var/spool/hylafax/etc/FaxDispatch
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/var/spool/hylafax/etc/FaxNotify
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/var/spool/hylafax/etc/FaxWedged
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/var/spool/hylafax/etc/config
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/var/spool/hylafax/etc/config.nethesis
/etc/e-smith/events/nethserver-hylafax-update/templates2expand/var/spool/hylafax/etc/hosts.hfaxd
/etc/e-smith/templates.metadata/etc/cron.daily/hylafax
/etc/e-smith/templates.metadata/var/spool/hylafax/etc/FaxAccounting
/etc/e-smith/templates.metadata/var/spool/hylafax/etc/hosts.hfaxd
/etc/e-smith/templates/etc/cron.daily/hylafax+/10hylafax
/etc/e-smith/templates/etc/hylafax/hyla.conf/10head
/etc/e-smith/templates/etc/hylafax/hyla.conf/15resolution
/etc/e-smith/templates/etc/hylafax/hyla.conf/20head
/etc/e-smith/templates/etc/hylafax/hyla.conf/30head
/etc/e-smith/templates/etc/hylafax/hyla.conf/35pagesize
/etc/e-smith/templates/etc/hylafax/hyla.conf/40head
/etc/e-smith/templates/etc/hylafax/hyla.conf/45dateformat
/etc/e-smith/templates/etc/hylafax/hyla.conf/50fonts
/etc/e-smith/templates/etc/pam.d/hylafax/10base
/etc/e-smith/templates/etc/postfix/internal_access/40sendfax
/etc/e-smith/templates/etc/postfix/master.cf/20sendfax
/etc/e-smith/templates/etc/postfix/transport/30sendfax
/etc/e-smith/templates/etc/postfix/virtual/30sendfax
/etc/e-smith/templates/etc/shorewall/rules/80hylafax
/etc/e-smith/templates/etc/sysconfig/hylafax+/10base
/etc/e-smith/templates/var/spool/hylafax/etc/FaxDispatch/10base
/etc/e-smith/templates/var/spool/hylafax/etc/FaxDispatch/20scripts
/etc/e-smith/templates/var/spool/hylafax/etc/FaxDispatch/template-begin
/etc/e-smith/templates/var/spool/hylafax/etc/FaxNotify/10base
/etc/e-smith/templates/var/spool/hylafax/etc/FaxNotify/20scripts
/etc/e-smith/templates/var/spool/hylafax/etc/FaxNotify/template-begin
/etc/e-smith/templates/var/spool/hylafax/etc/FaxWedged/10base
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/00HF-Head
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/10CountryCode
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/15AreaCode
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/20FaxNumber
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/25LongDistance
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/30International
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/40Debug
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/40txt-tmp1
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/45ClientPerms
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/50Mode
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/55Txt-tmp2
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/60FaxName
/etc/e-smith/templates/var/spool/hylafax/etc/config.nethesis/60Txt-tmp3
/etc/e-smith/templates/var/spool/hylafax/etc/config/10base
/etc/e-smith/templates/var/spool/hylafax/etc/dispatch/print.conf/10base
/etc/e-smith/templates/var/spool/hylafax/etc/hosts.hfaxd/10root
/etc/e-smith/templates/var/spool/hylafax/etc/hosts.hfaxd/20localhost
/etc/e-smith/templates/var/spool/hylafax/etc/hosts.hfaxd/30domain
/etc/sudoers.d/50_nsapi_nethserver_hylafax
/usr/lib/cups/backend/salsafax
/usr/libexec/nethserver/api/nethserver-hylafax/read
/usr/sbin/neth-addmodem
/usr/share/cockpit/nethserver-hylafax/logo.png
/usr/share/cockpit/nethserver-hylafax/manifest.json
/usr/share/cockpit/nethserver/applications/nethserver-hylafax.json
/usr/share/cups/model/postscript.ppd.gz
/usr/share/doc/nethserver-hylafax-1.4.1
/usr/share/doc/nethserver-hylafax-1.4.1/COPYING
/usr/share/doc/nethserver-hylafax-1.4.1/README.rst
/usr/share/nethesis/NethServer/Help/en/NethServer_Module_FaxServer.html
/usr/share/nethesis/NethServer/Help/en/NethServer_Module_FaxServer.rst
/usr/share/nethesis/NethServer/Language/en/NethServer_Module_FaxServer.php
/usr/share/nethesis/NethServer/Module/FaxServer.php
/usr/share/nethesis/NethServer/Template/FaxServer.php
/var/lib/nethserver/fax/docs/received
/var/lib/nethserver/fax/docs/sent
/var/lock/lockdev
/var/spool/hylafax/bin/mail2fax.sh
/var/spool/hylafax/bin/notify.report
/var/spool/hylafax/bin/pdf2fax
/var/spool/hylafax/bin/printreport
/var/spool/hylafax/bin/ps2fax
/var/spool/hylafax/etc/FaxAccounting
/var/spool/hylafax/etc/Fontmap.HylaFAX
/var/spool/hylafax/etc/accounting/00savefiles
/var/spool/hylafax/etc/dispatch/90print
/var/spool/hylafax/etc/notify
/var/spool/hylafax/etc/setup.cache
/var/spool/hylafax/etc/setup.modem
/var/spool/hylafax/notify

o.k. I’m doing a re-install. I removed hylafax.

rpm -qa fax
rpm -qa hylafax
rpm -qa hylafax*
rpm -qa hyla
rpm -qa hyla*
rpm -qa nethserver-hyla
ps -e | grep faxgetty
ps -e | grep faxgetty-ttyS3

Still have an output from

config show hylafax
hylafax=configuration
AreaCode=7032
AreaNumber=7032
ClientShowReceived=disabled
ComPort=/dev/ttyS3
CountryCode=49
DateFormat=DMY
Debug=disabled
DispatchFileType=pdf
FaxDevice=ttyS3
FaxName=XX
FaxNumber=+49.(0)
FaxUserName=faxmaster
InternationalPrefix=00
Lang=de_DE
LongDistance=0
Mail2Fax=disabled
Mode=both
ModemFlowControl=xonxoff
ModemSpeed=14400
ModemType=Class1
ModemVolume=off
NotifyFileType=pdf
NotifyMaster=never
PBXPrefix=
PaperSize=A4
PrintReceived=disabled
PrinterName=
Resolution=196
RingsBeforeAnswer=1
SambaFax=disabled
SambaFaxName=SambaFax
SendReport=disabled
SendTo=telefax@XXX
SummaryReport=enabled
WaitDialTone=enabled
port=ttyS3
status=enabled

yum install nethserver-hylafax
Loaded plugins: changelog, fastestmirror, nethserver_events
Loading mirror speeds from cached hostfile

  • ce-base: repo.uk.bigstepcloud.com
  • ce-extras: repo.uk.bigstepcloud.com
  • ce-sclo-rh: repo.uk.bigstepcloud.com
  • ce-sclo-sclo: repo.uk.bigstepcloud.com
  • ce-updates: repo.uk.bigstepcloud.com
  • epel: ftp.plusline.net
  • nethforge: mrmarkuz.goip.de
  • nethserver-base: mrmarkuz.goip.de
  • nethserver-updates: mrmarkuz.goip.de
    Resolving Dependencies
    –> Running transaction check
    —> Package nethserver-hylafax.noarch 0:1.4.1-1.ns7 will be installed
    –> Processing Dependency: hylafax >= hylafax-5.5.0 for package: nethserver-hylafax-1.4.1-1.ns7.noarch
    –> Processing Dependency: perl-Mail-Sendmail for package: nethserver-hylafax-1.4.1-1.ns7.noarch
    –> Processing Dependency: perl(Mail::Sendmail) for package: nethserver-hylafax-1.4.1-1.ns7.noarch
    –> Processing Dependency: enscript for package: nethserver-hylafax-1.4.1-1.ns7.noarch
    –> Running transaction check
    —> Package enscript.x86_64 0:1.6.6-7.el7 will be installed
    —> Package hylafax+.x86_64 0:7.0.3-1.el7 will be installed
    –> Processing Dependency: hylafax±client(x86-64) = 7.0.3-1.el7 for package: hylafax±7.0.3-1.el7.x86_64
    –> Processing Dependency: /usr/bin/tiffcp for package: hylafax±7.0.3-1.el7.x86_64
    –> Processing Dependency: ghostscript-fonts for package: hylafax±7.0.3-1.el7.x86_64
    –> Processing Dependency: mgetty for package: hylafax±7.0.3-1.el7.x86_64
    –> Processing Dependency: sharutils for package: hylafax±7.0.3-1.el7.x86_64
    –> Processing Dependency: uucp for package: hylafax±7.0.3-1.el7.x86_64
    –> Processing Dependency: libfaxutil.so.7.0.3()(64bit) for package: hylafax±7.0.3-1.el7.x86_64
    —> Package perl-Mail-Sendmail.noarch 0:0.79-21.el7 will be installed
    –> Running transaction check
    —> Package ghostscript-fonts.noarch 0:5.50-32.el7 will be installed
    —> Package hylafax±client.x86_64 0:7.0.3-1.el7 will be installed
    —> Package libtiff-tools.x86_64 0:4.0.3-35.el7 will be installed
    —> Package mgetty.x86_64 0:1.1.36-28.el7 will be installed
    —> Package sharutils.x86_64 0:4.13.3-8.el7 will be installed
    —> Package uucp.x86_64 0:1.07-41.el7 will be installed
    –> Finished Dependency Resolution

Dependencies Resolved

===========================================================================================
Package Arch Version Repository Size

Installing:
nethserver-hylafax noarch 1.4.1-1.ns7 nethserver-base 90 k
Installing for dependencies:
enscript x86_64 1.6.6-7.el7 ce-base 413 k
ghostscript-fonts noarch 5.50-32.el7 ce-base 324 k
hylafax+ x86_64 7.0.3-1.el7 epel 797 k
hylafax±client x86_64 7.0.3-1.el7 epel 418 k
libtiff-tools x86_64 4.0.3-35.el7 ce-base 258 k
mgetty x86_64 1.1.36-28.el7 ce-base 520 k
perl-Mail-Sendmail noarch 0.79-21.el7 epel 29 k
sharutils x86_64 4.13.3-8.el7 ce-base 252 k
uucp x86_64 1.07-41.el7 epel 695 k

Transaction Summary

Install 1 Package (+9 Dependent packages)

Total download size: 3.7 M
Installed size: 11 M
Is this ok [y/d/N]: y
Downloading packages:
(1/10): ghostscript-fonts-5.50-32.el7.noarch.rpm | 324 kB 00:00:00
(2/10): enscript-1.6.6-7.el7.x86_64.rpm | 413 kB 00:00:01
(3/10): hylafax±client-7.0.3-1.el7.x86_64.rpm | 418 kB 00:00:01
(4/10): hylafax±7.0.3-1.el7.x86_64.rpm | 797 kB 00:00:01
(5/10): mgetty-1.1.36-28.el7.x86_64.rpm | 520 kB 00:00:00
(6/10): libtiff-tools-4.0.3-35.el7.x86_64.rpm | 258 kB 00:00:01
(7/10): nethserver-hylafax-1.4.1-1.ns7.noarch.rpm | 90 kB 00:00:00
(8/10): sharutils-4.13.3-8.el7.x86_64.rpm | 252 kB 00:00:00
(9/10): perl-Mail-Sendmail-0.79-21.el7.noarch.rpm | 29 kB 00:00:00
(10/10): uucp-1.07-41.el7.x86_64.rpm | 695 kB 00:00:00

Total 1.6 MB/s | 3.7 MB 00:00:02
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : uucp-1.07-41.el7.x86_64 1/10
Installing : hylafax±client-7.0.3-1.el7.x86_64 2/10
Installing : enscript-1.6.6-7.el7.x86_64 3/10
Installing : libtiff-tools-4.0.3-35.el7.x86_64 4/10
Installing : sharutils-4.13.3-8.el7.x86_64 5/10
Installing : ghostscript-fonts-5.50-32.el7.noarch 6/10
Installing : mgetty-1.1.36-28.el7.x86_64 7/10
Installing : hylafax±7.0.3-1.el7.x86_64 8/10
Installing : perl-Mail-Sendmail-0.79-21.el7.noarch 9/10
Installing : nethserver-hylafax-1.4.1-1.ns7.noarch 10/10
Verifying : uucp-1.07-41.el7.x86_64 1/10
Verifying : nethserver-hylafax-1.4.1-1.ns7.noarch 2/10
Verifying : perl-Mail-Sendmail-0.79-21.el7.noarch 3/10
Verifying : mgetty-1.1.36-28.el7.x86_64 4/10
Verifying : ghostscript-fonts-5.50-32.el7.noarch 5/10
Verifying : sharutils-4.13.3-8.el7.x86_64 6/10
Verifying : hylafax±7.0.3-1.el7.x86_64 7/10
Verifying : hylafax±client-7.0.3-1.el7.x86_64 8/10
Verifying : libtiff-tools-4.0.3-35.el7.x86_64 9/10
Verifying : enscript-1.6.6-7.el7.x86_64 10/10

Installed:
nethserver-hylafax.noarch 0:1.4.1-1.ns7

Dependency Installed:
enscript.x86_64 0:1.6.6-7.el7 ghostscript-fonts.noarch 0:5.50-32.el7
hylafax+.x86_64 0:7.0.3-1.el7 hylafax±client.x86_64 0:7.0.3-1.el7
libtiff-tools.x86_64 0:4.0.3-35.el7 mgetty.x86_64 0:1.1.36-28.el7
perl-Mail-Sendmail.noarch 0:0.79-21.el7 sharutils.x86_64 0:4.13.3-8.el7
uucp.x86_64 0:1.07-41.el7

Complete!

@filippo_carletti

Configuring now from the old server-manager results in

Task completed with errors

Template /var/spool/hylafax/etc/FaxWedged #11 (exit status 1)
expansion of /var/spool/hylafax/etc/FaxWedged failed
Template /var/spool/hylafax/etc/config #12 (exit status 1)
expansion of /var/spool/hylafax/etc/config failed
Template /var/spool/hylafax/etc/dispatch/print.conf #15 (exit status 1)
expansion of /var/spool/hylafax/etc/dispatch/print.conf failed

and

HylaClient::send: client/22870: Cannot open FIFO: No such device or address

Event: nethserver-hylafax-save FAILED

ps -e | grep faxgetty
31917 ? 00:00:00 faxgetty

ps -aux | grep faxgetty
uucp 31917 0.0 0.0 218088 4356 ? Ss 18:47 0:00 /usr/sbin/faxgetty /dev/ttyS3
root 32486 0.0 0.0 112808 968 pts/2 S+ 18:50 0:00 grep --color=auto faxgetty

systemctl stop faxgetty
Failed to stop faxgetty.service: Unit faxgetty.service not loaded

ls -la
total 336
drwxr-xr-x 20 uucp uucp 289 Jan 14 18:42 .
drwxr-xr-x. 23 root root 4096 Jan 14 18:42 …
drwx------ 2 uucp uucp 6 Aug 4 21:42 archive
drwxr-xr-x 3 root root 4096 Jan 14 18:42 bin
drwxr-xr-x 2 uucp uucp 32 Jan 14 18:48 client
drwxr-xr-x 2 root root 4096 Jan 14 18:42 config
drwxr-xr-x 2 root root 78 Aug 19 2019 defaults
drwxr-xr-x 2 root root 18 Aug 4 21:42 dev
drwx------ 2 uucp uucp 18 Aug 4 21:42 docq
drwx------ 2 uucp uucp 6 Aug 4 21:42 doneq
drwxr-xr-x 8 uucp uucp 4096 Jan 14 18:47 etc
prw------- 1 uucp uucp 0 Jan 14 18:48 FIFO
prw------- 1 uucp uucp 0 Jan 14 17:51 FIFO.ttyS2
prw------- 1 uucp uucp 0 Jan 12 16:08 FIFO.ttyS3
drwxr-xr-x 2 uucp uucp 89 Aug 4 21:42 info
drwxr-xr-x 2 uucp uucp 28672 Aug 4 21:42 log
drwxr-xr-x 2 root root 6 May 14 2020 notify
drwx------ 2 uucp uucp 6 Aug 4 21:42 pollq
drwxr-xr-x 2 uucp uucp 196608 Aug 4 21:42 recvq
drwx------ 2 uucp uucp 18 Aug 4 21:42 sendq
drwxr-xr-x 2 uucp uucp 61 Aug 4 21:42 status
drwxr-xr-x 12 uucp uucp 133 Aug 19 2019 templates
drwx------ 2 uucp uucp 37 Aug 4 21:42 tmp

I don’t get it, sorry.

edit:

faxstat
HylaFAX scheduler on xxx.de: Running

MUST be running and idle.

BTW in the new server-manager no service for faxgetty is shown.

@schulzstefan
@filippo_carletti

Hi

Just looking over the entries, I get the impression that either the com port is not there (wrong permissions seem anyway the case - the user involved needs to be member of the “dialout” group to be able to access the com port.)

Is this device there? /dev/ttyS3

(Is that what you’re using for the Faxmodem?)

Please bear in mind that I have not used Hylafax in 4-5 years… :slight_smile:
But the com port / dialout permission is one I always forgot to check myself, when I was still using this…

My 2 cents
Andy

Hi Andy,

com port is correct. I put a serial card in the server because I didn’t trust the onboard serial. Modem is under ttyS3 and worked til updating. Sending and receiving faxes is working.

What is the user used for Hylafax?
Is that user member of the dialout group?

For me it looks like templates are the problem. Maybe the configuration in the old server-manager has not been ported to the last release.

drwxr-xr-x 20 uucp uucp 271 Jan 14 18:56 hylafax

inside the directory:

s -la
total 336
drwxr-xr-x 20 uucp uucp 271 Jan 14 18:56 .
drwxr-xr-x. 23 root root 4096 Jan 14 18:42 …
drwx------ 2 uucp uucp 6 Aug 4 21:42 archive
drwxr-xr-x 3 root root 4096 Jan 14 18:42 bin
drwxr-xr-x 2 uucp uucp 32 Jan 14 18:59 client
drwxr-xr-x 2 root root 4096 Jan 14 18:42 config
drwxr-xr-x 2 root root 78 Aug 19 2019 defaults
drwxr-xr-x 2 root root 18 Aug 4 21:42 dev
drwx------ 2 uucp uucp 18 Aug 4 21:42 docq
drwx------ 2 uucp uucp 6 Aug 4 21:42 doneq
drwxr-xr-x 8 uucp uucp 4096 Jan 14 18:58 etc
prw------- 1 uucp uucp 0 Jan 14 18:58 FIFO
prw------- 1 uucp uucp 0 Jan 12 16:08 FIFO.ttyS3
drwxr-xr-x 2 uucp uucp 89 Aug 4 21:42 info
drwxr-xr-x 2 uucp uucp 28672 Aug 4 21:42 log
drwxr-xr-x 2 root root 6 May 14 2020 notify
drwx------ 2 uucp uucp 6 Aug 4 21:42 pollq
drwxr-xr-x 2 uucp uucp 196608 Aug 4 21:42 recvq
drwx------ 2 uucp uucp 18 Aug 4 21:42 sendq
drwxr-xr-x 2 uucp uucp 79 Jan 14 18:53 status
drwxr-xr-x 12 uucp uucp 133 Aug 19 2019 templates
drwx------ 2 uucp uucp 73 Jan 14 18:54 tmp

BTW: FIFO came from the last install-approach. It has to be FIFO.ttyS3.

I’d like to kill the faxgetty, but I can’t? Where does it come from?

Add in hylafax to the dialout group

Faxgetty:
Does a

kill -9 PID help?

2 Likes

No. It restarts instantly. Where is this process initiated?

Most likely from it’s profile…
(Like Autostart…)

IMVHO this could not be the problem. If I configure this manually, it works. I mean it’s a modem, just running. No need to touch the config for the last 8 years. All I want to have is a persistent configuration whisch survives the next updates from the OS. And the case that the config is lost after issuing updates indicates that something’s wrong with the templates.

Do you have the following in the folders?

These screenshots are from a NS 7.8.2003, where I - without updating - just installed Hylafax from the old NethServer GUI, aka Server-Manager…

Adding hylafax to dialout doesn’t cost anything, is also not a security issue, but if it helps… :slight_smile:

1 Like

Basically. In dispatch there is a folder named /print.conf - it’s empty. The file 90print is there.

The modem works fine if it is configurated from scratch. It looses the config while updating NS. I can’t see that this depends on the group dialout. But I’ll try.

It’s also quickly removed if it’s NOT the problem…

Your templates folder look OK, but it does have problems “expanding” something, as per your post a bit earlier…

As I don’t have a modem - my old Proliant does have serial ports (!) - I can’t check the configuration part. I even have a free, unused analog line, but no modem to test… :frowning: