Re: php-fpm refuses to start

2025-02-17 Thread Mike Wright

On 2/17/25 05:44, François Patte wrote:

Bonjour,


Bonjour,

I try to have apache+php running and as far as I can see  on fedora 
help, I have to enable and start php-fpm service.






For more information , I have to ask: "journalctl -xeu php-fpm.service"


Often useless but occasionally helpful...



php-fpm.service: Failed with result 'exit-code'
Failed to start php-fpm.service - The PHP FastCGI Process Maed to start 
php-fpm.service - The PHP FastCGI Process Manager




There are a couple of steps to be done after the bits and pieces are 
installed.


Have you...

  sudo a2enmod proxy_fcgi setenvif

  sudo systemctl enable php8.X-fpm

then...

  if httpd is not running...

sudo systemctl start httpd

  else

sudo systemctl reload httpd

and finally...

  sudo systemctl restart php8.X-fpm

Should get the ball rolling.

Mike Wright


--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


php-fpm refuses to start

2025-02-17 Thread François Patte

Bonjour,

I try to have apache+php running and as far as I can see  on fedora 
help, I have to enable and start php-fpm service.


To enable no problem...

To start I have some troubles:


 Active: failed (Result: exit-code)


Failed to start php-fpm.service - The PHP FastCGI Process Maed to start 
php-fpm.service - The PHP FastCGI Process Manager


For more information , I have to ask: "journalctl -xeu php-fpm.service"

OK, but:


php-fpm.service: Failed with result 'exit-code'
Failed to start php-fpm.service - The PHP FastCGI Process Maed to start 
php-fpm.service - The PHP FastCGI Process Manager



OK OK but what's new? What caused this fail state? Where can I get more 
information?



--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: php-fpm refuses to start

