Syntax error: redirection unexpected

2012-06-03 Thread Arsen.Shnurkov
http://forums.freebsd.org/showthread.php?t=32482

After recent update of ports tree make became unable to build lang/expect:

Code:

freebsd64# cd /usr/ports/lang/expect
freebsd64# make install
Syntax error: redirection unexpected
*** Error code 2

Stop in /usr/ports/lang/expect.
*** Error code 1

Stop in /usr/ports/lang/expect.


The same error on FreeBSD 6.2 with make from 6.4:

Code:

[root@freebsd62 /usr/ports/devel/glib20]# make install
Syntax error: redirection unexpected
*** Error code 2

Stop in /usr/ports/devel/glib20.
*** Error code 1

Stop in /usr/ports/devel/glib20.


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: /usr/include/machine/endian.h:123: syntax error

2010-12-18 Thread Dennis Glatting



On Sat, 18 Dec 2010, Tijl Coosemans wrote:


On Thursday 16 December 2010 07:49:41 Dennis Glatting wrote:


While compiling a port...


btw> uname -a
FreeBSD btw 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #55: Sat Dec 11 22:48:59
PST 2010 r...@btw:/usr/src/sys/amd64/compile/BTW  amd64



btw# portupgrade devel/libgdata



   GISCAN gdata/GData-0.0.gir
/usr/include/machine/endian.h:123: syntax error, unexpected '{' in '
return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0"
: "+r" (__X)); __X; }));' at '{'


I couldn't reproduce this. Do you have any special CFLAGS perhaps?



Not intentionally:

btw# cat /etc/make.conf
USA_RESIDENT=   YES
FORCE_PKG_REGISTER= YES
HAVE_MOTIF= YES
WITHOUT_PERL_MALLOC=YES

WITH_THREADS=   YES
WITHOUT_SAMBA=  YES
WITHOUT_LDAP=   YES
WITHOUT_NLS=YES

OVERRIDE_LINUX_BASE_PORT=f10
OVERRIDE_LINUX_NONBASE_PORTS=f10

WITH_TCL_VER=85

SENDMAIL_CFLAGS=-I/usr/local/include/sasl -DSASL
SENDMAIL_LDFLAGS=-L/usr/local/lib
SENDMAIL_LDADD=-lsasl2


# added by use.perl 2010-12-15 20:47:32
PERL_VERSION=5.12.2

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: /usr/include/machine/endian.h:123: syntax error

2010-12-18 Thread Tijl Coosemans
On Thursday 16 December 2010 07:49:41 Dennis Glatting wrote:
> 
> While compiling a port...
> 
> 
> btw> uname -a
> FreeBSD btw 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #55: Sat Dec 11 22:48:59 
> PST 2010 r...@btw:/usr/src/sys/amd64/compile/BTW  amd64
> 
> 
> 
> btw# portupgrade devel/libgdata
> 
> 
> 
>GISCAN gdata/GData-0.0.gir
> /usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' 
> return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" 
> : "+r" (__X)); __X; }));' at '{'

I couldn't reproduce this. Do you have any special CFLAGS perhaps?


signature.asc
Description: This is a digitally signed message part.


/usr/include/machine/endian.h:123: syntax error

2010-12-15 Thread Dennis Glatting


While compiling a port...


btw> uname -a
FreeBSD btw 8.2-PRERELEASE FreeBSD 8.2-PRERELEASE #55: Sat Dec 11 22:48:59 
PST 2010 r...@btw:/usr/src/sys/amd64/compile/BTW  amd64




btw# portupgrade devel/libgdata



  GISCAN gdata/GData-0.0.gir
/usr/include/machine/endian.h:123: syntax error, unexpected '{' in ' 
return (__extension__ ({ register __uint64_t __X = (_x); __asm ("bswap %0" 
: "+r" (__X)); __X; }));' at '{'


___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah

Hi,

Christopher Cowart wrote:

Noah wrote:
I am unable to figure out why I am getting the following error: "-bash: 
/Users/user/.bashrc: line 10: syntax error: unexpected end of file

[...]

localhost:~ user$ cat .bashrc
#nc_fix() { sudo kill -9 $"(ps auxwww | grep [nN]cproxyd | awk '{print 
$2}')" }
nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
$2}') }


The } is a statement, and must be preceded with a newline or a ;.

Try:

nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
$2}'); }


or

nc_fix() { 
sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print $2}')

}

Everything that follows right now is part of the definition of nc_fix().
When you get to the end of the file, it says "Hey! I'm still defining a
function!"



Christopher - you are the winner.  Please pick up your consolation prize 
at the door :)


Cheers,

noah

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


Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah

Hi there,

Christopher Cowart wrote:

A couple more things I noticed after looking more closely at your actual
command: 


Christopher Cowart wrote:
nc_fix() { 
sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print $2}')

 ^ this is equivalent to:
   $(ps auxwww | awk '/[nN]cproxyd/ {print $2}')

}


You might also want to check out pkill(1):

$ sudo pkill -9 '[nN]cproxyd'

And as an alias:

$ alias nc_fix="sudo pkill -9 '[nN]cproxyd'"



okay cool,

arent there two ways to get nc_fix defined in the .bashrc

option 1:  like as a function:
nc_fix() { sudo kill -9 $(ps auxwww | awk '/[nN]cproxyd/ {print $2}') }

option 2: as an alias:
alias nc_fix="sudo pkill -9 '[nN]cproxyd'"

right,

Noah



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


Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Christopher Cowart
Noah wrote:
> I am unable to figure out why I am getting the following error: "-bash: 
> /Users/user/.bashrc: line 10: syntax error: unexpected end of file
[...]
> localhost:~ user$ cat .bashrc
> #nc_fix() { sudo kill -9 $"(ps auxwww | grep [nN]cproxyd | awk '{print 
> $2}')" }
> nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
> $2}') }

The } is a statement, and must be preceded with a newline or a ;.

Try:

nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
$2}'); }

or

nc_fix() { 
sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print $2}')
}

Everything that follows right now is part of the definition of nc_fix().
When you get to the end of the file, it says "Hey! I'm still defining a
function!"

-- 
Chris Cowart
Network Technical Lead
Network & Infrastructure Services, RSSP-IT
UC Berkeley


pgp8Ud6NqCehN.pgp
Description: PGP signature


Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Jerry
On Tue, 09 Dec 2008 13:28:11 -0800
Noah <[EMAIL PROTECTED]> wrote:

>Hi there,
>
>I am unable to figure out why I am getting the following error:
>"-bash: /Users/user/.bashrc: line 10: syntax error: unexpected end of
>file localhost:~ user$"
>
>
> Here are the relevant hask configuration files --
>
>localhost:~ user$ cat .bash_profile
>if [ -f ~/.bashrc ]; then
>  source ~/.bashrc
>fi
>localhost:~ user$ cat .bashrc
>#nc_fix() { sudo kill -9 $"(ps auxwww | grep [nN]cproxyd | awk '{print 
>$2}')" }
>nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
>$2}') }
>
># enable programmable completion features (you don't need to enable
># this, if it's already enabled in /etc/bash.bashrc and /etc/profile
># sources /etc/bash.bashrc).
>if [ -f /etc/bash_completion ]; then
> . /etc/bash_completion
>fi
>localhost:~ user$
>
>
>
>--- snip ---

I once had a similar problem; however the line number given had nothing
to do with where the actual error was. In my case, I had a duplicate
';' I believe located in the file. You will probably have to go through
the file line by line to locate the problem. Perhaps commenting out
sections and seeing if the problem continues might help.


-- 
Jerry
[EMAIL PROTECTED]

It destroys one's nerves to be amiable every day to the same human
being. -- Benjamin Disraeli


signature.asc
Description: PGP signature


Re: bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Polytropon
On Tue, 09 Dec 2008 13:28:11 -0800, Noah <[EMAIL PROTECTED]> wrote:
> Hi there,
> 
> I am unable to figure out why I am getting the following error: "-bash: 
> /Users/user/.bashrc: line 10: syntax error: unexpected end of file
> localhost:~ user$"

The only thing that comes into my mind is this line from
your .bash_profile:

>   source ~/.bashrc

I'm not sure, but according to the builtin manpage, sh
does not understand "source", so maybe bash doesn't, too?
For file inclusion, "." is the correct form as it occurs
in your .bashrc file.

By the way, it would be good if you would include line
numbers, using "cat -n ". :-)



-- 
Polytropon
>From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


bashrc configuration question: syntax error: unexpected end of file

2008-12-09 Thread Noah

Hi there,

I am unable to figure out why I am getting the following error: "-bash: 
/Users/user/.bashrc: line 10: syntax error: unexpected end of file

localhost:~ user$"


 Here are the relevant hask configuration files --

localhost:~ user$ cat .bash_profile
if [ -f ~/.bashrc ]; then
 source ~/.bashrc
