updating ghostscript-gpl with portupgrade

2008-07-18 Thread Ivaylo Bonev
Hi, I want to update ports and when I try I see this error
# portversion -l ''
freetype2   
ghostscript-gpl 
# portupgrade -arR
** Makefile possibly broken: print/ghostscript-gpl:
Makefile, line 132: warning: drivers incompatible with WITHOUT_X11
will be removed automatically
ghostscript-gpl-8.62_3


/usr/local/sbin/portupgrade:1468:in `get_pkgname': Makefile broken
(MakefileBrokenError)
from /usr/local/sbin/portupgrade:622:in `main'
from /usr/local/sbin/portupgrade:613:in `each'
from /usr/local/sbin/portupgrade:613:in `main'
from /usr/local/sbin/portupgrade:588:in `catch'
from /usr/local/sbin/portupgrade:588:in `main'
from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `call'
from /usr/local/lib/ruby/1.8/optparse.rb:1303:in `parse_in_order'
from /usr/local/lib/ruby/1.8/optparse.rb:1299:in `catch'
 ... 6 levels...
from /usr/local/lib/ruby/1.8/optparse.rb:785:in `initialize'
from /usr/local/sbin/portupgrade:229:in `new'
from /usr/local/sbin/portupgrade:229:in `main'
from /usr/local/sbin/portupgrade:2208

I use FreeBSD 7 with up to date ports without X11. I don't have anything in
make.conf except Perl lines.
How can I update these ports?
CC to me please.
Ivaylo Bonev

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


FreeBSD and Bacula

