postfix-script: fatal: Postfix integrity check failed!

2006-06-20 Thread User Gandalf


 Hello,

I recompiled my kernel today (to 6.1 p2) and today postfix exited with 
this error message in the log:


Jun 20 08:56:54 designaproduct postfix/postfix-script: fatal: Postfix 
integrity check failed!



Otherwise it is working fine (there are no problems with postfix, except 
that it exited once).

How can I find the root of the problem? :-)

Thanks,

  Laszlo

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


Breakin attempt in the log

2006-06-13 Thread User Gandalf

Hello,

I have thousands of similar lines in my security log each day:


Jun  9 06:34:12 designaproduct sshd[58759]: reverse mapping checking 
getaddrinfo for ev1s-67-15-10-78.ev1servers.net failed - POSSIBLE BREAKIN 
ATTEMPT!

Is this something I need to fear of?

Thanks,

  Laszlo


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


scponlyc on 6.1

2006-06-01 Thread User Gandalf


 Hello,


I have installed scponlyc with the chroot option:

#cd /usr/ports
#cd shells/scponly/
#make -DWITH_SCPONLY_CHROOT

I have used scponly on Linux before, so I knew that there is a special 
makefile inside.


#cd work/scponly-4.4/
#make jail

I have created a new chrooted, scp only user. Here are the files that 
were created by 'make jail':


./bin:
echopwd
./etc:
pwd.db
./lib:
libc.so.6   libcrypt.so.3   libcrypto.so.4  libmd.so.3  libz.so.3
./libexec:
ld-elf.so.1
./public_html:
./usr:
bin lib libexec
./usr/bin:
groups  id
./usr/lib:
libasn1.so.8libcom_err.so.3 libgssapi.so.8  libkrb5.so.8
libroken.so.8   libssh.so.3

./usr/libexec:
ld-elf.so.1 sftp-server


Now if I try to do 'su -l scpuser' then I do not get any error messages 
but nothing happens. If I try to login with WinSCP, it tells me that my 
shell is incompatible with bash.
Is this a problem with the port? What am I doing wrong?  What logfiles 
should I check? (/var/log/messages tell nothing...)


Thanks,

  Laszlo

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


Strange messages in mail queue

2006-05-25 Thread User Gandalf

Hello,

I might be offtopic...
I always get a long daily output from periodic.


Mail in local queue:
-Queue ID- --Size-- Arrival Time -Sender/Recipient---
1D3C91DD4AA45937 Tue May 23 10:54:42  MAILER-DAEMON
   (connect to onmail02.ongov.net[12.33.98.207]: Operation timed out)
[EMAIL PROTECTED]
571EC1DD44328752 Thu May 25 00:40:30  MAILER-DAEMON
(connect to paramed.biz[204.251.15.174]: Operation timed out)
[EMAIL PROTECTED]
C04121DD4A028736 Mon May 22 13:20:50  MAILER-DAEMON
   (connect to pistonheads.biz[195.225.218.139]: Operation timed out)
[EMAIL PROTECTED]

and many others. Is this a breakin attempt? Or is this normal? I do not know any of the e-mail addresses. 


Thanks,

  Laszlo


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


Postgresql Autovacuum how?

2006-05-24 Thread User Gandalf


 Hello,

I have FreeBSD 6.1 and PostgreSQL 8.1.3 installed. I had to change the 
pg_hba.conf settings, because I need to open the 5432 port for everyone 
(SSL enabled). For this reason, I also gave strong passwords for all 
postgresql users. Now this is what I see in the daily run output 
(/usr/local/etc/periodic/daily/502.pgsql):


vacuuming...
Password: 
vacuumdb: could not connect to database postgres: fe_sendauth: no password supplied


Errors were reported during vacuum.


This is my pg_hba.conf file:

# TYPE  DATABASEUSERCIDR-ADDRESS  METHOD
# local is for Unix domain socket connections only
local   all all   ident sameuser
hostall all 127.0.0.1/32  md5
hostssl all all 0.0.0.0 0.0.0.0   md5

The autovacuum script was packaged for FreeBSD, so I assume this is a 
FreeBSD specific thing. My question is: why ident/sameuser not working 
here? How can I enable auto vacuums without storing the password in the 
periodic/daily/502.pgsql  script?


Thanks,

  Laszlo

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


upload-only ftp server

2006-05-24 Thread User Gandalf


 Dear List,

I would like to install an ftp server. Some of the users want to upload 
files to the server. I would not like to start an ftp server at all, 
because I'm too paranoid. But my users demand it. I looked at the ports 
tree and I found many ftp servers. I cannot choose between them. Can you 
recommend one for me? I only need one ftp user (possibly with a 
password), and upload/list files only. The most important thing is 
security, and the ability to handle passive transfers.