fi
localhost:~ user$ cat .bashrc
#nc_fix() { sudo kill -9 $"(ps auxwww | grep [nN]cproxyd | awk '{print 
$2}')" }
nc_fix() { sudo kill -9 $(ps auxwww | grep "[nN]cproxyd" | awk '{print 
$2}') }


# enable programmable completion features (you don't need to enable
# this, if it's already enabled in /etc/bash.bashrc and /etc/profile
# sources /etc/bash.bashrc).
if [ -f /etc/bash_completion ]; then
. /etc/bash_completion
fi
localhost:~ user$



--- snip ---


Cheers,

Noah


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


error message " eval: 1: Syntax error: "|" unexpected, [libglib-2.0.la] error 2 " when I "portupgrade glib-2\*"

2008-11-13 Thread Johnson Fu
Hello ladies and gentlemen,

In /usr/ports/UPDATING, you can see there is a glib upgrade issue on the
date 20080323, I perform "portupgrade glib-2\* ", but get an error message "
ntf.o .libs/giounix.o .libs/gspawn.o  libcharset/.libs/libcharset.a |  |
/usr/bin/sed 's/.* //' | sort | uniq > .libs/libglib-2.0.exp
eval: 1: Syntax error: "|" unexpected
gmake[4]: *** [libglib-2.0.la] error 2
gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.16.5/glib "

Anybody can help me to fix it ?  Thanks a lot.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PF syntax error

2008-10-15 Thread Peter Clark

Yury Michurin wrote:

Hello,
I have in my pf.conf:
 pass in proto tcp from ! to any port www flags S/SA synproxy 
state (max-src-conn 20, max-src-conn-rate 30/60, overload  
flush global)


and it seems to work just fine...

Regards,
Yury.

On Wed, Oct 15, 2008 at 7:00 PM, Peter Clark <[EMAIL PROTECTED] 
<mailto:[EMAIL PROTECTED]>> wrote:


Hello,

I am not sure if I should be here or over at a pf specific list but
here is my problem.

I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is
giving me problems.

pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \
 (max-src-conn 15, max-src-conn-rate 5/3, overload 
flush global)

Actually the "pass in" line does not generate the error. The next
line does.

/etc/pf.conf:71: syntax error
If I remove the line the error goes away (obviously). I have tried
using  the exact line from the FreeBSD pf.conf man page:

(max-src-conn-rate 100/10, overload  flush global)

(I changed  to )and that generates the same
error. I tried just using:
(max-src-conn-rate 100/10)

but that too gives me a syntax error.

Any help is appreciated.

Peter Clark

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


It is because I do not have a "keep state" directive in mine. I took it 
out because the pf 4.1 default is "flags S/SA keep state". Yours works 
because you have the synproxy state directive.


Thanks,
Peter Clark

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


Re: PF syntax error

2008-10-15 Thread Yury Michurin
Hello,
I have in my pf.conf:
 pass in proto tcp from ! to any port www flags S/SA synproxy state
(max-src-conn 20, max-src-conn-rate 30/60, overload  flush global)

and it seems to work just fine...

Regards,
Yury.

On Wed, Oct 15, 2008 at 7:00 PM, Peter Clark <[EMAIL PROTECTED]> wrote:

> Hello,
>
> I am not sure if I should be here or over at a pf specific list but here is
> my problem.
>
> I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is giving me
> problems.
>
> pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \
>  (max-src-conn 15, max-src-conn-rate 5/3, overload  flush
> global)
>
> Actually the "pass in" line does not generate the error. The next line
> does.
>
> /etc/pf.conf:71: syntax error
> If I remove the line the error goes away (obviously). I have tried using
>  the exact line from the FreeBSD pf.conf man page:
>
> (max-src-conn-rate 100/10, overload  flush global)
>
> (I changed  to )and that generates the same error. I
> tried just using:
> (max-src-conn-rate 100/10)
>
> but that too gives me a syntax error.
>
> Any help is appreciated.
>
> Peter Clark
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "
> [EMAIL PROTECTED]"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: PF syntax error

2008-10-15 Thread Erik Osterholm
On Wed, Oct 15, 2008 at 12:00:50PM -0500, Peter Clark wrote:
> Hello,
> 
> I am not sure if I should be here or over at a pf specific list but here 
> is my problem.
> 
> I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is giving 
> me problems.
> 
> pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \ 
> 
>  (max-src-conn 15, max-src-conn-rate 5/3, overload  flush 
> global)
> 
> Actually the "pass in" line does not generate the error. The next line does.
> 
> /etc/pf.conf:71: syntax error
> If I remove the line the error goes away (obviously). I have tried using 
>  the exact line from the FreeBSD pf.conf man page:
> 
> (max-src-conn-rate 100/10, overload  flush global)
> 
> (I changed  to )and that generates the same 
> error. I tried just using:
> (max-src-conn-rate 100/10)
> 
> but that too gives me a syntax error.
> 
> Any help is appreciated.
> 
> Peter Clark

The problem seems to be that your rule doesn't have "keep state" in
it.  I think this is a bug, since state is kept by default in FreeBSD
7.0.

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


PF syntax error

2008-10-15 Thread Peter Clark

Hello,

I am not sure if I should be here or over at a pf specific list but here 
is my problem.


I am trying my hand at pf on a 7.0-p5 RELEASE box and one rule is giving 
me problems.


pass in quick on $ext_if proto tcp from any to any port 22 flags S/SA \ 

 (max-src-conn 15, max-src-conn-rate 5/3, overload  flush 
global)


Actually the "pass in" line does not generate the error. The next line does.

/etc/pf.conf:71: syntax error
If I remove the line the error goes away (obviously). I have tried using 
 the exact line from the FreeBSD pf.conf man page:


(max-src-conn-rate 100/10, overload  flush global)

(I changed  to )and that generates the same 
error. I tried just using:

(max-src-conn-rate 100/10)

but that too gives me a syntax error.

Any help is appreciated.

Peter Clark

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


Re: pfctl syntax error

2007-04-26 Thread Zbigniew Szalbot
Dear Alex,

> As for the actual error on line 18, if you review:
>
> http://www.openbsd.org/faq/pf/tables.html
>
> You'll see that the file name should be enclosed in quotes. If that

That was it! Thank you very much. I was consulting a PDF file where the
example was given without quotes.

Thanks!

-- 
Zbigniew Szalbot

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


Re: pfctl syntax error

2007-04-26 Thread alex

I want to store table data in /etc/pfspammers so I created the file and
also put in the pf.conf table definition on line 18

table  persist file /etc/pfspammers

and added a rule to block tcp connections if an IP is in /etc/pfspammers

When I reload pfctl, I get a warning:
No ALTQ support in kernel
ALTQ related functions disabled
/etc/pf.conf:18: syntax error
pfctl: Syntax error in config file: pf rules not loaded


First off, the ALTQ lines aren't really so much of an error, since 
you're not trying to use altq functionality; don't worry about that.


As for the actual error on line 18, if you review:

http://www.openbsd.org/faq/pf/tables.html

You'll see that the file name should be enclosed in quotes. If that 
doesn't fix the error, please post the contents of /etc/pfspammers, so 
it can be checked for syntax errors.


Alex Kirk

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


pfctl syntax error

2007-04-26 Thread Zbigniew Szalbot

Hello,

Can you please help me troubleshoot pfctl problem.

I want to store table data in /etc/pfspammers so I created the file and 
also put in the pf.conf table definition on line 18


table  persist file /etc/pfspammers

and added a rule to block tcp connections if an IP is in /etc/pfspammers

When I reload pfctl, I get a warning:
No ALTQ support in kernel
ALTQ related functions disabled
/etc/pf.conf:18: syntax error
pfctl: Syntax error in config file: pf rules not loaded

What should I change to get rid of this error? Thanks!

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


proftpd syntax error

2006-12-14 Thread Beech Rintoul
I'm in the process of updating this port. I'm getting this on a test build:

support.c: In function `sreplace':
support.c:862: error: syntax error at end of input
gmake[1]: *** [support.o] Error 1
gmake[1]: Leaving directory 
`/usr/ports/ftp/proftpd.test/work/proftpd-1.3.1rc1/src'
gmake: *** [src] Error 2
*** Error code 2

And here's the code in question:

const char *pr_strtime(time_t t) {
  static char buf[30];
  static char *mons[] = { "Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul",
"Aug", "Sep", "Oct", "Nov", "Dec" };
  static char *days[] = { "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat" };
  struct tm *tr;

  memset(buf, '\0', sizeof(buf));

  tr = localtime(&t);
  if (tr != NULL) {
snprintf(buf, sizeof(buf), "%s %s %2d %02d:%02d:%02d %d",
  days[tr->tm_wday], mons[tr->tm_mon], tr->tm_mday, tr->tm_hour,
  tr->tm_min, tr->tm_sec, tr->tm_year + 1900);

  } else
buf[0] = '\0';

  buf[sizeof(buf)-1] = '\0';

  return buf;
}

Can someone tell  me what's wrong?

Beech
-- 
---
Beech Rintoul - Sys. Administrator - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | Alaska Paradise Travel
\ / - NO HTML/RTF in e-mail  | 201 East 9Th Avenue Ste.310
 X  - NO Word docs in e-mail | Anchorage, AK 99501
/ \  - Please visit Alaska Paradise - http://www.alaskaparadise.com
---













pgpCUCTbWxfdz.pgp
Description: PGP signature


Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Andy Harrison

On 11/22/06, Boris Samorodov <[EMAIL PROTECTED]> wrote:


Where did you get the version 1.5.0.09? I checked out cvsweb, and
there is 1.5.0.07.


Doh!  Sorry...  totally spaced out.  I forgot that last month I had
updated the Makefile to try to use the new version since 1.5.0.07 can
no longer be obtained from the Sun website.

# diff old.Makefile Makefile

[EMAIL PROTECTED]:/usr/ports/java/linux-sun-jdk15]
5c5
< # $FreeBSD: /repoman/r/pcvs/ports/java/linux-sun-jdk15/Makefile,v
1.21 2006/06/13 19:51:13 glewis Exp $
---

# $FreeBSD: ports/java/linux-sun-jdk15/Makefile,v 1.21 2006/06/13 19:51:13 
glewis Exp $

10c10
< PORTEPOCH=2
---

#PORTEPOCH=   2

35c35
< JDK_REVISION= 07
---

JDK_REVISION= 09



So anyway, probably not a good question for this list ;)


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


Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Boris Samorodov
On Wed, 22 Nov 2006 10:07:44 -0500 Andy Harrison wrote:

> I'm trying to install jdk15 because I need it to access the ilom on
> some Sun x4100 boxes.  Has anyone else seen or know how to handle this
> error message?  I tried both bash and tcsh with a clean env just to
> see if that might be mucking something up.  No luck...



> # make -D DISABLE_VULNERABILITIES extract
> ==
> Warning: This JDK may be unstable. You are advised to use the native
> FreeBSD 1.5 JDK, in ports/java/jdk15.

> This Java VM will attempt to obtain some system information by
> accessing files in linux's procfs.  You must install the Linux
> emulation procfs filesystem for this to work correctly.  The JVM
> will exhibit various problems otherwise.  This can be accomplished
> by adding the following line to your /etc/fstab file:

> linprocfs   /compat/linux/proc   linprocfs   rw   0  0

> and then, as root, executing the commands:

> kldload linprocfs
> mount /compat/linux/proc

> ==
> ===>  Extracting for linux-sun-jdk-1.5.0.09
> => MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> => SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> ===>   linux-sun-jdk-1.5.0.09 depends on file:

Where did you get the version 1.5.0.09? I checked out cvsweb, and
there is 1.5.0.07.

> /compat/linux/etc/fedora-release - found
> /usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error:
> word unexpected (expecting ")")
> *** Error code 2

> Stop in /usr/ports/java/linux-sun-jdk15.


> I'm running FreeBSD 6.1-RELEASE-p10 and I already have
> linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12.  And as of
> yesterday, all my ports are current.

> Any suggestions?


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Andy Harrison

On 11/22/06, Boris Samorodov <[EMAIL PROTECTED]> wrote:

You didn't mention if by a chance you did follow those instructions
about linprocfs...



Yes, it's mounted.

# grep lin /etc/fstab
linprocfs   /compat/linux/proc  linprocfs   rw
0   0

# mount | grep lin
linprocfs on /usr/compat/linux/proc (linprocfs, local)

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


Re: linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Boris Samorodov
On Wed, 22 Nov 2006 10:07:44 -0500 Andy Harrison wrote:

> I'm trying to install jdk15 because I need it to access the ilom on
> some Sun x4100 boxes.  Has anyone else seen or know how to handle this
> error message?  I tried both bash and tcsh with a clean env just to
> see if that might be mucking something up.  No luck...



> # make -D DISABLE_VULNERABILITIES extract
> ==
> Warning: This JDK may be unstable. You are advised to use the native
> FreeBSD 1.5 JDK, in ports/java/jdk15.

> This Java VM will attempt to obtain some system information by
> accessing files in linux's procfs.  You must install the Linux
> emulation procfs filesystem for this to work correctly.  The JVM
> will exhibit various problems otherwise.  This can be accomplished
> by adding the following line to your /etc/fstab file:

