Re: Transparent email proxy

2007-07-16 Thread Daniel Marsh

On 7/16/07, Olivier Nicole <[EMAIL PROTECTED]> wrote:


Hi,

> With the firewall, it is easy to make the use of the outgoing mail
> hub compulsory.  Is there some reason beyond that that you want to do
> things transparently?

Yes, I should have been a bit more specific. As university department,
we receive a number of visitors, when they have been in the plane for
24 hours, they usually want to check their email: each time we have to
inform them that they can only send through our mail gateway, and they
have to temporarily change their setting for the duration fo their
visit, and remember to change back when they left: that is annoying
(and I am not always around to tell them why they cannot send their
email).

That is why I am thinking about transparent redirection.

Best regards,



We've setup transparent outgoing mail proxying using ASSP, PF and Postfix.

Basically any traffic that has a destination port of 25 on the Internet is
sent through our mail proxy, and onwards to the destination mail servers.

Main reason for this is simplicity.

I've never come across anyone using TLS+SMTP, in most cases I've found that
SMTP is accepted as insecure (esp. over the Internet). If we were talking
intra-company SMTP over the Internet, different story altogether due to the
company needing privacy.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


kdm/startkde problem after upgrade

2007-07-16 Thread Andriy Babiy
Hi everyone!

$ uname -a
FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 06:07:39 
PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64

kdm is configured as a login manager in /etc/ttys.

After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming, but 
no errors) I receive an error message on startup:
Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server "/usr/X11R6/bin/X" 
cannot be executed
Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0 can't 
be started, session disabled

When I logged in, startkde brings another error message:
xsetroot:  unable to open display ''
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
kdeinit: Aborting. $DISPLAY is not set.
There was an error setting up inter-process communications for KDE. The 
message returned by the system was:

Could not read network connection list.
/home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY

Please check that the "dcopserver" program is running!
Reusing existing ksycoca
kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-tbz2'
<...>
A lot of messages of the same nature about undefined mimetype/servicetype.
<...>
xset:  unable to open display ""
xset:  unable to open display ""
xsetroot:  unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
xprop:  unable to open display ''
kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...

Interesting, when I issue startx, KDE is up and running.
I ran X -configure, and then X -config /root/xorg.conf.new as root; X 
server starts properly, so I copied new config to /etc/X11. I assume my 
problem is KDE related. Errors are about DCOP server, as I can see.
Could anyone help me fix this problem? Thank you in advance!

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


Umass device problems

2007-07-16 Thread David Southwell
Hi

I originally posted the report below in April but so far noone has reported a 
fix.
Should I post this issue to another list? Alternatively maybe a PR is 
necessary.

I can stop repeated messages by placing a card in the umass devivce but when 
there is no card present there seems no way to stop them.

Thanks in advance

David Southwell



[EMAIL PROTECTED] /var/run]# camcontrol devlist
           at scbus0 target 0 lun 0 (pass0,da0)
           at scbus0 target 0 lun 1 (pass1,da1)
---
From /var/log/messages:
Apr 18 03:27:03 dns1 kernel: Opened disk da1 -> 6
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): READ CAPACITY. CDB: 25 0 
0 0 0 0 0 0 0 0 
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): CAM Status: SCSI Status 
Error
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): SCSI Status: Check 
Condition
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): NOT READY asc:3a,0
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Medium not present
Apr 18 03:27:05 dns1 kernel: (da0:umass-sim0:0:0:0): Unretryable error
Apr 18 03:27:05 dns1 kernel: Opened disk da0 -> 6
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): READ CAPACITY. CDB: 25 20 
0 0 0 0 0 0 0 0 
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): CAM Status: SCSI Status 
Error
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): SCSI Status: Check 
Condition
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): NOT READY asc:3a,0
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Medium not present
Apr 18 03:27:05 dns1 kernel: (da1:umass-sim0:0:0:1): Unretryable error
Apr 18 03:27:05 dns1 kernel: Opened disk da1 -> 6
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Transparent email proxy

2007-07-16 Thread Heiko Wundram (Beenic)
On Monday 16 July 2007 09:05:56 Daniel Marsh wrote:
> I've never come across anyone using TLS+SMTP, in most cases I've found that
> SMTP is accepted as insecure (esp. over the Internet). If we were talking
> intra-company SMTP over the Internet, different story altogether due to the
> company needing privacy.

Ahemm... That depends largely on the audience you're administering for...

I personally have seen that many large (german) (free-)email providers are 
trying to force SMTP through TLS for sending out email through their servers 
at the moment, simply because they don't want passwords for logging in to 
their service transferred as plaintext (and thereby sniffable by the 
provider/network you're using). It's not so much about the mail (content) 
itself, it's more about the authentication that's required to relay.

-- 
Heiko Wundram
Product & Application Development
-
Office Germany - EXPO PARK HANNOVER
 
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
 
Fon+49 511 / 590 935 - 15
Fax+49 511 / 590 935 - 29
Mail   [EMAIL PROTECTED]


Beenic Networks GmbH
-
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Developer Questions (glibc i386 style backtraces)

2007-07-16 Thread Roland Smith
On Sun, Jul 15, 2007 at 07:53:35PM -0400, Michael B Allen wrote:
> Hello Again,
> 
> Is there a good list to ask developer questions about porting code to 
> FreeBSD?

-questions, or maybe -hackers if it gets really complicated.

> I have a good chunk of code to port and no doubt I will have numerous
> questions about FreeBSD specific features like semaphores, posix
> compliance, shared memory and so on.

For shared memory, look at /usr/include/sys/shm.h. For semaphores, see
/usr/include/sys/sem.h.

There is a lot of documentation available on the FreeBSD website;
http://www.freebsd.org/docs/books.html 

In your case, the Developers' Handbook might come in handy.

It is also available on the system btw, in /usr/share/doc/en_US.ISO8859-1

> Actually my current issue is the glibc i386 backtrace function from
> execinfo.h. It's not a show stopper if I can't have it but I would
> very much like to have it even if it means writing custom code to walk
> the stack myself.

I think that the glib library has this. It turns up a backtrace.h on my system.
There is no execinfo.h file on my system.
 
> Any ideas? Googling doesn't seem to turn up anything which is to say I
> guess FreeBSD doesn't have a backtrace function.

A quick search of the base system doesn't turn anything up. But
debuggers like gdb work, so there has to be a way to do it.

> Actually does FreeBSD use glibc?

Nope.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpQP9WhHN6DK.pgp
Description: PGP signature


Re: email's time stamp

2007-07-16 Thread Norberto Meijome
On Mon, 16 Jul 2007 00:31:33 -0700 (PDT)
gahn <[EMAIL PROTECTED]> wrote:

> thanks, Norberto:

Hi, 
please keep the list in your replies.
and please do not top post. (fixed in this reply)
> --- Norberto Meijome <[EMAIL PROTECTED]> wrote:
> 
> > On Sat, 14 Jul 2007 22:20:51 -0700 (PDT)
> > gahn <[EMAIL PROTECTED]> wrote:
> > 
> > > hello:
> > > 
> > > trying to understand the email's time stamps. how
> > do i
> > > determine the time stamps on those emails i
> > received?
> > > are those emails time stamped by the mail servers
> > > originated those mails (in that particular time
> > zone)?
> > > or by the last mail relay server (in another time
> > > zone) delivering those mails?
> > > 
> > > say some mails originated from one server is in
> > asia
> > > and final destination mail relay is in europe. so
> > the
> > > time stamps on those mails are in that particular
> > asia
> > > time zone or in the time zone of europe time zone?
> > 
> > Check the headers of the mail in question, in
> > particular 'Received:'. . basically, each mail hop
> > will timestamp the email with its own headers,
> > written in a standard format which includes the
> > timezone. I am not certain whether it's always the
> > local timezone that is added, but it is irrelevant.

[...]

> > 
> > The actual "date sent" seen in your mail client is
> > determined (very blindly) by the Date: header in the
> > mail content, added usually by the senders' mail
> > software

 
> so the information is lost for web mails, right? 

I don't know - see if you have a 'view headers' or 'view source' option in your
favourite webmail client. 

 the mail isn't a 'web
mail'. there is nothing special about it, other than it's viewed / rendered /
shown in your computer via a webpage. Whether yahoo/gmail/hotmail systems get
rid of (certain) headers when they store the email, i don't know.


> for
> example, on yahoo or gmail, i only see "date", what
> does this "date" indicate? 

As above, is the date header ('Date:' ) added at the time of sending by the
sending party. Trivial to forge ( have you ever received an email , from
spammers or clock-deprived people that was sent in 1980? or 2015 ? :) )


> the date and time the mail
> client sent out the mails or the date and time the
> first mail server received the mails?

The former, assuming it hasn't been tampered with.

B

_
{Beto|Norberto|Numard} Meijome

"Too strong a strong vision can kill you - you'll walk right over the edge,
firm in the knowledge of the path in front of you." Linus Torvalds

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Hauppauge WinTV-HVR1100 and FreeBSD

2007-07-16 Thread Frank Wissmann

Hello all!
I just got a new computer with the above mentioned card in it. What I 
want to know is if anybody has experience in making it work under 
FreeBSD. Googling around has brought no results but it should work under 
Linux and obviously under Windows. But who wants this if it will work 
with FreeBSD? So, can anybody give me a hint or do I have to use it with 
another OS?


Regards

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


Re: Hauppauge WinTV-HVR1100 and FreeBSD

2007-07-16 Thread Roland Smith
On Mon, Jul 16, 2007 at 12:06:52PM +0200, Frank Wissmann wrote:
> Hello all!
> I just got a new computer with the above mentioned card in it. What I want 
> to know is if anybody has experience in making it work under FreeBSD. 
> Googling around has brought no results but it should work under Linux and 
> obviously under Windows. But who wants this if it will work with FreeBSD? 
> So, can anybody give me a hint or do I have to use it with another OS?

The conexant chipset on this card isn't supported AFAIK. 

On FreeBSD it's best to get a card supported by the bktr(4) driver. See
§7.5 of the Handbook;
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/tvcard.html

If it works with Linux, use that.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgprrNiWJ7Nfg.pgp
Description: PGP signature


Sharing Outlook calendars via FreeBSD?

2007-07-16 Thread Nejc Skoberne

Hello,

I am using a FreeBSD 5.3 server in a company with approx. 30
users. There is also a Samba server as a PDC and a mail server.

The users would like to share their Outlook calendars. What
are my options regarding having FreeBSD as a platform to do this?
OpenGroupware is just for Linux and I can't find any
documentation how to put it on FreeBSD (the linux-opengroupware
port expired last year).

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

what do you do with daily, weekly, monthly outputs..

2007-07-16 Thread B. Cook

Hello All,

What do you do with the FreeBSD emails that each server you have sends 
you every day?


I'm wondering if I could be doing something useful with them as opposed 
to keeping them in a folder and then deleting them after time.

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


Promise RAID / ata problem

2007-07-16 Thread Derek Holden

Greetings,

I have a Promise Fasttrak TX4200 running a single mirrored array under 5.5.
Everything's been great for nearly a year until a recent reboot.  It appears
that the two disk mirrored array is coming up as two arrays with a single
disk attached:

Before:

kernel: acd0: CDRW  at ata1-slave UDMA33
kernel: ad6: 305245MB  at ata3-master SATA150
kernel: ad10: 305245MB  at ata5-master SATA150
kernel: ar0: 305175MB  status: READY
kernel: ar0: disk0 READY (master) using ad10 at ata5-master
kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master

After:

kernel: acd0: CDRW  at ata1-slave UDMA33
kernel: ad6: 305245MB  at ata3-master SATA150
kernel: ad10: 305245MB  at ata5-master SATA150
kernel: ar0: disk0 DOWN no device found for this subdisk
kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master
kernel: ar1: 305175MB  status: DEGRADED
kernel: ar1: disk0 READY (master) using ad10 at ata5-master
kernel: ar1: disk1 DOWN no device found for this subdisk

# atacontrol status ar0
ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED

