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 - alebal

Pages: [1] 2
1
Information / blocked mail
« on: January 13, 2017, 09:15:38 PM »
I get hundreds of emails a day like this
lfd on svr1.niceboobshardpics.com: blocked 182.37.110.157 (CN / China / -)

it is nice to know that the server is to be done, but I do not care to tell me every 2 minutes ...

You can turn off or disable in any way?
I do not want to receive more ...

2
MySQL / PhpMyAdmin 403
« on: January 07, 2017, 10:02:46 PM »
Phpmyadmin always says:
------------------------------
Error in Processing Request
Error code: 403
Error text: Forbidden
------------------------------
Whatever I click inside a table window...

What happen? How can solve?


----------------------------------
server version/features

Application Version

    Apache version: Apache/2.2.31
    PHP version: 7.0.13 [PHP Switcher]
    MySQL version: 10.1.20-MariaDB
    FTP version: 1.0.36

System Info

    CPU Model: Intel(R) Xeon(R) CPU E5-2650L v3 @ 1.80GHz
    CPU Details: 2 Core (1800 MHz)
    Distro Name: CentOS release 6.8 (Final)
    Kernel Version: 2.6.32-642.1.1.el6.x86_64
    Platform: x86_64 [kvm]

3
Updates / I switched to php 7
« on: December 07, 2016, 03:14:03 AM »
Hello to all
November 30 I decided to take the plunge, I switched to php 7

All right, except for some small configuration to be redone, but in the following days I noticed a big drop in visits to my site


I noticed that after upgrading missing memcached, which in php 5 I installed following this guide http://forum.centos-webpanel.com/installation/how-can-install-memcached-thanks/msg4987/#msg4987, I reinstalled php 7 (always with the guide) and it was fine (no error), however, I do not see it among the installed modules



After installation I have to enable it in some way?

I missed something?

4
Information / My sites are switched off almost every day.
« on: October 16, 2016, 11:56:54 PM »
Hello to all,
for a while, my sites are switched off most days (unreachable)

The server is turned on, the cwp administration is available and running, but the sites do not get to see.

Restarting the server all comes back to work for another day.

Here come some email saying that I exceeded the limit processes or that for a while the server works a lot, but it should not turn off ... am I wrong?

What can it be?



Some errors that I find in the logs.
Code: [Select]
[Wed Oct 12 04:27:09 2016] [error] [client 139.59.0.91] Handler for (null) returned invalid result code 70008
[Wed Oct 12 04:27:13 2016] [error] [client 139.59.0.91] Handler for (null) returned invalid result code 70008
[Thu Oct 13 14:31:55 2016] [notice] caught SIGTERM, shutting down
[Thu Oct 13 14:32:32 2016] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 13 14:32:32 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Oct 13 14:32:33 2016] [notice] mod_antiloris 0.4 started
[Thu Oct 13 14:32:33 2016] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Thu Oct 13 21:04:00 2016] [notice] caught SIGTERM, shutting down
[Thu Oct 13 21:04:37 2016] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Thu Oct 13 21:04:37 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Thu Oct 13 21:04:38 2016] [notice] mod_antiloris 0.4 started
[Thu Oct 13 21:04:38 2016] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Fri Oct 14 21:22:33 2016] [error] [client 139.59.0.91] client sent HTTP/1.1 request without hostname (see RFC2616 section 14.23): /
[Sat Oct 15 15:34:23 2016] [notice] caught SIGTERM, shutting down
[Sat Oct 15 15:35:00 2016] [warn] Init: Session Cache is not configured [hint: SSLSessionCache]
[Sat Oct 15 15:35:00 2016] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sat Oct 15 15:35:01 2016] [notice] mod_antiloris 0.4 started
[Sat Oct 15 15:35:01 2016] [notice] Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/1.0.1e-fips configured -- resuming normal operations
[Sat Oct 15 20:40:05 2016] [warn] Rejected, too many connections in READ state from 139.59.0.91

5
Information / Excessive processes running under user
« on: September 20, 2016, 09:00:45 PM »
My server has sent me an email with the subject: Excessive processes running under user

I do not want limits on processes, I am the only one to use the server. You can eliminate the process-limits? How?

6
Information / some errors
« on: September 12, 2016, 11:48:27 PM »
Hello to all.
I managed to get me the email.
Now comes a lot of warnings and errors ...

Including this

Code: [Select]
/etc/cron.daily/amavisd:

/etc/cron.daily/amavisd: line 1: /usr/sbin/tmpwatch: No such file or directory
/etc/cron.daily/cwp:



====================================================
============= CentOS Web Panel Cron ================
====================================================


