Hi Stefan,

the requirement for the US locale is printed in BOLD on the top if the quickstart :)


But as this has become a problem for several people in the past I will add the locale install to the postinstall to avoid this pitfall in the future.


BR

Oliver


On 30.04.24 18:31, Stefan Goeman wrote:
Hi

James: Thank you for your answer. I will verify those permissions just to be sure.

In the meanwhile, I have found my issue.
My locale is nl_BE and I have not installed all the other locales.

So, I installed all the other locales with "apt install locales-all" and that solved my problem.


Greetings,
Stefan.
------------------------------------------------------------------------
*Van:* James B. Byrne via OpenXPKI-users <openxpki-users@lists.sourceforge.net>
*Verzonden:* dinsdag 30 april 2024 16:55
*Aan:* openxpki-users@lists.sourceforge.net <openxpki-users@lists.sourceforge.net>
*CC:* James B. Byrne <byrn...@harte-lyne.ca>
*Onderwerp:* Re: [OpenXPKI-users] web page not loading
On Tue, April 30, 2024 09:58, Stefan Goeman wrote:
> Hi
>
> I was not able to look into this issue any sooner.
>
> I checked the log files from apache and I indeed see some errors.
> I include the here below.
> I found something similar in the mail archive. But, I would need a more
> detailed explanation on how to solve the issue.

Having recently gone through this myself I am almost certain that you have a
set of permission/ownership problems.

This is what /var/log/openxpki/ should look like (assuming that www is the web
server user/group and openxpki is the openxpki user/group):

# tree -gpu /var/log/openxpki
[drwxrwxr-x openxpki openxpki]  /var/log/openxpki
&#9500;&#9472;&#9472; [-rw-rw---- openxpki openxpki]  audit.log
&#9500;&#9472;&#9472; [-rw-rw---- openxpki openxpki]  catchall.log
&#9500;&#9472;&#9472; [-rw-rw---- openxpki openxpki]  deprecated.log
&#9500;&#9472;&#9472; [-rw-rw---- www www     ]  est.log
&#9500;&#9472;&#9472; [-rw-rw---- openxpki openxpki]  openxpki.log
&#9500;&#9472;&#9472; [-rw-rw---- www www     ]  rpc.log
&#9500;&#9472;&#9472; [-rw-rw---- www www     ]  scep.log
&#9500;&#9472;&#9472; [-rw-rw---- www www     ]  soap.log
&#9500;&#9472;&#9472; [-rw-rw---- openxpki openxpki]  stderr.log
&#9500;&#9472;&#9472; [-rw-rw---- www www     ]  webui.log
&#9492;&#9472;&#9472; [-rw-rw---- openxpki openxpki]  workflows.log


This is what /etc/openxpki/ should look like:

ls -ld /usr/local/etc/openxpki/
drwxr-xr-x  14 openxpki  openxpki  56 Apr 26 10:03 /usr/local/etc/openxpki/


This is what /etc/openxpki/webui/ should look like:

tree -gpu . . . /etc/openxpki/webui
[drwxr-xr-- openxpki www     ] /usr/local/etc/openxpki/webui
&#9492;&#9472;&#9472; [-rwxr----- openxpki www     ]  default.conf

/usr/local/etc/openxpki/webui/default.conf  should not be world readable
because it can contain database credentials.

You also need to be aware that if you have cloned /etc/openxpki/ using git and checked out a working branch as suggested then the user and group of all the files are those of the user that performed the git clone and git checkout -b. They also change after each subsequent checkout.  Thus you need to manually
chown these to openxpki:openxpki after each checkout.

Also, be aware that git does not preserve permissions other than the execute
bit. That means that you need to chmod those files that require read/write
permissions other than the default.  This became, for me, a constant source of frustration as I checked out the community branch to verify default settings
and then switched back to the working branch, forgetting that all the
permissions and ownerships had changed again.

HTH

Regards,


--
***          e-Mail is NOT a SECURE channel          ***
        Do NOT transmit sensitive data via e-Mail
   Unencrypted messages have no legal claim to privacy
 Do NOT open attachments nor follow links sent by e-Mail

James B. Byrne mailto:byrn...@harte-lyne.ca <mailto:byrn...@harte-lyne.ca>
Harte & Lyne Limited https://emea01.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.harte-lyne.ca%2F&data=05%7C02%7C%7C52b0a9b5d90a4281c79f08dc6925b511%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638500857887166591%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=hTAQRQtDFwCbMJHB6o80EAvB83lLb%2Bc4Q83DO2vtQhE%3D&reserved=0 <http://www.harte-lyne.ca/>
9 Brockley Drive              vox: +1 905 561 1241
Hamilton, Ontario             fax: +1 905 561 0757
Canada  L8E 3C3



_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Fopenxpki-users&data=05%7C02%7C%7C52b0a9b5d90a4281c79f08dc6925b511%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C638500857887176714%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C0%7C%7C%7C&sdata=3pimu3mcv9JPoiJF0U7mDELBGgtxDb8NHN%2B5s8l5BpE%3D&reserved=0 <https://lists.sourceforge.net/lists/listinfo/openxpki-users>


_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

--
Protect your environment -  close windows and adopt a penguin!
_______________________________________________
OpenXPKI-users mailing list
OpenXPKI-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/openxpki-users

Reply via email to