> linprocfs   /compat/linux/proc   linprocfs   rw   0  0

> and then, as root, executing the commands:

> kldload linprocfs
> mount /compat/linux/proc

> ==
> ===>  Extracting for linux-sun-jdk-1.5.0.09
> => MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> => SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
> ===>   linux-sun-jdk-1.5.0.09 depends on file:
> /compat/linux/etc/fedora-release - found
> /usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error:
> word unexpected (expecting ")")
> *** Error code 2

> Stop in /usr/ports/java/linux-sun-jdk15.


> I'm running FreeBSD 6.1-RELEASE-p10 and I already have
> linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12.  And as of
> yesterday, all my ports are current.

> Any suggestions?

You didn't mention if by a chance you did follow those instructions
about linprocfs...


WBR
-- 
Boris Samorodov (bsam)
Research Engineer, http://www.ipt.ru Telephone & Internet SP
FreeBSD committer, http://www.FreeBSD.org The Power To Serve
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


linux-sun-jdk15, Syntax error: word unexpected (expecting ")")

2006-11-22 Thread Andy Harrison

I'm trying to install jdk15 because I need it to access the ilom on
some Sun x4100 boxes.  Has anyone else seen or know how to handle this
error message?  I tried both bash and tcsh with a clean env just to
see if that might be mucking something up.  No luck...



# make -D DISABLE_VULNERABILITIES extract
==
Warning: This JDK may be unstable. You are advised to use the native
FreeBSD 1.5 JDK, in ports/java/jdk15.

This Java VM will attempt to obtain some system information by
accessing files in linux's procfs.  You must install the Linux
emulation procfs filesystem for this to work correctly.  The JVM
will exhibit various problems otherwise.  This can be accomplished
by adding the following line to your /etc/fstab file:

linprocfs   /compat/linux/proc   linprocfs   rw   0  0

and then, as root, executing the commands:

kldload linprocfs
mount /compat/linux/proc

==
===>  Extracting for linux-sun-jdk-1.5.0.09
=> MD5 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
=> SHA256 Checksum OK for jdk-1_5_0_09-linux-i586.bin.
===>   linux-sun-jdk-1.5.0.09 depends on file:
/compat/linux/etc/fedora-release - found
/usr/ports/java/linux-sun-jdk15/work/install.sfx: 1: Syntax error:
word unexpected (expecting ")")
*** Error code 2

Stop in /usr/ports/java/linux-sun-jdk15.


I'm running FreeBSD 6.1-RELEASE-p10 and I already have
linux-firefox-2.0 working well with linux-sun-jdk-1.4.2.12.  And as of
yesterday, all my ports are current.

Any suggestions?

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


Re: ipnat syntax error?

2006-04-03 Thread Juergen Heberling

fbsd_user wrote:

You can use this format of the ipnat map command

map dc0 10.0.10.1/29 -> 20.20.20.5-20.20.20.7


.. snip ..
The above version of the command also results in a syntax error at the "-".

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


RE: ipnat syntax error?

2006-04-03 Thread fbsd_user

You can use this format of the ipnat map command

map dc0 10.0.10.1/29 -> 20.20.20.5-20.20.20.7

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Erik Norgaard
Sent: Monday, April 03, 2006 7:45 AM
To: Juergen Heberling
Cc: freebsd-questions@freebsd.org
Subject: Re: ipnat syntax error?


Juergen Heberling wrote:
> Due to historical reasons I can not just take a /29 or /30 block out of 
> the middle of the cidr I will ultimately use -- this FreeBSD server will 
> implement a firewall on an existing connection replacing an old Cisco 
> router that only NAT'd.  So I will see if things can work with "just" 
> one "map" with portmaps.
> 
> Please note that the "-" for the range syntax is documented in several 
> places, not just the FreeBSD handbook and should probably be fixed.

check out packet filter as an alternative, you can map any pool of 
addresses as you like:

   http://openbsd.org/faq/pf/nat.html

You can use a list or a table to specify what src addresses are mapped to 
what dst addresses.

Cheers, Erik
-- 
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

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


Re: ipnat syntax error?

2006-04-03 Thread Erik Norgaard

Juergen Heberling wrote:
Due to historical reasons I can not just take a /29 or /30 block out of 
the middle of the cidr I will ultimately use -- this FreeBSD server will 
implement a firewall on an existing connection replacing an old Cisco 
router that only NAT'd.  So I will see if things can work with "just" 
one "map" with portmaps.


Please note that the "-" for the range syntax is documented in several 
places, not just the FreeBSD handbook and should probably be fixed.


check out packet filter as an alternative, you can map any pool of 
addresses as you like:


  http://openbsd.org/faq/pf/nat.html

You can use a list or a table to specify what src addresses are mapped to 
what dst addresses.


Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipnat syntax error?

2006-04-03 Thread Juergen Heberling

Erik Nørgaard wrote:

.. snip ..




Well, my suggestion is not to exhaust your precious /28 address space 
right away. And don't make your life unnecessary difficult, why choose 
the addreses in the middle for bimap?



Rather than using all your external ip's right away I would save some 
for later expansion, and reserve one for debugging. You may need to 
connect a laptop on the external net to figure out what's going on. You 
could do this: x.x.x.0/29 to servers (bimap), x.x.x.8/30 debug and 
future expansion (not mapped), x.x.x.12/30 map for lan clients.


If you stick to cidr you can also write your filter rules in cidr making 
it far easier to read an maintain.


For the mapping, and bimapping consider this:

The /24 network you want to map, it contains at most 254 hosts. If you 
map that network to a single ip, then each host can establish at least 
256 simultaneous connections. My experience is that this is far mor than 
needed in most normal operating environments. I'd suggest using the same 
ip as on the firewall external interface.


If the purpose of binatting is to make one service available, http say, 
then you may consider using rdr. IIRC you can also use rdr to round 
robin load balancing incoming connections.


That way you can have one host serving http and another serving smtp on 
the same external ip. The only reason to use different ip's is if you're 
hosting a number of https servers, each need a different ip.


There's no point in bimapping all ports on a external ip to one single 
internal ip if most of them are blocked by the filter.


Cheers, Erik


Erik,

Thank you again for your advice.

Due to historical reasons I can not just take a /29 or /30 block out of 
the middle of the cidr I will ultimately use -- this FreeBSD server will 
implement a firewall on an existing connection replacing an old Cisco 
router that only NAT'd.  So I will see if things can work with "just" 
one "map" with portmaps.


Please note that the "-" for the range syntax is documented in several 
places, not just the FreeBSD handbook and should probably be fixed.


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


Re: ipnat syntax error?

2006-04-02 Thread Erik Nørgaard

Juergen Heberling wrote:

/etc/ipnat.rules contains:
map  em0 192.168.1.0/24 -> 204.134.75.1-10
.. snip ..


I tried your suggestion of using the cidr notation format and that work; 
thank you!


However I am concerned about overlapping mappings in the cidr range with 
host-to-host maps - my cidr range is a /28, for example,
and I want to map (spoof) some IP address in the middle to, say the web 
or mail servers.  In order to avoid the overlap I was counting on the 
"range" specification on the map command.


Well, my suggestion is not to exhaust your precious /28 address space 
right away. And don't make your life unnecessary difficult, why choose 
the addreses in the middle for bimap?



Rather than using all your external ip's right away I would save some 
for later expansion, and reserve one for debugging. You may need to 
connect a laptop on the external net to figure out what's going on. You 
could do this: x.x.x.0/29 to servers (bimap), x.x.x.8/30 debug and 
future expansion (not mapped), x.x.x.12/30 map for lan clients.


If you stick to cidr you can also write your filter rules in cidr making 
it far easier to read an maintain.


For the mapping, and bimapping consider this:

The /24 network you want to map, it contains at most 254 hosts. If you 
map that network to a single ip, then each host can establish at least 
256 simultaneous connections. My experience is that this is far mor than 
needed in most normal operating environments. I'd suggest using the same 
ip as on the firewall external interface.


If the purpose of binatting is to make one service available, http say, 
then you may consider using rdr. IIRC you can also use rdr to round 
robin load balancing incoming connections.


That way you can have one host serving http and another serving smtp on 
the same external ip. The only reason to use different ip's is if you're 
hosting a number of https servers, each need a different ip.


There's no point in bimapping all ports on a external ip to one single 
internal ip if most of them are blocked by the filter.


Cheers, Erik
--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: ipnat syntax error?

2006-04-01 Thread Juergen Heberling



Erik Nørgaard wrote:

Juergen Heberling wrote:

Could someone please check me on this ...

fw1# ipnat -CFn -f /etc/ipnat.rules
0 entries flushed from NAT table
1 entries flushed from NAT list
syntax error error at "-", line 1

/etc/ipnat.rules contains:
map  em0 192.168.1.0/24 -> 204.134.75.1-10
.. snip ..

line 1 in the rules file is the example from the FreeBSD handbook.
I'm running FreeBSD6.0 stable.


It seems to be a documentation bug, the ipf-howto.txt distributed with 
ipfilter makes no mention of that notation, instead you should use cidr 
notation, for example


  204.134.75.0/29

Erik



Erik,

Thank you for the quick response.
I tried your suggestion of using the cidr notation format and that work; 
thank you!


However I am concerned about overlapping mappings in the cidr range with 
host-to-host maps - my cidr range is a /28, for example,
and I want to map (spoof) some IP address in the middle to, say the web 
or mail servers.  In order to avoid the overlap I was counting on the 
"range" specification on the map command.


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


Re: ipnat syntax error?

2006-04-01 Thread Erik Nørgaard

Juergen Heberling wrote:

Could someone please check me on this ...

fw1# ipnat -CFn -f /etc/ipnat.rules
0 entries flushed from NAT table
1 entries flushed from NAT list
syntax error error at "-", line 1

/etc/ipnat.rules contains:
map  em0 192.168.1.0/24 -> 204.134.75.1-10
.. snip ..

line 1 in the rules file is the example from the FreeBSD handbook.
I'm running FreeBSD6.0 stable.


It seems to be a documentation bug, the ipf-howto.txt distributed with 
ipfilter makes no mention of that notation, instead you should use cidr 
notation, for example


  204.134.75.0/29

Erik


--
Ph: +34.666334818  web: www.locolomo.org
S/MIME Certificate: www.daemonsecurity.com/ca/8D03551FFCE04F06.crt
Subject ID:  9E:AA:18:E6:94:7A:91:44:0A:E4:DD:87:73:7F:4E:82:E7:08:9C:72
Fingerprint: 5B:D5:1E:3E:47:E7:EC:1C:4C:C8:3A:19:CC:AE:14:F5:DF:18:0F:B9
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


ipnat syntax error?

2006-04-01 Thread Juergen Heberling

Could someone please check me on this ...

fw1# ipnat -CFn -f /etc/ipnat.rules
0 entries flushed from NAT table
1 entries flushed from NAT list
syntax error error at "-", line 1

/etc/ipnat.rules contains:
map  em0 192.168.1.0/24 -> 204.134.75.1-10
.. snip ..

