Mac 10.9.1 port: command not found
Howdy,
I'm fairly new to Mac, at least it hs been years since I used my G3 tower. I am a school teacher, teaching Web Tech to high school students. I've got a Linux Server(Ubuntu 10.10) and have set-up Apache2 and vsftpd for them to work on. It is a local(inside the school's firewall) only set-up. I've been teaching students how to build web pages and ftp on to their chrooted folder inside Apache2 tp push their work. The school purchased a Mac mini-tower(Maverick - 10.9.1) for meto work with and configure for the next year's classes. I'm very used to command line and I am trying to download "vsftpd" to install so I can get a chrooted environment. I tried:
sudo port install vsftpd
and got port: command not found. I even did, man port...and got.... No manual entry for port
I am simply looking to install vsftpd to config for chrooting reasons.
Also, I'm still working on the complete command line of useradd for the following. I'd like to only give them "ftp" access to (local IPaddress -> 10.127.X.X/username) with no shell access(I made a link to /sbin/ftplogin which I assume does nothing) with NO naviagtion abilities within ftp besides their own folder.
Thanks!!!
Thank you. I'm so used to apt-get or Synaptic, I don't know how to install anything from a Mac command line. I searched the Internet for MacPorts and found it and followed the basic installation. All is good. Thanks again !!!
Similar Messages
-
Air port express not found by my mac
Hallo all, I want to extend my wlan, therefore I want to install an additional air port. I have already a time capuse with air port. Now my question:
Do I neet to connect the new air port with a wire? I thougt the connection is wireless? Unitl now the new air port is not found by my mac within the utility air port program. Why? Please help! Thank you, KailashTo help facilitate setting up your extended network, I would recommend the following:
Perforrm a "factory default" reset on the AirPort Express base station.
Temporarily connect the Express to the Time Capsule using an Ethernet cable between them.
Once you have configured the extended network, you can now disconnect the Express from the TC and place it at the desired location. -
Aerender CC 2014 returns "command not found" error on Mac 10.9.3?
Well, that about sums it up. I'm trying to run aerender in Terminal and I just get a command not found error.
Here's the batch script: "aerender -project /Volumes/xxx/After_Effects_Templates/xxx.aep -comp "Final_Web_800x600" -OMtemplate 800x600 H.264-output /Volumes/xxx/Renders/rendertest.mov"
Anyone know what I'm doing wrong?
Many thanks in advance.
BettsyHi wsrphoto,
You need to follow these steps.
1. Launch creative cloud application.
2. Go to Preferences and go to Account tab.
3. Sign out from there and then quit creative cloud application.
4. Launch Creative cloud again and log-in back again
5. Then download and install the product.
Please revert if you still face any issue. -
When trying to start InDesign CS6 Server: command not found
Greetings,
I just installed InDesign CS6 Server, but when trying to run the application from terminal I get the following error: -bash: InDesignServer: command not found
I thought, maybe it had something to do with the licensing so I ran this command:
MacBook-Pro-van-Mario:~ mariovandeneynde$ cd /Applications/Utilities/Adobe\ Application\ Manager/Enterprise/utilities/APTEE/CS6
MacBook-Pro-van-Mario:CS6 mariovandeneynde$ ./adobe_prtk --tool=StartTrial --leid=InDesignServer-CS6-Mac-GM
RESULT:
Copyright 2012 Adobe Systems Incorporated
All rights reserved.
StartTrial Successful
Return Code = 0
So, I tried to launch IDS again, but always the same error.
Now, my mac isn't a MAC Server, as mentioned in the Tech Specs, but I don't think that should mind, cause the installation was successful.
So, anybody got any ideas what I'm doing wrong?
Thanks!
MarioGot it to work eventually.
I was calling "InDesignServer -port 12345"
But I had to call the indesignserver.command application instead. That did the trick!
Thanks!
M. -
Shell Commands not found error when running application
Hello,
Im using MonoDevelop IDE in my Mac, before it used to work fine but after few days, now when I'm opening the application nothing happens., i checked the Console for the log and it says this
May 9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x52052].com.ximian.monodevelop[1510]: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop: line 17: dirname: command not found
May 9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x52052].com.ximian.monodevelop[1510]: /Applications/MonoDevelop.app/Contents/MacOS/monodevelop: line 31: //mono-version-check: No such file or directory
May 9 21:29:39 Sri-Vishnu-Totakuras-MacBook-Pro com.apple.launchd.peruser.501[599] ([0x0-0x52052].com.ximian.monodevelop[1510]): Exited with code: 1
I thought may be some error with the "dirname" command, so i commented it in the code and gave the path of directory myself and then the console shows up like this.
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 19: grep: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 19: cut: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 20: cut: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 21: cut: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 22: cut: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: /Applications/MonoDevelop.app/Contents/MacOS//mono-version-check: line 31: osascript: command not found
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: Cannot launch MonoDevelop
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro [0x0-0x56056].com.ximian.monodevelop[1532]: MonoDevelop requires the Mono Framework version 2.10.4 or later.
May 9 21:34:12 Sri-Vishnu-Totakuras-MacBook-Pro com.apple.launchd.peruser.501[599] ([0x0-0x56056].com.ximian.monodevelop[1532]): Exited with code: 1
I opened the contents of the application and run the shell script for opening aplication there it worked very fine and application started working.. But if i open application directly through launchpad or finder it doesnt show up and console
I tried running those commands in the terminal directly there they work.. But dunno whats wrong in here. and even if try to open the application through the terminal it all opens fine.. what could be the possible problem, is it with my mac..?i finally figured out the problem.. it is with the environmental variables. the path for all those commands like "grep" is not being set for the GUI applications. that is why i got that error.
for those GUI applications which require path, we have to set path in the file /etc/launchd.conf the environmental variables set in here are used by the gui applications and those which are launched through spotlight.
that file may bot be present in most of the macs. No problem even if not present,we can create one and use.
so type in terminal
$ sudo vi /etc/launchd.conf
and in the editor add these lines
setenv PATH = /new/path
and save. Note: replace /new/path with the path which you need to have for the commands used in the script.
remeber that you need to restart your mac for applications to use these environmental variables. -
-bash: gcc_select: command not found
HI
I am try to compile the Darwin kernel 9.8 on my system according this page https://developer.apple.com/library/mac/#documentation/Darwin/Conceptual/KernelP rogramming/build/build.html
but unfortunaly I get the error message
-bash: gcc_select: command not found
According to the manpage http://developer.apple.com/library/mac/#documentation/Darwin/Reference/Manpages/ 10.5/man1/powerpc-apple-darwin9-gcc-4.0.1.1.html
In Apple's version of GCC, both cc and gcc are actually symbolic links to a compiler named like gcc-version; which compiler is linked to may be changed using the command gcc_select. Similarly, c++ and g++ are links to a compiler named like g++-version.
but unfortunaly I didn´t got the command on my system
can anybody help (sry for the bad english) if the is not enough information pls tell me
System
Macbook5.1
Mac OS X 10.5.8
Xcode 3.1.2
Thank in advanceThank for the answer
but unfurtunaly I can´t sign in to the developer Forum don´t know why
I suggest that I have to pay $99/year to get access to Forum
Developer Technical Support Incidents are only available to members of the iOS, Mac, and Safari Developer Programs.
for a simple answer I am not ready to pay 99$ that is rip off fraud
Welcome to Apple
NO MONEY get out of here
realy sad
Hope that someone can help me with my issue how to get the gcc_select or how to change the gcc
cheers -
Export: command not found
I have been trying to install something via MacPorts and was following a blog that described setting the PATH appropriately so that the port command would work, however when I updated .bash_profile as described in the blog and tried to source it, it gives me the error, "export: command not found."
currently echo $PATH returns: /Library/Frameworks/Python.framework/Versions/2.7/bin:/usr/bin:/bin:/usr/sbin:/ sbin:/usr/local/bin:/usr/X11/bin
Any thoughts on how to proceed?Please post the actual code.
Also are you sure you are using the 'bash' shell (or sh, ksh, zsh shells)? With all these shells 'export' is a built-in command and should never be "not found".
Could you be using the csh or tcsh shell? If you are using one of these shells, then setting environment variables is done using the 'setenv' command, which is also a csh/tcsh built-in.
Use the following command to see what your default shell is:
dscl . -read $HOME shell
If you have csh or tcsh as your shell, then use something like the following to set your PATH environment variable:
setenv PATH "$PATH:/the/stuff/you/are/adding" -
Internal drives locked - "chflags: command not found"
My Intel MacPro has always had occasional issues with ownership and permissions ever since migrating my home folder from a PowerPC. As this is no longer my primary machine, I unwisely decided to do some tidying up. I have drives in 3 bays and they are all partitioned. In moving some data from one partition to another I encountered "you do not have permission.." so called up the Get Info window, noticed the privileges were set to 'custom' and decided to set this straight. And for the other partitions.
So now every partition has a lock icon except the partition with the OS 10.5.8 on it
Get Info won't allow me to remove the lock or change the privileges
As of today, I now cannot boot from the 10.5.8 partition (no idea why this developed), so have booted from the OSX Install DVD
Running Disk Utility I can verify the 10.5.8 partition ok (all other partitions still are locked) but Verify Disk Permissions returns "Error: The underlying task reported failure on exit"
So I read a load of threads here and opened Terminal from the Install DVD and typed
chflags 0 /volumes/*
very carefully
but it says
chflags: command not found
There is insufficient space on the unlocked partition to run an Archive & Install of the OS, and it won't let me install onto any other partition beause they're locked. I was considering booting it in Target Disk Mode - perhaps BatChmod works?BatChmod might work, but careful on the boot disk.
Open Terminal & paste this in, spaces are important...
chown root /Volumes/
chmod 1777 /Volumes/
then right after the last / of each line, carefully type the name of that external volume, & if it has spaces in it enclose the name in quote marks.
See this User Tip by Niel: I accidentally set a disk's permissions to No Access ...
If the disk in question is your Mac OS X startup disk and your computer stops starting up at the blue screen, restart with the Command and S keys held down, and enter the following commands:
mount -uw /
chown root /
chmod 1775 /
exit
https://discussions.apple.com/docs/DOC-2240
I think your original permissions problems were likely from already having an account setup on the new Mac before using MA, in that case the old 1st user on the PPC, (501), gets migrated to 502 on the new mac, & so on. -
when i try to boot usb yosemite , i have this message (sudo: /Applications/Install OS X Yosemite.app/Contents/Resources/createinstallmedia: command not found)
You are getting a kernel panic because you are trying to boot the computer with a Tiger DVD. That model requires 10.6.3 - Snow Leopard. You can purchase replacement discs from Apple:
Apple Store Customer Service at 1-800-676-2775 or visit online Help for more information.
To contact product and tech support: Apple - Support - Contact Apple Support.
For Mac App Store: Apple - Support - Mac App Store.
For iTunes: Apple - Support - iTunes. -
Su: mailbfr: command not found
I'm having a problem with my mail databases. I have 5 mail accounts and one of them (mine) seems to be corrupt. Last week I did a manual recovery (Following a tech doc from Apple) and got my e-mails back. But all the mails in the inboxes of all the users were mark as unread.
Since I now have the opportunity to recover my user mail once again, I would like to use mailbfr. I followed the instructions on the manual, but every time I isuse a mailbfr command I get the following error:
su: mailbfr: command not found
mailbfr is at:
macosxserver:/usr/sbin/mailbfr root# ls
.DS_Store ChangeLog.txt Disclaimer.txt mailbfr.rtf
..DSStore Credits.txt mailbfr
And mailbfr.1 is at /usr/share/man/man1
What I'm I doing wrong?
Any help is greatly apreciated
Regards
Alvaro
PowerMacG4/Mac Mini Mac OS X (10.3.9) 1Gb RAM, 1.42 GHzYou should copy ONLY the mailbfr script into /usr/sbin NOT the whole directory.
Also you should do this via terminal and not the finder.
Next set permissions as described in the documentation and it will work
Alex
P.S. Running mailbfr -f will set all read flags to unread as well. -
I want to disable 'Spotlight' for repairing my disk "Macintosh HD" , but somehow the command 'sudo mdutil -a -i off' does not work in 'Terminal'. I get result as ' bash: sudo: command not found' .I am using OS 10.10. Please help.
It appears that you may not have a properly installed OS X system.
You must be connected to the Internet to reinstall OS X.
In the menu bar, choose Apple menu > Restart. Once your Mac restarts (and the gray screen appears), hold down the Command (⌘) and R keys.
Select “Disk Utility,” and then click Continue.
Select your startup disk from the list on the left, and then Repair Disk.
After disk is repaired, select Reinstall OS X, then click Continue.
Follow the onscreen instructions. In the pane where you select a disk, select your current OS X disk -
Lsnrctl: command not found while restoring the cold clone 11i 11gr2 instan
Dear Experts,
We have noted few errors while doing the Clonning of our production instance.
1. We have upgraded our production instance database from 9i to 11gr2 using the latest interoperablity note id.
2. When trying to restore the instance we are getting the below error. We have noted that our database is up and running but when i manually tried to restore the instance we are gettting the below error.
bash: lsnrctl: command not found
Please note that when ever we are clonning the instance from source to target we have noted that lsnrctl command is missing from the oracle_home/bin folder ?
Is that a bug in 11gr2 with 11i instance.?
3. Please find the attach log files of the clone and advise ASAP.
Regards
Mohammed.[root@oracle JCLONE_oracle]# vi ApplyDBTier_11151230.log
sDbPort : 1524
sDbSid : JCLONE
sDbUser : apps
Trying to connect using SID...
getConnectionUsingSID() -->
JDBC URL: jdbc:oracle:thin:@oracle.jtl.co.ke:1524:JCLONE
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle.jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE)))
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter could not establish the connection
Trying to connect using SID as ServiceName.DomainName
getConnectionUsingServiceName() -->
JDBC URL: jdbc:oracle:thin:@(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=oracle.jtl.co.ke)(PORT=1524))(CONNECT_DATA=(SERVICE_NAME=JCLONE.jtl.co.ke)))
Exception occurred: java.sql.SQLException: IO Error: The Network Adapter could not establish the connection
Connection could not be obtained; returning null
-------------------ADX Database Utility Finished---------------
RC-00118: Error occurred during creation of database
Raised by oracle.apps.ad.clone.ApplyDatabase
StackTrace:
java.lang.Exception: Control file creation failed
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:661)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:328)
at oracle.apps.ad.clone.ApplyDatabase.<init>(ApplyDatabase.java:304)
at oracle.apps.ad.clone.ApplyDBTier.<init>(ApplyDBTier.java:154)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
at java.lang.reflect.Constructor.newInstance(Constructor.java:501)
at oracle.apps.ad.clone.util.CloneProcessor.run(CloneProcessor.java:68)
at java.lang.Thread.run(Thread.java:595)
Errors in file /u04/d01/tech_st/11.2.0/admin/JCLONE_oracle/diag/rdbms/jclone/JCLONE/trace/JCLONE_ora_13528.trc:
ORA-00367: checksum error in log file header
ORA-00305: log 1 of thread 1 inconsistent; belongs to another database
ORA-00312: online log 1 thread 1: '/u04/d01/apps_st/data/log01a.dbf'
Clearing online redo logfile 1 complete
Clearing online redo logfile 2 /u04/d01/apps_st/data/log02a.dbf
Clearing online log 2 of thread 1 sequence number 0
Errors in file /u04/d01/tech_st/11.2.0/admin/JCLONE_oracle/diag/rdbms/jclone/JCLONE/trace/JCLONE_ora_13528.trc:
ORA-00367: checksum error in log file header
ORA-00305: log 2 of thread 1 inconsistent; belongs to another database
ORA-00312: online log 2 thread 1: '/u04/d01/apps_st/data/log02a.dbf'
addlnctl.txt
/u04/d01/tech_st/11.2.0/appsutil/scripts/JCLONE_oracle/addlnctl.sh: line 96: lsnrctl: command not found
/u04/d01/tech_st/11.2.0/appsutil/scripts/JCLONE_oracle/addlnctl.sh: line 111: lsnrctl: command not found
addlnctl_tmp.txt
/u04/d01/tech_st/11.2.0/appsutil/scripts/JCLONE_oracle/addlnctl.sh: line 111: lsnrctl: command not found -
I am trying to compile a simple hello world type command line program.
When I type gcc hello.c -o hello i get:
-bash: gcc: command not found
I am running OS X ver. 10.7.3
I have Xcode 4.3.2 installed
And yes, I'm completely new to Mac.
Any and all advise will be greatly appreciated.
Newbie signing out....
BobbyHi Keith, thank you for your quick response.
I installed Xcode via app store and do not recall
anything about the command line options. So I'm
going to guess I didn't install them. Is there a setting
to apply this in Xcode? Any direction you can give
is really appreciated.
Regards
Bobby -
got this error in the Installer log while using the upgrading option to Leopard. After that the installation just stalled and did not move. I have tried more than a few times. and same results. Can ANYONE PLEASE HELP ? Below is the error message
Oct 27 05:48:23 localhost runner150: _Installer_Script_Springboard_163: /Volumes/Reddy`s HD/private/tmp/scripts.VaIV/_Installer_Script_Springboard_: line 13: s: command not found
Oct 27 05:48:23 localhost runner150: _Installer_Script_Springboard_163:
Oct 27 05:56:19 localhost Unknown67: 2007-10-27 05:56 Mac OS X Installer143 (CarbonCore.framework) FSEventStreamStart: ERROR: FSEvents_connect() => Unknown service name (1102)
Oct 27 05:56:21 localhost OSInstaller143: installAutoFSMonitor: open failedHi!
After 6 hours of experimenting, disconnecting devices, formatting my hard drive (joy!) and getting nowhere, I found the problem: apparently, Leopard has trouble dealing with some characters in the volume name (in my case it was '). Rename the volume to something simple, short and with no weird characters and the Leopard will install.
And, to Apple: I'm very disappointed with the quality of the Leopard install. If a character is valid in OS X, the setup should support it!
Best regards,
IYan -
-bash: sudo: command not found
Hello all,
I have had WAY too many problems with this laptop, and at this point in its miserable little life, I've decided to just wipe the hard drive and start fresh, not caring at all what happens to the files left on there. As previously stated in one of my earlier questions (That was, might I add, never fully answered.), this late 2008 MacBook (aluminum) has a problem where it does not boot up, and just endlessly shows the gray spinning pinwheel. Four months later, that just stops, and now when trying to boot up with my normal startup disk, it brings me right to the Recovery disk and tries to reinstall OS X. I tried, it failed 5 minutes in. So I tried to wipe the hard drive, and it says: Disk Erase failed with the error: Couldn't unmount disk. I looked it up and I saw that if I went into the Terminal and typed: sudo diskutil unmountDisk /dev/disk0 , it would unmount the disk. But whenever I type that, it says: -bash: sudo: command not found. I have no idea how to fix this, and I would really like to be able to use my laptop again without giving somebody my money to do it for me.
Thanks,
LukeClean Install of Snow Leopard
Be sure to make a backup first because the following procedure will erase
the drive and everything on it.
1. Boot the computer using the Snow Leopard Installer Disc or the Disc 1 that came
with your computer. Insert the disc into the optical drive and restart the computer.
After the chime press and hold down the "C" key. Release the key when you see
a small spinning gear appear below the dark gray Apple logo.
2. After the installer loads select your language and click on the Continue
button. When the menu bar appears select Disk Utility from the Utilities menu.
After DU loads select the hard drive entry from the left side list (mfgr.'s ID and drive
size.) Click on the Partition tab in the DU main window. Set the number of
partitions to one (1) from the Partitions drop down menu, click on Options button
and select GUID, click on OK, then set the format type to MacOS Extended
(Journaled, if supported), then click on the Apply button.
3. When the formatting has completed quit DU and return to the installer. Proceed
with the OS X installation and follow the directions included with the installer.
4. When the installation has completed your computer will Restart into the Setup
Assistant. After you finish Setup Assistant will complete the installation after which
you will be running a fresh install of OS X. You can now begin the update process
by opening Software Update and installing all recommended updates to bring your
installation current.
Download and install Mac OS X 10.6.8 Update Combo v1.1. You may then open App Store, click on the Purchases icon in the toolbar, and re-download any OS X upgrade you purchased except Mavericks. Since Yosemite has been released the App Store may not let you re-download Mavericks, but it will let you download Yosemite.
Maybe you are looking for
-
Cannot send email to one particular address
I've lost the ability to send emails to my work email address, it seems to have stopped working in the last 30 days or so. I can receive emails from the work address to my personal address, but sending from the personal address to work doesn't work.
-
Is there a zoom facility in FCP?
I have the edge of lighting stand just in shot on a wide and I was wondering if it is possible to zoom in a little to hide it? I can't find any filter that says "Zoom"
-
Artwork for midi files in iTunes
I have many midi files in my itunes that I output to midi instruments and a piano. I know how to put album artwork with an mp3 or other formats in itunes and haven't had any problems there but I can't get album artwork to work with a SMF (standard mi
-
Can you use more than one ipod with just one itunes?
Just wondering if it's ok to use 2 ipods from the same itunes? Me and the wife have been sharing an ipod, but we've got one each now, so can we both just use the same itunes?
-
Open Browser with No Address Bar from Java
How to open a IE Browser from Java with no address bar, tool bar etc ? I am able to open browser like the listed code, but the requirement for me is it has to open with no "Address Bar", buttons. I know we can do that in "Javascript" but how to or is