Thread:Project:Support desk/LocalSettings.php empty on Raspberry Pi/reply (2)

Thanks for the help: Not sure where to find error.log. I ran "find / -name error.log" and it came up empty.

But here is some more info that makes no sense to me and shows some of my Linux ignorance. Any help is appreciated.

If I look in /usr/share/mediawiki there is a link for LocalSettings.php that I didn't put there that has a size of 36 and points to /var/lib/mediawiki: pi@raspberrypi:/usr/share/mediawiki$ ls -il 134690 lrwxrwxrwx 1 root root 36 Apr 16 09:09 LocalSettings.php -> /var/lib/mediawiki/LocalSettings.php

If I list the files in /var/lib/mediawiki I see what looks like a different link for LocalSettings.php with a different size, 32, and a different inode that points to /etc/mediawiki pi@raspberrypi:/usr/share/mediawiki$ ls -il /var/lib/mediawiki 134680 lrwxrwxrwx 1 root    root       32 Apr 16 09:09 LocalSettings.php -> /etc/mediawiki/LocalSettings.php

Finally, if I list the files in /etc/mediawiki, I don't see LocalSettings.php at all, although there seem to be 16 files in there but I can't see them. pi@raspberrypi:/etc/mediawiki$ sudo ls -ial total 16 132209 drwxr-xr-x  2 root root 4096 Sep  1 19:46. 8207 drwxr-xr-x 103 root root 4096 Sep 1 23:43 .. 132211 -rw-r--r--  1 root root  475 Sep  1 19:49 apache.conf 132210 -rw-r--r--  1 root root  134 Oct 21  2007 cherokee.conf

If I try to try to cat any of the links, they come up blank: pi@raspberrypi:/usr/share/mediawiki$ sudo cat LocalSettings.php cat: LocalSettings.php: No such file or directory

pi@raspberrypi:/var/lib/mediawiki$ ls LocalSettings.php LocalSettings.php pi@raspberrypi:/var/lib/mediawiki$ sudo cat LocalSettings.php cat: LocalSettings.php: No such file or directory