]> scripts.mit.edu Git - www/raw.git/blob - faq/56.mdwn
Import from TextPattern
[www/raw.git] / faq / 56.mdwn
1 [[!meta title="Why isn't the 'add' command working?"]]
2 There are two cases where you can run into this problem: either on
3 Athena, while signing up, or on scripts.mit.edu itself.
4
5 #### The command “add scripts” gives an error
6
7 The **add** command is a standard Athena command to manage lockers.
8 If you’re having trouble getting **add scripts** to work, check the
9 following:
10
11 -   Make sure you’re on a standard Athena Linux or Athena Solaris
12     computer connected to the network, either a workstation (e.g., in
13     the clusters), or a dialup such as
14     [athena.dialup.mit.edu](http://athena.dialup.mit.edu).
15 -   If the prompt does not start with **athena%** or **athena$**,
16     try opening a new terminal with the “Prompt” button, or try a
17     different workstation.
18 -   If you get the error “add: Command not found,” you’re probably
19     missing the login settings files (“dotfiles”), which set up the add
20     command. Try the following:
21 -   If you’re on a cluster machine (not a dialup), log out, click
22     “Login Options”, select “Ignore customizations”, and then log in.
23     This should attempt to avoid customized dotfiles.
24 -   If this still doesn’t work, you’re probably missing your
25     dotfiles entirely. Check that the files .login and .cshrc are
26     present in your home directory. (These are hidden files, so you
27     will have to use **ls -a** to list them.) If they aren’t there,
28     copy them (as well as any other missing dotfiles) with the command
29         cp /usr/prototype_user/.* ~
30
31     Then log out and back in.
32
33 If you’ve determined you’re missing your dotfiles and you’re having
34 trouble restoring them, you can ask
35 [IS&T](http://web.mit.edu/consult/www/) for help.
36
37 #### Adding a locker from a script doesn’t work
38
39 scripts.mit.edu doesn’t support the add command, because it’s
40 difficult to make it work correctly outside of the shell. As a
41 replacement, however, the /mit directory is *automounted*, so using
42 a file in /mit/*lockername* implicitly attaches the locker. This
43 way, you can run software in lockers by giving its full path, e.g.
44 /mit/moira/bin/blanche for the blanche client.
45
46 (The full path of locker software is generally
47 /mit/*locker*/bin/*program* or
48 /mit/*locker*/arch/@sys/bin/*program*. If you’re having trouble,
49 add the locker on Athena and run **type *program*** or
50 **which *program***.
51
52
53