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
Mod_Security / ModSecurity ( SecStatusEngine On) + apache = apache stop + unknown symbol
« on: July 05, 2019, 03:27:58 AM »
hi
i hope you doing well.
info: 2 servers
CWP version: 0.9.8.846
pro active: No
problem:-
when i tern this SecStatusEngine On with mod security, apache stop working, give me this error:
ii change the apache at line 513, this code is on line 511,512,513
apache worked fine but all sites are the default cwp page, and not working ,....
is this bugs ? what should i do?
Regards
i hope you doing well.
info: 2 servers
CWP version: 0.9.8.846
pro active: No
problem:-
when i tern this SecStatusEngine On with mod security, apache stop working, give me this error:
Code: [Select]
httpd: Syntax error on line 513 of /usr/local/apache/conf/httpd.conf: Syntax error on line 10 of /usr/local/apache/conf.d/mod_security.conf:
and when i check the mod security, main configuration to delete the SecStatusEngine On i found thisCode: [Select]
LoadFile /usr/lib64/libxml2.so
LoadFile /usr/lib64/liblua-5.1.so
<IfModule !unique_id_module>
LoadModule unique_id_module modules/mod_unique_id.so
</IfModule>
<IfModule !mod_security2.c>
LoadModule security2_module modules/mod_security2.so
</IfModule��Y�[�[H[���X�\�]L��ς�Y�[�[H[�ܝZY��ς��X�]Y]���ܘY�Q\��\܋���[�\X�K�����[��X��]Y]��X�]Y]��\H�ۘ�\��[���Y�[�[O��Y�[�[H]˘ς��X�]Y]���ܘY�Q\��\܋���[�\X�K�����[��X��]Y]��X�]Y]��\H�ۘ�\��[���Y�[�[O����X��\��\��Yۘ]\�H��[����X�[�[���X�Y�H[��X�\�]H���X��]\�[��[�Hۈ��Xԝ[Q[��[�Hۂ��X�]Y][��[�H�[]�[�ۛB��X�]Y]���\܋���[�\X�K�����[��X��]Y]��ˆ�X�X�Y����\܋���[�\X�K�����[��X��X�Y˛�ˆ�X�]Y]��\H�\�X[��X�X�Y���]�[��Xԙ\]Y\���PX��\��ۂ��X�]Q\��\��X�\\��\��X�\�Y\��\��X���X�[ە[Y[�]
���X�ܙSX]�[Z]L�L��X�ܙSX]�[Z]�X�\��[ۈL�L�[��YH��\܋���[�\X�K�[��X�\�]K[��\�[����\���ۙ����Y�[�[
ii change the apache at line 513, this code is on line 511,512,513
Code: [Select]
ExtendedStatus On
Include /usr/local/apache/conf/sharedip.conf
Include /usr/local/apache/conf.d/*.conf
apache worked fine but all sites are the default cwp page, and not working ,....
is this bugs ? what should i do?
Regards
2
Apache / AH00558: httpd: Could not reliably determine the server's fully qualified domain
« on: April 05, 2019, 08:38:25 PM »
Hello
hope you fine...
I'm sorry I'm asking to much but i didn't found any answer in her or Google (because im noob )
i was checking if mod_rewrite working and i found this
then i wrote
systemctl status httpd
and i found this line
apache works fine only this line ...
is this normal? how to fix it if it's not normal
Regards
hope you fine...
I'm sorry I'm asking to much but i didn't found any answer in her or Google (because im noob )
i was checking if mod_rewrite working and i found this
Code: [Select]
[root@server~]# /usr/local/apache/bin/httpd -M|grep rewrite
AH00558: httpd: Could not reliably determine the server's fully qualified domain
name, using MY.SERVER.NAME. Set the 'ServerName' directive globally to suppress
this message
rewrite_module (shared)
then i wrote
systemctl status httpd
and i found this line
Code: [Select]
AH00558: httpd: Could not reliably determine the server's fully qualified domain name, using MY.SERVER.NAME. Set the 'ServerName' directive globally to suppress this message
apache works fine only this line ...
is this normal? how to fix it if it's not normal
Regards
3
Apache / AH01071: Got error 'Primary script unknown\n' in error log
« on: April 03, 2019, 10:06:15 PM »Hello,
hope you are fine...
I don't know if this the correct place for this problem...
I'm getting this error in all my domains
this is a few line form it
Code: [Select]
[Tue Apr 02 19:41:05.748983 2019] [proxy_fcgi:error] [pid 3218:tid 139878305244928] [client IP :36156] AH01071: Got error 'Primary script unknown\n'
[Wed Apr 03 02:54:21.228211 2019] [proxy_fcgi:error] [pid 4740:tid 139819813328640] [client IP :39950] AH01071: Got error 'Primary script unknown\n'
Regards
4
MySQL / It's possible to upgrade mariadb to 10.3+?
« on: March 13, 2019, 12:24:46 AM »
Hello
I hope you are doing well
My question is can I updrade mariadb Form this Version 10.1.38 that Cwp has already?
Or it's better to wait Cwp do that?
Regards
I hope you are doing well
My question is can I updrade mariadb Form this Version 10.1.38 that Cwp has already?
Or it's better to wait Cwp do that?
Regards
5
E-Mail / Server Error: STATUS: Internal error occurred. Refer to server log for more info
« on: March 05, 2019, 01:24:50 AM »
hello
when i add new domain mail i got with all my domain this issue
how can i fix it
i was searching in /var/vmail/ i didn't found the domain like its should be /var/vmail/google.com/...... and so on
Server Error: STATUS: Internal error occurred. Refer to server log for more information.
thank you
Regards
when i add new domain mail i got with all my domain this issue
how can i fix it
i was searching in /var/vmail/ i didn't found the domain like its should be /var/vmail/google.com/...... and so on
Server Error: STATUS: Internal error occurred. Refer to server log for more information.
thank you
Regards
6
CSF Firewall / lfd on SERVERName : Suspicious process running under user netdata
« on: February 26, 2019, 01:25:58 PM »
hello
I hope you doing well ...
I got email: lfd on servername : Suspicious process running under user netdata >>>>>>>>>
it's annoying
how can i stop this alert?
or disable netdata?
Regards
I hope you doing well ...
I got email: lfd on servername : Suspicious process running under user netdata >>>>>>>>>
it's annoying
how can i stop this alert?
or disable netdata?
Regards
7
MySQL / upgrade phpmyadmin to 4.8.4
« on: January 17, 2019, 10:27:46 PM »
hi all
i don't know is this right or wrong but i upgraded my pma to the last version 4.8.4
what i did?
enter to the SSH root
than
than i changed the pma name to pma2018
than i download the last version
and i changed the name of phpmyadmin-4.8.( you complete the name of the directory ) to pma
and i changed the config.simple.inc.php to config.inc.php
its works fine but it showed red problems inside the phpmyadmin
1- $cfg['blowfish_secret']
I wrote strong characters (capital and small letters) numbers and so on insid the ''
under
than i changed the properties of the pma from root to cwpsvc from WinScp
and i restart all server
and reboot the server
if i did right thing please share it with me/us, and if i did something wrong please let me/us know here to correct the wrong one
thanks
Regards
i don't know is this right or wrong but i upgraded my pma to the last version 4.8.4
what i did?
enter to the SSH root
than
Code: [Select]
cd /usr/local/cwpsrv/var/services
than i changed the pma name to pma2018
Code: [Select]
mv pma pma2018
than i download the last version
Code: [Select]
wget https://www.phpmyadmin.net/downloads/phpMyAdmin-latest-all-languages.zip
unzip phpMyAdmin-latest-all-languages.zip
and i changed the name of phpmyadmin-4.8.( you complete the name of the directory ) to pma
Code: [Select]
mv phpmyadmin-4.8.4( you complete the name of the directory ) pma
and i changed the config.simple.inc.php to config.inc.php
Code: [Select]
mv config.simple.inc.php config.inc.php
its works fine but it showed red problems inside the phpmyadmin
1- $cfg['blowfish_secret']
I wrote strong characters (capital and small letters) numbers and so on insid the ''
Code: [Select]
$cfg['blowfish_secret'] = ''; /* YOU MUST FILL IN THIS FOR COOKIE AUTH! */
and i add Code: [Select]
$cfg['Servers'][$i]['connect_type'] = 'tcp';
under
Code: [Select]
$cfg['Servers'][$i]['host'] = 'localhost';
than i changed the properties of the pma from root to cwpsvc from WinScp
and i restart all server
Code: [Select]
systemctl restart mysql
systemctl restart httpd
systemctl restart sshd
systemctl restart lfd
systemctl restart named
systemctl restart nginx
systemctl restart varnish
systemctl restart dovecot
systemctl restart crond.service
sh /scripts/restart_cwpsrv
csf -r
and reboot the server
if i did right thing please share it with me/us, and if i did something wrong please let me/us know here to correct the wrong one
thanks
Regards
Pages: [1]