Re: Installation Question

2008-09-27 Thread Rodrigo Gonzalez

Ray Madigan wrote:

I am trying to move a couple of machines from Suse Linux to FreeBSD and I am
having an installation issue on the first machine.  I have a 1.8GHZ Pentium
on an ASUS mainboard.  DUring installation I give the geometry of the drive
on the machine, a Western Digital WD8000JB, the drive geometry that I find
on their website 16383/16/63 in FDisk.  The disk was used for the Suse
installation so the partitions are correct.  So I press Q on the keyboard.
I go through the installation until I get to DiskLabel and the drive doesn't
show up on the top of the screen.  The screen is blank except for the
options section.

Does anyone know what could be going wrong here.

Thanks in advance

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"
  
The partitions are not correct, you have to delete them and create a 
freebsd slice, after that you will be able to make the partitions

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


Re: Problems moving my jails (mv: Operation not permitted)

2008-10-04 Thread Rodrigo Gonzalez

Redd Vinylene wrote:

Hello hello! I need to move my jails from /usr/jail to /home/jail. The
latter is where all my diskspace is. Not all files seem to want to
move though?

# mv /usr/jail /home
mv: /usr/jail/camel/var/spool/postfix/private/scache is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/rewrite is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/bounce is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/defer is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/trace is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/verify is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/proxymap is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/proxywrite is a socket
(not copied).
mv: /usr/jail/camel/var/spool/postfix/private/smtp is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/relay is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/error is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/retry is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/discard is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/local is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/virtual is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/lmtp is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/anvil is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/private/tlsmgr is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/cleanup is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/flush is a socket (not copied).
mv: /usr/jail/camel/var/spool/postfix/public/showq is a socket (not copied).
mv: /usr/jail/box/usr/bin/chpass: Operation not permitted
mv: /usr/jail/box/usr/bin/chfn: Operation not permitted
mv: /usr/jail/box/usr/bin/chsh: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchpass: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchfn: Operation not permitted
mv: /usr/jail/box/usr/bin/ypchsh: Operation not permitted
mv: /usr/jail/box/usr/bin/login: Operation not permitted
mv: /usr/jail/box/usr/bin/opieinfo: Operation not permitted
mv: /usr/jail/box/usr/bin/opiepasswd: Operation not permitted
mv: /usr/jail/box/usr/bin/passwd: Operation not permitted
mv: /usr/jail/box/usr/bin/yppasswd: Operation not permitted
mv: /usr/jail/box/usr/bin/rlogin: Operation not permitted
mv: /usr/jail/box/usr/bin/rsh: Operation not permitted
mv: /usr/jail/box/usr/bin/su: Operation not permitted
mv: /usr/jail/box/usr/bin/crontab: Operation not permitted
mv: /usr/jail/box/usr/bin: Directory not empty
mv: /usr/jail/box/usr/lib/libkse.so.3: Operation not permitted
mv: /usr/jail/box/usr/lib/librt.so.1: Operation not permitted
mv: /usr/jail/box/usr/lib: Directory not empty
mv: /usr/jail/box/usr/sbin/sliplogin: Operation not permitted
mv: /usr/jail/box/usr/sbin: Directory not empty
mv: /usr/jail/box/usr: Directory not empty
mv: /usr/jail/box/var/empty: Operation not permitted
mv: /usr/jail/box/var: Directory not empty
mv: /usr/jail/box/bin/rcp: Operation not permitted
mv: /usr/jail/box/bin: Directory not empty
mv: /usr/jail/box/dev/fd: Operation not supported
mv: /usr/jail/box/dev: Device busy
mv: /usr/jail/box/lib/libc.so.7: Operation not permitted
mv: /usr/jail/box/lib/libcrypt.so.4: Operation not permitted
mv: /usr/jail/box/lib/libthr.so.3: Operation not permitted
mv: /usr/jail/box/lib: Directory not empty
mv: /usr/jail/box/libexec/ld-elf.so.1: Operation not permitted
mv: /usr/jail/box/libexec: Directory not empty
mv: /usr/jail/box/sbin/init: Operation not permitted
mv: /usr/jail/box/sbin: Directory not empty
mv: /usr/jail/box: Directory not empty
mv: /usr/jail/camel/usr/bin/chpass: Operation not permitted
mv: /usr/jail/camel/usr/bin/chfn: Operation not permitted
mv: /usr/jail/camel/usr/bin/chsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchpass: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchfn: Operation not permitted
mv: /usr/jail/camel/usr/bin/ypchsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/login: Operation not permitted
mv: /usr/jail/camel/usr/bin/opieinfo: Operation not permitted
mv: /usr/jail/camel/usr/bin/opiepasswd: Operation not permitted
mv: /usr/jail/camel/usr/bin/passwd: Operation not permitted
mv: /usr/jail/camel/usr/bin/yppasswd: Operation not permitted
mv: /usr/jail/camel/usr/bin/rlogin: Operation not permitted
mv: /usr/jail/camel/usr/bin/rsh: Operation not permitted
mv: /usr/jail/camel/usr/bin/su: Operation not permitted
mv: /usr/jail/camel/usr/bin/crontab: Operation not permitted
mv: /usr/jail/camel/usr/bin: Directory not empty
mv: /usr/jail/camel/usr/lib/libkse.so.3: Operation not permitted
mv: /usr/jail/camel/usr/lib/librt.so.1: Operation not permitted
mv: /usr/jail/camel/usr/lib: Directory not empty
mv: /usr/jail/camel/usr/sbin/sliplogin: Op

