Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Trovan

Pages: [1]
1
CentOS 7 Problems / CWP Server Didnt work after update
« on: December 07, 2018, 03:51:38 PM »
Hello everyone.

After update the my cwp server fails so hard.

When i tried to install php-pfm appear this error:



I tried update, restart scritps, this error still.

I am running CWP Pro, anyone can help me fix that?

Thanks

2
CentOS-WebPanel GUI / User panel don't work - Users Cant login
« on: February 27, 2018, 03:45:03 PM »
Hello everyone, after upgrade my cwp panel, the my users can't login in 2082 port.

The admin panel works, but the user's dont work.

If i put the right credentials or not, its shame, after click in login the page refresh and nothing happen.

The log of: /usr/local/cwp/php71/var/log/php-fpm.log:

Quote
[27-Feb-2018 15:17:14] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:19] WARNING: [pool cwpsrv] child 21262 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:19] WARNING: [pool cwpsrv] child 21447 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:24] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:24] WARNING: [pool cwpsrv] child 21262 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:29] WARNING: [pool cwpsrv] child 21261 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:29] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:34] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:34] WARNING: [pool cwpsrv] child 21261 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:39] WARNING: [pool cwpsrv] child 21447 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:39] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:44] WARNING: [pool cwpsrv] child 21442 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:44] WARNING: [pool cwpsrv] child 21447 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:49] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:49] WARNING: [pool cwpsrv] child 21442 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:54] WARNING: [pool cwpsrv] child 21261 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:54] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:59] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:17:59] WARNING: [pool cwpsrv] child 21261 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:04] WARNING: [pool cwpsrv] child 21447 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:04] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:09] WARNING: [pool cwpsrv] child 21442 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:09] WARNING: [pool cwpsrv] child 21447 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:14] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:14] WARNING: [pool cwpsrv] child 21442 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:19] WARNING: [pool cwpsrv] child 21261 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:19] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:24] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:24] WARNING: [pool cwpsrv] child 21261 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:29] WARNING: [pool cwpsrv] child 21447 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:29] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:34] WARNING: [pool cwpsrv] child 21442 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:34] WARNING: [pool cwpsrv] child 21447 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:39] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:39] WARNING: [pool cwpsrv] child 21442 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:44] WARNING: [pool cwpsrv] child 21261 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:44] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:49] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:49] WARNING: [pool cwpsrv] child 21261 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:54] WARNING: [pool cwpsrv] child 21447 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:54] WARNING: [pool cwpsrv] child 21263 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:59] WARNING: [pool cwpsrv] child 21442 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:18:59] WARNING: [pool cwpsrv] child 21262 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"
[27-Feb-2018 15:19:04] WARNING: [pool cwpsrv] child 21440 said into stderr: "sed: couldn't write 80 items to stdout: Broken pipe"

I also tryed scripts (sh /scripts/cwpsrv_rebuild_user_conf) reinstalled php-fpm, etc and nothing change.

Anyone know how to fix that?

Regards

3
E-Mail / CWP - AutoResponder didn't work
« on: December 21, 2016, 02:32:00 PM »
Hello, the auto-responder in my server dont work.

I have this in /etc/hosts:

Quote
127.0.0.1 autoreply.domain.com

I haved maked some changes:

Quote
chown postfix /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php
chmod 644 /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php
chattr +i /usr/local/cwpsrv/htdocs/resources/admin/include/postfix.php

in /etc/postfix/transport

Quote
autoreply.domain.com vacation:

I can't see any in /var/log/maillog related to the auto-responder, How i can see logs of that or can fix?

(Note: i use domain.com in this example, my server has been configured with right hostname)


Regards,
Peter


4
E-Mail / PHP - SendMail
« on: June 23, 2016, 06:01:05 PM »
Hello, i am getting attack in my server.

I have my IP in blacklist, i have checked PHP logs:

Quote
[Thu Jun 23 18:41:55 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:41:56 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:41:56 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:41:57 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:41:57 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:41:57 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:41:58 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:41:59 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:00 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:00 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:01 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:01 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:02 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:05 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:06 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:06 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail
[Thu Jun 23 18:42:07 2016] [error] [client 72.167.190.172] sendmail: fatal: User agenciae(508) is not allowed to submit mail


Any idea? suggestion to stop this?

Regards,

5
Postfix / Can't send e-mail's from a local domain
« on: May 06, 2016, 02:10:33 PM »
Hello, i have a installed domain in cwp, i can receive e-mail's but i can't send.

The log says:

Quote
May  6 15:08:07 ecoar-contacto postfix/smtpd[24530]: 0D821280A8F: client=89-181-127-21.net.novis.pt[89.181.127.21], sasl_method=LOGIN, sasl_username=test@domain.com
May  6 15:08:07 servidor postfix/cleanup[13985]: 0D821280A8F: message-id=<>
May  6 15:08:07 servidor postfix/cleanup[13985]: 0D821280A8F: milter-reject: END-OF-MESSAGE from 89-181-127-21.net.novis.pt[89.181.127.21]: 4.7.1 Service unavailable - try again later; from=<test@domain.com> to=<test@domain.com> proto=ESMTP helo=<SRV1>

Anyone know this issue?

Regards,

6
E-Mail / Spam @mydomain - Mail Queue
« on: May 01, 2016, 06:38:15 PM »
Hello, i am getting a lot of spam in my queue, i think it's a spam, anyone can help me to stop this?

I receveid a mail queue from my domain, where user's domain is faker.



I have the all options enabled when i rebuild mail server.


7
E-Mail / Move "/var/vmail" to "/home/vmail"
« on: April 23, 2016, 09:28:32 PM »
Hello,

I need to move the folder where the emails are storaged.

What is the best solution for that?

8
Updates / WARNING: Your ClamAV installation is OUTDATED!
« on: March 29, 2016, 08:10:56 PM »
Hello, i am getting this log when i try to upgrade local version of Clamav installation:



The new version is 0.99.3

Anyone can help me to upgrade installation files?

I also tryed yum update | yum upgrade | yum update clamav, etc. Nothinhg happened.

Regards,

9
E-Mail / Postfix Mail Aliases to forward to Command Pipe
« on: March 21, 2016, 07:15:16 PM »
It's possible configure e-mail to forward to command pipe?

In cpanel, this option is avaliable here:



Thanks,

10
Backup / Change default backup location
« on: March 04, 2016, 05:19:55 PM »
Hello,

I need to change the backup folder in my VPS to another location

How i can do that?


11
CentOS 6 Problems / Disk Details - Increase Free Space
« on: March 04, 2016, 05:11:08 PM »
Hello,

I have installed CWP in machine with Two Disk's

1 SSD 120GB (System)
1 HDD 1TB (/Home).

Details:



How i can use all space of SSD in Filesystem?


12
PHP / PHP Fatal error - Cannot use lexical variable $eventName
« on: February 26, 2016, 04:15:35 PM »
Hello, i am getting this error in my apache log:

[Fri Feb 26 16:05:17 2016] [error] [client 10.50.1.254] PHP Fatal error:  Cannot use lexical variable $eventName as a parameter name in /home/USERNAME/public_html/cloud/3rdparty/guzzlehttp/guzzle/src/Event/Emitter.php on line 48

Apache version: Apache/2.2.31
PHP version: 7.1.0-dev

I have installed owncloud.

Details of Emitter.php:

Quote
<?php
namespace GuzzleHttp\Event;

/**
 * Guzzle event emitter.
 *
 * Some of this class is based on the Symfony EventDispatcher component, which
 * ships with the following license:
 *
 *     This file is part of the Symfony package.
 *
 *     (c) Fabien Potencier <fabien@symfony.com>
 *
 *     For the full copyright and license information, please view the LICENSE
 *     file that was distributed with this source code.
 *
 * @link https://github.com/symfony/symfony/tree/master/src/Symfony/Component/EventDispatcher
 */
class Emitter implements EmitterInterface
{
    /** @var array */
    private $listeners = [];

    /** @var array */
    private $sorted = [];

    public function on($eventName, callable $listener, $priority = 0)
    {
        if ($priority === 'first') {
            $priority = isset($this->listeners[$eventName])
                ? max(array_keys($this->listeners[$eventName])) + 1
                : 1;
        } elseif ($priority === 'last') {
            $priority = isset($this->listeners[$eventName])
                ? min(array_keys($this->listeners[$eventName])) - 1
                : -1;
        }

        $this->listeners[$eventName][$priority][] = $listener;
        unset($this->sorted[$eventName]);
    }

    public function once($eventName, callable $listener, $priority = 0)
    {
        $onceListener = function (
            EventInterface $event,
            $eventName
        ) use (&$onceListener, $eventName, $listener, $priority) {
            $this->removeListener($eventName, $onceListener);
            $listener($event, $eventName, $this);
        };

        $this->on($eventName, $onceListener, $priority);
    }

    public function removeListener($eventName, callable $listener)
    {
        if (empty($this->listeners[$eventName])) {
            return;
        }

        foreach ($this->listeners[$eventName] as $priority => $listeners) {
            if (false !== ($key = array_search($listener, $listeners, true))) {
                unset(
                    $this->listeners[$eventName][$priority][$key],
                    $this->sorted[$eventName]
                );
            }
        }
    }

    public function listeners($eventName = null)
    {
        // Return all events in a sorted priority order
        if ($eventName === null) {
            foreach (array_keys($this->listeners) as $eventName) {
                if (empty($this->sorted[$eventName])) {
                    $this->listeners($eventName);
                }
            }
            return $this->sorted;
        }

        // Return the listeners for a specific event, sorted in priority order
        if (empty($this->sorted[$eventName])) {
            $this->sorted[$eventName] = [];
            if (isset($this->listeners[$eventName])) {
                krsort($this->listeners[$eventName], SORT_NUMERIC);
                foreach ($this->listeners[$eventName] as $listeners) {
                    foreach ($listeners as $listener) {
                        $this->sorted[$eventName][] = $listener;
                    }
                }
            }
        }

        return $this->sorted[$eventName];
    }

    public function hasListeners($eventName)
    {
        return !empty($this->listeners[$eventName]);
    }

    public function emit($eventName, EventInterface $event)
    {
        if (isset($this->listeners[$eventName])) {
            foreach ($this->listeners($eventName) as $listener) {
                $listener($event, $eventName);
                if ($event->isPropagationStopped()) {
                    break;
                }
            }
        }

        return $event;
    }

    public function attach(SubscriberInterface $subscriber)
    {
        foreach ($subscriber->getEvents() as $eventName => $listeners) {
            if (is_array($listeners[0])) {
                foreach ($listeners as $listener) {
                    $this->on(
                        $eventName,
                        [$subscriber, $listener[0]],
                        isset($listener[1]) ? $listener[1] : 0
                    );
                }
            } else {
                $this->on(
                    $eventName,
                    [$subscriber, $listeners[0]],
                    isset($listeners[1]) ? $listeners[1] : 0
                );
            }
        }
    }

    public function detach(SubscriberInterface $subscriber)
    {
        foreach ($subscriber->getEvents() as $eventName => $listener) {
            $this->removeListener($eventName, [$subscriber, $listener[0]]);
        }
    }
}

Can anyone help?




Pages: [1]