Thanks,

  Laci

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


php5 port broken???

2006-05-17 Thread User Gandalf

===  Vulnerability check disabled, database not found
===  Found saved configuration for php5-5.1.4
= php-5.1.4.tar.bz2 doesn't seem to exist in /usr/ports/distfiles/.
= Attempting to fetch from http://br.php.net/distributions/.
fetch: http://br.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

= Attempting to fetch from http://cn.php.net/distributions/.
fetch: http://cn.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

= Attempting to fetch from http://dk.php.net/distributions/.
fetch: http://dk.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

= Attempting to fetch from http://de.php.net/distributions/.
fetch: http://de.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

= Attempting to fetch from http://es.php.net/distributions/.
fetch: http://es.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

= Attempting to fetch from http://fi.php.net/distributions/.
fetch: http://fi.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

= Attempting to fetch from http://fr.php.net/distributions/.
fetch: http://fr.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171

= Attempting to fetch from http://gr.php.net/distributions/.
fetch: http://gr.php.net/distributions/php-5.1.4.tar.bz2: size mismatch: 
expected 5992825, actual 6356171


...many similar messages here...

= Couldn't fetch it - please try to retrieve this
= port manually into /usr/ports/distfiles/ and try again.
*** Error code 1

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

Stop in /usr/ports/lang/php5.
backupserver# portsnap update
Ports tree is already up to date.
backupserver# uname -a
FreeBSD backupserver.msnet 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Thu May 
18 20:00:26 CEST 2006 
[EMAIL PROTECTED]:/usr/src/sys/i386/compile/BACKUPSERVER  i386

backupserver#

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


APIC_IO removed?

2006-05-16 Thread User Gandalf


 Hello,

I upgraded to 6.1 and tried to recompile my kernel. It fails because it 
does not know this option:


options APIC_IO


Is this changed, or removed from 6.1? Is it enough to just use options 
SMP?


Thanks,

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


gmirror and partitioning

2006-05-12 Thread User Gandalf


 Hello!

I would like to install a new FreeBSD 6.1 system on a computer that has 
two SATA drives. They are the same type. I would like to use gmirror. I 
read the handbook here:


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/geom-mirror.html

But there is something I do not understand. The handbook suggest that I 
install FreeBSD on only two partitions: a swap and the root fs. But I 
would like to create many partitions. I think I can do it the following way:


  1. Install a basic system on drive /dev/ad0, using two smaller
 partitions (2GB for swap and 10GB for the root fs).
  2. Create the /dev/mirror/gm device on /dev/ad1, as suggested by the
 handbook
  3. When doing 'bsdlabel -wB /dev/mirror/gm0s1', I can allocate gm0s1a
 and gm0s1b with the same sizes (10GB and 2GB) but I can also add
 other partitions for /usr, /tmp and /var. Can I?
  4. Then I can copy the whole system from ad0s1a to
 /dev/mirror/gm0s1a, and continue the installation, following the
 instructions in the handbook
  5. Finally, after I added /dev/ad0 to /dev/gm0 and I'm done with
 synchronization, I would like to format the additional partitions,
 dump and restore my current /usr, /tmp and /var directories,
 change my fstab and reboot...


Will this work? Sorry for the dumb question, but I have never done this 
before. The handbook only suggest that I install FreeBSD on one / 
partition only, but it does not tell how to create new partitions after 
mirroring.


Thanks,

  Laszlo

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


Problem installing FreeBSD 6.0

2006-04-26 Thread User Gandalf


 Hello,

I'm trying to install FreeBSD 6.0 on a regular x86 PC. I'm using the 
official install disk. It tells me that there are no CD/DVD drives are 
detected. I have a Pioneer DVD writer (DVR-110D). That has ATAPI 
interface and I booted the installer from it... I also tried to install 
the system using a passive ftp connection. It start downloading the base 
distribution, and I get messages like:


pid 125 (cpio), uid 0 inumber 514 on /: out of inodes

Unfortunately, I cannot run any commands on the emergency terminal 
because there are no commands to execute at all.


Can you help me please?

  Laci

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


Share desktop with XOrg

2006-01-18 Thread User Gandalf


 Hello,

Is it possible to share a desktop under the XOrg server? Is there a port 
for this? I'm aware of the -display option of X based programs. What I 
need is not a remote desktop connection. I would like to share my 
desktop to another user so he can see what I see.


Thanks,

  Les

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


Re: Share desktop with XOrg

2006-01-18 Thread User Gandalf

Kilian Hagemann wrote:


On Wednesday 18 January 2006 18:08, User Gandalf pondered:
 


Is it possible to share a desktop under the XOrg server? Is there a port
for this? I'm aware of the -display option of X based programs. What I
need is not a remote desktop connection. I would like to share my
desktop to another user so he can see what I see.
   