Re: mysql missing from my home-page WordPress....

2011-03-01 Thread Rodrigo Gonzalez
And enabled

php -m 

check that mysql extension is loaded

Regards

Rodrigo

On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote:
> On 3/1/11 3:53 PM, Gary Kline wrote:
> > Any clues why I get a one-liner from wordpress that my database
> > extention is missing?  I re-installed everything; it is running.
> > The "wordpress" db is there when I check 'show database'.  What
> > else?
> 
> Check and make sure the MySQL extensions are installed in PHP?
> 
> pkg_info | grep php5-mysql
> (if not..)
> cd /usr/ports/databases/php5-mysql && make install clean
> 
> Good luck!
> --Glenn
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mysql missing from my home-page WordPress....

2011-03-01 Thread Rodrigo Gonzalez
you just need to delete them from /usr/local/etc/php/extensions.ini

mysql extension is loaded when you are using cli, I would check at web server 
module.

Create a file called info.php in your document root

then go to http:///info.php

Check if there is a block called mysql

Regards

Rodrigo

On Tuesday, March 01, 2011 07:59:56 PM Gary Kline wrote:
> On Tue, Mar 01, 2011 at 06:22:13PM -0300, Rodrigo Gonzalez wrote:
> > And enabled
> > 
> > php -m
> > 
> > check that mysql extension is loaded
> > 
> > Regards
> > 
> > Rodrigo
> 
>   Hmmm.  Good one! ... well, maybe.  I have no idea why PHP
>   Startup can't load these libraries.
> 
> 
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20090626/bcmath.so' - Cannot open
> "/usr/local/lib/php/20090626/bcmath.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20090626/mssql.so' - Cannot open
> "/usr/local/lib/php/20090626/mssql.so" in Unknown on line 0
> PHP Warning:  PHP Startup: Unable to load dynamic library
> '/usr/local/lib/php/20090626/openssl.so' - Cannot open
> "/usr/local/lib/php/20090626/openssl.so" in Unknown on line 0
> [PHP Modules]
> Core
> ctype
> date
> dom
> ereg
> filter
> hash
> iconv
> json
> libxml
> mhash
> mysql
> mysqli
> mysqlnd
> pcre
> PDO
> pdo_sqlite
> posix
> Reflection
> session
> SimpleXML
> SPL
> SQLite
> standard
> tokenizer
> xml
> xmlreader
> xmlwriter
> 
> [Zend Modules]
> 
> 
>   Any ideas?  Should I just /bin/rm the ones that are loadable?
> 
>   gary
> 
> > On Tuesday, March 01, 2011 06:03:13 PM Glenn Sieb wrote:
> > > On 3/1/11 3:53 PM, Gary Kline wrote:
> > > > Any clues why I get a one-liner from wordpress that my database
> > > > extention is missing?  I re-installed everything; it is running.
> > > > The "wordpress" db is there when I check 'show database'.  What
> > > > else?
> > > 
> > > Check and make sure the MySQL extensions are installed in PHP?
> > > 
> > > pkg_info | grep php5-mysql
> > > (if not..)
> > > cd /usr/ports/databases/php5-mysql && make install clean
> > > 
> > > Good luck!
> > > --Glenn
> > > 
> > > 
> > > ___
> > > freebsd-questions@freebsd.org mailing list
> > > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > > To unsubscribe, send any mail to
> > > "freebsd-questions-unsubscr...@freebsd.org"
> > 
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Missing plugin for Firefox

2011-04-22 Thread Rodrigo Gonzalez
flash

On Friday 22 April 2011 18:30:10 Steven Friedrich wrote:
> Missing plugin for Firefox, but I don't know which one.
> 
> I tried to view this music video, but I have no idea how to discover what
> format it is.
> 
> http://popnewswire.tv/play-the-belle-brigade-the-belle-brigade/10481
> 
> I'm running the latest port of Firefox 4.0
> 
> ---
> - System Name: laptop2.StevenFriedrich.org
> Window Manager(s):   kde4-4.6.2
> X Window System: xorg-7.5.1X.Org X Server 1.7.7
> OS version:  FreeBSD 8.2-RELEASE i386 (5.2 MB kernel)
> Platform:HP pavilion zd8000 (zd8215us)
> CPU: 2.80GHz Intel Pentium 4 (HTT) with 2 GB memory
> 
> FreeBSD Audio Driver (newpcm: 32bit 2009061500/i386)
> Installed devices:
> pcm0:  (play/rec) default
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mysql_connect error

2011-06-14 Thread Rodrigo Gonzalez
On Tuesday, June 14, 2011 09:46:17 AM Glenn McCalley wrote:
> Seen other people have this problem but cannot get their resolutions to
> work for me.
> 
> "Fatal error: Call to oundefined function mysql_connect() in etc., etc."
> 
> This began happening after an upgrade to php5 using the portmaster program.
> phpinfo page does -not- show the mysql_connect function anywhere.
> phpinfo page is at www9.bnetmd.net/index.php if you have the desire to
> look.

It looks good, where are you getting the error? in a web page or using cli?

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


Re: mysql_connect error

2011-06-14 Thread Rodrigo Gonzalez
> 
> Hi Glenn,
> 
> Try running this command in your shell:
> 
> php -i | grep -i php.ini
> 
> Does the reported path match the one reported by your phpinfo page
> (viewed in the web browser)?  Also, is it possible you have multiple php
> executables installed?  What is the output of the following commands?
> 