# atacontrol status ar1
ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED

Nothing's was changed on the machine.  I'm looking for any ideas on the best
way to re-establish the single mirrored array.  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: what do you do with daily, weekly, monthly outputs..

2007-07-16 Thread Roland Smith
On Mon, Jul 16, 2007 at 07:57:48AM -0400, B. Cook wrote:
> Hello All,
> 
> What do you do with the FreeBSD emails that each server you have sends you 
> every day?

If there is nothing in them that warrants investigation, I just delete
them.

Roland
-- 
R.F.Smith   http://www.xs4all.nl/~rsmith/
[plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated]
pgp: 1A2B 477F 9970 BA3C 2914  B7CE 1277 EFB0 C321 A725 (KeyID: C321A725)


pgpNU6ChSHZm7.pgp
Description: PGP signature


Re: Transparent email proxy

2007-07-16 Thread Jeffrey Goldberg

On Jul 16, 2007, at 12:49 AM, Olivier Nicole wrote:


With the firewall, it is easy to make the use of the outgoing mail
hub compulsory.  Is there some reason beyond that that you want to do
things transparently?


Yes, I should have been a bit more specific. As university department,
we receive a number of visitors, when they have been in the plane for
24 hours, they usually want to check their email: each time we have to
inform them that they can only send through our mail gateway, and they
have to temporarily change their setting for the duration fo their
visit, and remember to change back when they left: that is annoying
(and I am not always around to tell them why they cannot send their
email).

That is why I am thinking about transparent redirection.


Thanks for elaborating on that.  As others have suggested use  
redirection on your firewall to point them to your outgoing hub.   
I've never yet played with such redirection, so I'll leave it to  
others to comment, but the details will depend on what kind of  
firewall you are currently running.


I am wondering what will happen if these visitors' mail clients try  
to authenticate against your mail server.  If your server does allow  
SMTP-AUTH than the clients, if configured to authenticate will  
attempt to as far as I understand.  It might be worth doing some  
experiments to see how this works.


The "proper" solution to this would be for people to use the (new)  
SMTP submission mechanism on the submission port, but it appears that  
ISPs aren't doing enough to get their users to do things that way.


Good luck with this.

-j




--
Jeffrey Goldberghttp://www.goldmark.org/jeff/

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


Re: what do you do with daily, weekly, monthly outputs..

2007-07-16 Thread Alex Zbyslaw

B. Cook wrote:


Hello All,

What do you do with the FreeBSD emails that each server you have sends 
you every day?


I'm wondering if I could be doing something useful with them as 
opposed to keeping them in a folder and then deleting them after time.


Mostly I send the outputs to /var/log and not email (except security) so 
I don't have to do anything and newsyslog handles the log 
rotation/deletion.  But I've also come across PR 
http://www.freebsd.org/cgi/query-pr.cgi?pr=bin/88486 and I'm hoping I 
can reduce the logging to nothing at all (unless something goes wrong).  
Get rid of uninteresting jobs, perhaps do disk space checks with 
something like Nagios etc.  No time of course :-)


--Alex



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


Re: Attansic L1 Gigabit Ethernet Adapter

2007-07-16 Thread Lowell Gilbert
Jose Luis Alarcon Sanchez <[EMAIL PROTECTED]> writes:

> On Sat, 14 Jul 2007 11:14:28 -0400
> Lowell Gilbert <[EMAIL PROTECTED]> wrote:
>
>> Jose Luis Alarcon Sanchez <[EMAIL PROTECTED]> writes:
>> 
>> > My PC box have this Ethernet adapter (Linux kernel description):
>> >
>> > Ethernet controller: Attansic Technology Corp. L1 Gigabit Ethernet Adapter 
>> > (rev b0)
>> 
>> Attansic is now part of Atheros, but I can't find enough information
>> on that card to try matching it to a driver.
>> 
>> If you have the hardware available, you might try booting from a CD
>> and see if it is recognized.
>>
>
> Hi Lowell.
>
> Thank you very much for your answer.
>
> Yes, my PC box (2 weeks old) have this ethernet adapter and i am concerned 
> only cos i installed FreeBSD 7.0 CURRENT and the adapter is not recognized.

In that case you may need to communicate with a developer about it.
Someone probably has more information about this chipset than I do.

> Reading more about it, now i know this Attansic adapter is a PCI-E device,
> let me question you. What is a PCI-E device?, what are the differences with
> a common PCI device?.

PCI Express is quite an evolution from original PCI.  It isn't really
a bus; it provides a full mesh of signal paths.  Several FreeBSD
drivers support PCI Express devices today, but apparently not the one
you have.  I would have wondered if lge(4) supported it, but that is
in the default kernel already.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Can cron e-mail HTML?

2007-07-16 Thread Ruben de Groot
On Sat, Jul 14, 2007 at 06:21:16PM -0400, Mikhail Teterin typed:
> = To accomplish this I have my cron job run a script like this
> 
> Sorry, I missed the most important part. Your script just uses /usr/bin/mail, 
> the same way cron does. You are not adding anything, not already present in 
> cron -- your script should simply produce output to stdout. Cron will mail 
> all that to the address specified in MAILTO=... part of your crontab 
> automatically.
> 
> AFAIK, to make the e-mail message treated as a MIME one, the "MIME-Version: 
> 1.0" and "Content-Type: ..." have to be among _headers_.
> 
> I'm afraid, it is not possible to directly manipulate the message's headers 
> using mail(1), which is why I asked my question in the first place...

Just for the record, cron seems to be using /usr/lib/sendmail, not mail(1):

malenfant# grep -r _PATH_SENDMAIL /usr/src/usr.sbin/cron/cron/config.h
#if !defined(_PATH_SENDMAIL)
# define _PATH_SENDMAIL "/usr/lib/sendmail"
#define MAILCMD _PATH_SENDMAIL  /*-*/
malenfant# grep _PATH_SENDMAIL /usr/include/paths.h
#define_PATH_SENDMAIL  "/usr/sbin/sendmail"

cheers,
Ruben

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


Re: Sharing Outlook calendars via FreeBSD?

2007-07-16 Thread Tom Grove

Nejc Skoberne wrote:

Hello,

I am using a FreeBSD 5.3 server in a company with approx. 30
users. There is also a Samba server as a PDC and a mail server.

The users would like to share their Outlook calendars. What
are my options regarding having FreeBSD as a platform to do this?
OpenGroupware is just for Linux and I can't find any
documentation how to put it on FreeBSD (the linux-opengroupware
port expired last year).

Thanks,
Nejc


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

You could try a couple of things...

First, you could evaluate some software like Communigate or Axigen but I 
can tell you that, Communigate at least, is not a very good product.  
Your best bet is to either try Axigen, which I haven't tested, or do 
what I did...


Install WebDav on a FreeBSD server and use this Outlook plugin to 
connect to webdav servers and save your files in ical format.


Outlook Plugin
http://sourceforge.net/projects/remotecalendars/

Before you flame back with, "it only works with Outlook 2003".  Trust 
me, it's a small price to pay to not have to use some over-priced server 
solution like Communigate or Scalix.


Just my 2 cents...

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


Re: kdm/startkde problem after upgrade

2007-07-16 Thread Reid Linnemann

Written by Andriy Babiy on 07/16/07 02:52>>

Hi everyone!

$ uname -a
FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11 06:07:39 
PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64


kdm is configured as a login manager in /etc/ttys.

After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming, but 
no errors) I receive an error message on startup:
Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server "/usr/X11R6/bin/X" 
cannot be executed
Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0 can't 
be started, session disabled


When I logged in, startkde brings another error message:
xsetroot:  unable to open display ''
Warning: kbuildsycoca is unable to register with DCOP.
kbuildsycoca running...
kdeinit: Aborting. $DISPLAY is not set.
There was an error setting up inter-process communications for KDE. The 
message returned by the system was:


Could not read network connection list.
/home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY

Please check that the "dcopserver" program is running!
Reusing existing ksycoca
kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop' 
specifies undefined mimetype/servicetype 'application/x-tbz2'

<...>
A lot of messages of the same nature about undefined mimetype/servicetype.
<...>
xset:  unable to open display ""
xset:  unable to open display ""
xsetroot:  unable to open display ''
startkde: Starting up...
ksplash: cannot connect to X server
xprop:  unable to open display ''
kdeinit: Aborting. $DISPLAY is not set.
Warning: connect() failed: : No such file or directory
ksmserver: cannot connect to X server
ERROR: Couldn't attach to DCOP server!
startkde: Shutting down...
Warning: connect() failed: : No such file or directory
Error: Can't contact kdeinit!
startkde: Running shutdown scripts...

Interesting, when I issue startx, KDE is up and running.
I ran X -configure, and then X -config /root/xorg.conf.new as root; X 
server starts properly, so I copied new config to /etc/X11. I assume my 
problem is KDE related. Errors are about DCOP server, as I can see.

Could anyone help me fix this problem? Thank you in advance!

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


# ls -lF /usr/X11R6
lrwxr-xr-x  1 root  wheel  10 Jun 18 08:29 /usr/X11R6@ -> /usr/local

If yours does not look like that, then you forgot to merge /usr/X11R6 
into /usr/local, which by the looks of the first message (Jul 16 
00:13:10 FreeBSD-amd64 kdm-bin[792]: X server "/usr/X11R6/bin/X" cannot 
be executed) is exactly what has happened. As of Xorg 7, X11BASE is now 
/usr/local rather than /usr/X11R6, so the Xorg servers will not be at 
/usr/X11R6/bin. Read the Xorg 7.2 entry in /usr/ports/UPDATING. 
Specifically, there is a tool (mergebase.sh) included to make the merge 
step extremely easy.

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


Re: OT: Does a low-cost, reliable switch exist?

2007-07-16 Thread Rob

Modulok wrote:

I run a small network of under 20 clients. As such we don't have $500+ to
drop on a Cisco switch. However the desktop consumer grade stuff is quickly
turning me into an insomniac. I'm tired of being woke at 3:00 am to go fix
network problems. Does anyone know if something like this exists? (see
below)
The dream: An ethernet switch that is, above all else, RELIABLE. I would


I've had great luck with Dell's switches.  We're a small office of 5 people and 
probably 16 or more desktops / servers / printers / etc on the internal LAN.  4 
years ago I put in an inexpensive Dell PowerConnect 2024 24 port 10/100 switch; 
 it worked for years without a glitch.

Last January, realizing most our stuff was gigabit-capable, I replaced it with a Dell 
PowerConnect 2724 for ~ $270 USD.  24 ports, all 10/100/1000 plus add-on fiber x'cvr 
capability on two ports.  "Web manageable" with a bunch of features we don't 
use.  The auto-negotiate has worked fine with everything I've plugged in.  No glitches in 
over 7 months now.

 -RW

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


Re: upgrade from python 2.4 to 2.5

2007-07-16 Thread Lowell Gilbert
vuthecuong <[EMAIL PROTECTED]> writes:

> Did anyone already upgrade from python 2.4 to 2.5?

Yes.  It is in the ports tree and has been for quite a while.  It is
not fully backward-compatible, though, so it is not yet the default version.

> How can I upgrade to python 2.5 using portupgrade?

Something like "portupgrade -o lang/python25 python" should do it.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-16 Thread Nikola Lecic
On Mon, 16 Jul 2007 11:57:44 +0545
Tek Bahadur Limbu <[EMAIL PROTECTED]> wrote:

> Nikola Lecic wrote:
> > On Sat, 14 Jul 2007 00:32:54 +0545
> > Tek Bahadur Limbu <[EMAIL PROTECTED]> wrote:
> > 
> >> Hi All,
> >>
> >> Due to a power outage, my FreeBSD-6.1 (i386) machine got rebooted. 
> >> However, upon reboot right after the initial startup menu, it
> >> simply hangs.
> >>
> >> I tried rebooting the machine several times but in vain.
> >>
> >> My Bios detects my hard drive. Also since I get the initial
> >> startup menu, something must be wrong or corrupted in the Boot
> >> loader.
> >>
> >> Can somebody point me or give me any hints about fixing this
> >> problem. I have really some information in my hard drive which I
> >> want to keep or restore.
> > 
> > Hello Tek,
> > 
> > The first thing I'd do is to download FreeSBIE (if you already don't
> > have it), boot from it and do some initial inspection of the main
> > drive.
> > 
> > Then you will probably collect some more data about status of file
> > systems etc. that will allow people from this list to share with you
> > much more useful advices than it's possible at the moment.
> 
> Hi Nikola,
> 
> I just finished downloading FreeSBIE and when I tried to boot it, I
> get the following errors:
> 
> 
> CD Loader 1.2
> 
> Building the boot loader arguments
> Looking up /BOOT/LOADER...  Found
> Read Error: 0x10
> Could not find Primary Volume Descriptor
> 
> 
> Does this mean that my hard drive is dead and gone?

No, this message is not about your hard drive. This means that live-CD
doesn't like your hardware (maybe a bit older if such an error appears),
or actually something much simpler:

... Have you checked the MD5 sum of the downloaded image? This error can
also be caused by one funny thing: what burning speed you used to burn
FreeSBIE? Check MD5 sum and burn it again at <=4x. This can help :)

If you still can't start FreeSBIE, then try any other live-CD or maybe
gparted (http://gparted.sourceforge.net) which can copy/paste
partitions to another hard-drive -- to save your data if possible
before you continue trying to rescue the whole system.

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


Re: named and nfs mounts at boot time

2007-07-16 Thread Reid Linnemann

Written by Tim Daneliuk on 07/13/07 17:29>>

While we're on the subject of dns ... I have nfs mounts configured in
/etc/fstab using the host *name*.  When the system boots, it grumbles
about the name resolution because named has not yet been started.  It
works fine because, by the time you have a fully booted system, named is
running and nfs runs happily.

'Just wondering if there is a way to get the warnings during boot to
be quiet without resorting to using IP addresses in the fstab nfs
mount entries...




If the filesystems are not needed until the system is up multiuser, you 
could specify the 'late' option on them in fstab, forcing them to be 
delayed until /etc/rc.d/mountlate is run after /etc/rc.d/DAEMON has 
completed. This will ensure that named is running prior to the mount, 
since DAEMON requires SERVERS, which starts named.

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


clarification before buying a internet static IP address

2007-07-16 Thread vuthecuong

I need from you advice before doign things.

Up to now, I have a home web server using free DynamicDNS service of 
dyndns.org.
With it, I can access directly to my home web server from ouside through 
Internet.


Now for some reason, I not want to use DynamicDNS service anymore.
So I tend to buy a staticDNS from domain reseller.
Suppose that I only buyed a domain www.mydomain.com with internet static IP
address : 74.52.8.254, not buyed hosting service from that domain reseller,
can I be able to set up my own DNS server (in my home PC server) so that 
I can

browse directly to my home web server by typing www.mydomain.com
into address bar of firefox, opera?

i meaned, in other words, in order to host one website so that in can be 
"seen"

all over the world, I have no way but must use external hosting service?
Tnx
Sorry for my bad English

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


Re: clarification before buying a internet static IP address

2007-07-16 Thread vuthecuong

Tnx for quick response. I would like to confirm as below:
You said that:

"You don't want to buy a domain (or at least not in the first place).
The thing you need is a static IP address, first, and that's not being
'sold' by a domain reseller / registrar."

If I don't buy a domain being 'sold' by a domain reseller, so how can I
obtain a static IP address?
Looking foward to hear from you.
Tnx





Volker wrote:

On 07/16/07 16:13, vuthecuong wrote:
  

I need from you advice before doign things.

Up to now, I have a home web server using free DynamicDNS service of
dyndns.org.
With it, I can access directly to my home web server from ouside through
Internet.

Now for some reason, I not want to use DynamicDNS service anymore.
So I tend to buy a staticDNS from domain reseller.
Suppose that I only buyed a domain www.mydomain.com with internet static IP
address : 74.52.8.254, not buyed hosting service from that domain reseller,
can I be able to set up my own DNS server (in my home PC server) so that
I can
browse directly to my home web server by typing www.mydomain.com
into address bar of firefox, opera?

i meaned, in other words, in order to host one website so that in can be
"seen"
all over the world, I have no way but must use external hosting service?
Tnx
Sorry for my bad English



You don't want to buy a domain (or at least not in the first place).
The thing you need is a static IP address, first, and that's not being
'sold' by a domain reseller / registrar.

As soon as you've got a static IP address (either provider independent
or not) you may either 1) let a DNS A entry from your domain point to
this IP address or 2) still use dyndns.org (even with static IP
addresses).

HTH

Volker

  

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


Re: Promise RAID / ata problem

2007-07-16 Thread Derek Ragona

At 06:45 AM 7/16/2007, Derek Holden wrote:

Greetings,

I have a Promise Fasttrak TX4200 running a single mirrored array under 5.5.
Everything's been great for nearly a year until a recent reboot.  It appears
that the two disk mirrored array is coming up as two arrays with a single
disk attached:

Before:

kernel: acd0: CDRW  at ata1-slave UDMA33
kernel: ad6: 305245MB  at ata3-master SATA150
kernel: ad10: 305245MB  at ata5-master SATA150
kernel: ar0: 305175MB  status: READY
kernel: ar0: disk0 READY (master) using ad10 at ata5-master
kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master

After:

kernel: acd0: CDRW  at ata1-slave UDMA33
kernel: ad6: 305245MB  at ata3-master SATA150
kernel: ad10: 305245MB  at ata5-master SATA150
kernel: ar0: disk0 DOWN no device found for this subdisk
kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master
kernel: ar1: 305175MB  status: DEGRADED
kernel: ar1: disk0 READY (master) using ad10 at ata5-master
kernel: ar1: disk1 DOWN no device found for this subdisk

# atacontrol status ar0
ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED

# atacontrol status ar1
ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED

Nothing's was changed on the machine.  I'm looking for any ideas on the best
way to re-establish the single mirrored array.  Thanks a lot,


You didn't say how you created the array, in the Promise BIOS or in 
software under FreeBSD.  If you created the array in the promise BIOS, 
check the array in the BIOS first.


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


RE: clarification before buying a internet static IP address

2007-07-16 Thread fbsd2
A Registered domain name and static ip address is two different things.
You can only get a static ip address from your ISP.

Your current registered domain name can be pointed at the static ip address
you purchase from your ISP.



-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of vuthecuong
Sent: Monday, July 16, 2007 10:14 AM
To: freebsd-questions@freebsd.org
Cc: [EMAIL PROTECTED]
Subject: clarification before buying a internet static IP address

I need from you advice before doign things.

Up to now, I have a home web server using free DynamicDNS service of
dyndns.org.
With it, I can access directly to my home web server from ouside through
Internet.

Now for some reason, I not want to use DynamicDNS service anymore.
So I tend to buy a staticDNS from domain reseller.
Suppose that I only buyed a domain www.mydomain.com with internet static IP
address : 74.52.8.254, not buyed hosting service from that domain reseller,
can I be able to set up my own DNS server (in my home PC server) so that
I can
browse directly to my home web server by typing www.mydomain.com
into address bar of firefox, opera?

i meaned, in other words, in order to host one website so that in can be
"seen"
all over the world, I have no way but must use external hosting service?
Tnx
Sorry for my bad English

___
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: Promise RAID / ata problem

2007-07-16 Thread Tamouh H.
> >I have a Promise Fasttrak TX4200 running a single mirrored 
> array under 5.5.
> >Everything's been great for nearly a year until a recent reboot.  It 
> >appears that the two disk mirrored array is coming up as two arrays 
> >with a single disk attached:
> >
> >Before:
> >
> >kernel: acd0: CDRW  at ata1-slave UDMA33
> >kernel: ad6: 305245MB  at ata3-master 
> >SATA150
> >kernel: ad10: 305245MB  at ata5-master 
> >SATA150
> >kernel: ar0: 305175MB  status: READY
> >kernel: ar0: disk0 READY (master) using ad10 at ata5-master
> >kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master
> >
> >After:
> >
> >kernel: acd0: CDRW  at ata1-slave UDMA33
> >kernel: ad6: 305245MB  at ata3-master 
> >SATA150
> >kernel: ad10: 305245MB  at ata5-master 
> >SATA150
> >kernel: ar0: disk0 DOWN no device found for this subdisk
> >kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master
> >kernel: ar1: 305175MB  status: DEGRADED
> >kernel: ar1: disk0 READY (master) using ad10 at ata5-master
> >kernel: ar1: disk1 DOWN no device found for this subdisk
> >
> ># atacontrol status ar0
> >ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED
> >
> ># atacontrol status ar1
> >ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED
> >
> >Nothing's was changed on the machine.  I'm looking for any 
> ideas on the 
> >best way to re-establish the single mirrored array.  Thanks a lot,

The error indicate your Array had failed. Replace the bad drive and let Promise 
rebuild is one way. Promise RAID card does automatic rebuild after an array 
failure.

Usually why you boot up the server, Promise BIOS will say whether the Array is 
FUNCTIONAL or FAILURE.

You can also temporarily go to single mode and mount the drives manually with 
ar1 instead of ar0

Tamouh


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


Re: Garbled text in xterm

2007-07-16 Thread Nikola Lecic
On Sun, 15 Jul 2007 22:42:22 -0500
Michael Gass <[EMAIL PROTECTED]> wrote:

> On Mon, Jul 16, 2007 at 03:06:47AM +0200, Nikola Lecic wrote:
> > On Sun, 15 Jul 2007 19:15:03 -0500
> > Michael Gass <[EMAIL PROTECTED]> wrote:
> > 
> > > Lowell Gilbert wrote:
> > > 
> > > > Hmm.  I've never heard of any symptoms quite like this.
> > > > A few stabs in the dark:
> > > > What happened if you used no xorg.conf at all?  Did you get the
> > > > same xterm problem?
> > > 
> > > >  Do you have a locale set?
> > > 
> > > Thanks for the response.
> > > 1. If I try to running with no xorg.conf, it just hangs. I think
> > > the equipment is too old for the defaults.
> > > 2. My locale is set to "C"
> > > 3. If I set the DefaultDepth to 1 in Screen, then it works - but
> > > of course there is no color.  If I set the DefaultDepth to either
> > > 4 or 8, then I get the garbled text again.  I do not think it is
> > > the keyboard, as the garbled text happens right at the prompt,
> > > and when I do type, it garbles, but the correct thing happens.
> > > For instance, if I type "xterm" then the charactors are messed
> > > up, but an xterm comes up (again with garbled text).
> > > 4. I tried having X construct a configure file for me (Xorg
> > > -configure), but same problem.
> > 
> > Hello Michael,
> > 
> > What happens if you add
> > 
> >   Option  "XaaNoScanlineImageWriteRect" "true"
> >   Option  "XaaNoScanlineCPUToScreenColorExpandFill" "true"
> > 
> > to the Screen section (try Device too)?
> > 
> > Try also:
> > 
> >   Option  "Accel" "false"
> > 
> > Nikola Lečić
> 
> Nikola,
> 
> Thank you for the response.
> This did not work, but it gives me the idea to try similar
> options.  If you have any other advice, please let me know.

Me personally not very much besides Xaa* options (which could be
deductible to my eyes from your xorg conf/log), but others probably do
have.

However, it remains a bit unclear what those garbled characters
exactly look like. Is the text garbled in xterm only? Or in windows
decoration (you mentioned twm) as well? So:

(1) It could be very useful if you could provide a snapshot;

(2) You may try xfontsel(1) as a useful previewer of the fonts in use;

(3) Try 'xterm -font ', list them with xlsfonts(1);

(4) Try to start a new thread on freebsd-x11@ named "Garbled text with
colour depth > 1 on older vga" -- or something like this -- this
seems to be a crucial part;

(5) Try asking even on X.org;

(6) Whatever you do, please send a feedback here since this is a very
interesting issue. :)

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


