Archive for the tag 'link'

How to customize link to Provider’s Website

To customize the URL that opens when the View Services button is clicked:

On Linux systems, issue the following command:

/usr/local/psa/bin/interface_template -p -mpc_portal_url [url]

To remove the View Services button:

On Linux systems, issue the following command:

/usr/local/psa/bin/interface_template -p -extras true

Location of link to Provider’s Website

Server Administration Panel > Tools & Utilities > View Services button.

Reference: http://parallels.net

Testing Link Status from the Command Line

mii-tool and ethtool commands command will provide reports on the link status and duplex settings for supported NICs.

root@laptop:~# mii-tool
eth0: negotiated 100baseTx-FD flow-control, link ok

ethtool - Display or change ethernet card settings.
ethtool is used for querying settings of an ethernet device and changing them. ethX is the name of the ethernet device on which ethtool should operate. ethtool with a single argument specifying the device name prints current settings of the specified device.

root@laptop:~# ethtool eth0
Settings for eth0:
Supported ports: [ TP ]
Supported link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Supports auto-negotiation: Yes
Advertised link modes: 10baseT/Half 10baseT/Full
100baseT/Half 100baseT/Full
Advertised auto-negotiation: Yes
Speed: 100Mb/s
Duplex: Full
Port: Twisted Pair
PHYAD: 0
Transceiver: internal
Auto-negotiation: on
Supports Wake-on: g
Wake-on: d
Current message level: 0×00000000 (0)
Link detected: yes

Error message ‘Invalid cross-device link’ in site-admin web-interface

System has hard cross-device links. For example, /usr/tmp linked to /var/tmp and /var mounted to a separate partition.

Example:

/usr/tmp linked to /var/tmp and /var mounted to a separate partition.

To fix the problem:

1. Create /usr/.tmp directory

mkdir -p /usr/.tmp

2. Add the following entry to the /etc/virtualhosting/tmpdirs:

/usr:/usr/.tmp

3. Restart epld

service restart epld

or

/etc/init.d/epld restart

Reference : http://parallels.com