Also run
php -m

and see that mysql is in list

You should check that it is using the same php.ini as Greg said, and if 
required symlink the files or add extension=mysql.so to the php.ini used by cli
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: mysql_connect error

2011-06-14 Thread Rodrigo Gonzalez
On Tuesday, June 14, 2011 12:56:11 PM Glenn McCalley wrote:
> Rodrigo,
> The php.ini path and file match the phpinfo page.
> 
> However, php -m does NOT report a mysql module, and I get the same
> Undefined symbol error our of lubmysqlclient.so.16 that I mentioned in my
> answer to Greg's post.
> 
> The line "extension=mysql.so" IS is the extensions.ini file.
> 
> Thanks,
> Glenn.
> 

I would start reompiling mysql client libraries and then php-mysql extension 
again

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


Re: Don't understand df/du output

2011-08-12 Thread Rodrigo Gonzalez

On 08/12/2011 06:58 PM, Alain AUDEBERT aka 2A wrote:

Hello list,

I having a problem to understand the output of du and df command :

[root@ftp ~]# df -h /opt/
FilesystemSizeUsed   Avail Capacity  Mounted on
/dev/xbd6 387G342G 13G96%/opt

[root@ftp ~]# du -sh /opt/
342G/opt/

But 387Go - 342Go not equal to 13Go ! Where's the available space ?
(same thing with df -k)

I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
Is it the 8% reserved by FFS ?

Yes

read http://www.freebsd.org/doc/en/books/faq/disks.html

Question *9.27* (last one)



Regards,

Alain



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


Re: Don't understand df/du output

2011-08-12 Thread Rodrigo Gonzalez


On 08/12/2011 08:14 PM, Alain AUDEBERT aka 2A wrote:

I have try a tunefs -m 1 /dev/xbd6, unmount, mount and nothing change
Is it the 8% reserved by FFS ?

Yes


Maybe it's important, but it's not an hard disk, just a Xen volume !
So maybe we can't tunefs it ?