2008-07-03 Thread Ivaylo Bonev
I want to use FreeBSD 7.0 for Backup server. After little searching, my  
decision was to use Bacula (because of Windows client). After installation  
of latest version (Bacula 2.4.0) and active googling, reading very  
carefuly Onlamp article of Bacula server on FreeBSD  
(http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and  
configuring File, Storage and Director files, I was astonished by the fact  
that Bacula cannot start from provided scripts in /usr/local/etc/rc.d/  
directory. No messages in log, no error messages in console, ps aux| grep  
'bacula' say nothing, nothing! I put

bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES
and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on line  
30 :

 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured  
.conf files?


--
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?

bacula-sd.conf
Description: Binary data


bacula-dir.conf
Description: Binary data


bacula-fd.conf
Description: Binary data
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Re: FreeBSD and Bacula

2008-07-03 Thread Ivaylo Bonev

Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez [EMAIL PROTECTED]:


Ivaylo Bonev wrote:

I want to use FreeBSD 7.0 for Backup server. After little searching, my
decision was to use Bacula (because of Windows client). After
installation of latest version (Bacula 2.4.0) and active googling,
reading very carefuly Onlamp article of Bacula server on FreeBSD
(http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and
configuring File, Storage and Director files, I was astonished by the
fact that Bacula cannot start from provided scripts in
/usr/local/etc/rc.d/ directory. No messages in log, no error messages in
console, ps aux| grep 'bacula' say nothing, nothing! I put
bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES
and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on
line 30 :
 Client = bacula-fd


: line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd

All Bacula .conf files are attached. Is there a bug, or misconfigured
.conf files?


You have laptop-fd in your bacula-fd configuration, you dont have
bacula-fd (I think you've renamed the Client conf from samples).

Change bacula-fd with laptop-fd and should work



Thanks, it works now!
What is name convention for Windows derectories and files in 'File ='
'c:/new' or '/new'?

--
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: FreeBSD and Bacula

2008-07-03 Thread Ivaylo Bonev

Thu, 03 Jul 2008 20:37:04 +0300, Andrea Venturoli [EMAIL PROTECTED]:


Ivaylo Bonev ha scritto:
 I was astonished by the fact that Bacula cannot start from provided  
scripts in /usr/local/etc/rc.d/ directory. No messages in log, no error  
messages in console, ps aux| grep 'bacula' say nothing, nothing! I put

bacula_dir_enable=YES
bacula_fd_enable=YES
bacula_sd_enable=YES


This is quite tipical behaviour for ports.




and after restart on console shows this error:
03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
Config error: Could not find config Resource bacula-fd referenced on  
line 30 :

 Client = bacula-fd
  : line 30, col 20 of file /usr/local/etc/bacula-dir.conf
  Client = bacula-fd
 All Bacula .conf files are attached. Is there a bug, or misconfigured  
.conf files?


It's a problem in your configuration: you have some jobs that refers to  
a bacula-fd client resource, but your only client resource is named  
laptop-fd.

You'll want to change either one or the others of those definitions.

BTW, given this is not a FreeBSD or FreeBSD specific problem, this  
question belongs more to Bacula's own mailing list (even if I rarely  
ever found any help there).




  bye
av.



Because people here are friendly to newbies. We are humans after all,  
everyone make mistakes :)


--
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Hylafax config and Windows clients

2008-06-17 Thread Ivaylo Bonev

Hi,
I'm configuring new Hylafax fax server on FreeBSD 7 with Conexant chip  
modem. Something not working right on server, because I can't send any  
faxes, no matter what client I use. Modem is working in Windows, but I  
want to use it in a networked environment with Sane backend to replace  
broken Brother FAX machine. Fax machine was very busy, recieving around  
150 faxes/day, so I don't want to throw for another Fax machine that will  
be broken after few months. So I've added user fax, configured settings  
with 'faxsetup' and 'faxaddmodem'and I hoped everything should work. Here  
are conf files in hylafax/etc directory. I don't know where to look at?  
Can anyone help me?


fax# cat config
LogFacility:daemon
CountryCode:359
AreaCode:   84
LongDistancePrefix: 0
InternationalPrefix:00
DialStringRules:etc/dialrules
ServerTracing:  1

fax# cat hosts.hfaxd
localhost
127.0.0.1
192.168.1.*
^fax@

fax# cat setup.cache
# Warning, this file was automatically generated by faxsetup
# on Wed Jun 18 00:06:50 EEST 2008 for fax
AWK='/usr/bin/nawk'
BASE64ENCODE='/usr/bin/uuencode -m  | /usr/bin/grep -v '
BIN='/usr/local/bin'
CAT='/bin/cat'
CHGRP='/usr/bin/chgrp'
CHMOD='/bin/chmod'
CHOWN='/usr/sbin/chown'
CP='/bin/cp'
DPSRIP='/usr/local/sbin/ps2fax.exe'
ECHO='/bin/echo'
ENCODING='base64'
FAXQ_SERVER='yes'
FONTPATH='/usr/local/share/ghostscript/8.62/lib:/usr/local/share/ghostscript/8.62/Resource:/usr/local/share/ghostscript/fonts:/usr/local/share/fonts/default/ghostscript:/usr/local/share/fonts/default/Type1:/usr/local/share/fonts/default/TrueType:/usr/lib/DPS/outline/base:/usr/openwin/lib/X11/fonts/Type1:/usr/openwin/lib/X11/fonts/TrueType'
FUSER='fuser'
GREP='/usr/bin/grep'
GSRIP='/usr/local/bin/gs'
HFAXD_OLD_PROTOCOL='no'
HFAXD_SERVER='yes'
HFAXD_SNPP_SERVER='no'
IMPRIP='/usr/lib/print/psrip'
LIBDATA='/usr/local/lib/fax'
LIBEXEC='/usr/local/sbin'
LN='/bin/ln'
MANDIR='/usr/local/man'
MIMENCODE='mimencode'
MKFIFO='/usr/bin/mkfifo'
MV='/bin/mv'
PATH='/usr/sbin:/bin:/usr/bin:/etc:/usr/local/bin'
PATHEGETTY='/bin/egetty'
PATHGETTY='/usr/libexec/getty'
PATHVGETTY='/bin/vgetty'
PSPACKAGE='gs'
QPENCODE='qp-encode'
RM='/bin/rm'
SBIN='/usr/local/sbin'
SCRIPT_SH='/bin/sh'
SED='/usr/bin/sed'
SENDMAIL='/usr/sbin/sendmail'
SPOOL='/var/spool/hylafax'
SYSVINIT=''
TARGET='i386-unknown-freebsd7.0'
TIFF2PDF='/usr/local/bin/tiff2pdf'
TIFFBIN='/usr/local/bin'
TTYCMD='/usr/bin/tty'
UUCP_LOCKDIR='/var/spool/lock'
UUCP_LOCKTYPE='ascii'
UUENCODE='/usr/bin/uuencode'

fax# cat setup.modem
# Warning, this file was automatically generated by faxsetup
# on Wed Jun 18 00:06:42 EEST 2008 for fax
prompt()
{
   echo -n $* 
}
ttyPort()
{
expr $1 : 'tty\(.*\)'
}
ttyLocks()
{
echo $UUCP_LOCKDIR/LCK..`expr /$1 : '.*/\(.*\)'`
}
ttyAliases()
{
echo /dev/$1
}
ttyDev()
{
echo /dev/$1
}
checkPort()
{
 return
}
ttyStty()
{
echo /bin/stty -f $tdev
}
ttySpeeds()
{
speeds=
if [ -z $SPEED ]; then
for s in 38400 19200 9600 4800 2400 1200; do
/bin/stty -f $tdev $s /dev/null /dev/null 21  
 speeds=$speeds $s

done
fi
echo $speeds
}
--
Windows: Where do you want to go today?
Linux: Where do you want to go tomorrow?
FreeBSD: Are you guys coming, or what?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]