Message boards : Number crunching : Recommended CVMFS Configuration for Native Apps - Comments and Questions
Message board moderation

To post messages, you must log in.

Previous · 1 · 2

AuthorMessage
kotenok2000
Avatar

Send message
Joined: 21 Feb 11
Posts: 82
Credit: 577,297
RAC: 40
Message 48291 - Posted: 12 Jul 2023, 15:26:16 UTC

I ran cvmfs_config stat piped to column -t -s=' '
ID: 48291 · Report as offensive     Reply Quote
[BAT] Svennemans

Send message
Joined: 23 Dec 05
Posts: 6
Credit: 378,585
RAC: 1,653
Message 51680 - Posted: 13 Mar 2025, 13:51:28 UTC

Hi,

I installed cvmfs on an Ubuntu 24.04.

Local config /etc/cvmfs/default.local:

# Must be set: the repositories required for ATLAS/Theory
# If "CVMFS_DEFAULT_DOMAIN" is set to "cern.ch" like in /etc/cvmfs/default.d/50-cern.conf
# simple names will expand to FQRNs,
# e.g. atlas -> atlas.cern.ch
CVMFS_REPOSITORIES="atlas,atlas-condb,grid,cernvm-prod,sft,alice"

# Must be set: to ensure openhtc.io will be used
CVMFS_USE_CDN=yes

# If a local proxy <my_proxy> is available that listens at port <proxy_port>.
# Replace <my_proxy> with either:
# - the computer name of your local proxy; requires a well configured local name resolution
# - the FQDN of your local proxy; requires a well configured local name resolution
# - the IP of your local proxy
# Replace <proxy_port> with your proxy's TCP port; Squid's default would be 3128
# Pattern: CVMFS_HTTP_PROXY="http://<my_proxy>:<proxy_port>;DIRECT"
# Example: CVMFS_HTTP_PROXY="http://squid:3128;DIRECT"

# Only recommended for clusters <5 worker nodes:
# uncomment the next line if no local proxy is available.
CVMFS_HTTP_PROXY="auto;DIRECT"

# further options
CVMFS_KCACHE_TIMEOUT=2
CVMFS_MAX_RETRIES=3
CVMFS_QUOTA_LIMIT=6000
CVMFS_DEBUGLOG=/tmp/cvmfs.log


running cvmfs_config probe:

# cvmfs_config probe
Probing /cvmfs/atlas.cern.ch... OK
Probing /cvmfs/atlas-condb.cern.ch... OK
Probing /cvmfs/grid.cern.ch... OK
Probing /cvmfs/cernvm-prod.cern.ch... OK
Probing /cvmfs/sft.cern.ch... OK
Probing /cvmfs/alice.cern.ch... OK


the 'chkconfig' command just gives a bunch of warnings on not finding an auto proxy - but I'm assuming it then falls back to DIRECT - given that the Probe succeeds?

So probe seems OK, but cvmfs_config stat gives me the following error:

cvmfs_config stat
/usr/bin/cvmfs_config: line 935: cd: /cvmfs/cvmfs-config.cern.ch: Transport endpoint is not connected


Any idea what's wrong here?
ID: 51680 · Report as offensive     Reply Quote
kotenok2000
Avatar

Send message
Joined: 21 Feb 11
Posts: 82
Credit: 577,297
RAC: 40
Message 51682 - Posted: 13 Mar 2025, 14:25:23 UTC - in response to Message 51680.  
Last modified: 13 Mar 2025, 14:26:46 UTC

I don't know.
Maybe you didn't run cvmfs_config setup, or didn't restart autofs after making configuration changes with systemctl restart autofs?

Try troubleshooting steps at

https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html#troubleshooting
ID: 51682 · Report as offensive     Reply Quote
[BAT] Svennemans

Send message
Joined: 23 Dec 05
Posts: 6
Credit: 378,585
RAC: 1,653
Message 51683 - Posted: 13 Mar 2025, 18:40:09 UTC - in response to Message 51682.  

I don't know.
Maybe you didn't run cvmfs_config setup, or didn't restart autofs after making configuration changes with systemctl restart autofs?

Try troubleshooting steps at

https://cvmfs.readthedocs.io/en/stable/cpt-quickstart.html#troubleshooting


I did all of those, to no effect.
ID: 51683 · Report as offensive     Reply Quote
computezrmle
Volunteer moderator
Volunteer developer
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 15 Jun 08
Posts: 2621
Credit: 265,262,019
RAC: 131,459
Message 51686 - Posted: 13 Mar 2025, 20:12:01 UTC - in response to Message 51683.  

Try this

sudo cvmfs_config umount
sudo systemctl restart autofs
sudo cvmfs_config setup
cvmfs_config probe
cvmfs_config stat


If it doesn't help, reboot, then
systemctl --no-pager status autofs
cvmfs_config probe
cvmfs_config stat
ID: 51686 · Report as offensive     Reply Quote
[BAT] Svennemans

Send message
Joined: 23 Dec 05
Posts: 6
Credit: 378,585
RAC: 1,653
Message 51687 - Posted: 13 Mar 2025, 22:56:56 UTC - in response to Message 51686.  

Try this

sudo cvmfs_config umount
sudo systemctl restart autofs
sudo cvmfs_config setup
cvmfs_config probe
cvmfs_config stat



That did the trick! I got a normal output from 'stat' this time.

Thanks, man!
ID: 51687 · Report as offensive     Reply Quote
Previous · 1 · 2

Message boards : Number crunching : Recommended CVMFS Configuration for Native Apps - Comments and Questions


©2025 CERN