Cerbot not installing, socket conflict

but sir when i search it in the installed packages list it does not appear

Look at the last screenshot you posted!

It literally says, “certbot is already the newest version (1.21.0-build1)”. It is clearly already installed!

And, it can’t have anything to do with php-fpm. They aren’t related in any way.

reinstalled the php 8.1 using doc , but still noting happend

it failed to activate when i tried to install the cerbot, and i have checked the cerbot is not their in my packages list

error 78 indicates an error in your php-fpm configuration, would have a look at the configuration files for errors as you can see from the screen shot

Another FPM instance seems to already listen on /var/php-fpm/1689695178283997.sock

you need to fix that error and fpm will start, and just forget certbot it has nothing to do with php-fpm not starting.
navigate to /etc/php/8.1/fpm/pool.d and look at the file 1689695178283997.conf for errors also check each of the .conf files for this line

listen = /var/php-fpm/1689695178283997.sock

This line must be unique to each .conf file

1 Like

fpm 7.4

fpm 8.1

fpm 8.2

fpm 8.3

please have a look at it and help me solving the conflick of the socks

You only need to look at only php8.1 as the other versions of php are running (I hope) so look at each one in turn for the listen line i mentioned earlier as you have multiple www.conf files, looks like you have been editing them I would guess www.conf would be the one to look at first

Looking more deeply at the screen shot you also have a conf file in php7.4 directory, ending in 3997 i am guessing this is the error open that file and change that file, before you do that stop php7.4-fpm and start php8.1-fpm, if php8.1-fpm starts normally you have the problem just move the file from php7.4 directory somewhere else and restart php7.4-fpm. You should now have both 7.4 and 8.1 working

1 Like

It should never be necessary to edit these files manually. I think manual edits are how the problem arose.

When changing PHP versions, it’s simplest to follow our docs, and use the GUI to switch which PHP version to use.

@jirm1 thank you so much for hanging arounf with me , as i am a newbie and want learn, please help me a little more

some how i have just successfully installed the 8.1 version

but as u can see its not activating

when i tried to check the status using it gave me the following result int terminal

About cerbot its installed and not active , i want it active too
1234

Why do you want to active certbot ? why not use virtualmin to use it when it is required, like this

have you done this yet ?

@jimr1 i made a radio stream player, which is working well on the moble and playing the radio stream but on the desktop and laptop browsers its and responding, only firfox plays the stream, chrom opera and edge also not playing the stream on the desktop and laptop browsers, as the stream url is http they are not accepting the request and converting it into https, that is why i want cerbot,

am i doing wrong, if yes please guide me

my main aim is to make the stream playable on all browsers and devices, i will really appreciate it if you listen to the stream on different bowers for me , in that way u will get the point what exactly i want do, and i just tried the lets encrypt it also failed

I don’t quite get your setup is it something like

yourdomain.tld/radioplayer

or

yourdomain.tld:8080 

?

the radio stream player is on the power99.live

went to your domain and got this using chrome


as you can see from the arrow the site is secure
but this is why it doesn’t work

you need to fix that

2 Likes

Good catch, @jimr1 :+1:

I am begging you to forget about certbot. You do not need to activate it. And, it is off-topic. Your problem with PHP-FPM is not related to certbot. If you have a problem with certbot make a new topic. But, you probably don’t have a problem with certbot. Virtualmin manages Let’s Encrypt certificats, using certbot, but there is nothing to “activate”.

In fact, if you’re manually running certbot, you’ll break Virtualmin’s ability to manage your certificates. You should not go off-roading without know what you’re doing and why you’re doing it.

This should probably be proxied. You probably should not be exposing your apps directly on the internet on random ports like this. Many clients will not be able to connect to port 9000 or whatever, due to corporate firewalls and such.

I know this but I would guess the OP doesn’t but yes using a proxy should work