RE: clarification before buying a internet static IP address

2007-07-16 Thread David Schwartz

> Tnx for quick response. I would like to confirm as below:
> You said that:
>
> "You don't want to buy a domain (or at least not in the first place).
> The thing you need is a static IP address, first, and that's not being
> 'sold' by a domain reseller / registrar."
>
> If I don't buy a domain being 'sold' by a domain reseller, so how can I
> obtain a static IP address?
> Looking foward to hear from you.
> Tnx

I don't think anyone knows what you're trying to do. You have a web site
that you are hosting on your computer at home. You currently have a dynamic
IP address. That's between you and your Internet service provider. You can
get a static IP address from the, and then your IP address will always be
the same.

If you have a domain, presumably you used someone to acquire that domain for
you. When/if you get a static IP address, just tell them what the static IP
address and they can point www..com to that IP address.

As for whether or not you can host a domain on your home computer so that it
can be seen all over the world, read your contract with your Internet
service provider. If it allows you to, then you can. If it doesn't, then you
can't, and should use a hosting provider to host the site.

DS


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


6.2-release-p5, Dell PE1435, custom kernel fails generic works

2007-07-16 Thread Philip M. Gollucci

[take 2]

Hi All,

I understand kernel compiles pretty well, but I guess I'm having a hard
time nailing down my hardware even though I "know" what it is.

It panics when trying to mount the root device.  Its something to do
with the scsi/raid kernel config.

I can't actually attach these since its too big so here are so links to
my relevant info.

kernel config
http://people.apache.org/~pgollucci/kernel/ELEKTRA

kernel config (most drivers)
http://people.apache.org/~pgollucci/kernel/ELEKTRA-TEST

generic config
http://people.apache.org/~pgollucci/kernel/GENERIC

dell parts list
http://people.apache.org/~pgollucci/kernel/dell

/var/log/messages (boot with verbose logging into generic)
http://people.apache.org/~pgollucci/kernel/messages

Thanks in advance.

GENERIC kernel:
$ uname -a
FreeBSD elektra 6.2-RELEASE-p5 FreeBSD 6.2-RELEASE-p5 #0: Fri Jul 13
01:41:36 UTC 2007 [EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC  amd64


--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

--

Philip M. Gollucci ([EMAIL PROTECTED]) 323.219.4708
Senior System Admin - Riderway, Inc. http://riderway.com
1024D/EC88A0BF 0DE5 C55C 6BF3 B235 2DAB  B89E 1324 9B4F EC88 A0BF

Work like you don't need the money,
love like you'll never get hurt,
and dance like nobody's watching.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: clarification before buying a internet static IP address

2007-07-16 Thread Jonathan Horne
On Monday 16 July 2007 09:13:47 vuthecuong wrote:
> I need from you advice before doign things.
>
> Up to now, I have a home web server using free DynamicDNS service of
> dyndns.org.
> With it, I can access directly to my home web server from ouside through
> Internet.
>
> Now for some reason, I not want to use DynamicDNS service anymore.
> So I tend to buy a staticDNS from domain reseller.
> Suppose that I only buyed a domain www.mydomain.com with internet static IP
> address : 74.52.8.254, not buyed hosting service from that domain reseller,
> can I be able to set up my own DNS server (in my home PC server) so that
> I can
> browse directly to my home web server by typing www.mydomain.com
> into address bar of firefox, opera?
>
> i meaned, in other words, in order to host one website so that in can be
> "seen"
> all over the world, I have no way but must use external hosting service?
> Tnx
> Sorry for my bad English

thats what i do.  i purchased only the domain name, and set the authoritative 
DNS servers to point to my static IP (well, IPs in my case).

in your case, you will probably have to purchase your static IP first.  during 
the time that this is being set up, continue to use your dyndns service, then 
after the IP is in place and stable, buy your domain name.  when you are 
setting up the domain, you can then specify the IP address that you already 
have up and running as the DNS server.  it would be a good idea to already 
have the DNS zone written and running on your server while you are making 
this change.

good luck!
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: clarification before buying a internet static IP address

2007-07-16 Thread Jonathan Horne
On Monday 16 July 2007 09:30:29 vuthecuong wrote:
> so how can I
> obtain a static IP address?

you will need to speak to your ISP about upgrading your home internet to a 
static IP account.  of course, this is the assumption that you want to 
continue to host the server on your home equipment (ie, the company you 
purchase your domain from, can also sell you space on a server that already 
has a static IP).

cheers,
-- 
Jonathan Horne
http://dfwlpiki.dfwlp.org
[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: FreeBSD-6.1 bootup hangs after power failure

2007-07-16 Thread Tek Bahadur Limbu

Nikola Lecic wrote:

On Mon, 16 Jul 2007 11:57:44 +0545
Tek Bahadur Limbu <[EMAIL PROTECTED]> wrote:


Nikola Lecic wrote:

On Sat, 14 Jul 2007 00:32:54 +0545
Tek Bahadur Limbu <[EMAIL PROTECTED]> wrote:


Hi All,

Due to a power outage, my FreeBSD-6.1 (i386) machine got rebooted. 
However, upon reboot right after the initial startup menu, it

simply hangs.

I tried rebooting the machine several times but in vain.

My Bios detects my hard drive. Also since I get the initial
startup menu, something must be wrong or corrupted in the Boot
loader.

Can somebody point me or give me any hints about fixing this
problem. I have really some information in my hard drive which I
want to keep or restore.

Hello Tek,

The first thing I'd do is to download FreeSBIE (if you already don't
have it), boot from it and do some initial inspection of the main
drive.

Then you will probably collect some more data about status of file
systems etc. that will allow people from this list to share with you
much more useful advices than it's possible at the moment.

Hi Nikola,

I just finished downloading FreeSBIE and when I tried to boot it, I
get the following errors:


CD Loader 1.2

Building the boot loader arguments
Looking up /BOOT/LOADER...  Found
Read Error: 0x10
Could not find Primary Volume Descriptor


Does this mean that my hard drive is dead and gone?


No, this message is not about your hard drive. This means that live-CD
doesn't like your hardware (maybe a bit older if such an error appears),
or actually something much simpler:

... Have you checked the MD5 sum of the downloaded image? This error can
also be caused by one funny thing: what burning speed you used to burn
FreeSBIE? Check MD5 sum and burn it again at <=4x. This can help :)


Hi Nikola,

Oh!. I burned it at 32x!!! I guess I have to burn it at 4x and used it 
again.


I will give the live CD any try.




