CERN Accelerating science

This website is no longer maintained. Its content may be obsolete. Please visit http://home.cern/ for current CERN information.

CERN home pageCERN home pageDocuments by ReferenceDocuments by ReferenceCNLsCNLsYear 2002Year 2002Help, Info about this page

Contents
Index

Editorial Information
Editorial
If you need help
Announcements Physics Computing Desktop Computing Internet Services and Network Scientific Applications and Software Engineering The Learning Zone
  • Questions and Answers from the Computing Helpdesk
User Documentation Just For Fun ...
Previous:The Learning Zone
Next:User Documentation
 (If you want to print this article)



Questions and Answers from the Computing Helpdesk

Collected by the User Asssistance Team in IT/US

Nicole Crémel (Editor) , IT/User Services


Abstract

This is a collection of Questions & Answers that have been treated by the Computing Helpdesk managed by the User Services group.

N.B. The number in parentheses refers to its relative numbering in the "Question-Answer" database, at URL:
http://cern.ch/consult/qa/NNN
where NNN is the problem identifier (number).


 


Windows Support  -  


Question (QA 987)   - Excel chart

I'm trying to establish an Excel chart where I have:

 - descriptions in cells A (downwards), representing years
 - data in cells from B onwards
My problem is that, when I invoke the chart wizard after highlighting the whole sheet , data is somehow plotted correctly, but the descriptions of cells A are also plotted, getting named "Series1", "Series2", etc. by Excel. How can I avoid the latter?

