ask for help on a strange question

View: New views
5 Messages — Rating Filter:   Alert me  

ask for help on a strange question

by Jove James :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi friend,

I've set up a FreeBSD virtual machine with VmWare Player. After configuring
networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I
got "command not found" error:

jove# pwd
/opt/lampp
jove# ls
RELEASENOTES    error           lampp           logs            sbin
backup          etc             lib             modules         share
bin             htdocs          libexec         phpmyadmin      tmp
cgi-bin         icons           licenses        phpsqliteadmin  var
jove# ./lampp start
./lampp: Command not found.
jove#

If you know the reason which caused the error could you please kindly tell
me by replying this email?

Many thanks,
Jove
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

Re: ask for help on a strange question

by Mak Kolybabi-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 2009-11-03 23:08, Jove James wrote:
> jove# ./lampp start
> ./lampp: Command not found.

I'm assuming that you've ensured that lampp has the executable bit set.

When I ran into this myself, it was because I was trying to run an executable
that the kernel didn't recognize (x86_64 on x86). Try running "file lampp" to
see what kind of file it is.

--
Matthew Anthony Kolybabi (Mak)
<mak@...>

() ASCII Ribbon Campaign | Against HTML e-mail
/\  www.asciiribbon.org  | Against proprietary extensions

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

Re: ask for help on a strange question

by Warren Block :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, 3 Nov 2009, Jove James wrote:

>
> I've set up a FreeBSD virtual machine with VmWare Player. After configuring
> networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I
> got "command not found" error:
>
> jove# pwd
> /opt/lampp
> jove# ls
> RELEASENOTES    error           lampp           logs            sbin
> backup          etc             lib             modules         share
> bin             htdocs          libexec         phpmyadmin      tmp
> cgi-bin         icons           licenses        phpsqliteadmin  var
> jove# ./lampp start
> ./lampp: Command not found.
> jove#
>
> If you know the reason which caused the error could you please kindly tell
> me by replying this email?

There's probably a FAQ entry, but I couldn't find it.  In the meantime,
the short version (third entry):

http://docs.freebsd.org/cgi/getmsg.cgi?fetch=3252+0+archive/2009/freebsd-chat/20091018.freebsd-chat

More detail:

man -P 'less +/rehash' csh

-Warren Block * Rapid City, South Dakota USA
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

Re: ask for help on a strange question

by Galactic_Dominator :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 3, 2009 at 9:08 AM, Jove James <freejove@...> wrote:

> Hi friend,
>
> I've set up a FreeBSD virtual machine with VmWare Player. After configuring
> networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I
> got "command not found" error:
>
> jove# pwd
> /opt/lampp
> jove# ls
> RELEASENOTES    error           lampp           logs            sbin
> backup          etc             lib             modules         share
> bin             htdocs          libexec         phpmyadmin      tmp
> cgi-bin         icons           licenses        phpsqliteadmin  var
> jove# ./lampp start
> ./lampp: Command not found.
> jove#
>
> If you know the reason which caused the error could you please kindly tell
> me by replying this email?
>
> Many thanks,
> Jove
>

If you really want to run a web server plus script lang plus on freebsd, you
should just install the native packages and ports.  There is the handbook
which covers installation and configuration of each part of the stack,
perhaps this is unlike you're previous os.

http://www.freebsd.org/doc/en/books/handbook/network-apache.html

You might even check for the port of the particular app you're trying to run
and install that directly.  It should pull in the dependencies directly.

--
Adam Vande More
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."

Re: ask for help on a strange question

by Jonathan Chen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Tue, Nov 03, 2009 at 11:08:25PM +0800, Jove James wrote:

> Hi friend,
>
> I've set up a FreeBSD virtual machine with VmWare Player. After configuring
> networ I installed xampp-linux-1.7.2.tar.gz on it. But quite weird that I
> got "command not found" error:
>
> jove# pwd
> /opt/lampp
> jove# ls
> RELEASENOTES    error           lampp           logs            sbin
> backup          etc             lib             modules         share
> bin             htdocs          libexec         phpmyadmin      tmp
> cgi-bin         icons           licenses        phpsqliteadmin  var
> jove# ./lampp start
> ./lampp: Command not found.

Assuming that "lampp" is a script with the exec bit set, you may want
to check that the first line references a script-interpreter that
exists, eg "#!/usr/bin/perl".

Cheers.
--
Jonathan Chen <jonc@...>
-----------------------------------------------------------------------
"One, with God, is always a majority, but many a martyr has been burned
   at the stake while the votes were being counted."  -- Thomas B. Reed
_______________________________________________
freebsd-questions@... mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscribe@..."