If you still can't start FreeSBIE, then try any other live-CD or maybe
gparted (http://gparted.sourceforge.net) which can copy/paste
partitions to another hard-drive -- to save your data if possible
before you continue trying to rescue the whole system.

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






--

With best regards and good wishes,

Yours sincerely,

Tek Bahadur Limbu

(TAG/TDG Group)
Jwl Systems Department

Worldlink Communications Pvt. Ltd.

Jawalakhel, Nepal

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


Re: Kmail Problems after update

2007-07-16 Thread Patrick Lamaiziere
Le Fri, 13 Jul 2007 22:38:06 -0400,
Dantavious <[EMAIL PROTECTED]> a écrit :

>   Hi.
> It seems that after my update to kde 3.5.7, my kmail filters do not
> work. They only work if I select each message and apply the filter
> manually. If I try to do several at a time kmail crashes. Anyone else
> seeing this or know what I can do to fix this.

Yes : http://bugs.kde.org/show_bug.cgi?id=126182

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


Re: FreeBSD-6.1 bootup hangs after power failure

2007-07-16 Thread Peter Schuller
> One thing I find FreeBSD very fussy and sensitive in comparison to Linux
> OSes is that whenever there is an power outage, something wrong is bound
> to happen. Maybe, it was made to happen this way but living in here over
> the other side of the world, we do have to face power outages despite
> our best efforts.

The problem with power outtages is that in the presence of write caching *all* 
bets are off. In practice I have found this a bigger problem with UFS2 than 
with e.g. reiserfs on Linux; possibly because the characteristics of disk i/o 
in those cases make it less probably to actually trigger a problem in 
practice (but this is just my speculation, but fits my experiences).

But regardless, all bets *are* off in the event of a power outtage. Unless you 
have battery backed caching controllers, you will need to disable write 
caching (hw.ata.wc=0) in order to be safe - at the cost of performance.

Alternatively for 7.0+ or CURRENT you can use ZFS which understands these 
things and will actually send cache flush commands to the drives on 
transaction commits, thus allowing safe operation in the event of a power 
failure, while not taking the performance hit associated with disabling write 
caching.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <[EMAIL PROTECTED]>'
Key retrieval: Send an E-Mail to [EMAIL PROTECTED]
E-Mail: [EMAIL PROTECTED] Web: http://www.scode.org

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


Re: Promise RAID / ata problem

2007-07-16 Thread Derek Holden

The array was created on the Promise card.  If there is a bad disk, any
ideas on why FreeBSD would report two arrays with each disk appearing as
READY on one of either of them?

kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master
kernel: ar1: disk0 READY (master) using ad10 at ata5-master

Thanks for the responses,

On 7/16/07, Derek Ragona <[EMAIL PROTECTED]> wrote:


 At 06:45 AM 7/16/2007, Derek Holden wrote:

You didn't say how you created the array, in the Promise BIOS or in
software under FreeBSD.  If you created the array in the promise BIOS, check
the array in the BIOS first.

-Derek


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


Re: OT: Does a low-cost, reliable switch exist?

2007-07-16 Thread Jim Capozzoli

On 7/15/07, Tim Daneliuk <[EMAIL PROTECTED]> wrote:

Norberto Meijome wrote:
> On Sat, 14 Jul 2007 20:42:09 -0600
> Modulok <[EMAIL PROTECTED]> wrote:
>
>> Currently I'm using 3 Netgear GS108 Gigabit blue-box switches chained
>> together for local traffic, with a FreeBSD server acting as the gateway to
>> the outside world, running ipfw and natd. The switches eventually lock up.
>
> I've given up on netgear for any new purchases...is still have a stack of
> them,but wouldnt use them for anything critical.
>
>> Sometimes they work for a day, a week, even a month without problems. Then
>> at a random time of day or night, boom network goes down. It's not any
>> individual defective switch as I've tried re-ordering them several times as
>> well as testing them individually. The cables are all good and wired
>> correctly. I've pulled my hair out trying to find what's wrong. I'm not sure
>> I care anymore. I just need something stable enough that I can catch some
>> sleep without this re-occurring nightmare.
>
> Are the switches behind a UPS?
>


What he said - I use consumer grade Linksys in my office - both wireless
routers and wired switches.  They have been rock solid for several years.
But ... the switch is sitting on a UPS IIRC...

--

Tim Daneliuk [EMAIL PROTECTED]
PGP Key: http://www.tundraware.com/PGP/

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


I have a 5 port SD205 by linksys...it works fine, but the 5th port
light is dead. :P  Power outages don't cause troubles for that switch,
it can handle being turned on with stuff active on it.

Of course, being on a not-so-great cable connection, my internet
connection drops every few days, requiring a hard reboot of the cable
modem.  Hope this helps somebody.

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


Re: Promise RAID / ata problem

2007-07-16 Thread Derek Ragona

At 11:43 AM 7/16/2007, Derek Holden wrote:

The array was created on the Promise card.  If there is a bad disk, any
ideas on why FreeBSD would report two arrays with each disk appearing as
READY on one of either of them?

kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master
kernel: ar1: disk0 READY (master) using ad10 at ata5-master

Thanks for the responses,


FreeBSD creates dev's on boot.  It is seeing now two arrays as the disks 
are saying they are array disks, and the controller has the array as broken.


Check the Promise BIOS to see if it reports one disk as bad, or it may just 
need to rebuild the array.


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


Re: is is able to setting up DNS server reverse lookup with DynamicIP?

2007-07-16 Thread Chuck Swiger

On Jul 15, 2007, at 11:07 PM, Olivier Nicole wrote:

No, nobody else is going to see the results your local nameserver
sends since it isn't authoritative for the domains, and the
delegation for the IP block isn't going to point to your server but
to the actual nameserver.  Take a look at what happens when someone
using an external nameserver does the same queries:


For the example I gave, I am of course authoritative.


Are you?  Depending on which servers I query, I either get an  
NXDOMAIN, an answer with no authoritative nameservers listed, or the  
results you've shown.  That implies that there is something wrong  
with the DNS delegation, and/or the various nameservers aren't  
returning reliable results.


Perhaps part of the problem seems to be that:

% dig -t ns desktops.cs.ait.ac.th
; <<>> DiG 9.3.4 <<>> -t ns desktops.cs.ait.ac.th
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 19501
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;desktops.cs.ait.ac.th. IN  NS

;; ANSWER SECTION:
desktops.cs.ait.ac.th.  43049   IN  NS  dns.cs.ait.ac.th.

;; Query time: 1 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Mon Jul 16 12:48:42 2007
;; MSG SIZE  rcvd: 57

...doesn't return any A records to go with the NS record for  
dns.cs.ait.ac.th.  It's also the case that every domain should have  
at least two nameservers listed, and by strong preference at least  
one nameserver should be on another subnet to improve reliability.



Notice the NXDOMAIN response...?


Stange, because I don't get such response, even when querying from
germany to my domain in Thailand. (Could have been a matter of time of
day, Friday 22:00 is busy time in Thailand, the DNS may have been hard
to reach).


Perhaps.


The answer everyone else gets, VAIO.desktops.cs.ait.ac.th, doesn't
match alrw17.desktops.cs.ait.ac.th, so a double-reverse lookup check
would fail.


It could have been a cache issue? Same thing I get correct answer for
a request made from Germany to that Thai domain.


It's not anticipated that a reverse lookup would return a CNAME  
rather than a PTR.


Best of luck,
--
-Chuck

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


Re: clarification before buying a internet static IP address

2007-07-16 Thread cpghost
On Mon, Jul 16, 2007 at 11:02:37AM -0500, Jonathan Horne wrote:
> On Monday 16 July 2007 09:13:47 vuthecuong wrote:
> > I need from you advice before doign things.
> >
> > Up to now, I have a home web server using free DynamicDNS service of
> > dyndns.org.
> > With it, I can access directly to my home web server from ouside through
> > Internet.
> 
> thats what i do.  i purchased only the domain name, and set the authoritative 
> DNS servers to point to my static IP (well, IPs in my case).

Some registrars (registries?) require at least two *distinct*
IP addresses for a primary and secondary DNS server; some of
them even check that they are not on the same /28 subnet.

If you have this problem, you could always sign up with a
DNS service provider for additional DNS servers. Some of
them are free, others may cost around $15 to $25 per year.

> in your case, you will probably have to purchase your static IP first.  
> during 
> the time that this is being set up, continue to use your dyndns service, then 
> after the IP is in place and stable, buy your domain name.  when you are 
> setting up the domain, you can then specify the IP address that you already 
> have up and running as the DNS server.  it would be a good idea to already 
> have the DNS zone written and running on your server while you are making 
> this change.

Regards,
-cpghost.

-- 
Cordula's Web. http://www.cordula.ws/
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


PHP5/MySQL Problem

2007-07-16 Thread Joseph Mays
Been dealing with a very frustrating couple of days, and have hit a wall. I 
had a working gallery2 installation, then upgraded mysqli, and  all hell 
broke loose.


When I try to open a page (in this case gallery2) that connects to the 
database. It always says "Too many open links". The thing is, it even says 
that if mysqld is not running.


I'm running under freebsd 6.1.

You can examine my server setup at http://geekfleet.tai-gear.com/server-info

You can examine the php setup at http://geekfleet.tai-gear.com/phpinfo.php

The problem I'm having now is that php5 won't connect to the mysql server. 
It's not a gallery thing, I've confirmed that I have the exact same problem 
with a simple script to just connect to the mysql server and read the 
database. And, in fact, the exact same error occurs if mysqld is not running 
at all. Apache shows --


[Mon Jul 16 02:07:10 2007] [error] [client 66.249.66.10] PHP Warning:
mysql_connect() [function.mysql-connect]: Too many
open links (0) in
/usr/local/www/apache22/data/gallery2/lib/adodb/drivers/adodb-mysql.in
c.php on line 366


Here is the info in php.ini --

[MySQL]
; Allow or prevent persistent links.
mysql.allow_persistent = Off

; Maximum number of persistent links.  -1 means no limit.
mysql.max_persistent = -1

; Maximum number of links (persistent + non-persistent).  -1 means no
limit.
mysql.max_links = -1

; Default port number for mysql_connect().  If unset, mysql_connect()
will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will
only look
; at MYSQL_PORT.
mysql.default_port =

; Default socket name for local MySQL connects.  If empty, uses the
built-in
; MySQL defaults.
mysql.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysql.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysql.default_user =

; Default password for mysql_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this
file.
; *Any* user with PHP access can run 'echo
get_cfg_var("mysql.default_password")
; and reveal this password!  And of course, any users with read access
to this
; file will be able to reveal the password as well.
mysql.default_password =

; Maximum time (in secondes) for connect timeout. -1 means no limit
mysql.connect_timeout = 60

; Trace mode. When trace_mode is active (=On), warnings for
table/index scans an
d
; SQL-Errors will be displayed.
mysql.trace_mode = Off

[MySQLi]

; Maximum number of links.  -1 means no limit.
mysqli.max_links = -1

; Default port number for mysqli_connect().  If unset,
mysqli_connect() will use
; the $MYSQL_TCP_PORT or the mysql-tcp entry in /etc/services or the
; compile-time value defined MYSQL_PORT (in that order).  Win32 will
only look
; at MYSQL_PORT.
mysqli.default_port = 3306

; Default socket name for local MySQL connects.  If empty, uses the
built-in
; MySQL defaults.
mysqli.default_socket =

; Default host for mysql_connect() (doesn't apply in safe mode).
mysqli.default_host =

; Default user for mysql_connect() (doesn't apply in safe mode).
mysqli.default_user =


; Default password for mysqli_connect() (doesn't apply in safe mode).
; Note that this is generally a *bad* idea to store passwords in this
file.
; *Any* user with PHP access can run 'echo
get_cfg_var("mysqli.default_pw")
; and reveal this password!  And of course, any users with read access
to this
; file will be able to reveal the password as well.
mysqli.default_pw =

; Allow or prevent reconnect
mysqli.reconnect = Off


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


make a symlink to a webpage?

2007-07-16 Thread Steve Franks

I know this is browser-specific, so let's just say firefox - how do I
make a link to a page that I can execute directly?   This is not the
type of thing that's easy to google for.  I tried copying some of the
".url" links from my win32 box and opening them with firefox, but that
was just wishful thinking...

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


Re: make a symlink to a webpage?

2007-07-16 Thread Schiz0

On 7/16/07, Steve Franks <[EMAIL PROTECTED]> wrote:

I know this is browser-specific, so let's just say firefox - how do I
make a link to a page that I can execute directly?   This is not the
type of thing that's easy to google for.  I tried copying some of the
".url" links from my win32 box and opening them with firefox, but that
was just wishful thinking...

Thanks,
Steve


I'm not sure if you can, to be honest. (Although I may be wrong).
Windows lets you do this because the .url extension is associated with
your browser through the windows registry. Hardly any other operating
systems have a registry type thing...(I don't even think mac has one).

What you could do is make a shell script that executes your browser
with a command line option with the URL. Check the docs for your
browser, almost every browser lets you do this. Like "firefox
-url=http://asdf.com"; or something.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


IMAP Sent Folder and Address Book Question

2007-07-16 Thread Sean Murphy
Does the IMAP protocol support storing the sent folder from thunderbird 
and the local addressbook on the IMAP server?  In case a computer 
fails?  I want to use dovecot or UW-IMAP instead of POP to protect my 
users data and wanted a clearer idea of what would be kept/protected on 
the  IMAP server.


Thanks 
___

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


IBM HDs vanish on warm-boot?

2007-07-16 Thread Roger Olofsson

Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason 
FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the 
WD is fine.


The motherboard is an old Aopen AX34 and all settings are default except 
for ACPI that's off.


The first thought that came to mind was that one of the IBMs are going 
bad, but, I find it very unlikely that both HDs are doing it. One is a 
120 and one is an 80gigger but both 'vanish' on warm-boot.


Some other setting in bios than ACPI?

Grateful for any answer,

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


Re: IMAP Sent Folder and Address Book Question

2007-07-16 Thread Chuck Swiger

On Jul 16, 2007, at 3:04 PM, Sean Murphy wrote:
Does the IMAP protocol support storing the sent folder from  
thunderbird and the local addressbook on the IMAP server?  In case  
a computer fails?  I want to use dovecot or UW-IMAP instead of POP  
to protect my users data and wanted a clearer idea of what would be  
kept/protected on the  IMAP server.


Sent folder, yes; address book, no.

--
-Chuck

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


Re: IBM HDs vanish on warm-boot?

2007-07-16 Thread Steve Franks

I just had this problem this week - drives are fine until you access
one and then disappears.

Checked my bios monitor page and 12V was only 11.8V.  Changing from a
300W to a 500W power supply magically fixed the problem...

I don't claim that this is necessarily your problem, but it caught me
off-guard and it's worth looking at.

Steve

On 7/16/07, Roger Olofsson <[EMAIL PROTECTED]> wrote:

Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason
FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the
WD is fine.

The motherboard is an old Aopen AX34 and all settings are default except
for ACPI that's off.

The first thought that came to mind was that one of the IBMs are going
bad, but, I find it very unlikely that both HDs are doing it. One is a
120 and one is an 80gigger but both 'vanish' on warm-boot.

Some other setting in bios than ACPI?

Grateful for any answer,

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




--
Steve Franks, KE7BTE
Staff Engineer
La Palma Devices, LLC
http://www.lapalmadevices.com
(520) 312-0089
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Script with periodic.conf

2007-07-16 Thread Olivier Regnier

Hi everoyone,

I have a script called 110.doc-update-csup to keep my documentation 
up-to-date and he works well. In this script, i have these following 
variables:

- weekly_doc_update_enable="YES"
- weekly_doc_update_country="us"
- weekly_doc_update_supfile="/usr/local/etc/cvsup/doc-supfile"
- weekly_doc_update_logdir="/var/log/sys-update.log"

I have the same variables in my periodic.conf file in /etc/ directory. 
If i move the file in /usr/local/etc/periodic/weekly/, cron execute the 
script two times but if he is in /etc/periodic/weekly/ there are not 
problems. What happened ? Do you give informations about this ?


Thank you for your help.

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


Re: IBM HDs vanish on warm-boot?

2007-07-16 Thread Derek Ragona

At 04:54 PM 7/16/2007, Roger Olofsson wrote:

Dear mailing list,

I have 2 IBM HDs and one WD HD (ata) in an old pc and for some reason FBSD 
6.2 can't find the IBMs on a warm-boot. Cold-boot is fine and, the WD is fine.


The motherboard is an old Aopen AX34 and all settings are default except 
for ACPI that's off.


The first thought that came to mind was that one of the IBMs are going 
bad, but, I find it very unlikely that both HDs are doing it. One is a 120 
and one is an 80gigger but both 'vanish' on warm-boot.


Some other setting in bios than ACPI?

Grateful for any answer,


IBM had some utilities for those drives which are now supported by 
fujitsu.  You should run the drive fitness utility.  Also there was a 
utility to set the drive firmware to spin down to make it quieter.  You may 
need to change that setting.


-Derek

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
MailScanner thanks transtec Computers for their support.

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


Re: make a symlink to a webpage?

2007-07-16 Thread jbarnet

Schiz0 wrote:

On 7/16/07, Steve Franks <[EMAIL PROTECTED]> wrote:

I know this is browser-specific, so let's just say firefox - how do I
make a link to a page that I can execute directly?   This is not the
type of thing that's easy to google for.  I tried copying some of the
".url" links from my win32 box and opening them with firefox, but that
was just wishful thinking...

Thanks,
Steve


I'm not sure if you can, to be honest. (Although I may be wrong).
Windows lets you do this because the .url extension is associated with
your browser through the windows registry. Hardly any other operating
systems have a registry type thing...(I don't even think mac has one).

What you could do is make a shell script that executes your browser
with a command line option with the URL. Check the docs for your
browser, almost every browser lets you do this. Like "firefox
-url=http://asdf.com"; or something.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to 
"[EMAIL PROTECTED]"



Probably depends on the desktop actually. If you have Gnome or KDE then 
you should be able to do this, since it is very basic functionality of 
any modern desktop.


I just looked at this in KDE: on your desktop, right click and goto 
'new' and then goto 'location [url]' - type in the info and hit 'ok'.
I don't have the Gnome installed, but bet that the functionality is 
there in one of the menus.










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


Re: make a symlink to a webpage?

2007-07-16 Thread Norberto Meijome
On Mon, 16 Jul 2007 17:17:53 -0400
Schiz0 <[EMAIL PROTECTED]> wrote:

> On 7/16/07, Steve Franks <[EMAIL PROTECTED]> wrote:
> > I know this is browser-specific, so let's just say firefox - how do I
> > make a link to a page that I can execute directly?   This is not the
> > type of thing that's easy to google for.  I tried copying some of the
> > ".url" links from my win32 box and opening them with firefox, but that
> > was just wishful thinking...
> >
> > Thanks,
> > Steve
> 
> I'm not sure if you can, to be honest. (Although I may be wrong).
> Windows lets you do this because the .url extension is associated with
> your browser through the windows registry

that's correct - *url is loaded by  iexplore "%1" , if i remember correctly.
The .url file is a simple .ini file with a different extension so it can be
mapped to a special application.

>. Hardly any other operating
> systems have a registry type thing...
> (I don't even think mac has one).

you don't need a 'system wide' registry... everything in current Microsoft OS
is so integrated with the shell ('win.com' in the old win16 days) that it feels
so seem-less.

Under a unix graphic environment like X, all you have to do is map the
extention to an application (more on this below) in your file manager of choice.
Rox lets you such thing, so does Thunar under XFCE,and I am 99.9% sure that
nautilus and kde's file browser would allow it too. OSX has it too (can't
test MacOS, but i'm sure you can click on an icon an have an application open
it - that is ALL there is to it)

Hardly rocket science or ground breaking stuff by MS..

If i understand it correctly, gconf exists to generate a registry type
system.
wine also has a u*x-based  registry equivalent.

> What you could do is make a shell script that executes your browser
> with a command line option with the URL. Check the docs for your
> browser, almost every browser lets you do this. Like "firefox
> -url=http://asdf.com"; or something.

exactly. actually, i had this old script from back when to extract URLs
from .url into a csv file :

--
#!/usr/bin/bash
export IFS=";"

find -name "*.url" -printf %p\; > myfavs.txt

for i in `cat myfavs.txt` ; do 
echo -n `basename $i .url` >>myfavs.csv
echo \|`grep ^URL= $i  | cut -d= -f2` >> myfavs.csv; done

---
it was run in win32 under cygwin. it'd be trivial to change it so that your
file manager passes the .url filename to the script, the script greps the URL
from it and calls firefox with -url as Schiz says.

B

_
{Beto|Norberto|Numard} Meijome

Mind over matter: if you don't mind, it doesn't matter

I speak for myself, not my employer. Contents may be hot. Slippery when wet.
Reading disclaimers makes you go blind. Writing them is worse. You have been
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


[PMX:VIRUS] Returned mail: Data format error

2007-07-16 Thread connectionists-owner
You are not allowed to post to this mailing list, and your message has
been automatically rejected.  If you think that your messages are
being rejected in error, contact the mailing list owner at
[EMAIL PROTECTED]

--- Begin Message ---
The original message was received at Mon, 16 Jul 2007 18:48:07 -0500 from 
freebsd.org [174.119.146.235]

- The following addresses had permanent fatal errors -
[EMAIL PROTECTED]



The original content of this message part has been replaced
by this text because it tested positive for the following
virus(es):

W32/MyDoom-O, W32/MyDoom-O

The original message has been quarantined pending further
action by the mail administrator.  For further information
about the message and its delivery status, please contact
the undersigned, and include the full content of this
message.  The identifier for this message is
'l6GNlQuW022073'.

This notification is being sent to you and any other
original envelope recipient(s).   To avoid creating a
nuisance and to keep mail traffic under control, the
original sender  of the message has NOT been notified.
However, you may want to notify the sender at your
discretion.


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

Re: IMAP Sent Folder and Address Book Question

2007-07-16 Thread Jeffrey Goldberg


On Jul 16, 2007, at 5:20 PM, Chuck Swiger wrote:


On Jul 16, 2007, at 3:04 PM, Sean Murphy wrote:
Does the IMAP protocol support storing the sent folder from  
thunderbird and the local addressbook on the IMAP server?  In case  
a computer fails?  I want to use dovecot or UW-IMAP instead of POP  
to protect my users data and wanted a clearer idea of what would  
be kept/protected on the  IMAP server.


Sent folder, yes; address book, no.


Sent folder, yes.  address book, maybe.

I know that pine with UW-IMAP does allow address book stored on the  
IMAP server.


I don't know to what extent this is actually described in the IMAP  
protocol itself.


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


add route failed for ppp

2007-07-16 Thread Michael P. Soulier
Hi,

I'm on an ADSL connection at home, and ppp in BSD is working great. But, I get
this in the logs. 

Jul 16 17:34:54 kanga ppp[79728]: Phase: Pap Input: SUCCESS ()
Jul 16 17:34:54 kanga ppp[79728]: Phase: deflink: lcp -> open
Jul 16 17:34:54 kanga ppp[79728]: Phase: bundle: Network
Jul 16 17:34:54 kanga ppp[79728]: Warning: Add! route failed: 0.0.0.0/0:
errno: Network is unreachable

Now, everything is working fine, but I'm wondering why ppp is complaining
about not being able to set up the route. 

Thanks,
Mike
-- 
Michael P. Soulier <[EMAIL PROTECTED]>
"Any intelligent fool can make things bigger and more complex... It
takes a touch of genius - and a lot of courage to move in the opposite
direction." --Albert Einstein


pgpH5FtceLF0J.pgp
Description: PGP signature


Re: IBM HDs vanish on warm-boot?

2007-07-16 Thread Norberto Meijome
On Mon, 16 Jul 2007 23:54:19 +0200
Roger Olofsson <[EMAIL PROTECTED]> wrote:

> The first thought that came to mind was that one of the IBMs are going 
> bad, but, I find it very unlikely that both HDs are doing it. One is a 
> 120 and one is an 80gigger but both 'vanish' on warm-boot.

are they both attached to the same IDE Channel? could it (IDE channel) be 
dying? 

_
{Beto|Norberto|Numard} Meijome

I sense much NT in you.
NT leads to Bluescreen.
Bluescreen leads to downtime.
Downtime leads to suffering.
NT is the path to the darkside.
Powerful Unix is.

I speak for myself, not my employer. Contents may be hot. Slippery when wet. 
Reading disclaimers makes you go blind. Writing them is worse. You have been 
Warned.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


6.2-RELEASE-p6 panic on boot

2007-07-16 Thread CyberLeo Kitsana
Hi!

A machine of mine is panicking during cold boot on FreeBSD
6.2-RELEASE-p6. No kernel dump is available, as the panic occurs so early.

My machine is an Athlon XP 2000+ on an ECS K7S5A-Pro (SIS735 chipset)
with 1GB PC3200 RAM.

The root filesystem is a mirror on a 3Ware Escalade 8006-2LP SATA
hardware RAID card.

The panic only occurs when the machine is cold-booted (not on reboot)
when acpi.ko is loaded.

http://home.cyberleo.net/cyberleo/workspace/Zip/Bugs/fbsd-20070716-panic/boot-dump.log

Any ideas what I can do to debug or correct this issue, or of a more
appropriate group with which to communicate?

Thanks!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<[EMAIL PROTECTED]>

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


RE: 6.2-RELEASE-p6 panic on boot

2007-07-16 Thread Tamouh H.
> 
> Hi!
> 
> A machine of mine is panicking during cold boot on FreeBSD 
> 6.2-RELEASE-p6. No kernel dump is available, as the panic 
> occurs so early.
> 
> My machine is an Athlon XP 2000+ on an ECS K7S5A-Pro (SIS735 
> chipset) with 1GB PC3200 RAM.
> 
> The root filesystem is a mirror on a 3Ware Escalade 8006-2LP 
> SATA hardware RAID card.
> 
> The panic only occurs when the machine is cold-booted (not on 
> reboot) when acpi.ko is loaded.
> 
> http://home.cyberleo.net/cyberleo/workspace/Zip/Bugs/fbsd-2007
> 0716-panic/boot-dump.log
> 
> Any ideas what I can do to debug or correct this issue, or of 
> a more appropriate group with which to communicate?
> 
> Thanks!
> 

The first thing I'd try is boot direct to the drive, without the RAID card. It 
seems from the dump it paniced after loading the 3ware drivers:

"RocketRAID 232x controller driver v1.02 (Jul 16 2007 17:38:56)
panic: pmap_mapdev: Couldn't alloc kernel virtual memory
cpuid = 0
KDB: enter: panic
[thread pid 0 tid 0 ]
Stopped at  kdb_enter+0x2b"

This would especially be true if the RAID Array is degraded or failed. But try 
it with the drives directly connected to the board.

Tamouh


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


Re: IBM HDs vanish on warm-boot?

2007-07-16 Thread Kent Stewart
On Monday 16 July 2007, Steve Franks wrote:
> I just had this problem this week - drives are fine until you access
> one and then disappears.
>
> Checked my bios monitor page and 12V was only 11.8V.  Changing from a
> 300W to a 500W power supply magically fixed the problem...
>
> I don't claim that this is necessarily your problem, but it caught me
> off-guard and it's worth looking at.

I just finished rebuilding a system that went down on Saturday 
afternoon. It ended up being the power supply. Early on, I probably 
could have just replaced the ps but after a number of fsck's, followed 
by panics, there were files that were linked and etc. and the system 
wouldn't boot into single user mode. A rebuild using a brand new HD 
seemed the logical way out. I could mount the old disk and cp important 
directories or individual files onto the new HD.

It turned out that / was the only one trashed but backup files 
of /etc , /home/user's, and all of the port tarballs were ok. 

Kent
>
> Steve
>
> On 7/16/07, Roger Olofsson <[EMAIL PROTECTED]> wrote:
> > Dear mailing list,
> >
> > I have 2 IBM HDs and one WD HD (ata) in an old pc and for some
> > reason FBSD 6.2 can't find the IBMs on a warm-boot. Cold-boot is
> > fine and, the WD is fine.
> >
> > The motherboard is an old Aopen AX34 and all settings are default
> > except for ACPI that's off.
> >
> > The first thought that came to mind was that one of the IBMs are
> > going bad, but, I find it very unlikely that both HDs are doing it.
> > One is a 120 and one is an 80gigger but both 'vanish' on warm-boot.
> >
> > Some other setting in bios than ACPI?
> >
> > Grateful for any answer,
> >
> > /Roger
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "[EMAIL PROTECTED]"



-- 
Kent Stewart
Richland, WA

http://www.soyandina.com/ "I am Andean project".
http://users.owt.com/kstewart/index.html
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


proftpd vs PAM authentication

2007-07-16 Thread Hartleigh Burton

Hi everyone,

I am relatively new to FreeBSD and have what I hope is a simple  
question regarding proftpd and PAM authentication.


I have just installed proftpd via the available port, and after  
installation a message was returned saying:


###
Make sure you have the following lines in your PAM configuration file
so that ProFTPd's PAM module can authenticate users correctly.

ftpd authrequiredpam_unix.so try_first_pass
ftpd account requiredpam_unix.so try_first_pass
ftpd session requiredpam_permit.so
###

After reading into this I am confused as to where exactly I should be  
entering this information. According to the proftpd README file, in  
FreeBSD it likes to get this information from /etc/pam.conf, whereas  
LINUX looks in /etc/pam.d/ftp, and what topped it off for me is the / 
etc/pam.d/ftpd file.


Where is the best place to have this configuration information; is it  
required considering there is already lines in /etc/pam.d/ftp; if  
required should I overwrite /etc/pam.d/ftp or append to the beginning/ 
end of the file?


I hope there is enough information here for someone to help. Any help  
provided is greatly appreciated in advance ;)





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


Re: 6.2-RELEASE-p6 panic on boot

2007-07-16 Thread CyberLeo Kitsana
Tamouh H. wrote:
> The first thing I'd try is boot direct to the drive, without the RAID card. 
> It seems from the dump it paniced after loading the 3ware drivers:
> 
> "RocketRAID 232x controller driver v1.02 (Jul 16 2007 17:38:56)
> panic: pmap_mapdev: Couldn't alloc kernel virtual memory
> cpuid = 0
> KDB: enter: panic
> [thread pid 0 tid 0 ]
> Stopped at  kdb_enter+0x2b"
> 
> This would especially be true if the RAID Array is degraded or failed. But 
> try it with the drives directly connected to the board.
> 
> Tamouh

Good idea.

Unfortunately, the drives are SATA, and the board only natively supports
PATA. The RAID card is the only SATA card I have, as well.

The machine has had no problems booting 6.2-RELEASE in the past, off
other installs, however.

Thanks!

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<[EMAIL PROTECTED]>

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


mount -awf, but fsck -y still says "no write"

2007-07-16 Thread Steve Franks

I really don't feel like reinstalling tonite.  I had a bad powersupply
and crashed.  Starts up in single user of course, because /var is
fubared.  In the past a mount -awf then an fsck -y did the trick, but
now I get NO WRITE in big letters as the first output from fsck, and
it never fixes anything.  I tried of course, and I very well can write
to /var, so fsck is confused.  Other than wiping it, do I have any
options?  fsck does not have a 'force write' option that I can see.
Did I forget some crucial step?  It's just a plain old ufs2 drive on
the motherboard pata.

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


Re: mount -awf, but fsck -y still says "no write"

2007-07-16 Thread [EMAIL PROTECTED]

On 16/07/07, Steve Franks <[EMAIL PROTECTED]> wrote:

I really don't feel like reinstalling tonite.  I had a bad powersupply
and crashed.  Starts up in single user of course, because /var is
fubared.  In the past a mount -awf then an fsck -y did the trick, but
now I get NO WRITE in big letters as the first output from fsck, and
it never fixes anything.  I tried of course, and I very well can write
to /var, so fsck is confused.  Other than wiping it, do I have any
options?  fsck does not have a 'force write' option that I can see.
Did I forget some crucial step?  It's just a plain old ufs2 drive on
the motherboard pata.


Don't mount before fsck.

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


Re: Script with periodic.conf

2007-07-16 Thread [EMAIL PROTECTED]

On 16/07/07, Olivier Regnier <[EMAIL PROTECTED]> wrote:

Hi everoyone,

I have a script called 110.doc-update-csup to keep my documentation
up-to-date and he works well. In this script, i have these following
variables:
- weekly_doc_update_enable="YES"
- weekly_doc_update_country="us"
- weekly_doc_update_supfile="/usr/local/etc/cvsup/doc-supfile"
- weekly_doc_update_logdir="/var/log/sys-update.log"

I have the same variables in my periodic.conf file in /etc/ directory.
If i move the file in /usr/local/etc/periodic/weekly/, cron execute the
script two times but if he is in /etc/periodic/weekly/ there are not
problems. What happened ? Do you give informations about this ?




Put the line:
local_periodic="/usr/local/etc/periodic"
in your /etc/periodic.conf or delete the
"/usr/X11R6/etc/periodic" from the line:
local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic"
in your /etc/defaults/periodic.conf

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


Re: proftpd vs PAM authentication

2007-07-16 Thread Beech Rintoul
On Monday 16 July 2007, Hartleigh Burton said:
> Hi everyone,
>
> I am relatively new to FreeBSD and have what I hope is a simple
> question regarding proftpd and PAM authentication.
>
> I have just installed proftpd via the available port, and after
> installation a message was returned saying:
>
> ###
> Make sure you have the following lines in your PAM configuration
> file so that ProFTPd's PAM module can authenticate users correctly.
>
> ftpd authrequiredpam_unix.so try_first_pass
> ftpd account requiredpam_unix.so try_first_pass
> ftpd session requiredpam_permit.so
> ###
>
> After reading into this I am confused as to where exactly I should
> be entering this information. According to the proftpd README file,
> in FreeBSD it likes to get this information from /etc/pam.conf,
> whereas LINUX looks in /etc/pam.d/ftp, and what topped it off for
> me is the / etc/pam.d/ftpd file.
>
> Where is the best place to have this configuration information; is
> it required considering there is already lines in /etc/pam.d/ftp;
> if required should I overwrite /etc/pam.d/ftp or append to the
> beginning/ end of the file?
>
> I hope there is enough information here for someone to help. Any
> help provided is greatly appreciated in advance ;)
>

Actually that isn't required anymore and is a holdover from earlier 
versions. The pam configuration for ftpd is in /etc/pam.d/ftpd and 
already contains the required entries. I should probably just remove 
it to avoid confusion.

Beech - Proftpd Maintainer

-- 
---
Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
---



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


bad network performance on 6.2-stable

2007-07-16 Thread Kirill Timofeev

Folks,

I have old PC (P1 75MHz, 64Mb RAM, xl and fxp network interface, internet
connection via pppoe), which was loaded with 4.11-STABLE and served as
internet gateway plus hold samba and squid. I decided to turn it into
wireless access point and upgraded it to 6.2-STABLE. Samba speed dropped
from 2mb/s to 900kb/s. I tryed GENERIC and custom kernels, tryed to play
with polling, but there was no speed increase. I tryed to install
netbsd 3.1on the same hardware and got 2mb/s again, but I would prefer
to stay with
freebsd. Could you please tell me what options should I try to increase
network performance? Please let me know if I should supply more information
about my setup.

Thanks in advance for your help.
Kirill.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: proftpd vs PAM authentication

2007-07-16 Thread Hartleigh Burton

Thanks for the prompt reply Beech.




Regards,
Hartleigh.


On 17/07/2007, at 1:41 PM, Beech Rintoul wrote:


On Monday 16 July 2007, Hartleigh Burton said:

Hi everyone,

I am relatively new to FreeBSD and have what I hope is a simple
question regarding proftpd and PAM authentication.

I have just installed proftpd via the available port, and after
installation a message was returned saying:

###
Make sure you have the following lines in your PAM configuration
file so that ProFTPd's PAM module can authenticate users correctly.

ftpd authrequiredpam_unix.so try_first_pass
ftpd account requiredpam_unix.so try_first_pass
ftpd session requiredpam_permit.so
###

After reading into this I am confused as to where exactly I should
be entering this information. According to the proftpd README file,
in FreeBSD it likes to get this information from /etc/pam.conf,
whereas LINUX looks in /etc/pam.d/ftp, and what topped it off for
me is the / etc/pam.d/ftpd file.

Where is the best place to have this configuration information; is
it required considering there is already lines in /etc/pam.d/ftp;
if required should I overwrite /etc/pam.d/ftp or append to the
beginning/ end of the file?

I hope there is enough information here for someone to help. Any
help provided is greatly appreciated in advance ;)



Actually that isn't required anymore and is a holdover from earlier
versions. The pam configuration for ftpd is in /etc/pam.d/ftpd and
already contains the required entries. I should probably just remove
it to avoid confusion.

Beech - Proftpd Maintainer

--  
-- 
-

Beech Rintoul - FreeBSD Developer - [EMAIL PROTECTED]
/"\   ASCII Ribbon Campaign  | FreeBSD Since 4.x
\ / - NO HTML/RTF in e-mail   | http://www.freebsd.org
 X  - NO Word docs in e-mail | Latest Release:
/ \  - http://www.FreeBSD.org/releases/6.2R/announce.html
-- 
-




___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions- 
[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: kdm/startkde problem after upgrade

2007-07-16 Thread Andriy Babiy
> > $ uname -a
> > FreeBSD ABC.DEF.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Wed Jul 11
> > 06:07:39 PDT 2007 root@:/usr/obj/usr/src/sys/AMD64  amd64
> >
> > kdm is configured as a login manager in /etc/ttys.
> >
> > After upgrade to KDE 3.5.7 and X server 7.2 (that was time consuming,
> > but no errors) I receive an error message on startup:
> > Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server
> > "/usr/X11R6/bin/X" cannot be executed
> > Jul 16 00:13:10 FreeBSD-amd64 kdm-bin[789]: X server for display :0
> > can't be started, session disabled
> >
> > When I logged in, startkde brings another error message:
> > xsetroot:  unable to open display ''
> > Warning: kbuildsycoca is unable to register with DCOP.
> > kbuildsycoca running...
> > kdeinit: Aborting. $DISPLAY is not set.
> > There was an error setting up inter-process communications for KDE.
> > The message returned by the system was:
> >
> > Could not read network connection list.
> > /home/andrey/.DCOPserver_FreeBSD-amd64.kde.com_NODISPLAY
> >
> > Please check that the "dcopserver" program is running!
> > Reusing existing ksycoca
> > kbuildsycoca: WARNING: '/usr/local/share/applications/kde/ark.desktop'
> > specifies undefined mimetype/servicetype 'application/x-tbz2'
> > <...>
> > A lot of messages of the same nature about undefined
> > mimetype/servicetype. <...>
> > xset:  unable to open display ""
> > xset:  unable to open display ""
> > xsetroot:  unable to open display ''
> > startkde: Starting up...
> > ksplash: cannot connect to X server
> > xprop:  unable to open display ''
> > kdeinit: Aborting. $DISPLAY is not set.
> > Warning: connect() failed: : No such file or directory
> > ksmserver: cannot connect to X server
> > ERROR: Couldn't attach to DCOP server!
> > startkde: Shutting down...
> > Warning: connect() failed: : No such file or directory
> > Error: Can't contact kdeinit!
> > startkde: Running shutdown scripts...
> >
> > Interesting, when I issue startx, KDE is up and running.
> > I ran X -configure, and then X -config /root/xorg.conf.new as root; X
> > server starts properly, so I copied new config to /etc/X11. I assume
> > my problem is KDE related. Errors are about DCOP server, as I can see.
> > Could anyone help me fix this problem? Thank you in advance!
>
> # ls -lF /usr/X11R6
> lrwxr-xr-x  1 root  wheel  10 Jun 18 08:29 /usr/X11R6@ -> /usr/local
>
> If yours does not look like that, then you forgot to merge /usr/X11R6
> into /usr/local, which by the looks of the first message (Jul 16
> 00:13:10 FreeBSD-amd64 kdm-bin[792]: X server "/usr/X11R6/bin/X" cannot
> be executed) is exactly what has happened. As of Xorg 7, X11BASE is now
> /usr/local rather than /usr/X11R6, so the Xorg servers will not be at
> /usr/X11R6/bin. Read the Xorg 7.2 entry in /usr/ports/UPDATING.
> Specifically, there is a tool (mergebase.sh) included to make the merge
> step extremely easy.

Yes. Sure. Thank you. Perhaps I was too sleepy. My fault. Everything is OK.
Andriy
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: 6.2-release-p5, Dell PE1435, custom kernel fails generic works

2007-07-16 Thread [EMAIL PROTECTED]

On 16/07/07, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:

[take 2]

Hi All,

I understand kernel compiles pretty well, but I guess I'm having a hard
time nailing down my hardware even though I "know" what it is.

It panics when trying to mount the root device.  Its something to do
with the scsi/raid kernel config.



Wow, that ELEKTRA config is a serious mess to read . . .
might try adding:
device ataraid

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


Re: 6.2-release-p5, Dell PE1435, custom kernel fails generic works

2007-07-16 Thread [EMAIL PROTECTED]

On 17/07/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:

On 16/07/07, Philip M. Gollucci <[EMAIL PROTECTED]> wrote:
> [take 2]
>
> Hi All,
>
> I understand kernel compiles pretty well, but I guess I'm having a hard
> time nailing down my hardware even though I "know" what it is.
>
> It panics when trying to mount the root device.  Its something to do
> with the scsi/raid kernel config.
>

Wow, that ELEKTRA config is a serious mess to read . . .
might try adding:
device ataraid



I just noticed that GENERIC for amd64 does not have isa
and does have acpi, which neither of your custom configs
adhere to.

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


Re: PHP5/MySQL Problem

2007-07-16 Thread L Goodwin
Please ignore if this problem has already been solved.

--- Joseph Mays <[EMAIL PROTECTED]> wrote:

> Been dealing with a very frustrating couple of days,
> and have hit a wall. I 
> had a working gallery2 installation, then upgraded
> mysqli, and  all hell 
> broke loose.
> 
> When I try to open a page (in this case gallery2)
> that connects to the 
> database. It always says "Too many open links". The
> thing is, it even says 
> that if mysqld is not running.
> 
> I'm running under freebsd 6.1.
> 
> You can examine my server setup at
> http://geekfleet.tai-gear.com/server-info
> 
> You can examine the php setup at
> http://geekfleet.tai-gear.com/phpinfo.php
> 
> The problem I'm having now is that php5 won't
> connect to the mysql server. 
> It's not a gallery thing, I've confirmed that I have
> the exact same problem 
> with a simple script to just connect to the mysql
> server and read the 
> database. And, in fact, the exact same error occurs
> if mysqld is not running 
> at all. Apache shows --
> 
> [Mon Jul 16 02:07:10 2007] [error] [client
> 66.249.66.10] PHP Warning:
> mysql_connect() [
href='function.mysql-connect'>function.mysql-connect]:
> Too many
> open links (0) in
>
/usr/local/www/apache22/data/gallery2/lib/adodb/drivers/adodb-mysql.in
> c.php on line 366

Note that it says 0 open links is too many.
Note also that the file error was reported in is
"adodb-mysql.inc.php". I haven't used ado to connect
to MySQL but perhaps it does not get the limit from
the mysql.max_persistent setting in the MySQL section
of php.ini. Check line 366 in adodb-mysql.inc.php and
look for a call to "get_ini(" and see what variable it
is specifying (or perhaps it's a hardcoded value?).

> 
> 
> Here is the info in php.ini --
> 
> [MySQL]
> ; Allow or prevent persistent links.
> mysql.allow_persistent = Off
> 
> ; Maximum number of persistent links.  -1 means no
> limit.
> mysql.max_persistent = -1
> 
> ; Maximum number of links (persistent +
> non-persistent).  -1 means no
> limit.
> mysql.max_links = -1
> 
> ; Default port number for mysql_connect().  If
> unset, mysql_connect()
> will use
> ; the $MYSQL_TCP_PORT or the mysql-tcp entry in
> /etc/services or the
> ; compile-time value defined MYSQL_PORT (in that
> order).  Win32 will
> only look
> ; at MYSQL_PORT.
> mysql.default_port =
> 
> ; Default socket name for local MySQL connects.  If
> empty, uses the
> built-in
> ; MySQL defaults.
> mysql.default_socket =
> 
> ; Default host for mysql_connect() (doesn't apply in
> safe mode).
> mysql.default_host =
> 
> ; Default user for mysql_connect() (doesn't apply in
> safe mode).
> mysql.default_user =
> 
> ; Default password for mysql_connect() (doesn't
> apply in safe mode).
> ; Note that this is generally a *bad* idea to store
> passwords in this
> file.
> ; *Any* user with PHP access can run 'echo
> get_cfg_var("mysql.default_password")
> ; and reveal this password!  And of course, any
> users with read access
> to this
> ; file will be able to reveal the password as well.
> mysql.default_password =
> 
> ; Maximum time (in secondes) for connect timeout. -1
> means no limit
> mysql.connect_timeout = 60
> 
> ; Trace mode. When trace_mode is active (=On),
> warnings for
> table/index scans an
> d
> ; SQL-Errors will be displayed.
> mysql.trace_mode = Off
> 
> [MySQLi]
> 
> ; Maximum number of links.  -1 means no limit.
> mysqli.max_links = -1
> 
> ; Default port number for mysqli_connect().  If
> unset,
> mysqli_connect() will use
> ; the $MYSQL_TCP_PORT or the mysql-tcp entry in
> /etc/services or the
> ; compile-time value defined MYSQL_PORT (in that
> order).  Win32 will
> only look
> ; at MYSQL_PORT.
> mysqli.default_port = 3306
> 
> ; Default socket name for local MySQL connects.  If
> empty, uses the
> built-in
> ; MySQL defaults.
> mysqli.default_socket =
> 
> ; Default host for mysql_connect() (doesn't apply in
> safe mode).
> mysqli.default_host =
> 
> ; Default user for mysql_connect() (doesn't apply in
> safe mode).
> mysqli.default_user =
> 
> 
> ; Default password for mysqli_connect() (doesn't
> apply in safe mode).
> ; Note that this is generally a *bad* idea to store
> passwords in this
> file.
> ; *Any* user with PHP access can run 'echo
> get_cfg_var("mysqli.default_pw")
> ; and reveal this password!  And of course, any
> users with read access
> to this
> ; file will be able to reveal the password as well.
> mysqli.default_pw =
> 
> ; Allow or prevent reconnect
> mysqli.reconnect = Off
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
>
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "[EMAIL PROTECTED]"
> 



   

Moody friends. Drama queens. Your life? Nope! - their life, your story. Play 
Sims Stories at Yahoo! Games.
http://sims.yahoo.com/  
___
freebsd-questions@free

Re: Promise RAID / ata problem

2007-07-16 Thread CyberLeo Kitsana
Derek Holden wrote:
> Greetings,
> 
> I have a Promise Fasttrak TX4200 running a single mirrored array under 5.5.
> Everything's been great for nearly a year until a recent reboot.  It
> appears
> that the two disk mirrored array is coming up as two arrays with a single
> disk attached:
> 
> Before:
> 
> kernel: acd0: CDRW  at ata1-slave UDMA33
> kernel: ad6: 305245MB  at ata3-master SATA150
> kernel: ad10: 305245MB  at ata5-master SATA150
> kernel: ar0: 305175MB  status: READY
> kernel: ar0: disk0 READY (master) using ad10 at ata5-master
> kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master
> 
> After:
> 
> kernel: acd0: CDRW  at ata1-slave UDMA33
> kernel: ad6: 305245MB  at ata3-master SATA150
> kernel: ad10: 305245MB  at ata5-master SATA150
> kernel: ar0: disk0 DOWN no device found for this subdisk
> kernel: ar0: disk1 READY (mirror) using ad6 at ata3-master
> kernel: ar1: 305175MB  status: DEGRADED
> kernel: ar1: disk0 READY (master) using ad10 at ata5-master
> kernel: ar1: disk1 DOWN no device found for this subdisk
> 
> # atacontrol status ar0
> ar0: ATA RAID1 subdisks: DOWN ad6 status: DEGRADED
> 
> # atacontrol status ar1
> ar1: ATA RAID1 subdisks: ad10 DOWN status: DEGRADED
> 
> Nothing's was changed on the machine.  I'm looking for any ideas on the
> best
> way to re-establish the single mirrored array.  Thanks a lot,

It's possible that a few bits that the promise controller uses to
identify the members of an array got flipped on one of the drives, thus
turning a two-disk array into two two-disk arrays with missing partners.
The fact that one array is missing its first disk while the other is
missing its second seems to hint towards this.

As it appears to be a mirror, you could try mounting both read-only in
two separate directories and diffing their contents, then backing up the
most recent-looking copy (just in case) and using the promise bios to
destroy the mirage array and re-add the new spare disk to the original
array.

-- 
Fuzzy love,
-CyberLeo
Technical Administrator
CyberLeo.Net Webhosting
http://www.CyberLeo.Net
<[EMAIL PROTECTED]>

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


bonnie++ aborts on NFS volume

2007-07-16 Thread Nico -telmich- Schottelius
Hello!

I am trying to do some NFS-benchmarking (to test whether we can use a
mail server storage on a NFS-volume) with bonnie++. But it aborts,
when it tries to delete the contents of the directory.

Manual deletion is no problem.

Anyone an idea why it aborts and how to fix?

Full log can be found at
http://home.schottelius.org/~nico/unix/freebsd/bonnie%2b%2b-fbsd-6.2-linux-nfsd

Sincerly

Nico

-- 
Think about Free and Open Source Software (FOSS).
http://nico.schottelius.org/documentations/foss/the-term-foss/

PGP: BFE4 C736 ABE5 406F 8F42  F7CF B8BE F92A 9885 188C


signature.asc
Description: Digital signature


Re: Script with periodic.conf

2007-07-16 Thread Olivier Regnier

[EMAIL PROTECTED] a écrit :

On 16/07/07, Olivier Regnier <[EMAIL PROTECTED]> wrote:

Hi everoyone,

I have a script called 110.doc-update-csup to keep my documentation
up-to-date and he works well. In this script, i have these following
variables:
- weekly_doc_update_enable="YES"
- weekly_doc_update_country="us"
- weekly_doc_update_supfile="/usr/local/etc/cvsup/doc-supfile"
- weekly_doc_update_logdir="/var/log/sys-update.log"

I have the same variables in my periodic.conf file in /etc/ directory.
If i move the file in /usr/local/etc/periodic/weekly/, cron execute the
script two times but if he is in /etc/periodic/weekly/ there are not
problems. What happened ? Do you give informations about this ?




Put the line:
local_periodic="/usr/local/etc/periodic"
in your /etc/periodic.conf or delete the
"/usr/X11R6/etc/periodic" from the line:
local_periodic="/usr/local/etc/periodic /usr/X11R6/etc/periodic"
in your /etc/defaults/periodic.conf


Hi, thank you very much, it's perfect. Bye :)
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: bonnie++ aborts on NFS volume

2007-07-16 Thread Heiko Wundram (Beenic)
On Tuesday 17 July 2007 08:09:48 Nico -telmich- Schottelius wrote:
> Anyone an idea why it aborts and how to fix?

An idea why it aborts _could_ be the fact that the Linux (kernel) NFS-server 
(there's also a userland NFS server, but that's not widely used, so I presume 
this isn't the case for you) doesn't unlink files that are unlinked from 
remote immediately, but moves them to a temporary (.nfs) name before 
finally truly unlinking them in case the file is still referenced by some NFS 
handle (i.e., opened at the remote end), thus causing the directory to not be 
empty, even though all files in it have actually been unlinked from the 
remote end.

I don't know whether some performance/caching issues cause this, but as the 
temporary (seemingly) disappeared when bonnie++ was closed (and thus all file 
descriptors of bonnie among with any cache the OS kept freed), I'd guess in 
this direction.

Again, this is just a wild guess, and I've never had problems running bonnie++ 
on a Linux Kernel-NFS-server exported filesystem, but from Linux NFS-clients, 
that is, which might (or rather, will probably) behave differently.

-- 
Heiko Wundram
Product & Application Development
-
Office Germany - EXPO PARK HANNOVER
 
Beenic Networks GmbH
Mailänder Straße 2
30539 Hannover
 
Fon+49 511 / 590 935 - 15
Fax+49 511 / 590 935 - 29
Mail   [EMAIL PROTECTED]


Beenic Networks GmbH
-
Sitz der Gesellschaft: Hannover
Geschäftsführer: Jorge Delgado
Registernummer: HRB 61869
Registergericht: Amtsgericht Hannover
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"