Koozali.org: home of the SME Server

Uninstalling and Reinstalling Hylafax on SME server 7

tebsa

Uninstalling and Reinstalling Hylafax on SME server 7
« on: August 17, 2006, 11:50:31 AM »
Chaloner,

 :-?

I want to uninstall hylafax on my SME server 7.0 and install it again, or please tell me why is it that when I run faxsetup I get the following messages:

Setup program for HylaFAX (tm) 4.3.0.

Created for i686-pc-linux-gnu on Tue May 30 12:40:28 EDT 2006.

Reading cached parameters from /var/spool/hylafax/etc/setup.cache.

Checking system for proper client configuration.
Checking system for proper server configuration.


Warning: /sbin/mgetty does not exist or is not an executable program!

The file:

    /sbin/mgetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /sbin/mgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /sbin/vgetty does not exist or is not an executable program!

The file:

    /sbin/vgetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /sbin/vgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /bin/egetty does not exist or is not an executable program!

The file:

    /bin/egetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /bin/egetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!

The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile.  Without this information HylaFAX may generate
illegible facsimile from ASCII text.

How do I uninstall it or how do I fix the problem above?

Please reply quickly because I really need to get it running now.

Tebsa
Bye

Offline chaloner

  • ***
  • 73
  • +0/-0
    • http://www.chaloner.ca
Uninstalling and Reinstalling Hylafax on SME server 7
« Reply #1 on: August 19, 2006, 05:46:37 AM »
I would need a bit more information...

Hardware??? CPU??? What did you use to install it? I have never seen any of what you are showing me here so I must assume it was not done right.... EVENTHOUGH it should install in minutes...

I can fix it (most likely) in minutes with root access....

Email me at email@chaloner.ca and I will try to help...

Chaloner Hale

duncan

Uninstalling and Reinstalling Hylafax on SME server 7
« Reply #2 on: August 19, 2006, 04:17:32 PM »
You know - installing Hylafax is dead easy.

Download the current rpm

Then do
# yum --enablerepo=base --enablerepo=updates localinstall nameofhylafax.rpm
# faxsetup

Offline judgej

  • *
  • 375
  • +0/-0
Re: Uninstalling and Reinstalling Hylafax on SME server 7
« Reply #3 on: November 08, 2006, 03:30:13 PM »
Quote from: "tebsa"
Chaloner,

 :-?

I want to uninstall hylafax on my SME server 7.0 and install it again, or please tell me why is it that when I run faxsetup I get the following messages:

Setup program for HylaFAX (tm) 4.3.0.

...


I'm getting exactly the same errors, on a vanilla SME7 (with the latest patches as at November 2006).

The errors are right: /sbin/getty does not exist, and is not anywhere else on the server. Same for vgetty and egetty, and the ghostscript fonts (/usr/share/ghostscript/fonts).

I've not really got a clue where to start, since the script is supposed to "just work" (it just doesn't, I guess).

-- JJ

PS I'm trying removing the package and starting again:


Code: [Select]
yum --enablerepo=base --enablerepo=updates remove hylafax-4.3.0-2rhel4.i386
-- Jason

duncan

Re: Uninstalling and Reinstalling Hylafax on SME server 7
« Reply #4 on: November 09, 2006, 08:58:38 AM »
Quote from: "judgej"

PS I'm trying removing the package and starting again:


Code: [Select]
yum --enablerepo=base --enablerepo=updates remove hylafax-4.3.0-2rhel4.i386


So - how did you go?

Offline judgej

  • *
  • 375
  • +0/-0
Re: Uninstalling and Reinstalling Hylafax on SME server 7
« Reply #5 on: November 10, 2006, 03:05:43 AM »
Quote from: "duncan"
Quote from: "judgej"

PS I'm trying removing the package and starting again:


Code: [Select]
yum --enablerepo=base --enablerepo=updates remove hylafax-4.3.0-2rhel4.i386


So - how did you go?


Yeah - seemed to go okay. It did not make the errors go away, but the end result does appear to work (perhaps making the removal of the RPM a bit of a red herring).