Answer   -   This happens when cell A1 also contains information, which causes Excel to think it also has to produce chart lines on the A column (it doesn't know that the user only means it as a 'header' or 'description' column, as it saw numerical data - the years - in it, further down).

Delete the content of cell A1 (if you can't or don't want to, just shift all cells downward one row, so that what was in A1 is now in A2). The chart will now work correctly, representing the cell A 'years' data numerically as years and not as 'Series' anymore.

Note: One doesn't have to leave cell A1 blank on every Excel sheet, but it would be good general practice to do so.

Question (QA 996)   - Phonebook: OLEAUT32.DLL is out of date

When I'm trying to open the NICE 2000 phonebook, I am prompted with an error message:

  The file OLEAUT32.DLL is out of date. This program requires a
  newer version.

Answer   -   You are running an old version of this DLL. The more recent one you had earlier was most certainly downgraded by installing some non-standard external software.

Either uninstall this software again and reboot, or re-register this DLL by executing (from the command line prompt):

 regsrv32.exe "C:\WINNT\system32\oleaut32.dll"

Question (QA 3021)   - Find computer name out of an IP address

How can I find out the name of a server or workstation when I only know its IP address?

Answer   -   In Windows, get a DOS prompt and type:
 ping -a 'IP-address'  (without the quotes)
To obtain a DOS prompt in NICE2000 or NT, type cmd on the 'start - run' prompt. In NICE 95/NT, one can use 'start - applications - 12 DOS prompt'.

The equivalent unix command is

 nslookup 'IP-address' (without quotes)
Above methods only work if the host is reachable.

Another method for CERN sites, via the web, is with a search from the http://network.cern.ch/register web page: select the operation (link) "View the registered information about a device", and provide the IP address (TCP/IP).

Question (QA 3040)   - Excel refuses text beginning with / (forward slash)

When I try entering text into an Excel cell that begins with the "/" (forward slash) character, typing is refused. The online help doesn't seem to have any article available concerning this special character.

Answer   -   This behaviour only happens when you *click* a cell and enter text. To enable text editing directly in an Excel cell, either *double-click* it or hit F2 before entering the leading "/" character.

Note: The "edit directly in cell" check box must be enabled to do this (which it is by default). If it isn't, click Options on the Tools menu, click the Edit tab, and then select the "Edit directly in cell" check box.

Question (QA 3041)   - Print PDF with Adobe Acrobat reader - acrord32.exe has generated errors

When I try to print a PDF file with Adobe Acrobat reader 4.05 I get the following error :

  acrord32.exe has generated errors and will be closed by Windows.
I have tried to :
 - re-install printers
 - re-install Adobe Acrobat reader 4.05
 - restart the computer
but the error persists.

Answer   -   Check for a process called AcroTray.exe in the Task Manager. Kill it and retry printing.

Question (QA 3051)   - Windows Installer - network resource unavailable 'ISScript.Msi'

When I try to install third party software on my notebook I get the following error message:

  Windows Installer - The feature you are trying to use is on a network
  resource that is unavailable ---  installation package 'ISScript.Msi'.
The folder it is looking in is:
  "C:\DOCUME~1\'userid'\LOCALS~1\Temp\{EB152B13-61AC-11D4-8F43-00B0D02CFCC8}
\{F1EC876A-BFBA-4171-A138-C654BB13C6BB}\"

Answer   -   Please note: third party software installations are normally not supported by the NICE team. But here are some hints:

This error indicates that the msi package has been built using InstallShield for Windows Installer and it was unable to successfully install one of its key components using the ISScript.msi file.

You can probably solve this problem by downloading a new version of the file called ISScript.msi (from the InstallShield site or from the site of your software).

Download it and double click on it. Once you have done this, try running your application installer again.

Question (QA 3074)   - Windows 2000 server licence and installation

I would like to know how to apply for a Windows 2000 server licence and what the cost is.

Answer   -   Such an installation must be done by the user, there is no NICE support for it. The installation CD has been copied onto DFS. CERN has no global licence for Windows 2000 server: You have to buy as many licences as servers.

For that you are asked to contact Mrs. Marlene Prigent (tel 72064).

 


Unix Support  -  


Question (QA 3047)   - Restricted login access to LXBATCH

Since yesterday (Apr 2002) I could execute commands like:
"rsh lxbatch521 ls /pool/lsf/..."
from my usual lxplus account. This stopped working yesterday afternoon.

Answer   -   The fact that general users are not able to login to batch nodes is the desired behaviour. We have had access restrictions in place for some time on the batch clusters, but there were always ways to get around the restrictions (for example telnet was blocked but not rsh !). Since yesterday a new and much more effective method was put in place which really blocks all interactive access (login) to Lxbatch. This is necessary since interactive access is abused to get around the load-balancing.

Following news has been published in the cern.computing newsgroup on Apr 30 2002. If you still have questions on this issue, send a mail to LSF.Support@cern.ch.

 Scope:     Logins to LXBATCH using any means such as telnet, rsh, ssh
  
 Abstract:  The login restriction mechanism on LXBATCH has been upgraded to
            patch the holes through which it was still possible to gain
            interactive sessions on these batch nodes.
  
 Effective: 2002/04/30
  
 Details:   For the past three years there have been login restrictions
            enforced on batch clusters such as LXBATCH.  This is necessary
            in order to reserve the nodes for pure batch work, and leave
            them accessible only through the LSF commands.  Unfortunately
            the mechanism used was known not to be bullet proof and
            determined people were still able to get in.  We have therefore
            changed to a more standard Linux mechanism which is effective
            against all connection protocols such as telnet, rsh and ssh.
            So henceforth the LXBATCH cluster should really only be
            accessible through the LSF commands, and the LSF system can
            correctly share the resources without exceptions.  If you have
            applications which were relying on these loop-holes then please
            contact us to discuss the approved mechanisms to achieve your
            goals.

Question (QA 2418)   - Linux PC does not boot - file system with errors

My Linux PC refuses to boot and gives many error messages:

 /dev/hda7 contains a file system with errors
 ...
 unexpected inconsistency, run fsck MANUALLY
 ...
 give root password for maintenance
 or ctrl-D for regular start...
I do not have the root password, and ctrl-D brings me after a while to the same position as above.

Answer   -   Try to go in single user mode and to run fsck of the filesystems with problems (/dev/hda7).
N.B. to go to single user mode select linux single at the LILO prompt.

If this does not help you should contact the administrator of the machine with the root password, (you should get his name from the network/register database.

Question (QA 3044)   - Time policy for /tmp file system

How long can I expect files in /tmp to stay, e.g. on Dxplus or Lxplus ?

Answer   -   /tmp is for temporary files only. There are several tools that repeatedly monitor the /tmp file system and delete old files: e.g., on Dxplus, at 4:20 every night, files not accessed for the past 2 days are deleted from a simple "find" command. On all systems (including Lxplus) there is also a program called "purge2" running, which is not so strict (it allows 5 days for a file).

For more details you should explain precisely what are your needs.

Question (QA 3032)   - Request for maxidisk (e.g. ATLAS collaboration)

We need quite a lot of space on Unix to run our software (ATLAS collaboration). Is it possible to get some kind of "maxidisk" ? Can such a maxidisk be used (and shared) by several users ?

Answer   -   Please note first that there are three major sources of disk space on Unix central servers:
  1. local temporary space (e.g. /tmp) on your machine. This is probably the best for most types of access.
  2. global space (at CERN it is /afs/cern.ch using AFS) which has a caching mechanism and a central server. This is ideal for moderately small amounts of data and source code. It is backed up nightly, and has the convenience and risk and extra cost associated with these features.
  3. data mass storage (i.e. SHIFT/Castor at CERN).
AFS space is managed per account (with a maximum 500 MB) or project directory which may be personal or experiment wide.

If you think the solution for you is AFS space, it is possible to create a 500 MB maxidisk, e.g. /afs/cern.ch/atlas/maxidisk/d141. Such a request must be addressed to your experiment mailing list (e.g. atlas-support@cern.ch), or to a computer administrator for ATLAS (group ZP, look at: http://consult.cern.ch/xwho/people/form/admins).

Access to this space is governed by the usual AFS rules, and it is possible to configure it (e.g. give read or write access to several users) with the usual command "fs setacl" ("fs listacl" will display current access and ACLs setting).

Question (QA 3018)   - Problem with .Xauthority and/or AFS (ssh connection)

Trying to connect to Lxplus with ssh I get the following error message:

     /usr/bin/X11/xauth:  timeout in locking authority file
     /afs/cern.ch/user/d/diracxfr/.Xauthority
     fs: You don't have the required access rights on
     '/afs/cern.ch/user/d/diracxfr'
     Warning: cannot calculate quota - there might be AFS problems

Answer   -   This problem happens when connecting with ssh from one AFS account to another and when the Kerberos ticket and AFS token are not getting forwarded. A solution is to force it and use the command "ssh -k" or issue the "klog" command after login on the machine.

This a a known problem of the current SSH installation (April 2002) but the system managers are working on a solution such that it is not necessary to force this -k option.

 


Mail Support  -  


Question (QA 156)   - Read mail from outside CERN

When I travel for work, how can I read my mails ? (i.e. access my CERN mailbox from outside).

Answer   -   Here are several possibilities that you can try to access your CERN mailbox from outside:

1. You can try to use the CERN Webmail interface (at http://mailwww.cern.ch/webmail - Based on the Internet Messaging Program (IMP) - with your CERN Mail username and password.

However, please note:

  • you should test your settings for:
     ·  timeouts: if the network is too slow, you may experience failure 
     ·  cookies: should be allowed 
     ·  SSL: should be active 
     ·  security levels: some pre-configured values (basically affecting cookies) in some browsers might cause problems. 
    
  • Following note is what you can read in the webmail web page:
     NOTE: This interface is only available for a trial period and
     is not  officially supported by the CERN mail service. If you
     have any problems using this interface please do NOT contact 
     the official support lines  here at CERN. You may however send
     a message to or subscribe to the webmail-discuss@cern.ch list 
     if you have any questions.
    

2. Another solution is to configure your mail client (e.g. Netscape, Outlook ... ) to access the CERN Mail Server:

 Mail server user name: userlogin 
 Outgoing mail (SMTP) server: maildev.cern.ch 
 Incoming mail server (IMAP): userlogin.mailbox.cern.ch 
 Mail server type: IMAP 
 IMAP mail directory or root directory: mail/ 
 Authentication only needed for incoming mail servers. 
3. A last possibility for Unix users with an AFS account is via telnet ("telnet lxplus.cern.ch") and by using pine with your AFS username and password.

However, please note: there is no official support provided by the CERN mail services for that (apart from support linked to usage of the CERN Mail server), and we cannot help if the above solution do not work.

Question (QA 3046)   - Problem with Outlook file \\cern.ch\dfs\...\00000001.pst

I cannot read anymore my mail using Outlook on my PC. I get the error message:

  Unable to expand the folder. The set of folders could not be opened.
  Errors have been detected in the file
  \\cern.ch\dfs\users\m\mpimenta\outlook\... - 00000001.pst
  Quit all mail-enabled applications and then use the Inbox Repair Tool.
Where can I find this "Inbox Repair Tool" ?

Answer   -   The Inbox Repair Tool (also referred to as Scanpst.exe) is designed to scan and repair inconsistencies found in a .pst or .ost file.

You will get all details on how to use it in the "Windows 2000 @ CERN" User Guide, or, on the Web, at: http://cern.ch/winservices/docs/Outlook/,
in the section "The Inbox Repair Tool with Internet Only Option (IMO)", at: http://cern.ch/winservices/docs/Outlook/#h-012

Question (QA 2483)   - Mail error 452 in pine

I can not send any more mails using "pine" on Unix. When I send a mail, I get the error message:

 Mail not sent. Sending error: 452 

Answer   -   Error "452" in "pine" is "Insufficient disk space; try again later", which happens when the machine where you are working does not have enough mail spool space (i.e. the /var file system is full and the sendmail program had no space left to store the message).
  • If the machine is a central Unix server, based of AFS (e.g. Lxplus) it can mean that the afsmail or mail server spool is full. Type "hostname" to find out which node has the problem and contact the mail support team (Mail.Support@cern.ch).
  • Still on a central machine the problem should disappear if you "quit" pine and disconnect, then reconnect to a different node (where most likely the spool space will be fine).
  • On a non-central machine contact the system administrator.

 


Web Support  -  


Question (QA 1768)   - Publish AFS files via the web

How can I publish my afs-files on the web without having a server of my own?

Answer   -  
  1. Create an AFS web site using the WebRegister site.
  2. Go to your AFS home directory (cd $HOME)
  3. Type the command webaccess, which will create the directory ~/www with the adequate AFS ACLs.
From then on, all HTML files (.html) in the ~/www directory and its subdirectories will be visible on the web, via the URL http://cern.ch/loginname.

Example: A file mydoc.html will be visible via the URL: http://cern.ch/loginname/mydoc.html with loginname being your AFS login.

Please note:

  1. This will only work if your account is already registered with the central web servers. To test if it is, go to the Webregister page and search your website.
  2. If you want to offer a directory listing of your files see qa/3057 .

Question (QA 190)   - Enable web directory listing (index) on NICE website

I would like to offer a directory listing to people trying to access via the web the files I have stored at my NICE website.

How do I do that?

Answer   -   We should first clarify what one should understand by a "NICE website". This is considered a website "Mapped to a directory on NICE" in step 4 of the Webservices registration mechanism, at http://cern.ch/webregister .

Let us assume that your website is http://cern.ch/~loginid; this is typically mapped to your J:\WWW directory. Also note that "Welcome page" documents at given directories must be named default.htm. Thus the above URL will try to show J:\WWW\default.htm.

If the "Welcome page" document does not exist AND directory browsing is disabled (the default, a safe option when you don't want to disclose all document names at your website), the browser will give an access error.

However if directory browsing is enabled, the browser will show a directory listing in absence of an adequate welcome page. This can be set up for every directory needed.

How to do it?

To enable directory browsing you have to create/edit the file j:\WWW\nicewww.ini containing the following lines:

 [NiceWWW]
 EnableDirectoryBrowsing = 1
You can also use the WebRegister Interface to change the "directory browsing" attribute.

Historical reference

Default Access Rights to NICE Home Directories was fully explained in a CNL article (not up-to-date).

Question (QA 3057)   - Enable web directory listing (index) on AFS (Unix)

I would like to offer a directory listing to people trying to access via the web the files I have stored on AFS and that are accessible via the Web (e.g. http://cern.ch/username)

How do I do that?

Answer   -   This is possible when using the Apache server. You should simply create a file (in the directory you want to list files) with the name .htaccess and in this file write a line:
    Options +Indexes
The Apache server is used at CERN, and you have quite a detail description of it for User Customization at: http://consult.cern.ch/cnl/236/apache.html

Question (QA 3058)   - Web access restriction

How is it possible to protect web pages and make some access restriction (e.g. via a password) ?

Answer   -   This is possible using the Apache server. See all details in the CNL article "User Customization of Apache Web Servers", section "How to protect your data" (restricting by hostname or by username and password).

Question (QA 3059)   - Web page redirection

I would like to map an old URL automatically into a new one. How shall I do ?

Answer   -   Using the Apache server you can do it with the redirect directive in the file .htaccess.

This is explained in the CNL article "User Customization of Apache Web Servers".

Question (QA 3024)   - Internet Explorer's headers and footers printout options

What are the Internet Explorer possibilities concerning the printout of headers and footers that I can specify in the 'page setup' tool?

I would like to see the URL of a web page printed, but I do not care about the time of the day nor the date when it was done.

Where can I find a description of all these variables? I searched in the IE online help but failed...

Answer   -   Internet Explorer's headers and footers printout options are described within its online help, but I must admit, they are well hidden. One can find them in the article:
 "To change how a Web page looks when it prints "
  which one can reach via the online help index:
  
 - web pages
 - printing
 - to print a web page
 - "related topics"
This contains a full description of the functions of all printing variables.

Question (QA 3035)   - FTP from Internet Explorer - Page cannot be displayed

When I try to FTP from my Internet Explorer (V5) on Nice 2000 to LXPLUS, I immediately get the error message "The Page cannot be displayed", even before any login prompt.

Answer   -   For some reason (although this is not the default behaviour) your FTP folder viewing must have been disabled.
 - Start Internet Explorer
 - Open "Tools->Internet Options" and select "Advanced"
 - There you will find under the "Browsing" category a checkbox called
   "Enable folder view for FTP sites"
 - Check it and everything works fine !

About the author(s): Editing and revising the "Question and Answers" database is a daily task of the members of the User Asssistance Team in the User Services group.


For matters related to this article please contact the author.
Cnl.Editor@cern.ch


CERN-CNL-2002-002
Vol. XXXVII, issue no 2


Last Updated on Tue Jul 02 14:43:10 CEST 2002.
Copyright © CERN 2002 -- European Organization for Nuclear Research