###########################
Firewall Flush Daily Blocks
###########################


######################
Update Server Packages
######################
Your CWP version: 0.9.8.48

No update needed, your CWP is up to date.
139.59.0.91
Date which backup script is using: 2016-09-12 03:11:08

PHP Notice:  Undefined variable: ssh_check_r_connection in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php on line 0

Notice: Undefined variable: ssh_check_r_connection in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php on line 0
PHP Notice:  Undefined variable: ssh_check_r_connection in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php on line 0

Notice: Undefined variable: ssh_check_r_connection in /usr/local/cwpsrv/htdocs/resources/admin/include/cron_backup.php on line 0
cpulimit: no process killed
/etc/cron.daily/freshclam:

WARNING: Can't get information about user clam.


Can anything be done?

7
CentOS-WebPanel Bugs / File Management -> Server logs -> sort does not work
« on: September 09, 2016, 11:14:41 PM »
Maybe someone has already reported ... but I have seen it now.

In File Management -> Server logs, the sort parameter (filename, size, permissions, etc.) does not work.

8
Information / Sometimes my sites go off
« on: September 09, 2016, 11:08:31 PM »
it has happened a couple of times, most recently yesterday.

Going to visit my sites is the warning impossible to get to the site or server has not responded.

Entering cwp everything is normal. All active services, no error or visible problem.

Restarting the server via ssh, the sites back online and everything is back to work.

What can it be? there is a way to understand what has happened?
Whereas I had to disable some logs because they ate all the space ...

9
E-Mail / Some email problem ...
« on: September 06, 2016, 09:30:26 PM »


I touched a bit postfix configuration, then I put everything back as in the beginning, but some errors but remained ...

Fortunately, I do not need the email (otherwise it was a mess), but if you can solve it might be better ... maybe the server generally works better ...

These errors can be resolved?

10
CentOS 6 Problems / Crontab will not work
« on: August 19, 2016, 05:32:45 PM »
Hello to all.

For each of my site I have a php file to be launched once a week via crontab.
This is the code I use
0 18 * * 3 /usr/local/bin/php -q /home/pornupda/public_html/mio-sito.com/cronojob.php

Why it does not work? It never starts ..
If you launch the file manually everything works perfectly.
I saw several threads on this forum seems to be the correct address.
So why it does not work?

11
Information / directory whit password
« on: August 07, 2016, 11:19:36 PM »
Stupid question...

Can I set a password on a directory via cwp?

12
Information / address error fwrite
« on: August 04, 2016, 11:15:25 PM »
Hi at all.

I have a php file that creates the sitemap. In the end, the file creates a sitemap.xml file in the site root.

Code: [Select]
$nome_file_index = "sitemap.xml";
chmod($nome_file_index, 0666);
$file = fopen($nome_file_index, "w") ;
fwrite($file, stripslashes(utf8_encode($elenco_sitemap)));
fclose($file);


On cwp this thing does not seem to work ... does not save the file to the root of the site, but in the server root.

Not here /public_html/domain.com/sitemap.xml

But here /sitemap.xml




Something does not work ...

Not only with the sitemap file, but with any file created by php, from any script.

I noticed that if you launch the file manually, everything seems to work correctly.

The file is saved in the wrong place when, for example, is run by crontab.

Missing some configuration cwp? You can solve it without putting hand to all the files already created?

13
Information / Resource usage monitor
« on: August 03, 2016, 11:04:12 PM »
There is a resource usage monitor like this for cwp?


14
Information / Switch to PHP 7 (out of memory)
« on: August 03, 2016, 10:46:01 PM »
Hello everyone, I wanted to try PHP 7. But are digitalocean and I only have 1gb of ram.

Usually my server runs on these numbers.



Trying to move to php7 at some point the process hangs because out of memory. The server still works, but lost some configuration back to php5.

I thought to do Drop cache memory, but I do not a clear idea what to do. [DC] could create problems to the server and to my sites?

I just started to move my sites cwp, so do not risk immense damage, but I do not even want to start all over again ...

My sites are quite up to date, all PDO and html5. There may be other problems in the transition to php7?

If just does not work, I can go back to php5? I lose everything?

15
Information / What consumes space ???
« on: July 30, 2016, 01:01:13 AM »
I put 3-4 of my sites on cwp in digital ocean.
Every day something eats space. On digitalocean they only 30GB, and every day come closer to the end.

I have other servers with dozens of similar sites, do not weigh almost nothing, about 13GB, there are 20 sites, and some have been around for years.

What's on cwp eating me all this space?

Pages: [1] 2