Koozali.org: home of the SME Server

Sme Server 9 & Hylafax

Offline Merioz

  • **
  • 44
  • +0/-0
Sme Server 9 & Hylafax
« on: June 17, 2015, 11:09:04 PM »
Dopo due anni di digiuno "Sme Server" ritorno a cimentarmi con questa distribuzione.
Ho riscontrato in partenza, un problema, in fase di installazione di Hylafax.
Ho seguito la guida e da shell ho dato il primo comando:

yum --enablerepo=smecontribs install smeserver-hylafax

Il sistema mi risponde così:

[root@smesrv01 hylafax-6.0.6]# yum --enablerepo=smecontribs install smeserver-hylafax
Plugin abilitati:fastestmirror, smeserver
Impostazione processo di installazione
Loading mirror speeds from cached hostfile
 * base: mirror.23media.de
 * smeaddons: ftp.surfnet.nl
 * smecontribs: ftp.surfnet.nl
 * smeextras: ftp.surfnet.nl
 * smeos: ftp.surfnet.nl
 * smeupdates: ftp.surfnet.nl
 * smeupdates-testing: ftp.surfnet.nl
 * updates: mi.mirror.garr.it
Nessun pacchetto smeserver-hylafax disponibile.
Errore: Niente da fare

Domanda: cosa è cambiato? Non posso più installare Hylafax?

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Sme Server 9 & Hylafax
« Reply #1 on: June 17, 2015, 11:14:51 PM »
ciao e bentornato

devi leggere BENE qui:
http://wiki.contribs.org/SME9.0_Contribs_QA

il contrib non è stato migrato da SME8 a SME9 ma non dovresti aver problemi..

io ne ho installato uno (hylafax) su SME9 senza il contrib e va

Offline Merioz

  • **
  • 44
  • +0/-0
Re: Sme Server 9 & Hylafax
« Reply #2 on: June 17, 2015, 11:25:08 PM »
Si ok, però mi rimanda a questa sezione:

http://wiki.contribs.org/SME9.0_Contribs_QA#smeserver-hylafax

...e ritorna al wiki di Hylafax.

Mi conviene installare la versione 8?
Devo fare un esperimento nuovo con Freepbx e Hylafax, però mi sto già arenando, prima ancora di partire...

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Sme Server 9 & Hylafax
« Reply #3 on: June 17, 2015, 11:33:35 PM »
hai letto bene in testa la pagina dove dice:

Quote
Setup

During the transition from SME8 to SME9, contrib packages will be migrated to the SME9 contrib repository. If the contrib is not yet in the SME8 Contrib repository and an entry in this Q&A suggests it will install properly then you will need to install the contrib from the SME8 repository.
Check to see if you already have the sme8contribs repository set up using the command:
db yum_repositories show sme8contribs
If it returns nothing then you will need to create a repo named sme8contribs, which points to the SME 8 smecontribs repo

db yum_repositories set sme8contribs repository \
Name 'SME 8 - contribs' \
MirrorList 'http://mirrorlist.contribs.org/mirrorlist/smecontribs-8' \
GPGCheck yes \
Visible no \
status disabled

signal-event yum-modify
yum clean all

alla voce "setup" del menu? :-)

Offline Merioz

  • **
  • 44
  • +0/-0
Re: Sme Server 9 & Hylafax
« Reply #4 on: June 18, 2015, 12:01:48 AM »
No sono sincero....non ho letto... :(
Grazie comunque Stefano, per la disponibilità!

Offline gromit60

  • ***
  • 97
  • +0/-0
Re: Sme Server 9 & Hylafax
« Reply #5 on: October 19, 2017, 09:16:44 AM »
Ciao. Recupero questo post, perché ho un problema in merito al funzionamento di hylafax su sme 9.
In realtà la cosa è partita con la migrazione che ho fatto da sme 8.2 a sme 9.1 mesi fa. L'unico contrib che non ha funzionato è stato hylafax, ma la cosa è rimasta lì, dato lo scarso utilizzo del fax.
Ora però mi trovo a dover migrare altri due sme 8.2, in realtà in cui il fax viene utilizzato e non vorrei andare incontro agli stessi problemi.
Premetto che non ricordo bene i passaggi fatti, ma ne avevo parlato in altro thread. In sintesi: la versione di hylafax installata è la 6.0.6. Prima domanda: devo scaricare la versione 4.4.4 già presente nei contrib di sme 8?

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Sme Server 9 & Hylafax
« Reply #6 on: October 19, 2017, 09:47:17 AM »
nell'unica macchina con hylafax che ho:

Code: [Select]
[root@faxserver ~]# rpm -qa | grep hyla
hylafax-client-6.0.6-1rhel6.x86_64
hylafax-server-6.0.6-1rhel6.x86_64

[root@faxserver ~]# /sbin/e-smith/audittools/templates | grep hyla
/etc/e-smith/templates-custom/etc/inittab/S85hylafax: MANUALLY_ADDED, ADDITION

[root@faxserver ~]# more /etc/e-smith/templates-custom/etc/inittab/S85hylafax
mo:23457:respawn:/usr/sbin/faxgetty ttyS0

[root@faxserver ~]# config show hylafax
hylafax=service
    status=enabled


non uso il contrib, ma questo basta ed avanza..

Offline gromit60

  • ***
  • 97
  • +0/-0
Re: Sme Server 9 & Hylafax
« Reply #7 on: October 20, 2017, 10:43:35 AM »
Questa è la mia configurazione:

[root@faxserver~]# rpm -qa | grep hyla
hylafax-client-6.0.6-1rhel6.x86_64
hylafax-server-6.0.6-1rhel6.x86_64
smeserver-hylafax-0.9-9.el6.sme.noarch

[root@faxserver~]# /sbin/e-smith/audittools/templates | grep hyla
/etc/e-smith/templates-custom/etc/inittab/S85hylafax: OWNED_BY_RPM, ADDITION
/etc/e-smith/templates-custom/etc/hylafax/hyla.conf/10hyla.conf: MANUALLY_ADDED, OVERRIDE

[root@faxserver~]# more /etc/e-smith/templates-custom/etc/inittab/S85hylafax
{
    use esmith::config;
    use esmith::db;

    my %conf;
    tie %conf, 'esmith::config';

    my $ShortComPort = 'ttyS0';
    $ShortComPort = 'tty' . uc(substr(db_get_prop(\%conf, 'hylafax', 'ComPort'),8,2));

    {
           $OUT .= "fax:23457:respawn:/usr/sbin/faxgetty " . $ShortComPort;
    }
}

[root@faxserver~]# config show hylafax
hylafax=service
       status=enabled

mi sa che c'è qualcuno di troppo...

Offline Stefano

  • *
  • 10,836
  • +2/-0
Re: Sme Server 9 & Hylafax
« Reply #8 on: October 20, 2017, 11:03:00 AM »
no, va benissimo così.. cosa non funziona?

il servizio è su? se chiami la linea il modem la aggancia?
cosa vedi nei log (/var/log/messages)?