Re: file needed for XFree86

2004-03-31 Thread rfa
> [EMAIL PROTECTED] wrote:
>
>>Im trying to install XFree86 on my i386 FreeBSD 5.2.1 box but there is
an error:
>>
>>cc -o xditview -O -pipe -ansi -Dasm=__asm -Wno-system-headers -Wall
-Wpointer-arith -Wundef
>>-L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib   xditview.o
Dvi.o draw.o font.o lex.o page.o parse.oXFontName.o
DviChar.o `pkg-config xft --libs` -lXaw -lXmu -lXt -lSM -lICE -lXpm
-lXext -lX11 -L/usr/X11R6/lib  -lm   -Wl,-rpath,/usr/X11R6/lib
>>/usr/bin/ld: warning: libexpat.so.4, needed by
>>/usr/X11R6/lib/libfontconfig.so, not found (try using -rpath or
>>-rpath-link)
>>/usr/X11R6/lib/libfontconfig.so: undefined reference to
>>`XML_SetElementHandler'
>>/usr/X11R6/lib/libfontconfig.so: undefined reference to
>>`XML_SetDoctypeDeclHandler'
>>/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserFree'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
>>`XML_SetCharacterDataHandler'
>>/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_ErrorString' /usr/X11R6/lib/libfontconfig.so: undefined reference
to `XML_ParseBuffer' /usr/X11R6/lib/libfontconfig.so: undefined
reference to
>> `XML_ParserCreate'
>>/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetUserData' /usr/X11R6/lib/libfontconfig.so: undefined reference
to
>> `XML_GetErrorCode'
>>/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
>>`XML_GetCurrentLineNumber'
>>*** Error code 1
>>
>>Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/xditview. ***
Error code 1
>>
>>Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
>>*** Error code 1
>>
>>Stop in /usr/ports/x11/XFree86-4-clients.
>>*** Error code 1
>>
>>Stop in /usr/ports/x11/XFree86-4.
>>
>>
>>I assume that libexpat.so.4 is the problem so i did a
>>
>>#locate libexpat.so.4
>>
>>and the file exists, in
>>
>>/usr/local/lib/libexpat.so.4
>>
>>What could be wrong?  The previous statement used for compiling was:
>>
>>#cd /usr/ports/x11/XFree86-4 && make all install clean
>>
>>Right before doing this i did a cvsup and portupgrade.
>>
>>Any advice?
>>
>>Thanx in advance,
>>
>>Rommel
>>
>>
>
> Was expat upgraded?  See /usr/ports/UPDATING.
>
> HTH,
>
> Kevin Kinsey
>

Yup, it was upgraded.  The port looks for the lower version should i
downgrade? That sounds kind of absurd...

Thanks,

Rommel




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


file needed for XFree86

2004-03-31 Thread rfa
Im trying to install XFree86 on my i386 FreeBSD 5.2.1 box but there is an
error:

cc -o xditview -O -pipe -ansi -Dasm=__asm -Wno-system-headers -Wall
-Wpointer-arith -Wundef
-L/usr/ports/x11/XFree86-4-clients/work/xc/exports/lib   xditview.o Dvi.o
draw.o font.o lex.o page.o parse.oXFontName.o DviChar.o
`pkg-config xft --libs` -lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
-L/usr/X11R6/lib  -lm   -Wl,-rpath,/usr/X11R6/lib
/usr/bin/ld: warning: libexpat.so.4, needed by
/usr/X11R6/lib/libfontconfig.so, not found (try using -rpath or
-rpath-link)
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetElementHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetDoctypeDeclHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserFree'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_SetCharacterDataHandler'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ErrorString'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParseBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_ParserCreate'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_SetUserData'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetErrorCode'
/usr/X11R6/lib/libfontconfig.so: undefined reference to `XML_GetBuffer'
/usr/X11R6/lib/libfontconfig.so: undefined reference to
`XML_GetCurrentLineNumber'
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs/xditview.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients/work/xc/programs.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4-clients.
*** Error code 1

Stop in /usr/ports/x11/XFree86-4.


I assume that libexpat.so.4 is the problem so i did a

#locate libexpat.so.4

and the file exists, in

/usr/local/lib/libexpat.so.4

What could be wrong?  The previous statement used for compiling was:

#cd /usr/ports/x11/XFree86-4 && make all install clean

Right before doing this i did a cvsup and portupgrade.

Any advice?

Thanx in advance,

Rommel





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


Re: log off with process running

2004-03-30 Thread rfa
>>nohup is a possible solution; check its man page.
>>
>>Example:
>>
>>$ nohup wget http://server/big.iso &
>>
>>On Fri, 2004-03-26 at 05:22, Robert Storey wrote:
>>
>>>I want to log off and hang up the modem. The question is, how to do so?
>>> With the above process running, I can't even get back to the command
line to type "exit"
>>>(and wouldn't typing "exit" kill any process I'm running?). Ditto if I
>>> hit ctrl-c. I suppose I could just hang up the modem, but that's not
>>> elegant.
>

> Screen, nohup, etc; all great answers.
>
> Just for curiosity's sake, isn't standard redirection
> the first thing to think of?
>
> #cvsup /ports-via-modem.sup > /root/cvsuplog &
>
> Wanna get it back?
>
> #jobs
> [1]  + Running   cvsup /ports-via-modem.sup >
> /root/cvsuplog
>
> Wanna keep it in the bg, but check its current status?
>
> $tail -f  /myhome/cvsuplog
>
> Willing to be educated,
>
> Kevin Kinsey
> DaleCo, S.P.
>

I was wondering if I did something like this using putty:

#nohup btlaunchmany.py . &

and then the session was terminated because of a power spike, how could I
put the process back into the foreground after logging in again so I could
see its statistics?  I wouldnt want to use redirection because it would
probably use too much disk.

Thanks,

Rommel




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


Re: ELF binary type "0" not known ??

2004-03-22 Thread rfa
>> Actually I posted this on the squirrelmail plugins list but havent had any
>>
>> Actually I want to know what this code means(i think its the cause of
my problems):
>>
>> >bayok# /usr/local/www/data/webmail/plugins/change_passwd/chpasswd
>> testuser
>>  mypassword 123abc
>> >ELF binary type "0" not known.
>> >Abort
>> >bayok#
>>
>>
>> Also i was wondering what the asterisk at the end of this line means:
>>
>> -rwsr-x---  1 root  apache  9873 Oct 22  2002 chpasswd*
>>
>> It says in the INSTALL
>> 
>> 3) Make sure the file permissions on the chpasswd file are
>>correct (unless you'll be using the 'pw' utility on
>>FreeBSD).  Substitue the name of the user that your web
>>server runs under for "apache" in the command below:
>>
>>   $ chown root:apache chpasswd
>>   $ chmod 4750 chpasswd
>> 
>>
>> but when i run ls -l it says
>>
>> -rwsr-x---  1 root  apache  9873 Oct 22  2002 chpasswd
>>
>> without the asterisk.
>> Is that the same or am I missing something?
>>
>
> What do you get with:
> % file /usr/local/www/data/webmail/plugins/change_passwd/chpasswd does
it say something about Linux? If 'yes', then try:
> % kldload linux
> % sysctl kern.fallback_elf_brand=3

sorry, before i read your message i compiled the chpass.c file and
overwrote the original.  maybe you were right.  i did a #file chpasswd and
it went:
chpasswd: setuid ELF 32-bit LSB executable, Intel 80386, version 1
(FreeBSD), for FreeBSD 4.8, dynamically linked (uses shared libs), not
stripped

The error is gone although now i have another problem.

Now it says: Current password don't match with the password of the server.

back to looking for a solution again.. thanx for replying!

rommel







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


ELF binary type "0" not known ??

2004-03-22 Thread rfa
Actually I posted this on the squirrelmail plugins list but havent had any
success and I think you guys might have some ideas:

> First of all my system:
>
> Freebsd 4.8 Stable Running Courier-imap & SM 1.4.0
>
> Im trying to get change_password 3.1-1 plugin to work, so far i installed
> the compatibility plugin and have did all the things in the INSTALL File.
>
> But when I test it out on CLI it says:
>
> bayok# /usr/local/www/data/webmail/plugins/change_passwd/chpasswd testuser
> mypassword 123abc
> ELF binary type "0" not known.
> Abort
> bayok#
>
> here is the config.php for that:
>
> $change_pwd_language = 'en.lang';
> $disconn = false;
> $confirmPass = true;
> $oldPass = false;
> $seeOutput = true;
> $pathToChpasswd = '
 ';
> $pathToPw = '';
> $debug = 1;
>
>
> when i try doing it with the pw command it says
> i changed the $pathToPw = ''; to $pathToPw = '/usr/sbin/';
> ( i also tried $pathtoPw = 'usr/sbin/pw' but that didnt work either )
> and $oldPass = false; to $oldPass = true; (if its false the browser will
> say you forgot to put your old password)
> and the error is:(output from the browser, I don't know how[SM] executes
> it from the commandline.
>
> Command to be executed:
>
> From this directory:
>
> /usr/local/www/data-dist/webmail/plugins
>
> Does anyone have any idea what I am doing wrong?

Actually I want to know what this code means(i think its the cause of my
problems):

>bayok# /usr/local/www/data/webmail/plugins/change_passwd/chpasswd testuser
 mypassword 123abc
>ELF binary type "0" not known.
>Abort
>bayok#


Also i was wondering what the asterisk at the end of this line means:

-rwsr-x---  1 root  apache  9873 Oct 22  2002 chpasswd*

It says in the INSTALL

3) Make sure the file permissions on the chpasswd file are
   correct (unless you'll be using the 'pw' utility on
   FreeBSD).  Substitue the name of the user that your web
   server runs under for "apache" in the command below:

  $ chown root:apache chpasswd
  $ chmod 4750 chpasswd


but when i run ls -l it says

-rwsr-x---  1 root  apache  9873 Oct 22  2002 chpasswd

without the asterisk.
Is that the same or am I missing something?

Yours,

Rommel




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


spam scanner install failed

2004-03-18 Thread rfa
I'm trying to Install

Qmail-scanner
p5-Mail-SpamAssassin
Amavisd-new

on my 4.8-STABLE FreeBSD mail box running qmail and courier-imap

but I can't seem to find the file

Time-HiRes-1.51.tar.gz

from a whole bunch of ftp sites.  I checked some of the sites
for example
ftp://ftp.is.co.za/programming/perl/CPAN/modules/by-module/Time/
ftp://ftp.chg.ru/pub/lang/perl/CPAN/modules/by-module/Time/
http://cpan.shellhung.org/modules/by-module/Time/

and saw that this file was nonexistant, only

Time-HiRes-1.52.tar.gz up to
Time-HiRes-1.56.tar.gz

were available.

Is there a way to still install these programs??  I tried installing just
after doing a #cvsup -g -L 2 /etc/ports-supfile

Any ideas?

TIA

Rommel









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


Re: Anti Virus Software

2004-03-17 Thread rfa
> I'm trying to set up a small web server with freebsd and all the Anti
> Virus
> Software I've find for Linus based want about $400 is there anything I acn
> do
> cheeper?
> Thanks Dennis

Try looking at ports. there are a bunch of free AV software there for free.
[I'm thinking of clamav and amavisd-new, downloading that now as i type]

also i was wondering too if there are any recommendations for a good
AV/spam combo for email running qmail & courier/imap?

Anyone have any experiences that I could try emulating?

Yours,

Rommel

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


Re: squirrel/qmail/quota question [Success]

2004-03-09 Thread rfa
> From: <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> Sent: Tuesday, March 09, 2004 5:17 AM
> Subject: squirrel/qmail/quota question ??
>
>
>>
>> courier-imap-1.7.1
>> qmail-1.03_1
>> squirrelmail-1.4.0
>>
>> running the mail processes. They are working fine, although I received
>> an
>> important email with a 1.2MB attachment and wanted to read that.
>> Unfortunately, when I access that, it says
>>
>> Fatal error: Allowed memory size of 9437240 bytes exhausted at (null):0
>> (tried to allocate 79 bytes) in
>> /usr/local/www/data-dist/webmail/functions/mime.php on line 113
>>
> You php.ini file most likely has memory_limit = 8M set.  This is why you
> get the error.  Try upping the limit to 16M and see if that solves your
> problem.
>
> -jeff

Thanks for replying.  Peter Risdon told me that earlier but I forgot to
say that i got it working.  I was wondering if since that file I was
accessing was only 1M, and it took up about 10M of memory, do files for
example 2M take up about 20M of memory? Is the relation 1:10 or more?

Im just speculating coz I want to make concrete rules for php.ini to
follow that are safe on system resources.

Yours,

Rommel




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


squirrel/qmail/quota question ??

2004-03-09 Thread rfa

I was recently assigned to take charge of creation of email accounts and
maintenance and just hit a problem.

I don't have any mail experience yet[and very minimal bsd experience], and
still reading the documentation, also the previous admin is not around. I
deduced from pkg_info that we have

courier-imap-1.7.1
qmail-1.03_1
squirrelmail-1.4.0

running the mail processes. They are working fine, although I received an
important email with a 1.2MB attachment and wanted to read that.
Unfortunately, when I access that, it says

Fatal error: Allowed memory size of 9437240 bytes exhausted at (null):0
(tried to allocate 79 bytes) in
/usr/local/www/data-dist/webmail/functions/mime.php on line 113

So now I'm stuck with a large file and no way to access it. I'm not sure
if this is a quota problem but i ran #quota -v and it shows

Filesystem usage quota limit grace files quota limit grace
/var 7638 0 0 511 0 0

so i dont think its a quota problem although im not sure.
i did manage to get the file though and try putting it my mailbox although
it seems that the same problem arises.

I only actually want to get the document attached to the file so I can
forward that to the real recipient

If anyone can help, it would be great. [My head is splitting reading all
the documentation and experimenting and it seems all for naught!]
___
[EMAIL PROTECTED] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: Installation - More user friendly

2004-03-08 Thread rfa
> On Mar 8, 2004, at 10:17 AM, JJB wrote:
>> My web spider robot found this web site which is not on any of the
>> search engines yet.
>> www.a1poweruser.com
>> Looks like it offers what you want in the way of user-friendly
>> step-by-step instructions to installing FBSD.
>
> Please do not astroturf the FreeBSD mailing lists.
>
> By endorsing your own commercial site as if you had no connection with
> it, you are violating 15 U.S.C. 52, see
> http://www.ftc.gov/bcp/guides/endorse:
>
> "ยง255.5 Disclosure of material connections.
>
> When there exists a connection between the endorser and the seller of
> the advertised product which might materially affect the weight or
> credibility of the endorsement (i.e.,  the connection is not reasonably
> expected by the audience) such connection must be fully disclosed. [
> ... ]"
>
> --
> -Chuck


As a relatively newcomer to these lists, I was wondering who is correct in
their ideas? The guy who introduced his nifty "spider bot" or the guy
telling us all that the other guy is breaking a law.  I don't like getting
mixed up in flamewars or even minor skirmishes, I just want to know what
the moderator thinks about this and the ethical conditions that are
touched...
Also are these kinds of posts tolerated?

Rommel



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


make install problem

2004-03-05 Thread rfa
im in the middle of a

#make deinstall
#make reinstall

of py-bittorrent, so i can download things using this fantastic tool.

unfortunately, it seems like when i run that, or a #make all install clean,
it shows this:

>> wxPythonSrc-2.4.2.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://eu.dl.sourceforge.net/wxpython/.
fetch: http://eu.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Requested Range Not Satisfiable
>> Attempting to fetch from http://us.dl.sourceforge.net/wxpython/.
fetch: http://us.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Requested Range Not Satisfiable
>> Attempting to fetch from ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/.
fetch:
ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Operation timed out

I only recently saw this Requested Range Not Satisfiable message and was
wondering why until only recently it went Operation Timed out.

I don't remember doing anything strange to this box, although i did do a
cvsup to keep all my sources up to date.

This is strange becasue this machine serves as a web server and has no
problem with that.  The problem is that it cannot seem to connect with the
outside world.  I can't even use ftp, whereas before i did that all the
time.

Anyone got any ideas?

btw this is running 4.8 stable with apache1.3 , mysql 3.23, and php4

Yours,

Rommel






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


make install problem

2004-03-05 Thread rfa
im in the middle of a

#make deinstall
#make reinstall

of py-bittorrent, so i can download things using this fantastic tool.

unfortunately, it seems like when i run that, or a #make all install clean,
it shows this:

>> wxPythonSrc-2.4.2.4.tar.gz doesn't seem to exist in /usr/ports/distfiles/.
>> Attempting to fetch from http://eu.dl.sourceforge.net/wxpython/.
fetch: http://eu.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Requested Range Not Satisfiable
>> Attempting to fetch from http://us.dl.sourceforge.net/wxpython/.
fetch: http://us.dl.sourceforge.net/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Requested Range Not Satisfiable
>> Attempting to fetch from ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/.
fetch:
ftp://ftp.kddlabs.co.jp/sourceforge/wxpython/wxPythonSrc-2.4.2.4.tar.gz:
Operation timed out

I only recently saw this Requested Range Not Satisfiable message and was
wondering why until only recently it went Operation Timed out.

I don't remember doing anything strange to this box, although i did do a
cvsup to keep all my sources up to date.

This is strange becasue this machine serves as a web server and has no
problem with that.  The problem is that it cannot seem to connect with the
outside world.  I can't even use ftp, whereas before i did that all the
time.

Anyone got any ideas?


Yours,

Rommel






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


re: inetd[520]

2004-03-04 Thread rfa
followup on my question earlier about the warning

inetd[520] ssh/tcp : bind; Address already in use

I only got this message recently, and im sure i didnt do anything about
inetd, also at the start of configuring freebsd, i confirmed sshd should
run from inetd(i think) anyway is there a way to confirm how sshd
starts up?

[the guy who respondd said sshd might be running out of sshd and consuming
resources i think, i accidentally erased his email]

i man'd inetd and saw that the configuration file was /etc/inetd.conf and
i checked that out...

i only uncommented sshd and ftpd so i don't think i am running sshd out of
inetd

can someone explain this baffling error?  its coz of this i can't use web
services from this box, although this box is still providing apache
services

yours,

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


inetd[520] ssh/tcp: bind: Address already in use ???

2004-03-03 Thread rfa
I rebooted my system and wondered why the commadn line said

Mar  4  15:13:16 rfa inetd[520]: ssh/tcp: bind: Address already in use


I can still ssh onto this machine, and i can browse the pages it provides.
from other computers on the lan. i can lynx the local website on our lan
using this box, but i can't browse outside our site.  bittorrent also
won't work.

this problem happened before but nothing happened before. now it seems i
cant access the outside anymore.

i tried shutting it down and pinging the IP of this box from another box
on the LAN, there was no reply, so i guess no conflicts.

but im not sure whats going on.  can someone point me in the right direction?

yours,

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


phpnuke forbidden, how to install?

2004-03-03 Thread rfa
i wanted to install phpnuke for content but after cvsuping i found out that

===>  phpnuke-6.9 is forbidden: SQL injection vulnerability in Php-Nuke <=
7.1.0.

and i checked the phpnuke website, they have a patched version of phpnuke.

im not really sure about not using the ports system coz i get the general
impression that it is much safer to install using that, but does anyone 
think i should take the risk and try the patched version on their website?

also is there a way to use the ports and bypass the forbidden part?

im kinda nooby at the moment, still dont have san-goku like skills yet.

yours,

rommel



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


Re: production box: 4.9, 5.1, 5.2+ ???

2004-03-02 Thread rfa
> I hesitate to ask this because it sounds stupid.

its not that stupid a question.  i've asked worse.

use 4.9 definitely for production, it is the most stable at the moment, by
stable we mean tested.

try reading the handbook, about the part on creating a custom kernel.  or
you can download the 4.9 isos (or any other isos for that matter) from

http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/mirrors-ftp.html

read the handbook dude. its worth it.

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


anyone tried moodle?

2004-03-02 Thread rfa
i was thinking about setting up an online learning environment for some
students here and remembered moodle.

http://www.moodle.org

i did a #make search name=moodle on my ports and couldn't find anything. 
now, has anyone tried this?  im not familiar enough with freebsd and/or
the ports to know whether it is safe to install this on my system so i
just wanna ask around first...

another thing, they had instructions for getting it via CVS:

QUOTE
>From a Unix computer
To connect and login for the first time to the CVS server, you can use
this command:

cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/moodle login

There is no password - when asked for one, just hit Enter.

To checkout (download) the entire Moodle code for the first time, use this
command:

cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/moodle co moodle
ENDQUOTE

anyway i tried this but it went like:

su-2.05b# cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/moodle login
Logging in to :pserver:[EMAIL PROTECTED]:2401/cvsroot/moodle
CVS password:
cvs [login aborted]: reading from server: Connection reset by peer

What does that mean?  Any ideas on how to fix this?  Although i could just
upload the tar file from my windows box, i am curious about this.

Yours,
Rommel




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


Re: How to remove a non-empty directory

2004-03-02 Thread rfa
> Hi all folks,
>
> Kindly advise where can I find the small program 'midnight commander' for
> FreeBSD.  OR what command line shall be applied on FBSD to remove a
> non-empty
> directory together with its content
>
> TIA
>
> B.R.
> satimis
>
try this:
#cd /usr/ports
#make search name = mc | more
[you will find all the ports with mc in them]
then you will know that mc is in
#cd /usr/ports/misc/mc && make all install clean

rm -r for your previous question.  thats dangerous though be sure to type
carefully when doing this command.








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


where do i get libintl.so.5?

2004-03-01 Thread rfa
im on my quest to install phpnuke when i hit a serious problem.
it failed and upon looking at the error code i saw

/libexec/ld-elf.so.1: Shared object "libintl.so.5" not found
*** Error code 1

so i did this:
(first i checked if it was installed by deinstalling it)
su-2.05b#cd /usr/ports/devel/pkgconfig/ && make deinstall
===>  Deinstalling for devel/pkgconfig
===>   pkgconfig not installed, skipping

(it wasnt installed so i went ahead and tried installing it.)

su-2.05b#cd /usr/ports/devel/pkgconfig/ && make all install clean
===>  Building for pkgconfig-0.15.0_1
/libexec/ld-elf.so.1: Shared object "libintl.so.5" not found
*** Error code 1

Stop in /usr/ports/devel/pkgconfig.
su-2.05b#

but it seems like all for naught.  i checked the man file for ld-elf.so.1
because that was around but i can't seem to find libint1.so.5.

Can someone tell me where to go for info or better yet what i should do
about this?

Yours,

Rommel


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


mysqladmin won't work

2004-03-01 Thread rfa
First of all im running FreeBSD 4.8 and mysql-server-3.23.56

Im planning to install phpmyadmin and phpnuke on my webserver for content
and I forgot the root password for mysql and Im not the first maintainer
of this server so I have no idea what the password could be.

I was thinking to override the previous root password so I checked the
documentation for mysql and it said do this as root:

QUOTE:
5.5.6 Assigning Account Passwords
Passwords may be assigned from the command line by using the mysqladmin
command:
shell> mysqladmin -u user_name -h host_name password "newpwd"

The account for which this command resets the password is the one with a
user table record that matches user_name in the User column and the client
host from which you connect in the Host column.
ENDQUOTE

so i tried that and.

#mysqladmin -u root -h localhost password "mysql"
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)'

# mysqladmin -h localhost password
mysqladmin: connect to server at 'localhost' failed
error: 'Access denied for user: '[EMAIL PROTECTED]' (Using password: NO)'

I don't get it, whats happening?  Btw im using putty to ssh into the
server, could that be a cause?



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


RE: kernel compile error

2004-02-28 Thread rfa
the only problem though with doing it all again is it takes so many hours!!
especialy downloading and make world

is there something i should do before the process to make a backup before
starting?  so instead of downloading from the

should i tar the whole /usr/src?

what do you think about this?

TIA


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


kernel compile error

2004-02-28 Thread rfa
Im kinda new at this and

I was compiling my kernel on my Dell Inspiron600m running FreeBSD 5.2
RELEASE when I just remembered[after taking a nap] that I did

#make buildkernel KERNCONF=GENERIC

and I forgot to edit the /usr/src/sys/i386/conf/GENERIC file before
running the process.

anyway, the #make buildkernel completed and i wanted to change the GENERIC
file so i went aroung and commented out all the stuff that i didnt have on
my system and did a #make buildkernel KERNCONF=GENERIC again only to have
errors after about a minute into the process.

My Questions Are:
Is it wrong to do this process again after a successful #make buildkernel?
If so, what should I do to do it successfully? [should i rm -rf /usr/src
&& cvsup -g -L 2 /etc/standard-supfile && make world again?]

Or is it possible that my GENERIC file is wrong?

Here is the GENERIC file[The error output will follow]:

machine i386
#cpuI486_CPU
#cpuI586_CPU
cpu I686_CPU
ident   GENERIC

# To statically compile in device wiring instead of /boot/device.hints
#hints  "GENERIC.hints" # Default places to look for devices.

makeoptions DEBUG=-g# Build kernel with gdb(1) debug
symbols

options SCHED_ULE   # ULE scheduler
options INET# InterNETworking
options INET6   # IPv6 communications protocols
options FFS # Berkeley Fast Filesystem
options SOFTUPDATES # Enable FFS soft updates support
options UFS_ACL # Support for access control lists
options UFS_DIRHASH # Improve performance on big
directories
options MD_ROOT # MD is a potential root device
options NFSCLIENT   # Network Filesystem Client
options NFSSERVER   # Network Filesystem Server
options NFS_ROOT# NFS usable as /, requires NFSCLIENT
options MSDOSFS # MSDOS Filesystem
options CD9660  # ISO 9660 Filesystem
options PROCFS  # Process filesystem (requires
PSEUDOFS)
options PSEUDOFS# Pseudo-filesystem framework
options COMPAT_43   # Compatible with BSD 4.3 [KEEP
THIS!]
options COMPAT_FREEBSD4 # Compatible with FreeBSD4
options SCSI_DELAY=15000# Delay (in ms) before probing SCSI
options KTRACE  # ktrace(1) support
options SYSVSHM # SYSV-style shared memory
options SYSVMSG # SYSV-style message queues
options SYSVSEM # SYSV-style semaphores
options _KPOSIX_PRIORITY_SCHEDULING # POSIX P1003_1B real-time
extensions
options KBD_INSTALL_CDEV# install a CDEV entry in /dev
options AHC_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~128k to driver.
options AHD_REG_PRETTY_PRINT# Print register bitfields in debug
# output.  Adds ~215k to driver.
options PFIL_HOOKS  # pfil(9) framework

# Debugging for use in -current
options DDB # Enable the kernel debugger
options INVARIANTS  # Enable calls of extra sanity
checking
options INVARIANT_SUPPORT   # Extra sanity checks of internal
structures, required by INVARIANTS
options WITNESS # Enable checks to detect
deadlocks and cycles
options WITNESS_SKIPSPIN# Don't run witness on spinlocks
for speed

# To make an SMP kernel, the next two are needed
#optionsSMP # Symmetric MultiProcessor Kernel
device  apic# I/O APIC

device  isa
#device eisa
device  pci

# Floppy drives
#device fdc

# ATA and ATAPI devices
device  ata
device  atadisk # ATA disk drives
#device ataraid # ATA RAID drives
device  atapicd # ATAPI CDROM drives
#device atapifd # ATAPI floppy drives
#device atapist # ATAPI tape drives
options ATA_STATIC_ID   # Static device numbering

# SCSI Controllers
#device ahb # EISA AHA1742 family
#device ahc # AHA2940 and onboard AIC7xxx devices
#device ahd # AHA39320/29320 and onboard AIC79xx devices
#device amd # AMD 53C974 (Tekram DC-390(T))
#device isp # Qlogic family
device  mpt # LSI-Logic MPT-Fusion
#device ncr # NCR/Symbios Logic
#device sym # NCR/Symbios Logic (newer chipsets +
those of `ncr')
#device trm # Tekram DC395U/UW/F DC315U adapters

