Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Lefteris Tsintjelis

I am getting all these no provider and rcorder doesn't seem to
work properly under /usr/local/etc/rc.d. Services seem to start
alphabetically and not in the right order specified. The keywords
REQUIRE, PROVIDE, BEFORE and KEYWORD seem to be ignored. Services
like SERVERS, NETWORKING, LOGIN, etc, are all provided within
/etc/rc.d.

rcorder /usr/local/etc/rc.d/*

rcorder: requirement `SERVERS' in file `squid.sh' has no providers.
rcorder: requirement `NETWORKING' in file `squid.sh' has no providers.
rcorder: requirement `DAEMON' in file `snmptrapd.sh' has no providers.
rcorder: requirement `DAEMON' in file `snmpd.sh' has no providers.
rcorder: requirement `LOGIN' in file `sa-spamd.sh' has no providers.
rcorder: requirement `LOGIN' in file `rsyncd.sh' has no providers.
rcorder: requirement `SERVERS' in file `radiusd.sh' has no providers.
rcorder: requirement `NETWORKING' in file `radiusd.sh' has no providers.
rcorder: requirement `NETWORKING' in file `pfspamd.sh' has no providers.
rcorder: requirement `SERVERS' in file `mysql-server.sh' has no providers.
rcorder: requirement `NETWORKING' in file `mysql-server.sh' has no providers.
rcorder: requirement `DAEMON' in file `courier-authdaemond.sh' has no providers.
rcorder: requirement `LOGIN' in file `courier-imap-pop3d.sh' has no providers.
rcorder: requirement `LOGIN' in file `courier-imap-pop3d-ssl.sh' has no 
providers.
rcorder: requirement `LOGIN' in file `courier-imap-imapd.sh' has no providers.
rcorder: requirement `LOGIN' in file `courier-imap-imapd-ssl.sh' has no 
providers.
rcorder: requirement `SERVERS' in file `apache2.sh' has no providers.
rcorder: requirement `NETWORKING' in file `apache2.sh' has no providers.
rcorder: requirement `ldconfig' in file `000.pkgtools.sh' has no providers.

Am I doing something wrong or is this a problem?

Please CC

Thnx,

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


Re: Is rcorder working under /usr/local/etc/rc.d?

2005-10-15 Thread Lefteris Tsintjelis

Giorgos Keramidas wrote:


[...]

These look like stuff that is provided by /etc/rc.d/* scripts.

Try including all the scripts in the rcorder command line:

% flame:/home/keramida$ rcorder  /usr/local/etc/rc.d/* /dev/null
% rcorder: file `/usr/local/etc/rc.d/samba.sh' is before unknown provision 
`DAEMON'
% rcorder: requirement `named' in file `/usr/local/etc/rc.d/samba.sh' has no 
providers.
% rcorder: requirement `SERVERS' in file `/usr/local/etc/rc.d/samba.sh' has no 
providers.
% rcorder: requirement `NETWORKING' in file `/usr/local/etc/rc.d/samba.sh' has 
no providers.
% rcorder: requirement `ldconfig' in file 
`/usr/local/etc/rc.d/perforce.sh.sample' has no providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/mysql.sh' has no 
providers.
% rcorder: requirement `ldconfig' in file `/usr/local/etc/rc.d/000.pkgtools.sh' 
has no providers.

% flame:/home/keramida$ rcorder /etc/rc.d/* /usr/local/etc/rc.d/* /dev/null
% rcorder: Circular dependency on provision `mountcritremote' in file 
`/etc/rc.d/newsyslog'.
% rcorder: Circular dependency on provision `mountcritremote' in file 
`/etc/rc.d/syslogd'.


Gia sou Giorgo kai pali,

That certainly fixes just about all of the no providers but the start up
rcorder problem remains. To be more specific, I specify for a service this:

# REQUIRE: mysql

This service however still fails to start after MySQL and keeps on starting
right before it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Can't mount partitions with soft-updates enabled with async option

2005-06-19 Thread Lefteris Tsintjelis
Giorgos Keramidas wrote:
 
 Squid is such a memory hungry beast that I wouldn't worry about a small
 percentage of page faults caused by softupdates.  The proxy itself is
 probably causing a hell of a lot more page faults as it maps cache files
 or as it recycles cache entries :-)

You are very right about this one.

 Are you absolutely sure it's softupdates that is causing these extra
 page faults?  (Which *may* be true, because of the extra memory
 softupdates need, in order to operate.  But how can you tell?)

Well, according to squid the page faults were due to physical writes but
I can't tell for sure yet. I guess I can try and test it and see what
happens. If the percentages are that small then it most definitely isn't
worth the trouble at all. My estimated guess was that the numbers would
have been greater than just 2-3%. Knowing though how easily an async
file system can corrupt, is there the slightest chance this could happen
under normal but heavy usage?

Thank you all for the responses,

Lefteris

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


Can't mount partitions with soft-updates enabled with async option

2005-06-18 Thread Lefteris Tsintjelis
I am not sure if I do something wrong here or it is suppose to work that
way but the async option doesn't seem to work for partitions that have
soft-updates turned on. Can someone please clarify the difference and if
the speed difference (if any) is significant when using the async option
instead of the soft-updates for cases such as the /usr/obj or as a squid
data storage? Is async preferred over soft-updates when data loss is not
a big issue?

Please CC

Thank you,

Lefteris Tsintjelis
ASDA

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


Re: Can't mount partitions with soft-updates enabled with async option

2005-06-18 Thread Lefteris Tsintjelis
Giorgos Keramidas wrote:
 
 Why would you want to do that?
 
 Soft-updates already provides most of the benefits of an async mount plus some
 extra goodies, like never leaving the filesystem in an inconsistent state.

Kalimera Giorgo,

For boosting io speed to the max it can get. The system is very stable (no
crashes whatsover) and UPS monitored and protected so chances of having an
inconsistent filesystem are very low or am I wrong? (I am refering to an 
async mounted filesystem)

 The speed gain of mounting a squid cache as async shouldn't really be that
 big, but the guarantees of avoiding data loss when a filesystem is mounted
 with softupdates are too big to ignore :-)

Well, that would probably depend on the requests per second but for a pretty
busy squid box (disk cache is already split to a few disks) and to keep things
running even more smooth and optimal, this would probably boost the io
performance further more (if I understood everything right). The reason I am
thinking of switching to async mode is that I am getting some physical io page
faults (very small percentage compared to the requests per second but still)
and I am already using the noatime option with soft-updates of course.

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


Can I make both port indexes?

2005-04-30 Thread Lefteris Tsintjelis
Is it possible to make both port indexes (FreeBSD4/FreeBSD5) for
local port redistribution for FreeBSD4 and FreeBSD5 systems?

Please CC

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


Can I install dcc-dccd with postfix without sendmail?

2005-04-18 Thread Lefteris Tsintjelis
In my make.conf I have NO_SENDMAIL=true and I am using postfix instead. When
I try to install the port says the followin:

dcc-dccd-1.2.66 is marked as broken: Base system sendmail not found or too old, 
rebuild with WITH_SENDMAIL_PORT=yes.

Can I install the port without sendmail?

Please CC

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


Possible to trigger system events based on ip conflicts?

2005-03-25 Thread Lefteris Tsintjelis
Hi,

Is it possible to trigger scripts/events based on IP address
conflicts? Something that can be used as a backup solution,
like a simple cluster failover, when one IP fails, the other
takes over and when the first comes back on line the second
one goes down (standby) and the fist one takes over again.
What is the simplest solution to that?

Lefteris Tsintjelis

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


unknown but working PNP devices

2005-03-19 Thread Lefteris Tsintjelis
Why are the last messages showing eventhough ports seem to be detected and
working fine? Is there a way to disable/fix those unknown devices? PC is
a notebook (with APM/PnP only, ACPI is disabled).

Part of kernel:

#device apic# I/O APIC
device  apm

device  atkbdc  # AT keyboard controller
device  atkbd   # AT keyboard
device  psm # PS/2 mouse

device  ppc
device  ppbus   # Parallel port bus (required)
device  lpt # Printer
device  plip# TCP/IP over parallel
device  ppi # Parallel port interface device

device  sio # 8250, 16[45]50 based serial ports

Part of dmesg (verbose mode):

Copyright (c) 1992-2005 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
The Regents of the University of California. All rights reserved.
FreeBSD 5.4-PRERELEASE #0: Sat Mar 19 01:33:26 EET 2005
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/CUSTOM
Preloaded elf kernel /boot/kernel/kernel at 0xc07a1000.
Calibrating clock(s) ... i8254 clock: 1193227 Hz

ppc0: using extended I/O port range
ppc0: EPP SPP
ppc0: Parallel port at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
sio0: irq maps: 0x1 0x11 0x1 0x1
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio2: irq maps: 0x1 0x11 0x1 0x1
sio2 at port 0x3e8-0x3ef irq 4 on isa0
sio2: type 16550A
sbc0: ESS ES1878 at port 0x330-0x331,0x388-0x38b,0x220-0x22f irq 5 drq 5,1 on 
isa0
sbc0: [GIANT-LOCKED]

unknown: PNP0800 failed to probe at port 0x61 on isa0
unknown: PNP0303 can't assign resources (port)
unknown: PNP0303 at port 0x60 on isa0
unknown: CPQae3d can't assign resources (irq)
unknown: CPQae3d at irq 12 on isa0
unknown: PNP0401 can't assign resources (port)
unknown: PNP0401 at port 0x378-0x37f on isa0
unknown: PNP0501 can't assign resources (port)
unknown: PNP0501 at port 0x3f8-0x3ff on isa0
unknown: PNP0511 can't assign resources (port)
unknown: PNP0511 at port 0x3e8-0x3ef on isa0
unknown: PNP0700 can't assign resources (port)
unknown: PNP0700 at port 0x3f0-0x3f5 on isa0
unknown: ESS0004 failed to probe at port 0x250-0x257 on isa0
unknown: ESS1878 failed to probe at port 0x330-0x331,0x388-0x38b,0x220-0x22f 
irq 5 drq 5,1 on isa0
unknown: PNP0e03 failed to probe at port 0x3e0-0x3e1 on isa0
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


ISDN and USB devices in 5.3

2005-02-21 Thread Lefteris Tsintjelis
Hi,

Is there any support for USB ISDN devices in 5.3? The USB modem I want
to use is correctly idendified but as a ugen0(.1/.2). I searched the docs
but I only saw info for PCI/PCMCIA/ISA ISDN cards, no USB at all.

PS: Please CC

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


How do I create a freebsd local distribution point?

2004-06-28 Thread Lefteris Tsintjelis
Hi,

I want to create an internal central FreeBSD distribution point for kernel
sources and ports. In the long term, I would also like to precompile and
distribute packages and sources. Is there any good starting point that
explains all this?

Please CC

TIA


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


Up/downgrading stable and ports question

2004-06-09 Thread Lefteris Tsintjelis
Hi,

If I up/downgrade from 4.8 to 4.10 or the other way arround would it
be a good idea to also recompile all ports?

Please CC

TIA


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


Policy filtering with postfix

2004-05-29 Thread Lefteris Tsintjelis
Hi,

I am trying to setup policy but I keep on getting all these  in my log files.

postfix/policy-spf[15755]: : testing: stripped [EMAIL PROTECTED], stripped [EMAIL 
PROTECTED]
postfix/policy-spf[15755]: : SPF :
smtp_comment=,
header_comment=
 
postfix/policy-spf[15755]: decided action=DUNNO 

Are all these  normal to show up in the maillog? Anyone has any idea what they 
are? I suspect it maybe an IPv6 problem. Can anyone please confirm it?

Thank you,
Lefteris


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


CVSup from 4-STABLE to 5.2.1-RELEASE

2004-05-18 Thread Lefteris Tsintjelis
Hi,

Can this be done without problems or is it best to start with a fresh
installation?

Note: Machine has very few packages installed.


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


Re: CVSup from 4-STABLE to 5.2.1-RELEASE

2004-05-18 Thread Lefteris Tsintjelis
 Can this be done without problems or is it best to start with a
 fresh installation?

 I tried that with 4.9 to 5.2.1-Release, just fine.
 Read /usr/src/UPDATING*, there is a point about this. But then,
 updating to current, I shot my box ;(

I was affraid of that answer :( but I don't have much choice here
in order to get rid of my last linux box. Seems that some drivers
are only supported with -release and almost all development is
focused on that.

Thanks for the reply

Best,
Lefteris




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


Digiboard PCI Xem driver

2004-05-11 Thread Lefteris Tsintjelis
Hi, can anyone please tell me if there are any plans soon to include the PCI Digiboard 
Xem driver to -STABLE or should I go with the 5.X release?

Thanks,
Lefteris Tsintjelis


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


Re: Gettytab problems

2004-05-11 Thread Lefteris Tsintjelis
Just for the record, replacing ttydX with cuaaX in /etc/ttys worked as 
should and solved the problem, so I guess the man gettytab needs 
either updating or something is wrong with the ttydX device driver.

Lefteris Tsintjelis wrote:
 
 Hi,
 
 I am using the 4.10-PRERELEASE and trying to set up a plain old serial
 modem using getty but with no success. I get a getty: modem init/answer
 problem on /dev/ttydX all the time.
 
 :ac=RING\r ATA\r CONNECT:\
 :ic= ATE1Q0V1S0=0\r OK\r:
 
 It seems the problem is the ac and ic entries even though a man gettytab
 is referring to them. The dc (chat debug bit mask) doesn't seem to help
 either. Setting the S0=1 (auto answer) works OK but is there a way to
 wait for the RING (for indefinite time) and then issue the ATA? Has
 anyone managed to use the ic/ac capabilities of gettytab and provide a
 working sample?


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


Gettytab problems

2004-05-09 Thread Lefteris Tsintjelis
Hi,

I am using the 4.10-PRERELEASE and trying to set up a plain old serial 
modem using getty but with no success. I get a getty: modem init/answer 
problem on /dev/ttydX all the time.

:ac=RING\r ATA\r CONNECT:\
:ic= ATE1Q0V1S0=0\r OK\r:

It seems the problem is the ac and ic entries even though a man gettytab 
is referring to them. The dc (chat debug bit mask) doesn't seem to help 
either. Setting the S0=1 (auto answer) works OK but is there a way to
wait for the RING (for indefinite time) and then issue the ATA? Has 
anyone managed to use the ic/ac capabilities of gettytab and provide a 
working sample?

Please CC

Thank you,
Lefteris Tsintjelis


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


RTS/CTS DTR/DSR with stty

2003-12-30 Thread Lefteris Tsintjelis
Hi,

I need to control manually the output signals of a serial port.
Can this be done with stty? I seem to fail to do so by using
stty (-)crtscts.

Thank you,
Lefteris Tsintjelis

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


SCSI/ATA disk control

2003-11-28 Thread Lefteris Tsintjelis
Hi,

Is there a way of controling SCSI/ATA disks (turning them on/off) on an online
working live system?

Please CC

Thank you,
Lefteris Tsintjelis

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


How can I set a password from STDIN?

2003-11-20 Thread Lefteris Tsintjelis
Hi,

Would anyone know how can I set or change a password from STDIN? Neither
passwd or pw seem to accept STDIN.

Thank you,
Lefteris Tsintjelis

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


Unused system core files

2002-11-15 Thread Lefteris Tsintjelis
Hi,

I was wondering if there is some way to find all files in the core
system that have been excluded from make.conf.
For example NO_BIND=true, NO_GAMES=true, etc. A new make world
still leaves the old binaries/configurations files in core. How can I get
rid of them?

Please CC.

Thank you,

Lefteris


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Port managment

2002-11-13 Thread Lefteris Tsintjelis
Conrad Sabatier wrote:
 
 On 08-Nov-2002 Lefteris Tsintjelis wrote:
  Conrad Sabatier wrote:
 
  On 08-Nov-2002 Lefteris Tsintjelis wrote:
   Just to sum it up for the archives
  
   Conrad Sabatier wrote:
  
   On 07-Nov-2002 Lefteris Tsintjelis wrote:
Hi,
   
I have acrually a few questions:
   
1)How can I find ports that do not depend in any other ports?
  
   pkg_info -ar
  
   Or, a very nice port (/usr/ports/sysutils/pkg_tree) I just found. It
   does the same job with better on screen results. It can even display
   dependencies of the dependencies in a nice graphical tree.
  
   pkg_tree -v
 
  Interesting.  I'll have to have a look at that.
 
2)How can I find files that are unused by any port?
  
   /usr/ports/Tools/scripts/check_consistency
  
   I think /usr/ports/Tools/scripts/consistency-check examines modified
   files within /usr/local/bin only.
  
   or
  
   pkg_which file(s)
  
   A better way to examine files in any path would be to use pkg_which -v
   Something like find PATH PATH ... -type f | xargs pkg_which -v |
   fgrep '?' would check against any port in any path.
 
  Well, yes, I didn't elaborate any further on this one.  Just wanted to
  point you in the right direction.  :-)
 
  Yes, I believe you did. :-)
 
3)How can I find modified files?
  
   pkg_info -ag
  
4)How can I find missing port files?
  
   Need some clarification as to what you mean.
  
   I think your previous answer covers this one as well. I meant if any
   of
   the already installed port files are missing. pkg_info -ag displays
   results of any modified/missing port files.
   Is there a way to also check the system (/bin /sbin ...) for
   modified/missing/extra files?
 
  man mtree
 
  That certainly takes care of that too!
 
5)_AND_ (yes finally) How can I find missing port dependencies?
  
   pkg_info -I $(pkg_info -arq | cut -d ' ' -f 2)
  
   I am not sure here if the results are any missing port dependencies. I
   get a multiple list of the ports that are already installed.
 
  Well, the idea here is that if a package is missing, an error message
  will
  be displayed.  Perhaps a better way to run this would be:
 
  pkg_info -I $(pkg_info -arq | cut -d ' ' -f 2) /dev/null
 
  So only any errors will actual display.
 
  I see. There is also a nice sysutil port /usr/ports/sysutils/libchk. It
  checks almost any shared libraries links. I guess that about sums it up.
  Using the above commands, you could check almost everything in your file
  system. Great job, thanks. The idea here is to always be able to check
  the
  whole system against minor data corruption problems or accidental
  deletes or unknown files and file modifications. Is there anything else
  I might be missing?
 
 I recently hacked together a little script to check for stale symbolic
 links:
 
 #!/bin/sh
 #
 # Check symbolic links to make sure they're valid pointers
 
 if [ $# -eq 0 ]
 then
 root=/
 else
 root=$(realpath $1)
 fi
 
 IFS=$(echo -e \n)
 
 find $root -type l | while read link
 do
 echo -n Checking $link...
 lp=$(readlink $link)
 if [ ! -e $lp ]  [ ! -e $(dirname $link)/$lp ]
 then
 echo Bad link: $link -- $lp does not exist
 else
 echo OK
 fi
 done

There is also another way. You might want to check out this port
called symlinks (/usr/ports/sysutils/symlinks). It can check out
links as simple as:

symlinks -r / | grep ^dangling

It can change absolute/messy links to relative, delete dangling
links, recurse into subdirs and shorten lengthy links. :-)
All in one!


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Port managment

2002-11-08 Thread Lefteris Tsintjelis
Conrad Sabatier wrote:
 
 On 08-Nov-2002 Lefteris Tsintjelis wrote:
  Just to sum it up for the archives
 
  Conrad Sabatier wrote:
 
  On 07-Nov-2002 Lefteris Tsintjelis wrote:
   Hi,
  
   I have acrually a few questions:
  
   1)How can I find ports that do not depend in any other ports?
 
  pkg_info -ar
 
  Or, a very nice port (/usr/ports/sysutils/pkg_tree) I just found. It
  does the same job with better on screen results. It can even display
  dependencies of the dependencies in a nice graphical tree.
 
  pkg_tree -v
 
 Interesting.  I'll have to have a look at that.
 
   2)How can I find files that are unused by any port?
 
  /usr/ports/Tools/scripts/check_consistency
 
  I think /usr/ports/Tools/scripts/consistency-check examines modified
  files within /usr/local/bin only.
 
  or
 
  pkg_which file(s)
 
  A better way to examine files in any path would be to use pkg_which -v
  Something like find PATH PATH ... -type f | xargs pkg_which -v |
  fgrep '?' would check against any port in any path.
 
 Well, yes, I didn't elaborate any further on this one.  Just wanted to
 point you in the right direction.  :-)

Yes, I believe you did. :-)

   3)How can I find modified files?
 
  pkg_info -ag
 
   4)How can I find missing port files?
 
  Need some clarification as to what you mean.
 
  I think your previous answer covers this one as well. I meant if any of
  the already installed port files are missing. pkg_info -ag displays
  results of any modified/missing port files.
  Is there a way to also check the system (/bin /sbin ...) for
  modified/missing/extra files?
 
 man mtree

That certainly takes care of that too!

   5)_AND_ (yes finally) How can I find missing port dependencies?
 
  pkg_info -I $(pkg_info -arq | cut -d ' ' -f 2)
 
  I am not sure here if the results are any missing port dependencies. I
  get a multiple list of the ports that are already installed.
 
 Well, the idea here is that if a package is missing, an error message will
 be displayed.  Perhaps a better way to run this would be:
 
 pkg_info -I $(pkg_info -arq | cut -d ' ' -f 2) /dev/null
 
 So only any errors will actual display.

I see. There is also a nice sysutil port /usr/ports/sysutils/libchk. It
checks almost any shared libraries links. I guess that about sums it up.
Using the above commands, you could check almost everything in your file
system. Great job, thanks. The idea here is to always be able to check
the
whole system against minor data corruption problems or accidental
deletes or unknown files and file modifications. Is there anything else
I might be missing? 

Regards,

Lefteris


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



(no subject)

2002-11-08 Thread Lefteris Tsintjelis
unsubscribe freebsd-questions


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Port managment

2002-11-07 Thread Lefteris Tsintjelis
Thanks for your answer but, how would it help for example to find ports
that do not depend in any other ports?

DaleCo Help Desk wrote:
 
 Many folks like /usr/ports/sysutils/portupgrade..
 I believe it's touted to do everything you listed
 and more..
 
 Kevin Kinsey
 DaleCo, S.P.
 - Original Message -
 From: Lefteris Tsintjelis [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Thursday, November 07, 2002 4:00 PM
 Subject: Port managment
 
  Hi,
 
  I would like some help with port/file managment. I am trying to
 figure
  out a way of how to clean a system from any unused ports/files or
 have
  some knowledge of what is going on.
 
  I have acrually a few questions:
 
  1) How can I find ports that do not depend in any other ports?
  2) How can I find files that are unused by any port?
  3) How can I find modified files?
  4) How can I find missing port files?
  5) _AND_ (yes finally) How can I find missing port dependencies?
 
  I hope I am not asking for too much now, am I? :)
 
  Thanks,
 
  Lefteris
 
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Why Use a Daemon as a Symbol since it alienates many?

2002-11-04 Thread Lefteris Tsintjelis
Grow ups or not and as ridiculous as it may sound and probably is,
these are both good points and they both could have effect on FreeBSD's
popularity, the satan looking symbol and the hostility towards Berkeley.
As for the symbol, well, I would expect it to look something more world
wide acceptable, neutral, and cute, like Penguin is and not as a
demon. We all know the difference between daemons and demons,
however, there are plenty of people that don't and as far as popularity
goes compared to Linux, well, popular doesn't necessarily mean a
kitchen sink linux OS, IF HANDLED RIGHT of course, and I am sure that
there isn't anyone here that wouldn't like FreeBSD being popular. After
all, I think it deserves a lot more than Linux does and the way these
third party linux companies such as RedHat and SuSE are handling it.

I am moving this to -chat. It doesn't belong here.

Regards,
Lefteris

Paul Everlund wrote:
 
 [EMAIL PROTECTED] wrote:
  The traditional devil horns derive from goats, which if you have ever been
  around goats, seen how they can climb, eat all vegetation in sight, climb
  trees, get on roofs, etc., how kids gambol, is understandable.  But it
  alienates so many.  But as it alienates so many Christians, Jews and Muslims
  as a little Satan symbol, really limits the widespread use, public and tax
  paid support and availability of BSD.  A better symbol might be the statue of
  liberty, or the creator of the first Library, Aristotle.  The Penguin symbol
  is LINUX' best advantage over BSD, not to mention all the public hostility
  towards Berkley.
 
 Please read http://www.freebsd.org/copyright/daemon.html.
 
 And if the little cute daemon alienates Christians, Jews, Muslims or
 anyone else, my personal opinion is that they should grow up.
 
 Take care and I whish you a nice day!
 
 Best regards,
 Paul
 
 To Unsubscribe: send mail to [EMAIL PROTECTED]
 with unsubscribe freebsd-questions in the body of the message


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: reinstall all installed ports

2002-11-02 Thread Lefteris Tsintjelis
Hi,

And how would u deal with new versions of the already installed ports
in order to maintain good binary compatibility backwards and forwards?

Thank you.

Kris Kennaway wrote:
 
 On Fri, Nov 01, 2002 at 05:00:03PM +0200, Lefteris Tsintjelis wrote:
  Hi,
 
Is there en easy way to remove, rebuild, and reinstall or force the
  reinstallation of all already installed ports if broken dependencies are
  suspected?
 
 Again, portupgrade -af.
 
 Kris


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: vga modes

2002-11-02 Thread Lefteris Tsintjelis
Its a litle more complex than just vga=ext and it is not under the boot
manager kernel options like lilo. U may need to modify rc.conf ttys and
kernel configuration. I include some of my settings but some of them are
for Greek console support though :) Check out the rc.console script. It
will give you a good start.

rc.conf example:

cursor=destructive
allscreens_flags=132x43
saver=blank
font8x8=iso07-8x8
font8x14=iso07-8x14
font8x16=iso07-8x16
scrnmap=iso-8859-7_to_cp437
keyrate=fast
keymap=el.iso07

tty example:

ttyv1   /usr/libexec/getty Pc cons43  on  secure

U probably also need to include vga VESA support in your kernel.

options VESA

Regards,
Lefteris

Rotaru Razvan wrote:
 
 Hello,
 
 Do you know that line in /etc/lilo.conf (vga=???) that sets a different
 screen resolution (vga mode) in linux? Well I am trying to to do
 something similar in bsd. Maybe you could tell me where to start (i
 don't even know where to fine the bsd boot manager).
 
 Regards,
 Razvan


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: reinstall all installed ports

2002-11-02 Thread Lefteris Tsintjelis
Hi,
I mean that I have just finished reinstalling all ports hoping it would
solve some broken port/library dependencies I was suspecting using
porsupgrade -afp. Actually, it did a good job and solved all port
dependencies problems I had except 1. Some mozilla libaries remain
broken. I am using 4.7-STABLE #0: Sun Nov 3 and here is some of the
output using libchk:

Unresolvable link(s) found in:
/usr/X11R6/lib/mozilla/plugins/libnullplugin.so
libxpcom.so
Unresolvable link(s) found in:
/usr/X11R6/lib/mozilla/components/libmsgsmime.so
libmsgbaseutil.so
libmozjs.so
libxpcom.so
Unresolvable link(s) found in:
/usr/X11R6/lib/mozilla/components/libmsgmdn.so
libmsgbaseutil.so
libmozjs.so
libxpcom.so
Unresolvable link(s) found in:
/usr/X11R6/lib/mozilla/components/libabsyncsvc.so
libmsgbaseutil.so
libmozjs.so
libxpcom.so
...

Kris Kennaway wrote:
 
 On Sat, Nov 02, 2002 at 04:13:05PM +0200, Lefteris Tsintjelis wrote:
  Hi,
 
And how would u deal with new versions of the already installed ports
  in order to maintain good binary compatibility backwards and forwards?
 
 I don't understand the question.
 
 Kris


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: setting permissions

2002-11-02 Thread Lefteris Tsintjelis
-rw---  1 root  wheel  - 0 Oct  9 15:46 /var/log/security

Only root can tail that file unless u chmod (highly NOT recommended). If
u choose to do so u must also change newsyslog.conf.

 this, exactly, is what i am doing:
 tail -f /var/log/security


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: reinstall all installed ports

2002-11-02 Thread Lefteris Tsintjelis
I am not using X very often so I wouldn't really now. However, I will
give it an extensive try the next few days and see what happens. It will
probably be for me hard to tell why is failing anyway. I always had
problems with it.

Lefteris

Kris Kennaway wrote:
 
 On Sun, Nov 03, 2002 at 02:43:05AM +0200, Lefteris Tsintjelis wrote:
  Hi,
I mean that I have just finished reinstalling all ports hoping it would
  solve some broken port/library dependencies I was suspecting using
  porsupgrade -afp. Actually, it did a good job and solved all port
  dependencies problems I had except 1. Some mozilla libaries remain
  broken. I am using 4.7-STABLE #0: Sun Nov 3 and here is some of the
  output using libchk:
 
  Unresolvable link(s) found in:
  /usr/X11R6/lib/mozilla/plugins/libnullplugin.so
  libxpcom.so
 
 Is this actually causing mozilla to fail?  It may just be some slight
 messyness in mozilla.
 
 Kris


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: regarding php installation

2002-11-01 Thread Lefteris Tsintjelis
Hi, the httpd.conf should look like this:
...
LoadModule php4_modulelibexec/apache/libphp4.so
^ Add 2 if u use apache v2
...
AddModule mod_php4.c
...
IfModule mod_php4.c
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
/IfModule
...
That should work just fine. U probably forget the AddModule
Actually, looks like u have apache v2. Adding php4 to apache v1 took
care automatically for me the first two statements but not the
AddType..., I had to manually add those. However, I am not sure how
apache v2 behaves. U should check your docs just to make sure.

Run an apachectl configtest just to make sure.

Rotaru Razvan wrote:
 
 Hi,
 
 Thanks for all these good advices. I have one more question:
 I added to httpd.conf the 'IfModule ...' stuff as you said and it did
 not work.
 When I remove the if clause it works. In httpd conf i have the
 following line:
 
 LoadModule php4_modulelibexec/apache2/libphp4.so
 
 What is the correct name in IfModule ... ?
 
 Thanks again
 Razvan
 
 --- Lefteris Tsintjelis [EMAIL PROTECTED] wrote:
  DaleCo Help Desk wrote:
  
   From: John Bleichert [EMAIL PROTECTED]
   To: Rotaru Razvan [EMAIL PROTECTED]
   Cc: [EMAIL PROTECTED]
   Sent: Thursday, October 31, 2002 8:45 AM
   Subject: Re: regarding php installation
  
On Thu, 31 Oct 2002, Rotaru Razvan wrote:
   
 Date: Thu, 31 Oct 2002 06:41:45 -0800 (PST)
 From: Rotaru Razvan [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Subject: regarding php installation

 Hello,

 Well I have apache2+mod_php4 installed. Still my apache server
   does not
 execute php scripts (it just sends them as plain text). After
 installing mod_php4 i didn't modify anything in httpd.conf.
 Should I? As i can tell the module is loaded. Why is the server
   not
 running the scripts?

 Regards,
 Razvan

   
Assuming it's the same setup as 1.2.x you need to tell the server
   what
type of files to interpret as php. See the comments in the file,
   search it
for 'php'.
   
JB
   
#  John Bleichert
  
   That's pretty much it.  Load_Module, Add_Module,
   and AddType application should get it.  Do your scripts have the
   .php extension?
 
  Try adding the following in your httpd.conf:
 
  IfModule mod_php4.c
  AddType application/x-httpd-php .php .php4 .php3 .phtml
  AddType application/x-httpd-php-source .phps
  /IfModule


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: reinstall all installed ports

2002-11-01 Thread Lefteris Tsintjelis
Hi,

Is there en easy way to remove, rebuild, and reinstall or force the
reinstallation of all already installed ports if broken dependencies are
suspected?

DaleCo Help Desk wrote:
 
 - Original Message -
 From: Andrew Thomson [EMAIL PROTECTED]
 To: [EMAIL PROTECTED]
 Sent: Tuesday, October 29, 2002 9:33 PM
 Subject: Re: reinstall all installed ports
 
  My portupgrade just finished fine.. however the hole point of this
  excerise was to try and fix this problem.
 
  [ root @ redback :/root# ] ncftp3
  /usr/libexec/ld-elf.so.1: ncftp3: Undefined symbol InitWinsock
 
 
 myguess
 ncftp3 was configured with some option that tried
 to build it with some dependency which was not available.
 /myguess
 
 Did you build it from ports (ages ago)?
 
 You might try uninstalling/make clean and starting
 over if it's not too critical.  If it's a high volume ftp
 server, I'd make a list of options and choose the one
 that balances ease with servicability/availability.
 
 My 2 #162;  (and worth less than that, I expect)
 
 Kevin Kinsey


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: Apache,PHP and FreeBSD

2002-11-01 Thread Lefteris Tsintjelis
Adam Weinberger wrote:
 
 You may be interested in a really neat port search tool that exists but
 isn't well marketed. check out /usr/ports/Tools/scripts/portsearch and
 its documentation at /usr/ports/Tools/scripts/README.portsearch.

Very nice tools indeed and not just the portsearch one! Thats the kind I
have been looking for. How come they are no references anywhere though?
consistency check for example is a very good one but that's another
topic anyway, thanks.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make buildworld fails

2002-10-31 Thread Lefteris Tsintjelis
Chris Pressey wrote:
 
 On Wed, 30 Oct 2002 23:41:49 +0200
 Giorgos Keramidas [EMAIL PROTECTED] wrote:
 
  On 2002-10-29 19:26, Chris Pressey [EMAIL PROTECTED] wrote:
   On Tue, 29 Oct 2002 14:28:39 +
   Matthew Seaman [EMAIL PROTECTED] wrote:
I think what has happened is that one or more of the Makefiles in
the src tree hasn't been updated properly, possibly because cvsup(1)
doesn't think it owns the file.  Try doing what the cvsup FAQ says,
and running an update with the 'list=cvs:RELENG_4' added to the
supfile.
   
With any luck you should see updates to files matching '*.mk' and
'Makefile*', and then the build will succeed.
  
   Unfortunately, no luck there.  No Makefile-type files were updated.
   So, I toasted my *entire* source tree (including the 'checkouts'
   files) and grabbed it all anew, tried rebuilding the world... and
   got the same error.
 
  To start with as clean an environment as possible for a buildworld you
  really have to do more than that:
 
  + Remove everything under /usr/obj.
 
# chflags -R noschg /usr/obj
# rm -fr /usr/obj/*
 
 I did this step a couple of days ago, just before my first post to this
 list.  To be on the safe side, I did it again before the most recent
 attempt.
 
  + CVSup your sources.
 
 I did this step yesterday.
 
  + Start a new buildworld.  Avoid using -DNOCLEAN or similar flags.
 
 I've done this now with NO_OPENSSH=true in make.conf, but I *still* get
 errors!

I had the exact same results when I tried NO_OPENSSH=true. Kernel
wouldn't compile. Seems like kernel is broken with NO_OPENSSH=true.
Compile with OPENSSH and use sshd_program=/usr/local/sbin/sshd at ur
rc.conf if you are trying to use the new sshd. U will also need to
change the PATH so that /usr/local/. comes first. Its not the proper
way but still, its a workaround.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make buildworld fails

2002-10-31 Thread Lefteris Tsintjelis
 I've done this now with NO_OPENSSH=true in make.conf, but I *still* get
 errors!
 
I had the exact same results when I tried NO_OPENSSH=true. Kernel
  ^World
wouldn't compile. Seems like kernel is broken with NO_OPENSSH=true.
^World
Compile with OPENSSH and use sshd_program=/usr/local/sbin/sshd at ur
rc.conf if you are trying to use the new sshd. U will also need to
change the PATH so that /usr/local/. comes first. Its not the proper
way but still, its a workaround. :-)))


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: regarding php installation

2002-10-31 Thread Lefteris Tsintjelis
DaleCo Help Desk wrote:
 
 From: John Bleichert [EMAIL PROTECTED]
 To: Rotaru Razvan [EMAIL PROTECTED]
 Cc: [EMAIL PROTECTED]
 Sent: Thursday, October 31, 2002 8:45 AM
 Subject: Re: regarding php installation
 
  On Thu, 31 Oct 2002, Rotaru Razvan wrote:
 
   Date: Thu, 31 Oct 2002 06:41:45 -0800 (PST)
   From: Rotaru Razvan [EMAIL PROTECTED]
   To: [EMAIL PROTECTED]
   Subject: regarding php installation
  
   Hello,
  
   Well I have apache2+mod_php4 installed. Still my apache server
 does not
   execute php scripts (it just sends them as plain text). After
   installing mod_php4 i didn't modify anything in httpd.conf.
   Should I? As i can tell the module is loaded. Why is the server
 not
   running the scripts?
  
   Regards,
   Razvan
  
 
  Assuming it's the same setup as 1.2.x you need to tell the server
 what
  type of files to interpret as php. See the comments in the file,
 search it
  for 'php'.
 
  JB
 
  #  John Bleichert
 
 That's pretty much it.  Load_Module, Add_Module,
 and AddType application should get it.  Do your scripts have the
 .php extension?

Try adding the following in your httpd.conf:

IfModule mod_php4.c
AddType application/x-httpd-php .php .php4 .php3 .phtml
AddType application/x-httpd-php-source .phps
/IfModule


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



Re: make buildworld fails

2002-10-31 Thread Lefteris Tsintjelis
Giorgos Keramidas wrote:
 
 On 2002-10-30 19:12, Chris Pressey [EMAIL PROTECTED] wrote:
  On Wed, 30 Oct 2002 23:41:49 +0200
  Giorgos Keramidas [EMAIL PROTECTED] wrote:
   + Remove everything under /usr/obj.
  
   # chflags -R noschg /usr/obj
   # rm -fr /usr/obj/*
   + CVSup your sources.
   + Start a new buildworld.  Avoid using -DNOCLEAN or similar flags.
 
  I've done this now with NO_OPENSSH=true in make.conf, but I *still* get
  errors!
 
  cc -O -pipe  -o ppp acf.o arp.o async.o auth.o bundle.o cbcp.o ccp.o
  chap.o chat.o command.o datalink.o deflate.o defs.o exec.o filter.o fsm.o
  hdlc.o iface.o ip.o ipcp.o ipv6cp.o iplist.o lcp.o link.o log.o lqr.o
  main.o mbuf.o mp.o ncp.o ncpaddr.o pap.o physical.o pred.o probe.o
  prompt.o proto.o route.o server.o sig.o slcompress.o sync.o systems.o
  tcp.o tcpmss.o throughput.o timer.o tty.o tun.o udp.o vjcomp.o nat_cmd.o
  atm.o id.o chap_ms.o mppe.o radius.o i4b.o ether.o -lcrypt -lmd -lutil -lz
  -lalias -lcrypto -lradius -lnetgraph
  radius.o: In function `demangle':
  radius.o(.text+0xd1): undefined reference to `rad_request_authenticator'
  radius.o(.text+0x102): undefined reference to `rad_server_secret'
  radius.o: In function `radius_Process':
  radius.o(.text+0x84d): undefined reference to `rad_get_vendor_attr'
  radius.o: In function `radius_Authenticate':
  radius.o(.text+0x1217): undefined reference to `rad_put_vendor_attr'
  radius.o(.text+0x12a3): undefined reference to `rad_put_vendor_attr'
  radius.o(.text+0x1323): undefined reference to `rad_put_vendor_attr'
  *** Error code 1
 
 Odd.  This should work fine.  Try backing up your data and installing
 a -RELEASE version (preferrably 4.6.2-RELEASE).  It's obvious that
 your build system is at least, uhm, non-standard.  If that doesn't
 work either, you can ask around in freebsd-stable to see if other
 people have similar problems.  But this is very unlikely with -STABLE.

Giorgo, I am using 4.7-STABLE FreeBSD 4.7-STABLE #0: Tue Oct 29 02:30:34
EET 2002 and I still get the same exact error if I set NO_OPENSSH=true
in make.conf. I am also forwarding this to STABLE discusion.


To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message



User Quota Settings

2002-10-30 Thread Lefteris Tsintjelis
Hi all,

How can I set quota for all users? This command I was using doesn't seem
to work for me any more. Can anyone please recomend me any good package(s)
that set and monitor user quotas and send them warnings automatically?

edquota -p someone `awk -F: '$3  1000  $3  65534 {print $1}' /etc/passwd`

Thank you



To Unsubscribe: send mail to [EMAIL PROTECTED]
with unsubscribe freebsd-questions in the body of the message