Yes, the stock Xorg server doesn't though. You could use VNC, but in my 
experience that just opens up another X display where you login separately 
using kdm/gdm/xdm or whatever.


I suggest you use KDE's desktop sharing (krfb, in the menu under System, 
part of the kdenetwork package, tested on 3.4.1). Does what you want.
 

I hoped there is a more native solution. I prefer gtk over kde but what 
can I do?

Thanks,

  Les


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


Re: Xorg - how to disable some video modes?

2006-01-12 Thread User Gandalf




gah, xfce4's control panel doesnt do that for me, though it used to on 
another older notebook i was using. for the life of me i cant remember 
what i did to make this happen then and not not. my xorg.conf is minimal.


Which version are you using? I may be a new feature?

4.2.3.2 (Xfce 4.2)



using xvidtune or ctrl-atl-numpad+ does switch video modes, but the 
virtual screen remains at the larger 1400x1050 size, thus giving that 
pan effect. would anyone hit me with a cluebat[1] on how to fix this ?


I have an Intel i810 card, and xvidtune does not support it. :-( I 
cannot help you with this.


  Les

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


Create more dsp and mixer devices

2006-01-11 Thread User Gandalf


Hello,

The gaim instant messenger has support for three sound devices: ESD, 
Arts and using a command. I'm not sure what 'ESD' means. Is it the 
'esound' package? (Enlightment sound daemon.) Somewhere I read that 
FreeBSD can do the same (e.g. sharing one audio device to multiple 
programs). Can you point me to a documentation where I can read more 
about this? I would like to know if it is worth to install esound. What 
other options do I have if I want to use gaim with sounds?


Thanks,

  Les

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


Re: Create more dsp and mixer devices

2006-01-11 Thread User Gandalf


The gaim instant messenger has support for three sound devices: ESD, 
Arts and using a command. I'm not sure what 'ESD' means. Is it the 
'esound' package? (Enlightment sound daemon.) Somewhere I read that 
FreeBSD can do the same (e.g. sharing one audio device to multiple 
programs). Can you point me to a documentation where I can read more 
about this? 
   



http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/sound-setup.html#SOUND-MULTIPLE-SOURCES
 

Thank you! I could setup the device so it can be shared between multiple 
applications. I still have a problem. gaim has ESD, Arts and 'Custom 
command' interfaces. I only have a shared dsp device so I need a simple 
command line program that can play mp3, ogg, wav and au files. I looked 
over the whole audio category here:



http://www.freebsd.org/ports/audio.html

but I could not find a simple program that can do this. There are 
separate players for mpeg files, ogg files, wave files etc. But I could 
not find a program that can play all of them. Do you know a good program 
for this purpose?


Thanks,

Les

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


Re: Create more dsp and mixer devices

2006-01-11 Thread User Gandalf




/usr/ports/multimedia/mplayer

I have no ogg nor au files, but mplayer works for *wav and *mp3 from
the CLI here 
As Michael Lucas was just saying, we have, um, **lots** of programs.


KDK

I did not know that mplayer has cli.  But I tried to install that days 
ago. I always get the same result since two days:


earth# pkg_add -r mplayer
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/mplayer.tbz: 
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/mplayer.tbz' 
by URL

earth#

Probably this is my fault again. I know that it is in the 'All' packages 
directory, but pkg_add uses 'Latest' and mplayer is not available there. 
I know I could install mplayer from the ports but it would be too slow 
on this machine.


  Les



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


Re: Create more dsp and mixer devices

2006-01-11 Thread User Gandalf




Manually ftp in the .tbz file from ftp.freebsd.org or one of the 
mirror sites, and do a 'pkg_add mplayer.tbz'.


That way you can download it, put on floppy, cd, whatever you have to 
to get to the machine in question - everything done in 'sysinstall' 
can be done outside of it too ;)



Hmm, another thing I did not know about pkg_add. :-)
Thank you! Please forgive me because of these dumb questions.

  Les

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


Getting mplayer (Was: Create more dsp and mixer devices)

2006-01-11 Thread User Gandalf



earth# pkg_add -r mplayer
Error: FTP Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/mplayer.tbz: 
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest/mplayer.tbz' 
by URL

earth#

Manually ftp in the .tbz file from ftp.freebsd.org or one of the 
mirror sites, and do a 'pkg_add mplayer.tbz'.


Where I can get the tbz file? It is not in

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/All

neither in

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-6-stable/Latest

Does it mean that it has not been compiled for 6.0 yet?

  Les

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


Re: Xorg - how to disable some video modes?

2006-01-10 Thread User Gandalf

Martin Möller wrote:


* gandalf [EMAIL PROTECTED] [08-01-2006 10:29:18 +0100]:

 