2025-02-17 Thread Patrick O'Callaghan
On Mon, 2025-02-17 at 17:08 +0100, François Patte wrote:
> Le 2025-02-17 16:29, Mike Wright a écrit :
> > On 2/17/25 05:44, François Patte wrote:
> > > Bonjour,
> > > 
> > Bonjour,
> > 
> > > I try to have apache+php running and as far as I can see  on fedora 
> > > help, I have to enable and start php-fpm service.
> > > 
> > 
> > 
> > > For more information , I have to ask: "journalctl -xeu 
> > > php-fpm.service"
> > > 
> > Often useless but occasionally helpful...
> > 
> > > 
> > > php-fpm.service: Failed with result 'exit-code'
> > > Failed to start php-fpm.service - The PHP FastCGI Process Maed to 
> > > start php-fpm.service - The PHP FastCGI Process Manager
> > > 
> 
> Thank you for answering.
> 
> > 
> > There are a couple of steps to be done after the bits and pieces are 
> > installed.
> > 
> > Have you...
> > 
> >   sudo a2enmod proxy_fcgi setenvif
> 
> there is no a2enmod (as far as I can see:
> dnf search a2enmod
> Dernière vérification de l’expiration des métadonnées effectuée il y a 
> 0:05:04 le lun. 17 févr. 2025 16:56:22.
> Aucune correspondance trouvée. ie. nothing found
> 
> 
> > 
> >   sudo systemctl enable php8.X-fpm
> 
> answer:
> Failed to enable unit: Unit file php8.X-fpm.service does not exist.
> 
> So: dnf info php8.X-fpm
> 
> answer:
> Erreur : Aucun paquet correspondant à lister ie. No matching packages to 
> list
> 
> What you are explaining seems to come from ubuntu or debian distro...

$ dnf info php-fpm
Updating and loading repositories:
Repositories loaded.
Installed packages
Name: php-fpm
Epoch   : 0
Version : 8.3.16
Release : 1.fc41
Architecture: x86_64
Installed size  : 8.1 MiB
Source  : php-8.3.16-1.fc41.src.rpm
From repository : updates
Summary : PHP FastCGI Process Manager
URL : http://www.php.net/
License : PHP-3.01 AND Zend-2.0 AND BSD-2-Clause AND MIT AND Apache-1.0 
AND NCSA AND BSL-1.0
Description : PHP-FPM (FastCGI Process Manager) is an alternative PHP 
FastCGI
: implementation with some additional features useful for sites 
of
: any size, especially busier sites.
Vendor  : Fedora Project

Install and start with 'sudo systemctl start php-fpm'

poc
-- 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: php-fpm refuses to start

2025-02-17 Thread Mike Wright

On 2/17/25 08:08, François Patte wrote:

Le 2025-02-17 16:29, Mike Wright a écrit :

On 2/17/25 05:44, François Patte wrote:

Bonjour,


Bonjour,

I try to have apache+php running and as far as I can see  on fedora 
help, I have to enable and start php-fpm service.



  sudo systemctl enable php8.X-fpm


Sorry for not explaining more clearly.

Replace the X with whichever php version you are using, i.e. 8.2 or 8.3

--

Yes, I scrambled my distros.  The a2en(mod,conf,site) convenience 
features are from the Debian world.


--

For the redhat world modules (DSOs) are place into a conf dir.


"For the Apache HTTP Server to use a DSO, it must be specified in a 
LoadModule directive within /etc/httpd/conf/httpd.conf".



--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: php-fpm refuses to start

2025-02-17 Thread François Patte

Le 2025-02-17 16:29, Mike Wright a écrit :

On 2/17/25 05:44, François Patte wrote:

Bonjour,


Bonjour,

I try to have apache+php running and as far as I can see  on fedora 
help, I have to enable and start php-fpm service.





For more information , I have to ask: "journalctl -xeu 
php-fpm.service"



Often useless but occasionally helpful...



php-fpm.service: Failed with result 'exit-code'
Failed to start php-fpm.service - The PHP FastCGI Process Maed to 
start php-fpm.service - The PHP FastCGI Process Manager




Thank you for answering.



There are a couple of steps to be done after the bits and pieces are 
installed.


Have you...

  sudo a2enmod proxy_fcgi setenvif


there is no a2enmod (as far as I can see:
dnf search a2enmod
Dernière vérification de l’expiration des métadonnées effectuée il y a 
0:05:04 le lun. 17 févr. 2025 16:56:22.

Aucune correspondance trouvée. ie. nothing found




  sudo systemctl enable php8.X-fpm


answer:
Failed to enable unit: Unit file php8.X-fpm.service does not exist.

So: dnf info php8.X-fpm

answer:
Erreur : Aucun paquet correspondant à lister ie. No matching packages to 
list


What you are explaining seems to come from ubuntu or debian distro...

--
François Patte
UFR de mathématiques et informatique
Laboratoire CNRS MAP5, UMR 8145
Université Paris Descartes
45, rue des Saints Pères
F-75270 Paris Cedex 06
Tél. +33 (0)6 7892 5822
http://www.math-info.univ-paris5.fr/~patte
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: MATE hidden files question

2025-02-17 Thread ToddAndMargo via users

On 2/17/25 3:32 AM, Tim via users wrote:

On Sun, 2025-02-16 at 21:54 -0800, ToddAndMargo via users wrote:

That works in Caja, which I already did, but not in Leafpad or gedit.
  
Various applications let you right-click in the file lister that appear

when you want to open a file, and select some options (like show hidden
files).  But I think it's going to depend on each application.

Run your app, e.g. gedit, click the open file button, and in the middle
of the list of files that pops up, right-click.

And I just read some other advice to hit CTRL+H while the file lister
is open to toggle hiding/showing hidden files.  That also works for me.

It works in Pluma (well it does on this old PC I'm using), the simple
text editor in Mate, and gedit.  It works on Pluma on my Fedora 40 PC,
but I don't have gedit installed to try, nor leafpad.

And when I close Pluma and restart it, the show hidden files option is
still ticked (which surprised me).  And other gnome/mate apps using the
same kind of file lister window also have the show hidden files
preselected, now.



Hi Tim,

 did the trick.  Thank you!!!

-T
--
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: MATE hidden files question

2025-02-17 Thread Tim via users
On Sun, 2025-02-16 at 21:54 -0800, ToddAndMargo via users wrote:
> That works in Caja, which I already did, but not in Leafpad or gedit.
 
Various applications let you right-click in the file lister that appear
when you want to open a file, and select some options (like show hidden
files).  But I think it's going to depend on each application.

Run your app, e.g. gedit, click the open file button, and in the middle
of the list of files that pops up, right-click.

And I just read some other advice to hit CTRL+H while the file lister
is open to toggle hiding/showing hidden files.  That also works for me.

It works in Pluma (well it does on this old PC I'm using), the simple
text editor in Mate, and gedit.  It works on Pluma on my Fedora 40 PC,
but I don't have gedit installed to try, nor leafpad.

And when I close Pluma and restart it, the show hidden files option is
still ticked (which surprised me).  And other gnome/mate apps using the
same kind of file lister window also have the show hidden files
preselected, now.

-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: How do I clean up MATE open with?

2025-02-17 Thread Tim via users
On Sun, 2025-02-16 at 20:46 -0800, ToddAndMargo via users wrote:
> How do I clean up my MATE "Open With"?
> 
> Here is what it looks like:
> https://ibb.co/jPv3SjCv

Have you done something like set options to open mimetype
application/octet (basically every miscellaneous binary file) with
something?

Mate has a control panel for "preferred applications," but it only
configures a few different groups of file types.

I'm not sure about bruteforce resetting control over a lot of different
mimetypes.  My first thought was to look for config files related to
mimetypes.

e.g. locate -i mime | grep /home

There's an xdg-open tool that used to be used as a file handler by
various things, I'm not sure if it still is.  Nor can I recall how it's
configured, but it might give you a research hint.

You may be fighting a losing battle if there's some app that decides it
should be able to open just about every file type, and other apps with
the same mindset.

I'm still glad that on Linux is reasonably safe to double-click almost
any file I've saved to open it / view it / read it, and not have to
worry about executing it.  Though I still right-click on things I have
little clue about what they are, to open them in some benign app.

-- 
 
uname -rsvp
Linux 3.10.0-1160.119.1.el7.x86_64 #1 SMP Tue Jun 4 14:43:51 UTC 2024 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 

-- 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue