PHP7.4-fpm -> configure-> Page not found

dataleak
Posts: 1
Joined: Wed Jan 26, 2022 1:10 pm

Hi,

I have a new installation. When I go to "server" (top menu) and click configure in the PHP7.4-fpm (or PHP.3-fpm), I get always a moon and "Page Not Found Try start again from main page or go back to previous page"

This happens also with vesta-nginx, vesta-php, ssh... etc etc.

Any solution?
Thanks
User avatar
myVesta
Site Admin
Posts: 928
Joined: Fri Jun 19, 2020 9:59 am
Has thanked: 8 times
Been thanked: 6 times

I just didn't built it yet.
I just made a listing of all installed services, for now.
Start/stop should work, but edit nope.
For configuring php - see viewtopic.php?f=18&t=54
User avatar
Meister
Posts: 43
Joined: Mon Nov 08, 2021 10:04 am

Start/stop works but if you restart the server then PHP5.6-fpm-PHP8.1-fpm and MariaDB will not start automatically for me. I have to start it manually. When the server is restarted by the hoster all websites are offline until I am online and can start the services.

Can you please add the autostart for this?
User avatar
Meister
Posts: 43
Joined: Mon Nov 08, 2021 10:04 am

Hello,

it's a pity that there is no answer here. Do you still have the autostart on the screen? It would be good if it is integrated in one of the next updates.

best regards
User avatar
Meister
Posts: 43
Joined: Mon Nov 08, 2021 10:04 am

Hello,

This is really important to me. Recently the hoster has restarted the server. After restart MariaDB and PHP 5.6,7.4 etc does not start again automatically. That means the websites running on the server are offline until I manually restart it. this is extremely inconvenient. is there a solution in the form of an update?
User avatar
webxtek
Posts: 51
Joined: Wed Nov 18, 2020 7:43 pm

Meister wrote: Sat Sep 24, 2022 12:38 am Hello,

This is really important to me. Recently the hoster has restarted the server. After restart MariaDB and PHP 5.6,7.4 etc does not start again automatically. That means the websites running on the server are offline until I manually restart it. this is extremely inconvenient. is there a solution in the form of an update?

About your topic, i can't understand quite well, you are saying that whenever you restart your server the PHP won't start automatically? If thats what you mean, then somehow you messed it up. I got couple MYVESTA servers running on debian 10 and debian 11, if i go directly on the server and click power off, as soon as it restart everything restarts and resumes.

Remember that myvesta is a one man thing, the fork we using was hes effort and we can't be complaining at all, things work just fine and are well optimized, we should be grateful to him.

I'm open to help you out, let me know if i understood properly your issue.
User avatar
Meister
Posts: 43
Joined: Mon Nov 08, 2021 10:04 am

Unfortunately, you misunderstood me but I will specify. PHP is restarted automatically, otherwise the panel would not work.

Now the things that are not started automatically: PHP 5.6, 7.4 etc. They were installed manually with this script: viewtopic.php?f=18&t=52
Also MariaDb is not started automatically.

Well if you have a clue then you can probably help me. Somewhere it can be entered so that it starts automatically. Maybe here? /usr/lib/systemd/system

I would be grateful for help, a thank you also goes to myvesta I make here no reproaches.
User avatar
webxtek
Posts: 51
Joined: Wed Nov 18, 2020 7:43 pm

Meister wrote: Sat Sep 24, 2022 8:14 pm Unfortunately, you misunderstood me but I will specify. PHP is restarted automatically, otherwise the panel would not work.

Now the things that are not started automatically: PHP 5.6, 7.4 etc. They were installed manually with this script: viewtopic.php?f=18&t=52
Also MariaDb is not started automatically.

Well if you have a clue then you can probably help me. Somewhere it can be entered so that it starts automatically. Maybe here? /usr/lib/systemd/system

I would be grateful for help, a thank you also goes to myvesta I make here no reproaches.

Well, you can try to set systemd to run mariadb on boot:

Code: Select all

sudo systemctl enable mariadb.service
Then reboot the server, and see if it works.

If this does not work, please give a look on your log files, there must be some issue. And let me know wish Debian you running.
User avatar
Meister
Posts: 43
Joined: Mon Nov 08, 2021 10:04 am

unfortunately this does not work.

systemctl enable mariadb.service
Synchronizing state of mariadb.service with SysV service script with /lib/system d/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable mariadb
Created symlink /etc/systemd/system/multi-user.target.wants/mariadb.service → /l ib/systemd/system/mariadb.service.


i use Debian 11.4.

what log file do you need? where is it saved?

in /var/log/mysql/error.log is:

"""""""""""""2022-09-26 12:06:54 0 [Note] InnoDB: Uses event mutexes
2022-09-26 12:06:54 0 [Note] InnoDB: Compressed tables use zlib 1.2.11
2022-09-26 12:06:54 0 [Note] InnoDB: Number of pools: 1
2022-09-26 12:06:54 0 [Note] InnoDB: Using crc32 + pclmulqdq instructions
2022-09-26 12:06:54 0 [Note] InnoDB: Using Linux native AIO
2022-09-26 12:06:54 0 [Note] InnoDB: Initializing buffer pool, total size = 42949672960, chunk size = 134217728
2022-09-26 12:06:55 0 [Note] InnoDB: Completed initialization of buffer pool
2022-09-26 12:06:55 0 [Note] InnoDB: 128 rollback segments are active.
2022-09-26 12:06:55 0 [Note] InnoDB: Creating shared tablespace for temporary tables
2022-09-26 12:06:55 0 [Note] InnoDB: Setting file './ibtmp1' size to 12 MB. Physically writing the file full; Please wait ...
2022-09-26 12:06:55 0 [Note] InnoDB: File './ibtmp1' size is now 12 MB.
2022-09-26 12:06:55 0 [Note] InnoDB: 10.5.15 started; log sequence number 185701065744; transaction id 464567541
2022-09-26 12:06:55 0 [Note] Plugin 'FEEDBACK' is disabled.
2022-09-26 12:06:55 0 [Note] InnoDB: Loading buffer pool(s) from /var/lib/mysql/ib_buffer_pool
2022-09-26 12:06:55 0 [Warning] 'thread-concurrency' was removed. It does nothing now and exists only for compatibility with old my.cnf files.
2022-09-26 12:06:55 0 [Note] Server socket created on IP: '::'.
2022-09-26 12:06:55 0 [Note] Reading of all Master_info entries succeeded
2022-09-26 12:06:55 0 [Note] Added new Master_info '' to hash table
2022-09-26 12:06:55 0 [Note] /usr/sbin/mariadbd: ready for connections.
Version: '10.5.15-MariaDB-0+deb11u1' socket: '/var/run/mysqld/mysqld.sock' port: 3306 Debian 11
User avatar
Meister
Posts: 43
Joined: Mon Nov 08, 2021 10:04 am

now everything works! I have updated again and the update message was:
NOTICE: Not enabling PHP 7.4 FPM by default.
NOTICE: To enable PHP 7.4 FPM in Apache2 do:
NOTICE: a2enmod proxy_fcgi setenvif
NOTICE: a2enconf php7.4-fpm

I entered the commands and now everything starts.
Post Reply