#device adv # Advansys SC

Re: FreeBSD on Laptop

2004-02-10 Thread rfa
hi kris,

i was in the process of upgrading my kernel from 5.0 Release to 5.2 (on my
laptop) and it won't boot. my boss gave me these instructions:

#cd /usr/ports/net/cvsup-without-gui && make all install clean
#cp /usr/share/examples/cvsup/stable-supfile /etc/stable-supfile
change default host -> cvsup10 or cvsup13
#rm -rf /usr/src
#cvsup -g -L 2 /etc/stable-supfile
#cd /usr/src && make world
#make buildkernel KERNCONF=GENERIC
#make installkernel KERNCONF=GENERIC
#reboot

when it boots up, wait for it to pause and press ESC "boot -s"
>>this is where it stops<<-

#cd /usr
#fsck -p
#mount -u /
#mount -a
#cd /usr/src
#adjkerntz -i
#mergemaster -p
#make installworld
#mergemaster
press "yes" and press "i" whenever it prompted you
repeat ur steps
#mergemaster -p
try to press "no" if there is a yes/no something
just press the letter "i"
delete what is left of /var/tmp/temproot
#reboot

when it stops up, the messages from the boot script end like this:

mounting root from ufs:/dev/ad0s2a
pccard: card inserted, slot 1
pccard: card removed, slot 1
pccard: card inserted, slot 1


i traced the problem to the pcic device(pc card duh!) and i want to
disable it. How can i do this?

i tried unset but cant get it to work.
tried
   unset pcic0
   unset hints.pcic
   unset pcic1 (although it was disabled na)
also i tried
unload
boot kernel.old
that didnt work.

i got to this point after TONS of reboots and searching thru man pages on
the devices show() says.

hope you can help! =)

rommel


>
> 5.0 is by now very old; you should try a modern release.  5.2.1 is due
> out soon, so you might like to wait for that.
>
> Kris


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


FreeBSD on Laptop

2004-02-09 Thread rfa
Im just starting out and have installed FBSD on my laptop[DEll inspiron
600m], its a dual boot with WinXp and FBSD RELEASE 5.0.

I think that that FreeBSD successfully probed the power management
features(ACPI) because if I close the lid the thing suspends(my theory)
and when i open it, it's hanged, nothing responds. Can't open new
terminals, can type anything, nothing. its dead.

Does anyone know if I can turn this off? ANd is my theory correct in the
first place(that the machine has been suspended).

I would appreciate any help you guys could give.

I really wish i could understand the power-saving devices on this box.

Yours,

Rommel


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