Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[hylafax-users] cannot start hylafax-server

23 views
Skip to first unread message

Umarzuki Mochlis

unread,
Nov 8, 2010, 4:06:11 AM11/8/10
to hylafa...@hylafax.org
whenever i start hylafax-server on debian lenny, i will get this error:

# /etc/init.d/hylafax start
Starting HylaFAX: syncing directories...ERROR: /var/spool/hylafax/etc/config
is newer than /etc/hylafax/config
Please send a bug report on the hylafax-server package

i tried copying the config file in /etc/hylafax/ to /var/spool/hylafax/etc/
but with same result. What should i do next?

--
Regards,

Umarzuki Mochlis
http://debmal.my

Umarzuki Mochlis

unread,
Nov 8, 2010, 4:14:53 AM11/8/10
to hylafa...@hylafax.org
forgot to mention that i installed hylafax with the package hylafax-server
(:4.4.4-10.1) on debian lenny

2010/11/8 Umarzuki Mochlis <umar...@gmail.com>

Giuseppe Sacco

unread,
Nov 9, 2010, 5:49:28 PM11/9/10
to Umarzuki Mochlis, hylafa...@hylafax.org
Hi,

Il giorno lun, 08/11/2010 alle 17.05 +0800, Umarzuki Mochlis ha scritto:
> whenever i start hylafax-server on debian lenny, i will get this
> error:

[...]


>
> i tried copying the config file in /etc/hylafax/
> to /var/spool/hylafax/etc/ but with same result. What should i do
> next?

The Debian package you are using require both directory to have exacly
the same content. Most important: the directory /etc/hylafax is the
master copy, so when hylafax start, it update /var/spool/hylafax/etc.

In order to fix the problem you found, stop hylafax, then manually
update /etc/hylafax with all newer files in /var/spool/hylafax/etc, then
restart hylafax. Please, try to use "cp -a" in order to copy all file
attributes (including dates).

Bye,
Giuseppe

____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-us...@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sa...@ifax.com.*

Umarzuki Mochlis

unread,
Nov 9, 2010, 7:48:05 PM11/9/10
to Giuseppe Sacco, hylafa...@hylafax.org
2010/11/10 Giuseppe Sacco <gius...@eppesuigoccas.homedns.org>

>
>
> The Debian package you are using require both directory to have exacly
> the same content. Most important: the directory /etc/hylafax is the
> master copy, so when hylafax start, it update /var/spool/hylafax/etc.
>
> In order to fix the problem you found, stop hylafax, then manually
> update /etc/hylafax with all newer files in /var/spool/hylafax/etc, then
> restart hylafax. Please, try to use "cp -a" in order to copy all file
> attributes (including dates).
>

What i did was, i comment in these lines in /etc/init.d/hylafax

# The configuration file has been changed in $dst
#echo "ERROR: $dst is newer than $src" 1>&2
#echo "Please send a bug report on the hylafax-server package" 1>&2
#exit 1

and added

x /bin/cp -p "\"$src\"" "\"$dst\""


afterwards, the service started fine except that i can't receive fax but i'm
not sure if what i had done caused that

>
> Bye,
> Giuseppe

0 new messages