line 1 in the rules file is the example from the FreeBSD handbook.
I'm running FreeBSD6.0 stable.

TIA
Juergen

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


Re: syntax error

2005-12-17 Thread Matthew Seaman

Gojyo wrote:

While trying to install the php5-pcre port (called from the phpmyadmin
port),
I get this error:

...
./configure.lineno: 3204: Syntax error: word unexpected (expecting ")")
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/devel/php5-pcre/work/php-5.1.1/ext/pcre/config.log" including
the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/php5-pcre.
*** Error code 1

Stop in /usr/ports/databases/phpmyadmin.
...

I'm using Freebsd6.0 Release, and I've upgraded my ports tree about one week

ago.
If some other info (like the config.log written above) are needed, please
ask.
Thanks!


Hmmm... I'd cvsup again and try with a fresher ports tree.  There were
quite a number of significant changes made to the tree to do with the
update from php 5.0.5 to 5.1.1 -- I suspect you've just been caught by
fallout from that.

If the problem still occurs, please do as the error message suggests:
send the config.log and all other relevant information you can find to
the port maintainer.

Cheers,

Matthew

--
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
 Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
 Kent, CT11 9PW
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


syntax error

2005-12-17 Thread Gojyo
While trying to install the php5-pcre port (called from the phpmyadmin
port),
I get this error:

...
./configure.lineno: 3204: Syntax error: word unexpected (expecting ")")
===>  Script "configure" failed unexpectedly.
Please report the problem to [EMAIL PROTECTED] [maintainer] and attach the
"/usr/ports/devel/php5-pcre/work/php-5.1.1/ext/pcre/config.log" including
the
output of the failure of your make command. Also, it might be a good idea to
provide an overview of all packages installed on your system (e.g. an `ls
/var/db/pkg`).
*** Error code 1

Stop in /usr/ports/devel/php5-pcre.
*** Error code 1

Stop in /usr/ports/databases/phpmyadmin.
...

I'm using Freebsd6.0 Release, and I've upgraded my ports tree about one week

ago.
If some other info (like the config.log written above) are needed, please
ask.
Thanks!
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Bill Campbell
On Sat, Dec 03, 2005, Chris wrote:
>Rob wrote:
>> Chris wrote:
>> 
Jose Borquez wrote:
defaultrouter="172.16.0.1"
hostname="daemon"
>>>
>>>The error is:
>>>defaultrouter="172.16.0.1"
>>>
>>>Additional error:
>>>hostname="daemon"
>>>
>>>Again, remove the ""
>> 
>> 
>> Uh? I use quotes for these lines in rc.conf of
>> 5-Stable and
>> 6-Stable. Why do you think the quotes are an error
>> here?
>> 
>> Rob.
>
>I also use 6.0 STABLE.
>My rc.conf does not have the "" in those 2 lines.

Double quotes (or single quotes) should be acceptable.

Using the ``vim'' editor, type ``:syntax on'' which
should turn on highlighting making it fairly easy to figure out
where the unmatched quote is.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

``Rightful liberty is unobstructed action according to our will within
limits drawn around us by the equal rights of others. I do not add 'within
the limits of the law' because law is often but the tyrant's will, and
always so when it violates the rights of the individual.''
-Thomas Jefferson
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Chris
Rob wrote:
> Chris wrote:
> 
>>>Jose Borquez wrote:
>>>defaultrouter="172.16.0.1"
>>>hostname="daemon"
>>
>>The error is:
>>defaultrouter="172.16.0.1"
>>
>>Additional error:
>>hostname="daemon"
>>
>>Again, remove the ""
> 
> 
> Uh? I use quotes for these lines in rc.conf of
> 5-Stable and
> 6-Stable. Why do you think the quotes are an error
> here?
> 
> Rob.

I also use 6.0 STABLE.
My rc.conf does not have the "" in those 2 lines.

# -- sysinstall generated deltas -- # Tue Sep 14 21:00:26 2004
# Created: Tue Sep 14 21:00:26 2004
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter=216.201.118.137
hostname=racerx.makeworld.com
ifconfig_fxp0="inet 216.201.118.138 netmask 255.255.255.248"


-- 
Best regards,
Chris

The tendency of smoke from a cigarette, barbeque,
campfire, etc. to drift into a person's face varies
directly with that person's sensitivity to smoke.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Rob
Chris wrote:
>>
>> Jose Borquez wrote:
>> defaultrouter="172.16.0.1"
>> hostname="daemon"
>
>The error is:
>defaultrouter="172.16.0.1"
>
>Additional error:
>hostname="daemon"
>
>Again, remove the ""

Uh? I use quotes for these lines in rc.conf of
5-Stable and
6-Stable. Why do you think the quotes are an error
here?

Rob.


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Chris
Jose Borquez wrote:
> Kris Kennaway wrote:
> 
>> On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
>>  
>>
>>> I just recently did a make buildworld, make buildkernel, make install
>>> kernel, make installworld, and mergemaster in that order.  When I
>>> login as root I get the following email message:
>>>
>>> Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>>
>>> /etc/rc.conf: 18: Syntax error: Unterminated quoted string
>>>   
>>
>>
>> Are you sure this is your exact rc.conf, since it is not 18 lines
>> long?
>>
>> 1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
>> 2 > moused_enable="YES"
>> 3 > moused_type="auto"
>> 4 > sshd_enable="YES"
>> 5 > usbd_enable="YES"
>> 6 > ntpd_enable="YES"
>> 7 > enable_quotas="YES"
>> 8 > check_quotas="NO"
>> 9 > clear_tmp_enable="YES"  # YES has to be in capital
>> letters
>> 10 > ipfilter_enable="YES"   # Start ipf firewall
>> 11 > ipfilter_rules="/etc/ipf.rules" # loads rules definition
>> text file
>> 12 > ipmon_enable="YES"  # Start IP monitor log
>> 13 > ipmon_flags="-Ds"   # D = start as daemon
>>
>> Kris
>>  
>>
> Here are the entire contents of my rc.conf file:
> 
> # /sys/i386/conf >vi /etc/rc.conf
> 
> # -- sysinstall generated deltas -- # Thu Dec  1 13:50:25 2005
> # Created: Thu Dec  1 13:50:25 2005
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="172.16.0.1"
> hostname="daemon"
> ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
> moused_enable="YES"
> moused_type="auto"
> sshd_enable="YES"
> usbd_enable="YES"
> ntpd_enable="YES"
> enable_quotas="YES"
> check_quotas="NO"
> clear_tmp_enable="YES"  # YES has to be in capital letters
> ipfilter_enable="YES"   # Start ipf firewall
> ipfilter_rules="/etc/ipf.rules"   # loads rules definition text
> file
> ipmon_enable="YES"   # Start IP monitor log
> ipmon_flags="-Ds"   # D = start as daemon


Additional error:
hostname="daemon"

Again, remove the ""



-- 
Best regards,
Chris

Our customers' paperwork is profit.
Our own paperwork is loss.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Chris
Jose Borquez wrote:
> Kris Kennaway wrote:
> 
>> On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
>>  
>>
>>> I just recently did a make buildworld, make buildkernel, make install
>>> kernel, make installworld, and mergemaster in that order.  When I
>>> login as root I get the following email message:
>>>
>>> Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>> X-Cron-Env: 
>>>
>>> /etc/rc.conf: 18: Syntax error: Unterminated quoted string
>>>   
>>
>>
>> Are you sure this is your exact rc.conf, since it is not 18 lines
>> long?
>>
>> 1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
>> 2 > moused_enable="YES"
>> 3 > moused_type="auto"
>> 4 > sshd_enable="YES"
>> 5 > usbd_enable="YES"
>> 6 > ntpd_enable="YES"
>> 7 > enable_quotas="YES"
>> 8 > check_quotas="NO"
>> 9 > clear_tmp_enable="YES"  # YES has to be in capital
>> letters
>> 10 > ipfilter_enable="YES"   # Start ipf firewall
>> 11 > ipfilter_rules="/etc/ipf.rules" # loads rules definition
>> text file
>> 12 > ipmon_enable="YES"  # Start IP monitor log
>> 13 > ipmon_flags="-Ds"   # D = start as daemon
>>
>> Kris
>>  
>>
> Here are the entire contents of my rc.conf file:
> 
> # /sys/i386/conf >vi /etc/rc.conf
> 
> # -- sysinstall generated deltas -- # Thu Dec  1 13:50:25 2005
> # Created: Thu Dec  1 13:50:25 2005
> # Enable network daemons for user convenience.
> # Please make all changes to this file, not to /etc/defaults/rc.conf.
> # This file now contains just the overrides from /etc/defaults/rc.conf.
> defaultrouter="172.16.0.1"
> hostname="daemon"
> ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
> moused_enable="YES"
> moused_type="auto"
> sshd_enable="YES"
> usbd_enable="YES"
> ntpd_enable="YES"
> enable_quotas="YES"
> check_quotas="NO"
> clear_tmp_enable="YES"  # YES has to be in capital letters
> ipfilter_enable="YES"   # Start ipf firewall
> ipfilter_rules="/etc/ipf.rules"   # loads rules definition text
> file
> ipmon_enable="YES"   # Start IP monitor log
> ipmon_flags="-Ds"   # D = start as daemon

The error is:
defaultrouter="172.16.0.1"

Remove the ""



-- 
Best regards,
Chris

A coup that is known in advance is a coup that does not
take place.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Jose Borquez

Kris Kennaway wrote:


On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
 

I just recently did a make buildworld, make buildkernel, make install 
kernel, make installworld, and mergemaster in that order.  When I login 
as root I get the following email message:


Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

/etc/rc.conf: 18: Syntax error: Unterminated quoted string
   



Are you sure this is your exact rc.conf, since it is not 18 lines
long?

1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
2 > moused_enable="YES"
3 > moused_type="auto"
4 > sshd_enable="YES"
5 > usbd_enable="YES"
6 > ntpd_enable="YES"
7 > enable_quotas="YES"
8 > check_quotas="NO"
9 > clear_tmp_enable="YES"  # YES has to be in capital letters
10 > ipfilter_enable="YES"   # Start ipf firewall
11 > ipfilter_rules="/etc/ipf.rules" # loads rules definition text file
12 > ipmon_enable="YES"  # Start IP monitor log
13 > ipmon_flags="-Ds"   # D = start as daemon

Kris
 


Here are the entire contents of my rc.conf file:

# /sys/i386/conf >vi /etc/rc.conf

# -- sysinstall generated deltas -- # Thu Dec  1 13:50:25 2005
# Created: Thu Dec  1 13:50:25 2005
# Enable network daemons for user convenience.
# Please make all changes to this file, not to /etc/defaults/rc.conf.
# This file now contains just the overrides from /etc/defaults/rc.conf.
defaultrouter="172.16.0.1"
hostname="daemon"
ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
moused_enable="YES"
moused_type="auto"
sshd_enable="YES"
usbd_enable="YES"
ntpd_enable="YES"
enable_quotas="YES"
check_quotas="NO"
clear_tmp_enable="YES"  # YES has to be in capital letters
ipfilter_enable="YES"   # Start ipf firewall
ipfilter_rules="/etc/ipf.rules"   # loads rules definition text file
ipmon_enable="YES"   # Start IP monitor log
ipmon_flags="-Ds"   # D = start as daemon



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


Re: /etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Kris Kennaway
On Sat, Dec 03, 2005 at 07:05:16PM -0800, Jose Borquez wrote:
> I just recently did a make buildworld, make buildkernel, make install 
> kernel, make installworld, and mergemaster in that order.  When I login 
> as root I get the following email message:
> 
> Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
> X-Cron-Env: 
> X-Cron-Env: 
> X-Cron-Env: 
> X-Cron-Env: 
> X-Cron-Env: 
> 
> /etc/rc.conf: 18: Syntax error: Unterminated quoted string

Are you sure this is your exact rc.conf, since it is not 18 lines
long?

1 > ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
2 > moused_enable="YES"
3 > moused_type="auto"
4 > sshd_enable="YES"
5 > usbd_enable="YES"
6 > ntpd_enable="YES"
7 > enable_quotas="YES"
8 > check_quotas="NO"
9 > clear_tmp_enable="YES"  # YES has to be in capital letters
10 > ipfilter_enable="YES"   # Start ipf firewall
11 > ipfilter_rules="/etc/ipf.rules" # loads rules definition text file
12 > ipmon_enable="YES"  # Start IP monitor log
13 > ipmon_flags="-Ds"   # D = start as daemon

Kris


pgpnvhGm4q2e0.pgp
Description: PGP signature


/etc/rc.conf: 18: Syntax error: Unterminated quoted string

2005-12-03 Thread Jose Borquez
I just recently did a make buildworld, make buildkernel, make install 
kernel, make installworld, and mergemaster in that order.  When I login 
as root I get the following email message:


Subject: Cron <[EMAIL PROTECTED]> /usr/libexec/save-entropy
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 
X-Cron-Env: 

/etc/rc.conf: 18: Syntax error: Unterminated quoted string

I checked my etc/rc.conf file and it is all correct.  Here it is:
ifconfig_tx0="inet 172.16.1.6  netmask 255.255.0.0"
moused_enable="YES"
moused_type="auto"
sshd_enable="YES"
usbd_enable="YES"
ntpd_enable="YES"
enable_quotas="YES"
check_quotas="NO"
clear_tmp_enable="YES"  # YES has to be in capital letters
ipfilter_enable="YES"   # Start ipf firewall
ipfilter_rules="/etc/ipf.rules" # loads rules definition text file
ipmon_enable="YES"  # Start IP monitor log
ipmon_flags="-Ds"   # D = start as daemon

Everything seems to be working properly.  I did a ps and top and they 
worked.  Can anybody please enlighten me as to what this message means?

Thank you in advance,
Jose

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


Re: snd_ich syntax error

2005-11-29 Thread Uncle Deejy-Pooh
>Date: Tue, 29 Nov 2005 09:44:44 -0800 From: Greg Maruszeczka 
<[EMAIL PROTECTED]>
>Subject: Re: snd_ich and syntax error
>To: freebsd-questions@freebsd.org
>Message-ID: <[EMAIL PROTECTED]>
>Content-Type: text/plain; charset=ISO-8859-1

JoaoBR wrote:
> On Tuesday 29 November 2005 11:53, Marco Calviani wrote:
> 
>>Hi list,
>>   i have a problem during the config(8) phase of a kernel configuration
>>file. I would like to add in the kernel the device snd_ich with (as
>>indicated in the handbook):
>>
>>device      snd_ich
>>
>>However i've got a Syntax Error on that line when i try to config it.
>>


>Put quotation marks around the driver name:

>device  "snd_ich"

This *may* work, but I believe I'm correct in saying that quotation marks are 
only required in cases where the device name contains digits.
Try :
device  sound
device  snd_ich

Works for me...

And if it *DOES WORK*, It'll be the FIRST TIME I've been of use to anyone !!!

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


Re: snd_ich and syntax error

2005-11-29 Thread Greg Maruszeczka
JoaoBR wrote:
> On Tuesday 29 November 2005 11:53, Marco Calviani wrote:
> 
>>Hi list,
>>   i have a problem during the config(8) phase of a kernel configuration
>>file. I would like to add in the kernel the device snd_ich with (as
>>indicated in the handbook):
>>
>>device      snd_ich
>>
>>However i've got a Syntax Error on that line when i try to config it.
>>


Put quotation marks around the driver name:

device  "snd_ich"

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


Re: Compile problem (syntax error) ports/x11-wm/fvwm2-devel

2005-10-31 Thread dick hoogendijk
On Sun, 30 Oct 2005 20:22:59 -0500
Parv <[EMAIL PROTECTED]> wrote:

> in message <[EMAIL PROTECTED]>, wrote Bert van
> de Grift thusly...
> >
> > There seems to be a problem with ports/x11-wm/fvwm2-devel.
> > 
> > Recently it is upgraded from 2.5.13_1 to 2.5.14_4 but when I try
> > to compile this new version I get the following error in
> > FvwmProxy.c:
> 
> Could you please file a PR (via send-pr) and CC the maintainer,
> Cy at freebsd dot org.

Yes please do so. I don't exactly know how to do it, but I also had
these errors compiling on a fbsd-4.11-stable machine yesterday. The
same port installed flawlessly on my 5.4 computer.

-- 
dick -- http://nagual.st/ -- PGP/GnuPG key: F86289CE
++ Running FreeBSD 4.11-stable ++ FreeBSD 5.4
+ Nai tiruvantel ar vayuvantel i Valar tielyanna nu vilja
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Glib 2.6.6 : eval: 1: Syntax error: "|" unexpected

2005-08-23 Thread Lowell Gilbert
Luchezar Petkov <[EMAIL PROTECTED]> writes:

> Hello.
> I'm trying to compile Glib 2.6.6 and get this error:
> eval: 1: Syntax error: "|" unexpected
> gmake[4]: *** [libglib-2.0.la] Error 2
> gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
> gmake[3]: *** [all-recursive] Error 1
> gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
> gmake[2]: *** [all] Error 2
> gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
> gmake[1]: *** [all-recursive] Error 1
> gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6'
> gmake: *** [all] Error 2
> *** Error code 2
> 
> Stop in /usr/ports/devel/glib20.
> --
> My /etc/make.conf :
> 
> CFLAGS=-march=i386 -mtune=i386 -O3 -pipe -fomit-frame-pointer -funroll-loops
> CXXFLAGS="$CFLAGS"
> 
> CHOST="i686-unknown-freebsd5.4"
> 
> FETCHCOMMAND='/usr/bin/fetch -o "${DISTDIR}/${FILE}" ${URI}'
> FEATURES="-sandbox buildpkg noauto"

I can't reproduce the problem.
Does it occur for you with an empty make.conf?

What is your system (uname -a)?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Glib 2.6.6 : eval: 1: Syntax error: "|" unexpected

2005-08-21 Thread Luchezar Petkov
Hello.
I'm trying to compile Glib 2.6.6 and get this error:
eval: 1: Syntax error: "|" unexpected
gmake[4]: *** [libglib-2.0.la] Error 2
gmake[4]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/devel/glib20/work/glib-2.6.6'
gmake: *** [all] Error 2
*** Error code 2

Stop in /usr/ports/devel/glib20.
--
My /etc/make.conf :

CFLAGS=-march=i386 -mtune=i386 -O3 -pipe -fomit-frame-pointer -funroll-loops
CXXFLAGS="$CFLAGS"

CHOST="i686-unknown-freebsd5.4"

FETCHCOMMAND='/usr/bin/fetch -o "${DISTDIR}/${FILE}" ${URI}'
FEATURES="-sandbox buildpkg noauto"

Thank you.
Regads.
Luchezar Petkov
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BandwidthD syntax error?

