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.
Pages: [1]
1
Information / No such file openssl.so
« on: August 14, 2017, 02:15:00 PM »
Hello!
There are constant warnings in the logs:
How to fix the problem?
There are constant warnings in the logs:
Code: [Select]
[14-Aug-2017 13:28:43 UTC] PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20131226/openssl.so' - /usr/local/lib/php/extensions/no-debug-non-zts-20131226/openssl.so: cannot open shared object file: No such file or directory in Unknown on line 0
How to fix the problem?
2
Information / Working with crontab
« on: May 24, 2017, 04:20:24 PM »
In CWP exist item menu:
Server settings->Crontab
Why are the settings in the cron.d directory not displayed?
After all, in addition to the crontab file itself, there are other files in which the schedule is configured.
Server settings->Crontab
Why are the settings in the cron.d directory not displayed?
After all, in addition to the crontab file itself, there are other files in which the schedule is configured.
3
CentOS-WebPanel Bugs / Apache log (not true IP in logs)
« on: May 21, 2017, 08:54:17 PM »
The Apache access.log logs indicate the external IP address of the server, and not the real one with which the request was made.
Correction in /usr/local/apache/conf/httpd.conf:
Find:
Replece to:
Correct please in the distribution and updates
Correction in /usr/local/apache/conf/httpd.conf:
Find:
Code: [Select]
<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
Replece to:
Code: [Select]
<IfModule log_config_module>
#
# The following directives define some format nicknames for use with
# a CustomLog directive (see below).
#
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%a %l %u %t \"%r\" %>s %b" common
<IfModule logio_module>
# You need to enable mod_logio.c to use %I and %O
LogFormat "%a %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
</IfModule>
Correct please in the distribution and updates
4
Information / Storage log, config nginx & apache ()
« on: May 21, 2017, 06:16:37 PM »
I do not understand the logic of storing nginx configs for donen in the /etc/nginx/conf.d folder.
I do not understand the logic of storing apache configs for all donen in one /usr/local/apache/conf.d/vhosts.conf file
I do not understand the logic of storing nginx logs for donen in the /var/logs/nginx folder.
I do not understand the logic of storing apache logs for all donen in the /usr/local/apache/logs folder. In this case, the logs are not separated into domains! Analyzing logs it is not possible to understand to which of the sites belongs to the log line!
It is more logical to store all the configs and logs in the domain directory. Having a certain structure:
HOME_DIR/www/vhosts/DOMEN_NAME - base dir
HOME_DIR/www/vhosts/DOMEN_NAME/http - dir for site
HOME_DIR/www/vhosts/DOMEN_NAME/conf- dir for config files
HOME_DIR/www/vhosts/DOMEN_NAME/logs- dir for config logs
With each directory of logs, make the symlink in the directory /var/log for more convenient analysis by admin.
So in fact it will be much more convenient and each user will be able to more accurately configure for themselves configs and view the logs of their sites.
All this is not much work!
I do not understand the logic of storing apache configs for all donen in one /usr/local/apache/conf.d/vhosts.conf file
I do not understand the logic of storing nginx logs for donen in the /var/logs/nginx folder.
I do not understand the logic of storing apache logs for all donen in the /usr/local/apache/logs folder. In this case, the logs are not separated into domains! Analyzing logs it is not possible to understand to which of the sites belongs to the log line!
It is more logical to store all the configs and logs in the domain directory. Having a certain structure:
HOME_DIR/www/vhosts/DOMEN_NAME - base dir
HOME_DIR/www/vhosts/DOMEN_NAME/http - dir for site
HOME_DIR/www/vhosts/DOMEN_NAME/conf- dir for config files
HOME_DIR/www/vhosts/DOMEN_NAME/logs- dir for config logs
With each directory of logs, make the symlink in the directory /var/log for more convenient analysis by admin.
So in fact it will be much more convenient and each user will be able to more accurately configure for themselves configs and view the logs of their sites.
All this is not much work!
5
Updates / I have problem update cwp-httpd
« on: May 17, 2017, 10:53:59 AM »Code: [Select]
[root@office ~]# yum update cwp-httpd
Loaded plugins: fastestmirror, langpacks
Loading mirror speeds from cached hostfile
* base: mirror.logol.ru
* epel: www.nic.funet.fi
* extras: mirror.logol.ru
* updates: mirror.logol.ru
Resolving Dependencies
--> Running transaction check
---> Package cwp-httpd.x86_64 0:2.4.25-4 will be updated
---> Package cwp-httpd.x86_64 0:2.4.25-5 will be an update
--> Finished Dependency Resolution
Dependencies Resolved
=====================================================================================================================================================================================================
Package Arch Version Repository Size
=====================================================================================================================================================================================================
Updating:
cwp-httpd x86_64 2.4.25-5 cwp 5.3 M
Transaction Summary
=====================================================================================================================================================================================================
Upgrade 1 Package
Total download size: 5.3 M
Is this ok [y/d/N]: y
Downloading packages:
No Presto metadata available for cwp
cwp-httpd-2.4.25-5.x86_64.rpm FAILED
http://repo.centos-webpanel.com/repo/7/x86_64/cwp-httpd-2.4.25-5.x86_64.rpm: [Errno 14] HTTP Error 404 - Not Found ] 0.0 B/s | 0 B --:--:-- ETA
Trying other mirror.
To address this issue please refer to the below knowledge base article
https://access.redhat.com/articles/1320623
If above article doesn't help to resolve this issue please create a bug on https://bugs.centos.org/
Error downloading packages:
cwp-httpd-2.4.25-5.x86_64: [Errno 256] No more mirrors to try.
[root@office ~]#
Code: [Select]
[root@office yum.repos.d]# cat cwp.repo
[cwp]
name=CentOS Web Panel repo for Linux 7 - $basearch
baseurl=http://repo.centos-webpanel.com/repo/7/$basearch
failovermethod=priority
enabled=1
gpgcheck=0
[root@office yum.repos.d]#
6
PHP / I'm shocked by the work php.ini
« on: April 30, 2017, 08:05:47 PM »
If there is php.ini in the user directory, then the main /usr/local/php/php.ini is ignored!
I made enough changes (more than 10 lines) in the main php.ini
I want to make personal php.ini for several sites and add 1-2 lines to them.
How to be?
I made enough changes (more than 10 lines) in the main php.ini
I want to make personal php.ini for several sites and add 1-2 lines to them.
How to be?
7
CentOS-WebPanel Bugs / Delete suspended user
« on: April 29, 2017, 09:21:36 PM »
Remains not deleted file "/usr/local/apache/conf.d/suspended_accounts/suspendedUser.conf" after removal of the suspended user.
8
CentOS-WebPanel Bugs / Duplicating DNS zones
« on: April 29, 2017, 11:05:04 AM »
1. Two identical domains are created for different users - there is no error, everything is fine.
2. At the same time, a duplicate DNS zone is created in the /var/named/example.db file, which leads to an error when restarting the DNS service !
2. At the same time, a duplicate DNS zone is created in the /var/named/example.db file, which leads to an error when restarting the DNS service !
9
CentOS-WebPanel Bugs / Changing the Apache vHosts template & applying changes
« on: April 28, 2017, 06:11:24 PM »
When you change the template, it is normally saved, the template does not apply!
It is necessary to manually restart httpd service
It is necessary to manually restart httpd service
10
CentOS-WebPanel Bugs / Message when the user is deleted
« on: April 27, 2017, 08:10:24 PM »
When a user is deleted, it is written:
User asd deleted from server.
User deleted from MySQL database.
DNS Zone File removed from the server.
Confing found in named.conf .... Removing config from named.conf
Confing found in vHosts .... Removing config from vHosts
Warning: [obfuscated](/usr/local/apache/conf.d/vhosts-ssl.conf): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0
Notice: Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0
autoSSL: Config not found in Apache vHosts....Removing config from Apache vHosts
autoSSL: SSL vHost removed from /usr/local/apache/conf.d/vhosts-ssl.conf !
autoSSL: SSL vHost configuration removed !
Account Removal Script Completed!
Because all CWP files are encoded, then I can not even see what these errors are and how critical it is for the project
User asd deleted from server.
User deleted from MySQL database.
DNS Zone File removed from the server.
Confing found in named.conf .... Removing config from named.conf
Confing found in vHosts .... Removing config from vHosts
Warning: [obfuscated](/usr/local/apache/conf.d/vhosts-ssl.conf): failed to open stream: No such file or directory in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0
Notice: Undefined offset:1 in /usr/local/cwpsrv/htdocs/resources/admin/include/hooks.php on line 0
autoSSL: Config not found in Apache vHosts....Removing config from Apache vHosts
autoSSL: SSL vHost removed from /usr/local/apache/conf.d/vhosts-ssl.conf !
autoSSL: SSL vHost configuration removed !
Account Removal Script Completed!
Because all CWP files are encoded, then I can not even see what these errors are and how critical it is for the project
11
CentOS-WebPanel Bugs / Does not create nested directories
« on: April 27, 2017, 03:19:14 PM »
When creating a new domain, for example "example.com" in the "/home/USERNAME/www/vhosts" folder, we specify:
Add Domain: "example.com"
Path: /home/USERNAME: "/www/vhosts"
In this case, only the directory "/www/vhosts" is created and the directory "example.com" is not created
Add Domain: "example.com"
Path: /home/USERNAME: "/www/vhosts"
In this case, only the directory "/www/vhosts" is created and the directory "example.com" is not created
12
CentOS 7 Problems / PHP selector 5.5 and 4.4 not installed !
« on: April 23, 2017, 07:45:32 PM »
PHP 5.5
Dependencies Installed
Code: [Select]
make: *** [ext/dom/node.lo] Error 1
PHP 4.4Code: [Select]
configure: error: libjpeg.(a|so) not found.
make: *** No targets specified and no makefile found. Stop.
make: *** No rule to make target `install'. Stop.
/usr/local/src/php-4.4.sh: line 39: cd: /opt/alt/php44/usr/bin: No such file or directory
Redirecting to /bin/systemctl restart httpd.service
All flags = default.Dependencies Installed
13
Information / Create New account and specify a folder other than "/public_html" ?
« on: April 23, 2017, 06:14:52 PM »
How, when creating a new account, specify the folder in which the files will be stored?
When adding a new domain to an existing account, I can specify the folder name.
When you create a new account, the folder for the domain is assigned automatically as "/public_html"
When adding a new domain to an existing account, I can specify the folder name.
When you create a new account, the folder for the domain is assigned automatically as "/public_html"
14
Information / How to disable suPHP ?
« on: October 31, 2015, 06:00:57 PM »
Hi !
How to disable suPHP a specific domain?
If I add the suPHP_Engine off a specific domain, php scripts do not work. The screen displays the text of the script.
How to disable suPHP a specific domain?
If I add the suPHP_Engine off a specific domain, php scripts do not work. The screen displays the text of the script.
Pages: [1]