Lynx file "/etc/lynx.lss" is not available

3.2k Views Asked by At

using cpanel server, setting a simple "lynx http://www.domain.com/script.php" command gives following error and I am unable to understand it.

Lynx file "/etc/lynx.lss" is not available.

4

There are 4 best solutions below

0
On

You can create an empty (or not) style sheet file in a directory where you have write access, then explicitly point to that file on the lynx command-line:

lynx -lss=/path/to/my/lynx.lss ...

1
On

I enabled shell access for the account and it started working. The above answer seems to assume you have access to the entire server and can modify those files, if so then just enable shell access and you are set, but if you are on a shared hosting account basic cpanel and ftp access you may not be able to do it. Ask you hosting company if you can have shell access. Then decide what you can do depending on the answer they give you.

0
On

the problem is the SHELL. You can solve this problem via two ways:

1] I simply changed the sentence: SHELL="/usr/local/cpanel/bin/jailshell" in /var/spool/cron/account to SHELL="/bin/bash"

2] You can copy file /etc/lynx.lss to directory: /home/virtfs/account/etc

Both worked for me !

Wilhelm

0
On

you can solve this issue by follow below process :-

Open this file 

root@server [~]# vi /var/cpanel/exim.conf.deps

and append below entries and save it.

/etc/lynx.lss