I can attach my xorg.conf file, if it helps.
   



Yes, that would help indeed.
 

Here is the config. I made a mistake. You were right. I forgot to use 
DefaultDepth. But I do not understand why I need it, since 24 is the 
only depth specified in my screen section,


Without DefaultDepth 24 it starts with 1900x1440. With DefaultDepth 
24 is starts in 1024x768 but it does not allow me to switch to 
1280x1024 with Ctrl-Alt-Plus.


Thanks,

  Les





Section ServerLayout
Identifier X.org Configured
Screen  0  Screen0 0 0
InputDeviceMouse0 CorePointer
InputDeviceKeyboard0 CoreKeyboard
EndSection

Section Files
RgbPath  /usr/X11R6/lib/X11/rgb
ModulePath   /usr/X11R6/lib/modules
FontPath /usr/X11R6/lib/X11/fonts/misc/
FontPath /usr/X11R6/lib/X11/fonts/TTF/
FontPath /usr/X11R6/lib/X11/fonts/Type1/
FontPath /usr/X11R6/lib/X11/fonts/CID/
FontPath /usr/X11R6/lib/X11/fonts/75dpi/
FontPath /usr/X11R6/lib/X11/fonts/100dpi/
EndSection

Section Module
Load  dbe
Load  dri
Load  extmod
Load  glx
Load  record
Load  xtrap
Load  freetype
Load  type1
EndSection

Section InputDevice
Identifier  Keyboard0
Driver  kbd
Option  CoreKeyboard
Option  XkbRules xorg
Option  XkbModel pc105
Option  XkbLayout hu
EndSection

Section InputDevice
Identifier  Mouse0
Driver  mouse
Option  Protocol auto
Option  Device /dev/sysmouse
Option  ZAxisMapping 4 5
EndSection

Section Monitor
#DisplaySize  360   270 # mm
Identifier   Monitor0
VendorName   SAM
ModelNameSyncMaster

 ### Uncomment if you don't want to default to DDC:
#   HorizSync30.0 - 96.0
#   VertRefresh  50.0 - 160.0
HorizSync30.0 - 95.0
VertRefresh  55.0 - 100.0

UseModes SamSung957   

Option  DPMS
EndSection

Section Modes
  Identifier SamSung957
  # 1024x768 @ 100.00 Hz (GTF) hsync: 81.40 kHz; pclk: 113.31 MHz
  Modeline 1024x768_100.00  113.31  1024 1096 1208 1392  768 769 772 814  
-HSync +Vsync

  # 1280x1024 @ 85.00 Hz (GTF) hsync: 91.38 kHz; pclk: 159.36 MHz
  Modeline 1280x1024_85.00  159.36  1280 1376 1512 1744  1024 1025 1028 1075  
-HSync +Vsync
EndSection  


Section Device
### Available Driver options are:-
### Values: i: integer, f: float, bool: True/False,
### string: String, freq: f Hz/kHz/MHz
### [arg]: arg optional
#Option NoAccel   # [bool]
#Option SWcursor  # [bool]
#Option ColorKey  # i
#Option CacheLines# i
#Option Dac6Bit   # [bool]
#Option DRI   # [bool]
#Option NoDDC # [bool]
#Option ShowCache # [bool]
#Option XvMCSurfaces  # i
#Option PageFlip  # [bool]
Identifier  Card0
Driver  i810
VendorName  Intel Corp.
BoardName   82845G/GL [Brookdale-G] Chipset Integrated Graphics Device
BusID   PCI:0:2:0
EndSection

Section Screen
Identifier Screen0
Device Card0
MonitorMonitor0
DefaultDepth 24
SubSection Display
Viewport   0 0
Virtual1024 768
Depth  24
Modes  1024x768_100.00 1280x1024_85.00
EndSubSection
EndSection
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]

Native voip software for FreeBSD

2006-01-10 Thread User Gandalf


 Hello,

Do you know any native voip software for FreeBSD?
I hate to install Linux compatibility mode just to have skype working.
Thanks,

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


Xorg - how to disable some video modes?

2006-01-09 Thread User Gandalf


 Hello,

I have FreeBSD 6.0 with an xorg server installed. I followed the 
instructions in the handbook, and I could create a working xorg.conf 
file. My problem is that xorg starts with [EMAIL PROTECTED] I would like 
to have [EMAIL PROTECTED] by default. I tried to add


Modes 1024x768

Also tried to use gtf to create a [EMAIL PROTECTED] mode and add a

UseModes 1024x768_100.00

section. But I was not able to disable 1920x1440, 1600x1200 and 
1280x1024. What I do know is that I go to the control panel of xfce each 
time and switch back to 1024x768 manually.


Thanks for your help

  Les

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