I get all the same warnings as you when adding a modem, but it does not affect Hylafax's ability to receive faxes. I suspect it may be a different case sending faxes, with the missing fonts. I think the fonts need to be installed manually. Without the fonts, I suspect creating cover pages would be a little harder (maybe check out the FaxRelay contrib to see if that adds any of these missing files).

So in short - just ignore the warnings, and see if what gets installed provides you with the functionality you need.

-- Jason
-- Jason

Offline chaloner

  • ***
  • 73
  • +0/-0
    • http://www.chaloner.ca
Uninstalling and Reinstalling Hylafax on SME server 7
« Reply #6 on: November 10, 2006, 03:27:56 AM »
You need to remove the faxgetty entry as well;

rm -f /etc/e-smith/templates-custom/etc/inittab/S85hylafax
/sbin/e-smith/expand-template /etc/inittab
/sbin/init q

I have installed this MANY MANY TIMES and have never seen any errors. So I am wondering WHAT THE HECK is going on with these installs showing errors all over the place. There should not be any... We are talking about SME7 here I hope.

Chaloner Hale

duncan

Re: Uninstalling and Reinstalling Hylafax on SME server 7
« Reply #7 on: November 10, 2006, 07:05:40 AM »
Quote from: "judgej"


So in short - just ignore the warnings, and see if what gets installed provides you with the functionality you need.

-- Jason


Well - like I pointed out in an earlier post. It should be as simple as downloading the most current rpm from the hylafax site and do as follows.

 
Code: [Select]
yum --enablerepo=base --enablerepo=updates localinstall nameofhylafax.rpm

This will resolve and install all required dependencies.

Offline cb-wizard

  • *
  • 31
  • +0/-0
Uninstalling and Reinstalling Hylafax on SME server 7
« Reply #8 on: November 27, 2006, 03:21:22 PM »
Getting the same errors on a clean sme v7 install.  Followed the chaloner download and guide.  Remove & re-installed rpm, still the same problems.  

Can't send faxes out, WHFC can't connect to server.

Error log:

Setup program for HylaFAX (tm) 4.3.0.

Created for i686-pc-linux-gnu on Tue May 30 12:40:28 EDT 2006.

Reading cached parameters from /var/spool/hylafax/etc/setup.cache.

Checking system for proper client configuration.
Checking system for proper server configuration.


Warning: /sbin/mgetty does not exist or is not an executable program!

The file:

    /sbin/mgetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /sbin/mgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /sbin/vgetty does not exist or is not an executable program!

The file:

    /sbin/vgetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /sbin/vgetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /bin/egetty does not exist or is not an executable program!

The file:

    /bin/egetty

does not exist or this file is not an executable program.  The
HylaFAX software optionally uses this program and the fact that
it does not exist on the system is not a fatal error.  If the
program resides in a different location and you do not want to
install a symbolic link for /bin/egetty that points to your program
then you must reconfigure and rebuild HylaFAX from source code.


Warning: /usr/share/ghostscript/fonts does not exist or is not a directory!

The directory /usr/share/ghostscript/fonts does not exist or this file is not a directory.
This is the directory where the HylaFAX client applications expect to
locate font metric information to use in formatting ASCII text for
submission as facsimile.  Without this information HylaFAX may generate
illegible facsimile from ASCII text.


Make /var/spool/hylafax/bin/ps2fax a link to /var/spool/hylafax/bin/ps2fax.gs.


Make /var/spool/hylafax/bin/pdf2fax a link to /var/spool/hylafax/bin/pdf2fax.gs.

Update /var/spool/hylafax/status/any.info.

        HylaFAX configuration parameters are:

        [1] Init script starts faxq:            yes
        [2] Init script starts hfaxd            yes
        [3] Start old protocol:                 no
        [4] Start paging protocol:              no
Are these ok [yes]?


My specs: Intel P4 3.0GHz, 1Gb RAM, 160Gb SATA disk, used same CD for all previous installs, hylafax working O.K. on other systems.
...