2004-07-27 Thread Simon Barner
Peter wrote:
> use ports install bandwidthd For FreeBSD 4.10
> 
> can't use bandwidthd (FreeBSD 4.10)?
> you can try it ^^
> 
> ##
> about this error ?G
> 
> Syntax Error "parse error" on line 40 
> Syntax Error "parse error" on line 40 
> Syntax Error "parse error" on line 40 
> Syntax Error "parse error" on line 40 
> 
> ##
> ports?G
> 
> libpcap ( http://www.tcpdump.org/ )
> /usr/ports/net/libpcap
> 
> libpng (http://www.libpng.org/ )
> /usr/ports/graphics/png
> 
> ##
> 
> Install step?G
> 
> 1. make deinstall "libpcap" and "libpng" and "bandwidthd"
> 2. make install "libpcap"
> 3. make install "libpng"
> 4. make install "bandwidthd"
> 
> now i can use bandwidthd ^^

I guess that the error is due to libpcap, which is also in /usr/lib.
Could you please verify this be de-installing the libpcap port and
building bandwidthd.
Otherwise it libpng must be the culprit...

Be sure to post the whole error message.

Simon


signature.asc
Description: Digital signature


BandwidthD syntax error?

2004-07-26 Thread Peter
use ports install bandwidthd For FreeBSD 4.10

can't use bandwidthd (FreeBSD 4.10)?
you can try it ^^

##
about this error :

Syntax Error "parse error" on line 40 
Syntax Error "parse error" on line 40 
Syntax Error "parse error" on line 40 
Syntax Error "parse error" on line 40 

##
ports:

libpcap ( http://www.tcpdump.org/ )
/usr/ports/net/libpcap

libpng (http://www.libpng.org/ )
/usr/ports/graphics/png

##

Install step:

1. make deinstall "libpcap" and "libpng" and "bandwidthd"
2. make install "libpcap"
3. make install "libpng"
4. make install "bandwidthd"

now i can use bandwidthd ^^
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BandwidthD syntax error?

2004-07-13 Thread Irvine Short
Eric Crist wrote:
On Tuesday 13 July 2004 03:32, Irvine Short wrote:
Did you do anything else to get bandwidthd to work?
Nope.  I still have not gotten it to work.
OK! I have it working.
Simple solution: portupgrade -R bandwidthd
it updated:
===>  Cleaning for libiconv-1.9.2
===>  Cleaning for gettext-0.13.1_1
===>  Cleaning for gmake-3.80_2
===>  Cleaning for libtool-1.3.5_2
===>  Cleaning for libtool-1.5.6_1
===>  Cleaning for gd-2.0.25,1
===>  Cleaning for jpeg-6b_3
===>  Cleaning for png-1.2.5_6
===>  Cleaning for freetype2-2.1.7_3
===>  Cleaning for expat-1.95.7
and now it works just fine.
First time I ever had a parse error from a slightly old version of a 
library.

--
Irvine Short
Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
cel: +27-82-494 3828
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BandwidthD syntax error?

2004-07-13 Thread Eric Crist
On Tuesday 13 July 2004 03:32, Irvine Short wrote:
> (cc'd to port maintainer)
> This is getting odder. I have found bandwidthd just works out of the box
>   on FreeBSD 5.2.1 but on 4.8 4.9 and 4.10 I get a parse error.
>
> I upgraded one of my machines to 4.10 and it made no differerence.
>
> I've cut my config file down to
>
> subnet 196.38.142.64 255.255.255.192
> dev "em0"
>
> and when I start it:
>
> # ./bandwidthd
> Monitoring subnet 196.38.142.64 with netmask 255.255.255.192
> industrial# Opening em0
> Opening em0
> Opening em0
> Opening em0
> Syntax Error "parse error" on line 3
> Syntax Error "parse error" on line 3
> Syntax Error "parse error" on line 3
> Syntax Error "parse error" on line 3
>
> Did you do anything else to get bandwidthd to work?

Nope.  I still have not gotten it to work.
-- 
Eric F Crist

Keep your pecker hard and your powder dry, and the world WILL turn.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BandwidthD syntax error?

2004-07-13 Thread Irvine Short
Eric Crist wrote:
On Monday 12 July 2004 03:56, Irvine Short wrote:
installed 1.20b and it's running without issue.
On which platform? 4.x or 5.x?
> FreeBSD 4.10.
(cc'd to port maintainer)
This is getting odder. I have found bandwidthd just works out of the box 
 on FreeBSD 5.2.1 but on 4.8 4.9 and 4.10 I get a parse error.

I upgraded one of my machines to 4.10 and it made no differerence.
I've cut my config file down to
subnet 196.38.142.64 255.255.255.192
dev "em0"
and when I start it:
# ./bandwidthd
Monitoring subnet 196.38.142.64 with netmask 255.255.255.192
industrial# Opening em0
Opening em0
Opening em0
Opening em0
Syntax Error "parse error" on line 3
Syntax Error "parse error" on line 3
Syntax Error "parse error" on line 3
Syntax Error "parse error" on line 3
Did you do anything else to get bandwidthd to work?
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BandwidthD syntax error?

2004-07-12 Thread Eric Crist
On Monday 12 July 2004 03:56, Irvine Short wrote:
> Mike Maltese wrote:
> > There's a bug report on this on the project's SourceForge page. I
>
> Found it, thanks.
>
> > installed 1.20b and it's running without issue.
>
> On which platform? 4.x or 5.x?
>
> Cheers,
>
> -- Irvine

FreeBSD 4.10.
-- 
Eric F Crist

Keep your pecker hard and your powder dry, and the world WILL turn.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BandwidthD syntax error?

2004-07-12 Thread Irvine Short
Mike Maltese wrote:
There's a bug report on this on the project's SourceForge page. I 
Found it, thanks.
installed 1.20b and it's running without issue.
On which platform? 4.x or 5.x?
Cheers,
-- Irvine
Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
cel: +27-82-494 3828
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BandwidthD syntax error?

2004-07-09 Thread Mike Maltese
Irvine Short wrote:
On Wed, 7 Jul 2004, Eric Crist wrote:
I just installed bandwidthd, and I get the following error when I try to
run it from it's home directory:

Syntax Error "parse error" on line 40

FWIW I get exactly the same issue.
I installed it fine and it runs perfectly well on a FreeBSD 5.2.1 machine
but on a variety of both FreeBSD 4.8 and 4.9 boxes I get the same problem.
Perhaps I'll see f I can dig out an older version of bandwidthd.
There's a bug report on this on the project's SourceForge page. I 
installed 1.20b and it's running without issue.
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: BandwidthD syntax error?

2004-07-09 Thread Irvine Short
On Wed, 7 Jul 2004, Eric Crist wrote:
> I just installed bandwidthd, and I get the following error when I try to
> run it from it's home directory:

> Syntax Error "parse error" on line 40

FWIW I get exactly the same issue.

I installed it fine and it runs perfectly well on a FreeBSD 5.2.1 machine
but on a variety of both FreeBSD 4.8 and 4.9 boxes I get the same problem.

Perhaps I'll see f I can dig out an older version of bandwidthd.

Irvine Short

Sys Admin
SANBI, University of the Western Cape, South Africa
http://www.sanbi.ac.za
tel: +27-21-959 3645
cel: +27-82-494 3828
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


RE: BandwidthD syntax error?

2004-07-07 Thread Eric Crist
Here you go!

=START CONFIG=

subnet 63.228.14.240 255.255.255.248
dev "dc0"
#skip_intervals 0
#graph_cutoff 1024
#promiscuous true
#output_cdf false
#recover_cdf false
#filter "ip"
#graph true

=STOP CONFIG=

Thanks for your help.

Please note, this is a short config file, but I now get an error on line
10, even though there are only 9 lines.

Thanks.
Found on Conan O'Brian:
Children's books written by celebrities;
   By Mel Gibson: Jesus Christ and the Terrible, Horrible, No Good, Very
Bad Day.

-
Keep your powder dry and your pecker hard and the world WILL turn.

-
Eric F Crist

> -Original Message-
> From: Michael Clark [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 07, 2004 8:31 AM
> To: 'Eric Crist'; [EMAIL PROTECTED]
> Subject: RE: BandwidthD syntax error?
>
>
> If you want to post your configuration file Ill take a look at it.
>
> Michael Clark
> Nemschoff Chairs Inc
> mclark at nemschoff dot com
> CompTIA A+, Network+, Server+, MCP
> Voice: (920) 457 7726 x294
> Fax:  (920) 453 6594
>
>
> -Original Message-
> From: Eric Crist [mailto:[EMAIL PROTECTED]
> Sent: Wednesday, July 07, 2004 7:09 AM
> To: [EMAIL PROTECTED]
> Subject: BandwidthD syntax error?
>
>
> Hey all,
>
> I just installed bandwidthd, and I get the following error
> when I try to run it from it's home directory:
>
> Monitoring subnet 63.228.14.240 with netmask 255.255.255.248
> grog# Opening dc0 Opening dc0 Opening dc0 Opening dc0 Syntax
> Error "parse error" on line 40 Syntax Error "parse error" on
> line 40 Syntax Error "parse error" on line 40 Syntax Error
> "parse error" on line 40
>
> That's where it crashes.  If I try running it from
> /usr/local/etc/rc.d with the following command, I get the
> following error:
>
> grog# sh /usr/local/etc/rc.d/bandwidthd.sh start
> Monitoring subnet 63.228.14.240 with netmask 255.255.255.248
> bandwidthdgrog# Opening dc0 Opening dc0 Opening dc0 Opening
> dc0 Syntax Error "parse error" on line 40 Syntax Error "parse
> error" on line 40 Syntax Error "parse error" on line 40
> Syntax Error "parse error" on line 40
>
> Now, this is the config file that is shipped with bandwidthd,
> with the only change being my personal IP information.  The
> other funny part: line 40 doesn't exist.  The last line in
> the document is 39.
>
> Thanks for your help.
>
>
> Found on Conan O'Brian:
> Children's books written by celebrities;
>By Mel Gibson: Jesus Christ and the Terrible, Horrible, No
> Good, Very Bad Day.
>
> -
> Keep your powder dry and your pecker hard and the world WILL turn.
>
> -
> Eric F Crist
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/free> bsd-questions
>
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
>
> CONFIDENTIALITY NOTE: This electronic transmission, including
> all attachments, is directed in confidence solely to the
> person(s) to whom it is addressed, or an authorized
> recipient, and may not otherwise be distributed, copied or
> disclosed. The contents of the transmission may also be
> subject to intellectual property rights and all such rights
> are expressly claimed and are not waived. If you have
> received this transmission in error, please notify the sender
> immediately by return electronic transmission and then
> immediately delete this transmission, including all
> attachments, without copying, distributing or disclosing same.
>
>


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


RE: BandwidthD syntax error?

2004-07-07 Thread Michael Clark
If you want to post your configuration file Ill take a look at it.

Michael Clark
Nemschoff Chairs Inc
mclark at nemschoff dot com
CompTIA A+, Network+, Server+, MCP
Voice: (920) 457 7726 x294
Fax:  (920) 453 6594


-Original Message-
From: Eric Crist [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 07, 2004 7:09 AM
To: [EMAIL PROTECTED]
Subject: BandwidthD syntax error?


Hey all,

I just installed bandwidthd, and I get the following error when I try to
run it from it's home directory:

Monitoring subnet 63.228.14.240 with netmask 255.255.255.248
grog# Opening dc0
Opening dc0
Opening dc0
Opening dc0
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40

That's where it crashes.  If I try running it from /usr/local/etc/rc.d
with the following command, I get the following error:

grog# sh /usr/local/etc/rc.d/bandwidthd.sh start
Monitoring subnet 63.228.14.240 with netmask 255.255.255.248
 bandwidthdgrog# Opening dc0
Opening dc0
Opening dc0
Opening dc0
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40

Now, this is the config file that is shipped with bandwidthd, with the
only change being my personal IP information.  The other funny part:
line 40 doesn't exist.  The last line in the document is 39.

Thanks for your help.


Found on Conan O'Brian:
Children's books written by celebrities;
   By Mel Gibson: Jesus Christ and the Terrible, Horrible, No Good, Very
Bad Day.

-
Keep your powder dry and your pecker hard and the world WILL turn.

-
Eric F Crist


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


CONFIDENTIALITY NOTE: This electronic transmission, including all
attachments, is directed in confidence solely to the person(s) to whom it is
addressed, or an authorized recipient, and may not otherwise be distributed,
copied or disclosed. The contents of the transmission may also be subject to
intellectual property rights and all such rights are expressly claimed and
are not waived. If you have received this transmission in error, please
notify the sender immediately by return electronic transmission and then
immediately delete this transmission, including all attachments, without
copying, distributing or disclosing same. 


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


Re: BandwidthD syntax error?

2004-07-07 Thread Bill Moran
"Eric Crist" <[EMAIL PROTECTED]> wrote:
> Hey all,
> 
> I just installed bandwidthd, and I get the following error when I try to
> run it from it's home directory:
> 
> Monitoring subnet 63.228.14.240 with netmask 255.255.255.248
> grog# Opening dc0
> Opening dc0
> Opening dc0
> Opening dc0
> Syntax Error "parse error" on line 40
> Syntax Error "parse error" on line 40
> Syntax Error "parse error" on line 40
> Syntax Error "parse error" on line 40
> 
> That's where it crashes.  If I try running it from /usr/local/etc/rc.d
> with the following command, I get the following error:
> 
> grog# sh /usr/local/etc/rc.d/bandwidthd.sh start
> Monitoring subnet 63.228.14.240 with netmask 255.255.255.248
>  bandwidthdgrog# Opening dc0
> Opening dc0
> Opening dc0
> Opening dc0
> Syntax Error "parse error" on line 40
> Syntax Error "parse error" on line 40
> Syntax Error "parse error" on line 40
> Syntax Error "parse error" on line 40
> 
> Now, this is the config file that is shipped with bandwidthd, with the
> only change being my personal IP information.  The other funny part:
> line 40 doesn't exist.  The last line in the document is 39.

I'm not familiar with bandwidthd, but I'm familiar with that type of error.

It seems most parsers generate an error referring to last line + 1 when they
fall off the end of the file without closing a block.  i.e. the parser
encountered a starting { but never found the closing } (This can hold true
for "", (), and probably many other grouping symbols)

So, the first thing to do is to check all your brackets and quotes and make
sure they're properly balanced.  Since it's only a 39 line config, it
shouldn't be too hard to track down.  If you find that it _is_ a problem
with the default config file, and not an error you introduced, you should
file a PR.

HTH

-- 
Bill Moran
Potential Technologies
http://www.potentialtech.com
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


BandwidthD syntax error?

2004-07-07 Thread Eric Crist
Hey all,

I just installed bandwidthd, and I get the following error when I try to
run it from it's home directory:

Monitoring subnet 63.228.14.240 with netmask 255.255.255.248
grog# Opening dc0
Opening dc0
Opening dc0
Opening dc0
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40

That's where it crashes.  If I try running it from /usr/local/etc/rc.d
with the following command, I get the following error:

grog# sh /usr/local/etc/rc.d/bandwidthd.sh start
Monitoring subnet 63.228.14.240 with netmask 255.255.255.248
 bandwidthdgrog# Opening dc0
Opening dc0
Opening dc0
Opening dc0
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40
Syntax Error "parse error" on line 40

Now, this is the config file that is shipped with bandwidthd, with the
only change being my personal IP information.  The other funny part:
line 40 doesn't exist.  The last line in the document is 39.

Thanks for your help.


Found on Conan O'Brian:
Children's books written by celebrities;
   By Mel Gibson: Jesus Christ and the Terrible, Horrible, No Good, Very
Bad Day.

-
Keep your powder dry and your pecker hard and the world WILL turn.

-
Eric F Crist


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


Syntax error-please

2004-07-02 Thread Ted Parks
I have already posted a query about syntax errors in pccard.conf. Nobody 
responded to my most recent request. I would appreciate any help.

The pccard.conf that ships with 4.8 yields syntax error messages when 
trying to configure my pcmcia card. Is there a problem with the 
following code?

# Farallon EtherMac
card "Farallon" "ENet"
 config   auto "ep" ?
 insert /etc/pccard_ether $device start
 remove  /etc/pccard_ether $device stop
I will appreciate any help--I haven't had any luck Googling.
Thanks,
Ted Parks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


syntax error

2004-07-02 Thread Ted Parks
The pccard.conf that ships with 4.8 yields syntax error messages when 
trying to configure my pcmcia card. Could someone help me correct the 
following code from pccard.conf that applies to my card?

# Farallon EtherMac
card "Farallon" "ENet"
  config   auto "ep" ?
  insert /etc/pccard_ether $device start
  remove  /etc/pccard_ether $device stop
I will appreciate any help--I haven't had any luck Googling.
Thanks,
Ted Parks
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: xorg-clients-6.7.0 syntax error in xhost.c building xvinfo

2004-06-29 Thread Luke
I worked around that problem and ran into another.
I had an old copy of Xlib.h in /usr/X11R6/include/X11, so 
XServerInterpretedAddress was undefined.

Explicitly installing /usr/ports/x11/xorg-libraries before installing 
/usr/ports/x11/xorg did the trick.
I still can't see why making xorg didn't do that automatically.  The 
makefile looks like it would.

Now that I'm past that problem, I'm getting
"make: don't know how to make /usr/X11R6/include/X11/Xft/Xft.h. Stop"
I'll keep working on this.  I probably have an old copy of something else 
lying around messing this up too.

On Tue, 29 Jun 2004, Luke wrote:
Date: Tue, 29 Jun 2004 10:47:19 -0700 (PDT)
From: Luke <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: xorg-clients-6.7.0 syntax error in xhost.c building xvinfo
I'm trying to install xorg since I think I need the latest nvidia drivers to 
solve a problem I'm having and there seems to be some kind of holdup on 
upgrading the XFree86 port.

I'm getting the following error:
Script started on Tue Jun 29 10:23:19 2004
You have mail.
greentower# cd /usr/ports/x11/xorg greentower# make install ===>  Installing 
for xorg-6.7.0
===>   xorg-6.7.0 depends on executable: xvinfo - not found
===>Verifying install for xvinfo in /usr/ports/x11/xorg-clients
===>  Building for xorg-clients-6.7.0
making all in programs/appres...
making all in programs/bdftopcf...
making all in programs/bitmap...
making all in programs/beforelight...
making all in programs/editres...
making all in programs/fslsfonts...
making all in programs/fstobdf...
making all in programs/iceauth...
making all in programs/ico...
making all in programs/listres...
making all in programs/luit...
making all in programs/makepsres...
making all in programs/dpsinfo...
making all in programs/dpsexec...
making all in programs/texteroids...
making all in programs/mkcfm...
making all in programs/mkfontdir...
making all in programs/mkfontscale...
making all in programs/oclock...
making all in programs/proxymngr...
making all in programs/rgb...
making all in programs/rstart...
making all in programs/showfont...
making all in programs/smproxy...
making all in programs/twm...
making all in programs/viewres...
making all in programs/x11perf...
making all in programs/xauth...
making all in programs/xbiff...
making all in programs/xcalc...
making all in programs/xclipboard...
making all in programs/xclock...
making all in programs/xcmsdb...
making all in programs/xconsole...
making all in programs/xditview...
making all in programs/xdm...
making all in programs/xdm/config...
making all in programs/xdpyinfo...
making all in programs/xf86dga...
making all in programs/xedit...
making all in programs/xedit/lisp...
making all in programs/xedit/lisp/mp...
making all in programs/xedit/lisp/re...
making all in programs/xev...
making all in programs/xeyes...
making all in programs/xfd...
making all in programs/xfontsel...
making all in programs/xfsinfo...
making all in programs/xfindproxy...
making all in programs/xfwp...
making all in programs/xgamma...
making all in programs/xgc...
making all in programs/xhost...
cc -O -pipe -ansi -pedantic -Wno-system-headers -Dasm=__asm 	-Wall 
-Wpointer-arith -Wundef -I/usr/ports/x11/xorg-clients/work/xc 
-I/usr/ports/x11/xorg-clients/work/xc/exports/include  -I/usr/X11R6/include 
-DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DTCPCONN -DUNIXCONN 
-DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6  -DSECURE_RPC 
-DBSD44SOCKETS  -DXVENDORNAME='"The X.Org Foundation"' 
-DXVENDORNAMESHORT='"X.Org"' -c xhost.c
xhost.c: In function `change_host':
xhost.c:423: error: syntax error before "siaddr"
xhost.c:434: error: `siaddr' undeclared (first use in this function)
xhost.c:434: error: (Each undeclared identifier is reported only once
xhost.c:434: error: for each function it appears in.)
xhost.c: In function `get_hostname':
xhost.c:883: error: `XServerInterpretedAddress' undeclared (first use in this 
function)
xhost.c:883: error: `sip' undeclared (first use in this function)
xhost.c:884: warning: ISO C89 forbids mixed declarations and code
xhost.c:888: error: syntax error before ')' token
*** Error code 1

Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xhost.
*** Error code 1
Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
*** Error code 1
Stop in /usr/ports/x11/xorg-clients.
*** Error code 1
Stop in /usr/ports/x11/xorg.
greentower# exit exit
Script done on Tue Jun 29 10:23:45 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


xorg-clients-6.7.0 syntax error in xhost.c building xvinfo

2004-06-29 Thread Luke
I'm trying to install xorg since I think I need the latest nvidia drivers 
to solve a problem I'm having and there seems to be some kind of holdup on 
upgrading the XFree86 port.

I'm getting the following error:
Script started on Tue Jun 29 10:23:19 2004
You have mail.
greentower# cd /usr/ports/x11/xorg 
greentower# make install 
===>  Installing for xorg-6.7.0
===>   xorg-6.7.0 depends on executable: xvinfo - not found
===>Verifying install for xvinfo in /usr/ports/x11/xorg-clients
===>  Building for xorg-clients-6.7.0
making all in programs/appres...
making all in programs/bdftopcf...
making all in programs/bitmap...
making all in programs/beforelight...
making all in programs/editres...
making all in programs/fslsfonts...
making all in programs/fstobdf...
making all in programs/iceauth...
making all in programs/ico...
making all in programs/listres...
making all in programs/luit...
making all in programs/makepsres...
making all in programs/dpsinfo...
making all in programs/dpsexec...
making all in programs/texteroids...
making all in programs/mkcfm...
making all in programs/mkfontdir...
making all in programs/mkfontscale...
making all in programs/oclock...
making all in programs/proxymngr...
making all in programs/rgb...
making all in programs/rstart...
making all in programs/showfont...
making all in programs/smproxy...
making all in programs/twm...
making all in programs/viewres...
making all in programs/x11perf...
making all in programs/xauth...
making all in programs/xbiff...
making all in programs/xcalc...
making all in programs/xclipboard...
making all in programs/xclock...
making all in programs/xcmsdb...
making all in programs/xconsole...
making all in programs/xditview...
making all in programs/xdm...
making all in programs/xdm/config...
making all in programs/xdpyinfo...
making all in programs/xf86dga...
making all in programs/xedit...
making all in programs/xedit/lisp...
making all in programs/xedit/lisp/mp...
making all in programs/xedit/lisp/re...
making all in programs/xev...
making all in programs/xeyes...
making all in programs/xfd...
making all in programs/xfontsel...
making all in programs/xfsinfo...
making all in programs/xfindproxy...
making all in programs/xfwp...
making all in programs/xgamma...
making all in programs/xgc...
making all in programs/xhost...
cc -O -pipe -ansi -pedantic -Wno-system-headers -Dasm=__asm 	-Wall -Wpointer-arith -Wundef -I/usr/ports/x11/xorg-clients/work/xc -I/usr/ports/x11/xorg-clients/work/xc/exports/include  -I/usr/X11R6/include -DCSRG_BASED  -DFUNCPROTO=15 -DNARROWPROTO   -DTCPCONN -DUNIXCONN  -DHAS_STICKY_DIR_BIT -DHAS_FCHOWN -DIPv6  -DSECURE_RPC 		   -DBSD44SOCKETS  -DXVENDORNAME='"The X.Org Foundation"' -DXVENDORNAMESHORT='"X.Org"' -c xhost.c
xhost.c: In function `change_host':
xhost.c:423: error: syntax error before "siaddr"
xhost.c:434: error: `siaddr' undeclared (first use in this function)
xhost.c:434: error: (Each undeclared identifier is reported only once
xhost.c:434: error: for each function it appears in.)
xhost.c: In function `get_hostname':
xhost.c:883: error: `XServerInterpretedAddress' undeclared (first use in this function)
xhost.c:883: error: `sip' undeclared (first use in this function)
xhost.c:884: warning: ISO C89 forbids mixed declarations and code
xhost.c:888: error: syntax error before ')' token
*** Error code 1

Stop in /usr/ports/x11/xorg-clients/work/xc/programs/xhost.
*** Error code 1
Stop in /usr/ports/x11/xorg-clients/work/xc/programs.
*** Error code 1
Stop in /usr/ports/x11/xorg-clients.
*** Error code 1
Stop in /usr/ports/x11/xorg.
greentower# exit 
exit

Script done on Tue Jun 29 10:23:45 2004
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Syntax error in rc.conf - cannot fix

2004-04-09 Thread lrnobs
It works.  Thanks all.

XP recognizes my Samba Server now too.  Apparently XP did not like my old
hostname:
"localhost", claimed someone else on the network was already using that
name, probably itself.

Larry Nobs

- Original Message -
From: "Atom Powers" <[EMAIL PROTECTED]>
To: "lrnobs" <[EMAIL PROTECTED]>;
<[EMAIL PROTECTED]>
Sent: Friday, April 09, 2004 3:59 PM
Subject: RE: Syntax error in rc.conf - cannot fix


> Yeah, I know this. :)
> You are obviously in single user mode so,
>
> 'mount -a' will mount all your file systems according to fstab
> '/usr/bin/vi /etc/rc.conf' to correct your config
> save and reboot.
>
> --
> The meek will inherit the earth; the rest of us will go to the stars.
>
> Atom Powers
> Pyramid Brewery
> 206.682.8322 x251
>
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of lrnobs
> Sent: Friday, April 09, 2004 1:56 PM
> To: [EMAIL PROTECTED]
> Subject: Syntax error in rc.conf - cannot fix
>
> I am setting up a new server so I could just reinstall, but this is a
> learning opportunity.
>
> I was changing the hostname of the computer.  In rc.conf I apparently
> left the leading " off the name.
>
> BSD doesn't like this. It stops the boot and allows/forces me to a
> shell. So I found that "cat" shows me the error of my ways.  vi
> apparently doesn't exist or is stored somewhere that I cannot find
> because "find" does not work either.
>
> I did find "ed" and thought I would be learning how to use it, but alas
> trying to launch it tells me that I have a readonly file system.
>
> So, is there any way for me to fix my typo, or is reinstall my only
> option.
>
> Thanks,
>
> Larry Nobs
>
>
>
> ___
> [EMAIL PROTECTED] mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
>
>
>
>
>


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


Re: Syntax error in rc.conf - cannot fix

2004-04-09 Thread Kevin D. Kinsey, DaleCo, S.P.
lrnobs wrote:

I am setting up a new server so I could just reinstall, but this is a
learning opportunity.
I was changing the hostname of the computer.  In rc.conf I apparently left
the leading " off the name.
BSD doesn't like this. It stops the boot and allows/forces me to a shell. So
I found that "cat" shows me the error of my ways.  vi apparently doesn't
exist or is stored somewhere that I cannot find because "find" does not work
either.
I did find "ed" and thought I would be learning how to use it, but alas
trying to launch it tells me that I have a readonly file system.
So, is there any way for me to fix my typo, or is reinstall my only option.

Thanks,

Larry Nobs

 

First thing to do would be to mount / as r/w so
you can use ed.  Your $PATH is shot to heck so
maybe:
   /sbin/mount -t ufs /dev/ad0s1a /

Of course, that should be the correct device
and slice for your machine...
Have you tried just /sbin/mount -a to get the
whole thing back?  Maybe then vi or emacs
or whatever would be accessible...
Either way, this is completely recoverable.
Don't wipe your HDD yet!!
Kevin Kinsey
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Syntax error in rc.conf - cannot fix

2004-04-09 Thread Josh Paetzel
On Fri, Apr 09, 2004 at 03:55:39PM -0500, lrnobs wrote:
> I am setting up a new server so I could just reinstall, but this is a
> learning opportunity.
> 
> I was changing the hostname of the computer.  In rc.conf I apparently left
> the leading " off the name.
> 
> BSD doesn't like this. It stops the boot and allows/forces me to a shell. So
> I found that "cat" shows me the error of my ways.  vi apparently doesn't
> exist or is stored somewhere that I cannot find because "find" does not work
> either.
> 
> I did find "ed" and thought I would be learning how to use it, but alas
> trying to launch it tells me that I have a readonly file system.
> 
> So, is there any way for me to fix my typo, or is reinstall my only option.
> 
> Thanks,
> 
> Larry Nobs
> 

mount -rw / && mount -rw /usr and edit rc.conf as needed with vi

Josh Paetzel


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


Re: Syntax error in rc.conf - cannot fix

2004-04-09 Thread Erik Trulsson
On Fri, Apr 09, 2004 at 03:55:39PM -0500, lrnobs wrote:
> I am setting up a new server so I could just reinstall, but this is a
> learning opportunity.
> 
> I was changing the hostname of the computer.  In rc.conf I apparently left
> the leading " off the name.
> 
> BSD doesn't like this. It stops the boot and allows/forces me to a shell. So
> I found that "cat" shows me the error of my ways.  vi apparently doesn't
> exist or is stored somewhere that I cannot find because "find" does not work
> either.
> 
> I did find "ed" and thought I would be learning how to use it, but alas
> trying to launch it tells me that I have a readonly file system.
> 
> So, is there any way for me to fix my typo, or is reinstall my only option.

Your boot apparently halted before any filesystems had been mounted
yet (except for '/' which is mounted read-only.)

Do a 'mount -u /' to make sure that the root-filesystem is mounted
read/write, and then a 'mount /usr' to mount /usr where vi and find
lives.  Then you should be able to fix rc.conf without much trouble.




-- 

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


Syntax error in rc.conf - cannot fix

2004-04-09 Thread lrnobs
I am setting up a new server so I could just reinstall, but this is a
learning opportunity.

I was changing the hostname of the computer.  In rc.conf I apparently left
the leading " off the name.

BSD doesn't like this. It stops the boot and allows/forces me to a shell. So
I found that "cat" shows me the error of my ways.  vi apparently doesn't
exist or is stored somewhere that I cannot find because "find" does not work
either.

I did find "ed" and thought I would be learning how to use it, but alas
trying to launch it tells me that I have a readonly file system.

So, is there any way for me to fix my typo, or is reinstall my only option.

Thanks,

Larry Nobs



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


syntax error on cinfig file of 5.0

2004-02-19 Thread ÁТÒÁ
one of my friend try adding  COM3 to his config file
of freebsd 5.0 as follow

# Serial (COM) ports
device sio # 8250, 16[45]50 based serial ports
<---(GENERIC)
device sio2 at isa? port IO_COM3 irq 5 <---his
file

once make he got series of messages

make KERNCONF=Ehead kernel

Running test variables
PASS: Test variables detected no regression, output
matches.
Running test targets
PASS : Test targets detected no regression.
Running test sysvmatch
PASS : Test sysvmatch detected no regression.
Running test lhs_expn
PASS : Test lhs_expn detected no regression.
Running test notdef
PASS : Test notdef detected no regression.
Running test modifiers
PASS : Test modifiers detected no regression.
Running test funny_targets
PASS : Test funny_targets detected no regression.

- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
>>> Kernel build for Gra started on Web Feb 18
14:46:46 ICT 2004
- - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - - - - - - - - - - - - - - - - -
===> Gra
mkdir -p /usr/obj/usr/src/sys
cd /usr/src/sys/i386/conf;
PATH=/usr/obj/src/i386/usr/sbin :
/usr/obj/usr/src/i386/usr/bin :
/usr/obj/usr/src/i386/usr/games :
/usr/obj/usr/src/make.i386 : /sbin : /bin : /usr/sbin
: /usr/bin config -d /usr/obj/usr/src/sys/Gra
/usr/src/sys/i386/conf/Gra
config : /usr/src/sys/i386/conf/Gra : 127 : syntax
error
*** Error code 1

Stop in /usr/src.
*** Error code 1

Stop in /usr/src.


the line 127 is the one he add as i shown above.

would you please help us solving this problem ?
any help and hints are appreciated.


=
ÁТÒÁ ¤Ô¹à´Ô¹´¹
http://www.thai.net/makham

__
Do you Yahoo!?
Yahoo! Mail SpamGuard - Read only the mail you want.
http://antispam.yahoo.com/tools
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: File-system is read only b/c of "Syntax error: Unterminatedquoted string" in rc.conf

2003-07-11 Thread ph . schulz
>   fsck -y
> mount -a -t ufs
> vi /etc/rc.conf

This worked fine, thank you!

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


Re: File-system is read only b/c of "Syntax error: Unterminatedquoted string" in rc.conf

2003-07-11 Thread ph . schulz
Thank you for your quick response. 

I've done the fsck last night already and as I expected, there were no
problems.

The rest I will try later the day and I will give you feedback if it worked
or not.

> Just to make sure, boot into single user mode by interrupting the boot
> countdown and entering "boot -s" at the boot loader prompt.
> 
> Then to make sure:
>   fsck -y
> mount -a -t ufs
> vi /etc/rc.conf

-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


Re: File-system is read only b/c of "Syntax error: Unterminatedquoted string" in rc.conf

2003-07-11 Thread Konrad Heuer

On Fri, 11 Jul 2003 [EMAIL PROTECTED] wrote:

> Hello everyone!
>  I've got a quick question:
>
>  I've changed my /etc/rc.conf, but unfortunately I made a typo. Now, my
> system doesn't boot anymore. I wanted to correct the rc.conf, but the root file
> system is read only. Is there any way that I can either edit, rename or even
> delete the /etc/rc.conf?
>  Btw, I can mount all the other file systems and I have full access to them.
>
>   Thank you for your time,
> Phil

Just to make sure, boot into single user mode by interrupting the boot
countdown and entering "boot -s" at the boot loader prompt.

Then to make sure:
fsck -y
mount -a -t ufs
vi /etc/rc.conf

Regards

Konrad Heuer ([EMAIL PROTECTED])  ___  ___
GWDG   / __/__ ___ / _ )/ __/ _ \
Am Fassberg   / _// __/ -_) -_) _  |\ \/ // /
37077 Goettingen /_/ /_/  \__/\__//___//
Germany

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


File-system is read only b/c of "Syntax error: Unterminated quotedstring" in rc.conf

2003-07-11 Thread ph . schulz
Hello everyone!
 I've got a quick question:
 
 I've changed my /etc/rc.conf, but unfortunately I made a typo. Now, my
system doesn't boot anymore. I wanted to correct the rc.conf, but the root file
system is read only. Is there any way that I can either edit, rename or even
delete the /etc/rc.conf?
 Btw, I can mount all the other file systems and I have full access to them.

  Thank you for your time,
Phil


-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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


File-system is read only b/c of "Syntax error: Unterminated quotedstring" in rc.conf

2003-07-11 Thread ph . schulz
Hello everyone!
 I've got a quick question:
 
 I've changed my /etc/rc.conf, but unfortunately I made a typo. Now, my
system doesn't boot anymore. I wanted to correct the rc.conf, but the root file
system is read only. Is there any way that I can either edit, rename or even
delete the /etc/rc.conf?
 Btw, I can mount all the other file systems and I have full access to them.

  Thank you for your time,
Phil


-- 
+++ GMX - Mail, Messaging & more  http://www.gmx.net +++

Jetzt ein- oder umsteigen und USB-Speicheruhr als Prämie sichern!

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