Unfortunately I cannot answer that :(


Regards,
Alain



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


Re: Is the forum dead?

2011-08-17 Thread Rodrigo Gonzalez

On 08/17/2011 04:20 PM, Evan Busch wrote:

I have a confirmation link from the vBulletin software asking me to go to

http://forums.freebsd.org/

Yet this host appears to be down and has been since last night.

I've just connected to forums without any problem


Who do I ask about this? Or is this an unannounced scheduled downtime?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"



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


Re: load average with multi-core CPU's

2011-09-22 Thread Rodrigo Gonzalez

On 09/22/2011 04:29 PM, Mark Felder wrote:

On Thu, 22 Sep 2011 10:22:43 -0500, Henry M  wrote:


Hi all,

Can someone explain, or point me to correct documentation on what the 
load

average on top/uptime is actually displaying?


Load average is "average number of processes in the run queue" for the 
1, 5, and 15 minute intervals. If you have a quad core CPU a 4.00 load 
average means you've been keeping the CPU busy at 100%.
Not exactly as I understand itIO (disk, network or whatever) affects 
it too...
It is the number of task waiting in queue to be runbut IO is 
important...if 2 processes are waiting for IO and it is completely 
saturated they will be kept in queue so load will get higher
I think there are other things that affect load average but are over my 
current knowledge...


Regards

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


Re: removing directories

2011-11-04 Thread Rodrigo Gonzalez

El 04/11/11 13:25, Graeme Dargie escribió:

Ok this might be a bit of a newbie question but here goes.

I have a large number of directories  around 300 which all have sub dirs, some 
of those have sub dirs in each of these there are two further sub dirs called 
pages and thumbnails, is there an easy way to remove all the pages and 
thumbnail dirs from the tree?

Regards

G

I dont know how to make in one commandbut to delete thumbnails 
directories


find . -type d -name thumbnails -exec rm -rf {} \;

You can do the same for the pages directories

To test what you will delete please run

find . -type d -name thumbnails -print

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


Re: altering "maxdsiz" or "datasize" limit ?

2010-10-05 Thread Rodrigo Gonzalez
I didnt check it, but changing /etc/login.conf should do that

On Tue, 05 Oct 2010 17:23:43 -0400
Mark Stosberg  wrote:

> 
> Hello,
> 
> We've been satisfied FreeBSD users for several years at our hosting
> company.
> 
> Recently we ran into into a problem where a long running cron script
> was dying early because it is hitting FreeBSD's data segment size
> limit of 512 Megs, even though the machine has plenty more memory. I
> would like to raise this limit, and am currently using FreeBSD 6.2.
> 
> When I researched this, I first found references to tuning "maxdsiz"
> in loader.conf, then some pointed out what I found myself this
> variable is no longer documented and perhaps no longer present in
> FreeBSD 6.2.
> 
> I also found that it appears you can report on it and change it with
> the "limits" command:
> 
>  limits -d 1g
> 
> That appears to work in the sense that the command is allowed and no
> error is returned, but then if I run a follow up "limits" report
> again, I see that no change is reported to have happened.
> 
> So, how I can actually increase this limit? (Both immediately and
> persisting through a reboot).
> 
> Thanks!
> 
> Mark
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"



signature.asc
Description: PGP signature


Re: Jabber/XXMP suggestions?

2010-10-28 Thread Rodrigo Gonzalez
ejabberd is erlang not java.

I used it without any problems for some years


Rodrigo

On Thu, 28 Oct 2010 11:28:48 -0500
Ryan Coleman  wrote:

> What are your recommendations for a Jabber server? I've tried to get
> jabberd (2) installed but had PAM issues with it; previously ran
> openfire but wasn't happy with it running in Java and the same goes,
> now, with ejabberd which I haven't installed but also runs on Java.
> 
> Not a lot of users, but I'd like to have SSL and the possibility of a
> "guest" account to hook through my website to do customer support
> when I'm online. I'll worry about how to make that happen later.
> 
> Thanks,
> 
> Ryan___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"

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


Re: Jabber/XXMP suggestions?

2010-10-28 Thread Rodrigo Gonzalez
I didnt remember that, checking erlang port it has

# The Java applications that are part of the Erlang distribution are
# not strictly necessary - it is included for completeness sake. A
# problem with the Erlang build procedure is that it only checks if
# javac is in the regular path - and then assumes that all of the jdk
# utilities is in the path as well. The only way to make sure that
# this is the case (that I could think of at least) was to make sure
# ${JAVA_HOME}/bin is added to the PATH, using the *_ENV macros.

.if !defined(WITHOUT_JAVA)
USE_JAVA=   yes
JAVA_VERSION=   1.4+
# Make sure ${JAVA_HOME}/bin is in the path
CONFIGURE_ENV+= PATH=${PATH}:${JAVA_HOME}/bin
MAKE_ENV+=  PATH=${PATH}:${JAVA_HOME}/bin
SCRIPT_ENV+=PATH=${PATH}:${JAVA_HOME}/bin
.endif

So, you should be able to avoid java (not required for ejabberd) with
WITHOUT_JAVA

I hope this help

On Thu, 28 Oct 2010 12:53:29 -0500
Ryan Coleman  wrote:

> Well, it's requiring that I download updates from Sun... so I'm
> avoiding it from past experience with trying to navigate their
> website.
> 
> I'll put it back on the list.
> 
> On Oct 28, 2010, at 12:30 PM, Rodrigo Gonzalez wrote:
> 
> > ejabberd is erlang not java.
> > 
> > I used it without any problems for some years
> > 
> > 
> > Rodrigo
> > 
> > On Thu, 28 Oct 2010 11:28:48 -0500
> > Ryan Coleman  wrote:
> > 
> >> What are your recommendations for a Jabber server? I've tried to
> >> get jabberd (2) installed but had PAM issues with it; previously
> >> ran openfire but wasn't happy with it running in Java and the same
> >> goes, now, with ejabberd which I haven't installed but also runs
> >> on Java.
> >> 
> >> Not a lot of users, but I'd like to have SSL and the possibility
> >> of a "guest" account to hook through my website to do customer
> >> support when I'm online. I'll worry about how to make that happen
> >> later.
> >> 
> >> Thanks,
> >> 
> >> Ryan___
> >> freebsd-questions@freebsd.org mailing list
> >> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> >> To unsubscribe, send any mail to
> >> "freebsd-questions-unsubscr...@freebsd.org"
> > 
> > ___
> > freebsd-questions@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> > To unsubscribe, send any mail to
> > "freebsd-questions-unsubscr...@freebsd.org"
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"

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


Re: ssh key authentication problem...

2010-10-28 Thread Rodrigo Gonzalez
You have to do the other way

generate at laptop, put in authorized_key at server the public key and
then you will be able to ssh to server from laptop using key
authorization

On Thu, 28 Oct 2010 20:39:53 +0100
Peter Harrison  wrote:

> Can anyone help me debug an ssh key-based authentication problem?
> 
> I have an 8.1-R server running sshd, with one user account. On the
> server, I've used ssh-keygen to generate id_rsa  and id_rsa.pub.
> 
> On my laptop I then pulled the id_rsa.pub file over and:
> 
> % cat id_rsa.pub >> .ssh/authorized_keys
> 
> Now I try to login from the laptop (also 8.1-R) to the server. It
> pauses for a second and presents me with a 'Password:' prompt, so
> obviously the key authentication isn't working.
> 
> He's a debugging chunk from sshd run with '-ddd' flags:
> 
> debug1: PAM: initializing for "peter"
> debug1: userauth-request for user peter service ssh-connection method
> publickey debug1: attempt 1 failures 0
> debug2: input_userauth_request: try method publickey
> debug1: test whether pkalg/pkblob are acceptable
> debug3: mm_key_allowed entering
> debug3: mm_request_send entering: type 20
> debug3: mm_key_allowed: waiting for MONITOR_ANS_KEYALLOWED
> debug3: mm_request_receive_expect entering: type 21
> debug3: mm_request_receive entering
> debug1: PAM: setting PAM_RHOST to "192.168.1.4"
> debug2: monitor_read: 45 used once, disabling now
> debug3: mm_request_receive entering
> debug3: monitor_read: checking request 3
> debug3: mm_answer_authserv: service=ssh-connection, style=
> debug2: monitor_read: 3 used once, disabling now
> debug3: mm_request_receive entering
> debug3: monitor_read: checking request 20
> debug3: mm_answer_keyallowed entering
> debug3: mm_answer_keyallowed: key_from_blob: 0x286067c0
> debug1: trying public key file /home/peter/.ssh/authorized_keys
> debug1: fd 4 clearing O_NONBLOCK
> debug3: secure_filename: checking '/usr/home/peter/.ssh'
> debug3: secure_filename: checking '/usr/home/peter'
> debug3: secure_filename: terminating check at '/usr/home/peter'
> debug2: key not found
> debug1: trying public key file /home/peter/.ssh/authorized_keys2
> Failed publickey for peter from 192.168.1.4 port 43046 ssh2
> debug3: mm_answer_keyallowed: key 0x286067c0 is not allowed
> debug3: mm_request_send entering: type 21
> debug2: userauth_pubkey: authenticated 0 pkalg ssh-rsa
> debug3: mm_request_receive entering
> debug1: userauth-request for user peter service ssh-connection method
> keyboard-interactive debug1: attempt 2 failures 1
> debug2: input_userauth_request: try method keyboard-interactive
> debug1: keyboard-interactive devs 
> 
> Anyone suggest what I'm doing wrong?
> 
> TIA.
> 
> 
> Peter Harrison.
> 
> 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"

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


Re: Which php??

2011-01-11 Thread Rodrigo Gonzalez
Did you restart apache?

Second option to check directly php information

create a file info.php with this content


then go to http://your ip/info.php 

and check the results, if you see the text, your apache does not have php 
enabled, if it is enabled you will see information about your php installation

On Tuesday, January 11, 2011 03:56:31 pm Gary Kline wrote:
> On Tue, Jan 11, 2011 at 11:51:41AM -0500, Chris Brennan wrote:
> > On Tue, Jan 11, 2011 at 11:46 AM, Gary Kline  wrote:
> > > On Mon, Jan 10, 2011 at 10:07:28PM +, Paul Macdonald wrote:
> > > > On 10/01/2011 21:21, Gary Kline wrote:
> > > > >Which php52 port do I need to run with wordpress?  There are  a
> > > > >slew of them po ports.
> > > > >
> > > > >tia.
> > > > 
> > > > php5.2 is the last release before its eol'd.
> > > > 
> > > > there may be some tweaking, but you'd be better getting it working
> > > > with 5.3 (lang/php5) now rather than later...
> > > > 
> > > > Paul.
> > > > 
> > > Well, I have no screen-capture set up o my server, so cannot
> > >
> > >show the firefox display.  But here is the samr thing using
> > >lynx:
> > >
> > >According to the /usr/local/www/wordpress/* files, php is not
> > >running.  I had the wordpress port install itself in the default
> > >place: in /usr/local/www; should I cp the files somewhere else?
> > >--I have no subdomain wordpress (or wordpress.thought.org).
> > > 
> > > ps 8:20 Server  [5025] lynx wp-admin/install.php
> > > 
> > >   
(p1
> > > 
> > > of 3)
> > > 
> > >   WordPress
> > > 
> > > Error: PHP is not running
> > > 
> > >   WordPress requires that your web server is running PHP. Your server
> > >   does not have PHP installed, or PHP is turned off.
> > >   
> > >   WordPress
> > >   
> > >   get_var("SHOW TABLES LIKE '$wpdb->users'") != null ); // Ensure that
> > >   Blogs appear in search engines by default $blog_public = 1; if ( !
> > >   empty( $_POST ) ) $blog_public = isset( $_POST['blog_public'] );
> > >   $weblog_title = isset( $_POST['weblog_title'] ) ? trim( stripslashes(
> > >   $_POST['weblog_title'] ) ) : ''; $user_name =
> > >   isset($_POST['user_name']) ? trim( stripslashes( $_POST['user_name']
> > >   ) ) : 'admin'; $admin_password = isset($_POST['admin_password']) ?
> > >   trim( stripslashes( $_POST['admin_password'] ) ) : ''; $admin_email
> > >   = isset( $_POST['admin_email'] ) ? trim( stripslashes(
> > >   $_POST['admin_email'] ) )
> > >   
> > >   : ''; if ( ! is_null( $error ) ) { ?>
> > >   
> > >   ERROR
> > >   
> > >So:: are there other ways of installing this stuff?  Should I
> > >cp -rp this wordpress directory in [e.g.]
> > >/usr/local/www/journey?
> > >
> > >Thanks for any clues,
> > >
> > >gary
> > > 
> > > Gary,
> > 
> > Did you set up your webserver to parse .php/.phps files. In Apache this
> > is probably (I don't have apache install on my fbsd box anymore) at
> > /usr/local/etc/apache22/conf/Includes/php.conf. I don't know about other
> > webservers...
> > 
> > hth/c-
> 
> Here is a grep -1 php of the httpd.conf, showing that the php types
> are allowed.
> 
> 
> 
> LoadModule rewrite_module libexec/apache22/mod_rewrite.so
> LoadModule php5_modulelibexec/apache22/libphp5.so
> LoadModule php5_modulelibexec/apache/libphp5.so
> ###LoadModule php5_modulelibexec/apache/libphp5.so
> 
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
> 
> AddType application/x-httpd-php .php .htm .html
> 
> 
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php-source .phps
> 
>   So, yeah, looks like that is permitted..



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


Re: Which php??

2011-01-12 Thread Rodrigo Gonzalez
/usr/local/etc/php.ini

That is the right file

On Wednesday, January 12, 2011 05:53:47 pm Gary Kline wrote:
> On Wed, Jan 12, 2011 at 10:02:38AM +, Paul Macdonald wrote:
> > >Lots of warnings::
> > >
> > >
> > >Deprecated: Directive 'register_long_arrays' is deprecated in PHP
> > >5.3 and greater in Unknown on line 0
> > >
> > >Deprecated: Directive 'magic_quotes_gpc' is deprecated in PHP 5.3
> > >and greater in Unknown on line 0
> > >PHP 5.3.5 with Suhosin-Patch (cli) (built: Jan 11 2011 12:31:01)
> > >(DEBUG)
> > >Copyright (c) 1997-2009 The PHP Group
> > >Zend Engine v2.3.0, Copyright (c) 1998-2010 Zend Technologies
> > 
> > This is kinda good, at least its installed !
> > 
> > To turn off deprecated notices in looging:
> > edit /usr/local/etc/php.ini ( approx line 523)
> > error_reporting = E_ALL & ~E_DEPRECATED
> > 
> > Make php log errors: ( line approx 646)
> > error_log = /var/log/php_errors.log
> > 
> > then try php -v from shell,
> 
>   Will, try, thanks much.  There is one thing that someone wrote
>   in his post, labeling "php.ini" as "PHP.INI" or "PHP.ini".
> 
>   Last night I cp'd the php-ini-devel* to PHP.ini.  I think I'm
>   probably barking up the wrong tree.  A quick, recursive grep did
>   find "PHP" in some files.  But ``find /usr/ports _blah_'' found
>   no PHP.ini.  What's the right file to edit as my initialization
>   file?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Install Squid on FBSD with different configure options?

2011-02-18 Thread Rodrigo Gonzalez
On Friday, February 18, 2011 01:53:27 PM Ed Flecko wrote:
> Hi folks,
> I want to install squid from the ports package (i.e.,
> /usr/ports/www/squid) instead of installing from source (which, it's
> my understanding, would force me to create a squid user, squid group,
> etc. manually).
> 
> However, I want squid to be installed with the ability to restrict end
> users internet access based upon their PCs MAC address, which means I
> need the --enable-arp-acl option when installing squid.
> 
> I have modified the Makefile (/usr/ports/www/squid/Makefile) to
> include this option, but now I'm a little confused - if I use the
> standard pkg_add squid command, won't that just fetch the package from
> the internet?
> 
> How do I install squid from the ports package that's on my hard drive?
> 


cd /usr/ports/www/squid
make config
make install clean
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: Link to File for JDK16 tzupdater-1_3_21-2009p.zip

2010-01-19 Thread Rodrigo Gonzalez
http://ftp.play.ufanet.ru/post/distfiles/

On Tue, 2010-01-19 at 09:39 -0800, Diego Montalvo wrote:

> tzupdater-1_3_21-2009p.zip
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: remove newlines from a file

2009-09-01 Thread Rodrigo Gonzalez

On 09/01/2009 03:03 PM, Paul Schmehl wrote:

I found a sed tutorial once that did this, but I can't seem to find it
again. I have a file with multiple lines, each of which contains a
single ip followed by a /32 and a comma. I want to combine all those
lines into a single line by removing all the newline characters at the
end of each line.

What's the best/most efficient way of doing that in a shell?



A simple solution could be using tr command

tr -d '\012' < file > output_file

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


Re: freebsd-updates problem

2008-12-08 Thread Rodrigo Gonzalez

Gabriel Lavoie wrote:

Hello,
 since the update to 7.0-RELEASE-p6 is available, I have some problems
with freebsd-updates. It tells me that /boot/kernel/linker.hints needs to be
updated and if I install the update, it will tell me again and again that it
needs to be updated.

[EMAIL PROTECTED] /usr/local/www/apache22/data]# freebsd-update fetch
Looking up update.FreeBSD.org mirrors... 1 mirrors found.
Fetching metadata signature for 7.0-RELEASE from update1.FreeBSD.org...
done.
Fetching metadata index... done.
Inspecting system... done.
Preparing to download files... done.

The following files will be updated as part of updating to 7.0-RELEASE-p6:
/boot/kernel/linker.hints

[EMAIL PROTECTED] /usr/local/www/apache22/data]# uname -a
FreeBSD headless.mutehq.net 7.0-RELEASE-p6 FreeBSD 7.0-RELEASE-p6 #0: Mon
Nov 24 10:59:10 UTC 2008
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/GENERIC
amd64

Any idea of what might be going on?

Thanks!

Gabriel

  

Maybe

freebsd-update install


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


Re: multiple mount

2009-02-27 Thread Rodrigo Gonzalez
Not sure if there is any problem with that, but why not mounting in one
place and using symbolic links?

mount NFS_SERVER:/home  /jail/mnt
ln -s /jail/mnt /jail/smtp-server
ln -s /jail/mnt /jail/apache_server

 



Albert Shih wrote:
> Hi
>
> I would like to mount from same NFS server the same partition in many point
> for using jail. For example I would 
>
>   mount NFS_SERVER:/home  /jail/smtp-server
>   mount NFS_SERVER:/home /jail/apache_server
>
>
> I've just check it's working, but I would like to known if they are some
> problem with that ? 
>
> Regards.
>
>   



smime.p7s
Description: S/MIME Cryptographic Signature


Re: Shared ftp access to a apache root

2009-03-16 Thread Rodrigo Gonzalez
DAve wrote:
> Good afternoon all,
>
> I have a strange request and mind is just not up to the task today. We
> have a client who wants each web developer (there are four) to have a
> unique login to the same apache site root.
>
> I am not even certain that is possible. Anyone have any ideas? This is
> a dedicated server running FreeBSD 6.4 inside ESXi.
>
> DAve
>
Make the 4 users sharing the home directory and their main group.
At your ftp server configuration change umask or default permissions so
owner and group can read and write to files and directories.
You are done, all of them can connect and will connect to the same home
directory (www site root) and when upload something will be writable by
the others.

I hope this helps

Rodrigo


smime.p7s
Description: S/MIME Cryptographic Signature


Re: lightweight webserver that can run php

2009-04-18 Thread Rodrigo Gonzalez
lighttpd
ngingx
cherokee

All of them can connect to php using fastcgi.

lighttpd and cherokee will start php themself, nginx does not, so you
should have to start it manuall or from other script...

On 4/18/09, Andrew  wrote:
> Hi All,
>
> Does anyone have any suggestions for a lightweight webserver that will
> run php?
> Apache is too bulky for what I need and thttpd won't allow me to run php.
>
> TIA
> Andrew
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: lightweight webserver that can run php

2009-04-18 Thread Rodrigo Gonzalez
As a fastcgi not cgi, there is a differenceimportant one.
for cgi request a new php process is started for a request.
fastcgi is php listening for network requests and process can be reused.

On 4/18/09, Mikel King  wrote:
> Most light weight webservers like nginx and lighttpd only run PHP as a
> cgi mod.
>
> Cheers,
> m!
>
> On Apr 18, 2009, at 2:19, Andrew  wrote:
>
>> Hi All,
>>
>> Does anyone have any suggestions for a lightweight webserver that
>> will run php?
>> Apache is too bulky for what I need and thttpd won't allow me to run
>> php.
>>
>> TIA
>> Andrew
>> ___
>> freebsd-questions@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>> To unsubscribe, send any mail to
>> "freebsd-questions-unsubscr...@freebsd.org
>> "
>
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: lightweight webserver that can run php

2009-04-18 Thread Rodrigo Gonzalez
You are right, thanks for the information

On 4/18/09, cpghost  wrote:
> On Sat, Apr 18, 2009 at 09:56:09AM -0400, Mikel King wrote:
>> > Does anyone have any suggestions for a lightweight webserver that
>> > will run php?
>>
>> Most light weight webservers like nginx and lighttpd only run PHP as a
>> cgi mod.
>
> With lighttpd, you can do both CGI and FastCGI:
>
> http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModCGI
> http://redmine.lighttpd.net/wiki/lighttpd/Docs:ModFastCGI
>
> 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 "freebsd-questions-unsubscr...@freebsd.org"
>
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"


Re: need mysql help setting passwd

2008-06-11 Thread Rodrigo Gonzalez
Gary Kline wrote:
> this failed:
> 
> 
> mysqladmin -u root password
> mysqladmin: connect to server at 'localhost' failed
> error: 'Access denied for user 'root'@'localhost' (using password: NO)'
> 
> 
> according to my logs it has been about 5 years since i did this last.
> 
> advice please!
> 
> gary
> 
> 
> 
Your mysql server already has a password for user root.

2 options

1 - mysqladmin -u root -p password

Of course I think you dont know current password or you wouldnt be
askingso second option

Read
http://dev.mysql.com/doc/refman/5.0/en/resetting-permissions.html#resetting-permissions-unix

with that steps you will reset root password

Best regards

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


Re: FreeBSD and Bacula

2008-07-03 Thread Rodrigo Gonzalez
Ivaylo Bonev wrote:
> I want to use FreeBSD 7.0 for Backup server. After little searching, my
> decision was to use Bacula (because of Windows client). After
> installation of latest version (Bacula 2.4.0) and active googling,
> reading very carefuly Onlamp article of Bacula server on FreeBSD
> (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and
> configuring File, Storage and Director files, I was astonished by the
> fact that Bacula cannot start from provided scripts in
> /usr/local/etc/rc.d/ directory. No messages in log, no error messages in
> console, ps aux| grep 'bacula' say nothing, nothing! I put
> bacula_dir_enable="YES"
> bacula_fd_enable="YES"
> bacula_sd_enable="YES"
> and after restart on console shows this error:
> 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
> Config error: Could not find config Resource bacula-fd referenced on
> line 30 :
>  Client = bacula-fd
> 
> 
> : line 30, col 20 of file /usr/local/etc/bacula-dir.conf
>   Client = bacula-fd
> 
> All Bacula .conf files are attached. Is there a bug, or misconfigured
> .conf files?
> 
You have laptop-fd in your bacula-fd configuration, you dont have
bacula-fd (I think you've renamed the Client conf from samples).

Change bacula-fd with laptop-fd and should work
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: FreeBSD and Bacula

2008-07-03 Thread Rodrigo Gonzalez
Ivaylo Bonev wrote:
> Thu, 03 Jul 2008 20:30:00 +0300, Rodrigo Gonzalez <[EMAIL PROTECTED]>:
> 
>> Ivaylo Bonev wrote:
>>> I want to use FreeBSD 7.0 for Backup server. After little searching, my
>>> decision was to use Bacula (because of Windows client). After
>>> installation of latest version (Bacula 2.4.0) and active googling,
>>> reading very carefuly Onlamp article of Bacula server on FreeBSD
>>> (http://www.onlamp.com/pub/a/onlamp/2004/01/09/bacula.html) and
>>> configuring File, Storage and Director files, I was astonished by the
>>> fact that Bacula cannot start from provided scripts in
>>> /usr/local/etc/rc.d/ directory. No messages in log, no error messages in
>>> console, ps aux| grep 'bacula' say nothing, nothing! I put
>>> bacula_dir_enable="YES"
>>> bacula_fd_enable="YES"
>>> bacula_sd_enable="YES"
>>> and after restart on console shows this error:
>>> 03-Jul 17:09 bacula-dir: ERROR TERMINATION at parse_conf.c:483
>>> Config error: Could not find config Resource bacula-fd referenced on
>>> line 30 :
>>>  Client = bacula-fd
>>>
>>>
>>> : line 30, col 20 of file /usr/local/etc/bacula-dir.conf
>>>   Client = bacula-fd
>>>
>>> All Bacula .conf files are attached. Is there a bug, or misconfigured
>>> .conf files?
>>>
>> You have laptop-fd in your bacula-fd configuration, you dont have
>> bacula-fd (I think you've renamed the Client conf from samples).
>>
>> Change bacula-fd with laptop-fd and should work
>>
> 
> Thanks, it works now!
> What is name convention for Windows derectories and files in 'File ='
> 'c:/new' or '/new'?
> 
I dont use windows so I dont knowbut I think that should be c:/ or
wont know which disk/partition you are talking about
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: inetd on FreeBSD 7.0-STABLE

2008-07-05 Thread Rodrigo Gonzalez
Jack Raats wrote:
> Inetd gives the following error:
> Jul  5 19:45:17 orac inetd[770]: nntp from 192.168.1.101 exceeded counts/min 
> (limit 60/min)
> Is it possible to increase the limit and how?
> 
> Jack
_
man inetd

check -c, -C and -R optionsfor defaults

or max-child and max-connections-per-ip-per-minute for each service (I
dont find how to define -R option for each service)

Best regards

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


Re: I can't execute a script in crontab

2010-05-18 Thread Rodrigo Gonzalez
The script must start with

#!/bin/sh

and be executable

On Tue, 18 May 2010 21:52:43 +0300
Yavuz Maşlak  wrote:

> I use freebsd7.2
> 
> I wish to send a file using crontab as periodic. I have a script to
> send the file.
> When I am root, I can execute my script, but I can't execute the
> script using crontab.
> How can I run it ?
> 
> cat myscript
> /usr/bin/scp -i /root/.ssh/id_rsa.pub /root/cpfile 
> r...@192.168.10.9:/var/cpfile
> 
> Thanks 
> 
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"



signature.asc
Description: PGP signature


Re: pkg_add

2010-06-30 Thread Rodrigo Gonzalez
On Wed, 30 Jun 2010 17:00:34 -0700 (PDT)
"Mr. Darren"  wrote:

> Though this will not be the focus of my question.  Lots of ports are
> being created for FreeBSD and none submitted.  I don't know why.
> 
> My problem arises when trying to install one of these which is put
> together quite well.  pkg_add -r http://site/something.tbz, or
> pkg_add something.tbz doesn't work for the dependencies.  So how do I
> tell pkg_add to fetch the first pkg from one site and the rest from
> the main sites?  It is available in source but the system is void of
> pkg's at the moment and with the 1ghz processor and 512mb ram could
> take quite a while.  And the funny part is it will work perfectly if
> I just place it in ports/multimedia.  
> 
>  Darren Johnston
> 
> 

My advise is installing portupgrade port and using portinstall -P


signature.asc
Description: PGP signature


Re: lightweight Chat client/server?

2010-08-03 Thread Rodrigo Gonzalez
On Tue, 03 Aug 2010 15:12:05 -0500
Depo Catcher  wrote:

> 
> I have a combination of Spark (windows client) and Open Fire (FreeBSD 
> server, actually Java) for my lan.
> We've used this setup for years, but the OpenFire server takes up
> ~500 + MB.
> 
> Anyways, we were looking for something a bit smaller.
> We just need to send text messages to LAN users (less than 6) and 
> supports a nice windows client.
> We're not suppose to use any external services (yahoo messenger, aol,
> etc) ___

I would recommend 

/usr/ports/net-im/ejabberd 


signature.asc
Description: PGP signature


Re: Installing wget

2010-08-09 Thread Rodrigo Gonzalez
Run

make config

again and select the correct options

On Mon, 9 Aug 2010 14:20:08 -0400
Jerry McAllister  wrote:

> Hi All,
> 
> I started an instal of wget from ports - /usr/ports/ftp/wget
> 
> It comes up with some selections and I mistakenly selected GNUTLS.
> 
> Now I constantly get 
>   "GNUTLS and OPENSSL are mutually exclusive, enable at most one of
> them" And the make quits.
> 
> How do I get rid of that.  I have done make clean, make diskclean
> and deleted as many files as I dared, but it still won't build
> and install wget.
> 
> Of course, there is some file I don't know about.  
> Can someone point me to where to find it?
> 
> Thank you,
> 
> jerry
>   
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"



signature.asc
Description: PGP signature


Re: Grepping a list of words

2010-08-12 Thread Rodrigo Gonzalez
On Wed, 11 Aug 2010 18:00:22 -0500
"Jack L. Stone"  wrote:

> Kindly appreciate help with how to grep (or similar) a list of words
> to determine if any of them are in a file rather than grepping one
> word at a time.
> 

Use egrep

egrep "(word1|word2)" 


signature.asc
Description: PGP signature


Re: Molecular Modeling Software?

2010-08-24 Thread Rodrigo Gonzalez
 Maybe /usr/ports/biology/pymol is what you need

On Tue, 24 Aug 2010 08:22:57 -0700
Chris Maness  wrote:

> Is there any molecular modeling software in ports?
> 
> Regards,
> Chris Maness
> ___
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to
> "freebsd-questions-unsubscr...@freebsd.org"



signature.asc
Description: PGP signature