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

Pages: [1] 2
1
Hi,

After the last updated I noticed I can't login to any account from List Accounts.

When I click on Open Panel for any username, it goes to the login screen but won't login automatically like it use to.

https://snipboard.io/Fye8Iz.jpg

If I enter the username and password and click Login it says Failed.

So the only way to access each account is via FTP.
I'm able to access email accounts from CWP7Pro panel: Emails > Email Accounts.

Anybody experienced this issue and found a solution?

Thanks in advance.

2
Hi,

I've cleaned up the server logs, fixed a few errors, so only one or two errors remain,

Having issues with Apache,
Upgraded web server from Apache Only to Nginx, Vanish Apache
And randomly finding Apache offline so something is not right.

If I switch back to Apache Only, I can't restart Apache at all.
When set to Nginx, Vanish, Apache, Apache goes offline randomly, but I'm able to restart it.

So, I looked in usr/local/apache/logs

Quote
ModSecurity: Access denied with code 403 (phase 1). Matched phrase "/.env" at REQUEST_URI. [file "/usr/local/apache/modsecurity-cwaf/rules/02_Global_Generic.conf"] [line "117"] [id "210492"] [rev "3"] [severity "CRITICAL"] [tag "CWAF"] [tag "Generic"] [hostname "5.55.154.55"] [uri "/.env"] [unique_id "ZQbGaAHhrTaYwGUNEoolBwAAAIE"]

Quote
[Sun Sep 17 09:35:53.078555 2023] [:notice] [pid 5153:tid 139887043213184] ModSecurity: StatusEngine call failed. Query: GIXDSLRRFRAXAYLDNBSS6MROGQXDKNZA.FBKW42LYFEQE64DFNYWDCLRWFYZC6MJO.GYXDELBYFYZTELZYFYZTEIBSGAYTELJR.GEWTGMBMFBXHK3DMFEWDELRZFYYSYY3E.GYYGIM3FMUZDMNRTMMYGKNRTMM4TAYLD.ME4DQMZTMQ3TENLDMJRTCYJYGYYGM.1694939744.status.modsecurity.org


Any advice appreciated

3
Hi,

Trying to find what's causing Apache, and maybe other applications to stop.

I recently switched web server from Apache Only to Nginx, Vanish, Apache PHP-FPM.
The server was running PHP 7.4.latest then I installed and switched to PHP 8.1.

I've noticed several times Apache was stopped,
I can't see any related errors in / usr / local / apache / logs / error_log

I was having a few other issues with websites not loading, tried switching back to Apache Only,
But was unable to start Apache, I've since switched back to Nginx, Vanish, Apache PHP.FPM
The only one that I find stopped is Apache, I can restart Apache if  using Nginx, Vanish, Apache..
I can't start Apache, if Apache Only is selected.

Any tips appreciated

Thanks

4
SSL / Session Cache is not configured [hint: SSLSessionCache]
« on: September 08, 2023, 04:21:24 AM »
Hi,

Any advice on fixing this issue appreciated.

[Fri Sep 08 04:06:59.386698 2023] [ssl:warn] [pid 14456:tid 140467374864256] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

I tried a fix from another topic by enabling:

LoadModule socache_memcache_module modules/mod_socache_memcache.so

In: / usr / local / apache / conf / httpd.conf

5
Apache / Apache won't start after upgrading to php 8+ (httpd failed)
« on: August 30, 2023, 05:05:28 PM »
Hi,

I am having this issue again, after updating the server PHP version to PHP 8.0.2
Any version of PHP 8+ is causing Apache not to start up, so websites are unreachable.

Tried switching back to 7.4.3 which all the sites usually work with, but not this time.
This has to be a bug, because I had the same issue when upgrading to php 7+

I forget how we resolved it last time.

The data-center also checked and couldn't resolve the issue,
They said the issue is in CWP

user@svr1.web.it ~$ systemctl status httpd -l
● httpd.service - The Apache HTTP Server
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Wed 2023-08-30 18:06:37 IST; 1min 53s ago
     Docs: man:httpd(8)
           man:apachectl(8)
  Process: 18391 ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND (code=exited, status=1/FAILURE)
 Main PID: 18391 (code=exited, status=1/FAILURE)
Aug 30 18:06:37 svr1.web.it systemd[1]: Starting The Apache HTTP Server...
Aug 30 18:06:37 svr1.web.it systemd[1]: httpd.service: main process exited, code=exited, status=1/FAILURE
Aug 30 18:06:37 svr1.web.it systemd[1]: Failed to start The Apache HTTP Server.
Aug 30 18:06:37 svr1.web.it systemd[1]: Unit httpd.service entered failed state.
Aug 30 18:06:37 svr1.web.it systemd[1]: httpd.service failed.


user@svr1.web.it ~$ service httpd restart
Redirecting to /bin/systemctl restart httpd.service
Job for httpd.service failed because the control process exited with error code. See "systemctl status httpd.service" and "journalctl -xe" for details.


I ran these commands in the SSH terminal

systemctl status httpd.service

journalctl -xe


--

user@svr1.web.it ~$ systemctl status httpd.service
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor
preset: disabled)
   Active: failed (Result: exit-code) since Tue 2023-08-29 22:50:58 IST; 7min
ago
  Process: 23749 ExecStart=/usr/local/apache/bin/apachectl start (code=exited,
status=139)
 Main PID: 7129 (code=killed, signal=SEGV)
Aug 29 22:50:58 svr1.web.it systemd[1]: Starting Web server Apache...
Aug 29 22:50:58 svr1.web.it apachectl[23749]:
/usr/local/apache/bin/apachectl: line 79: 23751 Segmentation fault      $HTTPD
-k $ARGV
Aug 29 22:50:58 svr1.web.it systemd[1]: httpd.service: control process
exited, code=exited status=139
Aug 29 22:50:58 svr1.web.it systemd[1]: Failed to start Web server
Apache.
Aug 29 22:50:58 svr1.web.it systemd[1]: Unit httpd.service entered
failed state.
Aug 29 22:50:58 svr1.web.it systemd[1]: httpd.service failed.


The info from journalctl -xe is a bit long to post here.

I'm also unable to update CWP again, it gives Ajax Error

Apaprently, some applications are working fine without Apache,
But all the websites are down.

I also tried switching from Apache Only to Nginx and some of the sites worked, not all.
I can't use any of the other servers in WebServers_manage, because the sites won't work.

I'd like to get everything working again with Nginx & Varnish & Apache, which offers the best performance.

Any advice appreciated.

6
DNS / Pointing subdomain on CWP to an external server IP
« on: January 11, 2023, 10:05:13 AM »
Hi,

Just checking,

I have a domain on CWP that I created a subdomain for: service.domain.com
I also have a new web hosting account on a separate server to CWP.

I wanted to point that subdomain to the IP of the new server,
So I went into DNS Functions > List DNS Zone and clicked on Edit File for domain.com.db

In that file I see two records for the subdomain and changed the IP to the new server.

service     14400   IN      A       11.111.73.202  ; #subdomain service
www.service     14400   IN      A       11.111.73.202  ; #subdomain service

Is that all I need to do to point the subdomain to the new server, do I need to add their ns1 & ns2 records also?


Thanks in advance

7
Updates / Update CWP getting errors.. Ajax Error / grep: write error
« on: January 11, 2023, 09:56:59 AM »
Hi,

I'm trying to run the update command sh /scripts/update_cwp

First I used the CWP Pro Terminal and got this message:

[root@svr1 /]# sh /scripts/update_cwp


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


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


######################
Update Server Packages
######################
grep: write error
Redirecting to /bin/systemctl reload cwpsrv.service
Redirecting to /bin/systemctl reload cwp-phpfpm.service
Redirecting to /bin/systemctl restart cwpsrv.service
[root@svr1 admin]# [root@svr1 admin]# [root@svr1 admin]# ^C
[root@svr1 admin]#


I then ran the same command in the Simple terminal

user@svr1.site.com ~$ sh /scripts/update_cwp
[ERROR] AJAX: error


Any advice appreciated.

Thanks

8
Hi,

Is there any solution for adding SSL to Shoutcast streams in Shoutcast Manager?
They only work with http://IP:port right now, example: http://1.11.111.50:15000/

This is what I see in Media Services section:
Service url http://1.11.111.50:15000/ | Admin url https://domain.com

Shouldn't the domain name be a proper stream url, like https://domain.com:15000/ ?

Any info appreciated.

9
CentOS 7 Problems / How to change Owner and Group on a Directory
« on: December 13, 2022, 08:06:15 PM »
Hi,

I tested that fix permissions option, selected a domain name.
It changed/set Owner and Group to "nobody" on some directories.
But I need to change "nobody" to the correct Owner and Group "user1"
Need to set the right Owner and Group for all files and folders in these directories.



Any help appreciated..

10
Mod_Security / Mod Security issue? pid 2459:tid 140698774865664
« on: December 07, 2022, 05:48:10 AM »
Hi,

I have an issue where I keep getting logged out of one of my sites, wondering if this is causing it?

I'm not sure what the error is, I did disable mod security for this subdomain.

[Sun Dec 04 06:07:02.797116 2022] [:error] [pid 2459:tid 140698774865664] [client 3.44.104.50:38650] [client 3.44.104.50] ModSecurity: Warning. Found 1 byte(s) in REQUEST_HEADERS:sec-ch-ua-mobile outside range: 32,34,38,42-59,61,65-90,95,97-122. [file "/usr/local/apache/modsecurity-owasp-latest/rules/REQUEST-920-PROTOCOL-ENFORCEMENT.conf"] [line "1522"] [id "920274"] [msg "Invalid character in request headers (outside of very strict set)"] [data "REQUEST_HEADERS:sec-ch-ua-mobile=?0"] [severity "CRITICAL"] [ver "OWASP_CRS/3.3.2"] [tag "application-multi"] [tag "language-multi"] [tag "platform-multi"] [tag "attack-protocol"] [tag "OWASP_CRS"] [tag "capec/1000/210/272"] [tag "paranoia-level/4"] [hostname "sub.domain.it"] [uri "/ad1/theme/theme.css"] [unique_id "Y4w5BtDf09272i5clVjrZQAAAJI"]

Any advice appreciated

Thanks

11
Hi,

I was reading a guide on cleaning cwp logs,

cd /root
nano cleanlog.sh

But I got an error: Error opening terminal: unknown
So I decided to clean some of them manually.

Now when I go to my domain I get Access Denied.

Any tips appreciated

12
Hi,

I created a subdomain where I have installed some scripts.
The application requires that I have ionCube Loaded installed.

--

Script error: the ionCube Loader for PHP needs to be installed. The ionCube Loader is the industry standard PHP extension for running protected PHP code, and can usually be added easily to a PHP installation. For Loaders please visit get-loader.ioncube.com and for an instructional video please see http://ioncu.be/LV

--

So, I checked in the terminal to see what version of ionCube was installed and see a few errors.
Not sure exactly how to fix the errors, any tips appreciated.

--

Failed loading /usr/local/ioncube/ioncube_loader_lin_7.4.so:  /usr/local/ioncube/ioncube_loader_lin_7.4.so: undefined symbol: file_globals
Failed loading /usr/local/sourceguardian/ixed.7.4.lin:  /usr/local/sourceguardian/ixed.7.4.lin: undefined symbol: executor_globals
PHP 7.4.27 (cli) (built: Jan 11 2022 06:11:26) ( ZTS )
Copyright (c) The PHP Group

--


13
Hi,

Testing a few email accounts in Roundcube

I can send out emails but can't receive any, testing with gmail account.

Looked at /var/log/dovecot.log

Feb 15 04:07:36 imap(me@domain.it): Warning: autocreate plugin is deprecated, use mailbox { auto } setting instead

/var/log/maillog

Feb 15 04:28:59 svr1 postfix/smtpd[18842]: warning: unknown[ip]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 15 04:29:00 svr1 postfix/smtpd[19641]: warning: unknown[87.246.7.000]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 15 04:29:00 svr1 postfix/smtpd[18315]: warning: unknown[ip]: SASL LOGIN authentication failed: UGFzc3dvcmQ6
Feb 15 04:29:00 svr1 postfix/smtpd[18315]: disconnect from unknown[ip] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 15 04:29:00 svr1 postfix/smtpd[18809]: connect from unknown[ip]
Feb 15 04:29:00 svr1 postfix/smtpd[18842]: disconnect from unknown[ip] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 15 04:29:00 svr1 postfix/smtpd[19641]: disconnect from unknown[87.246.7.000] ehlo=1 auth=0/1 rset=1 quit=1 commands=3/4
Feb 15 04:29:03 svr1 postfix/smtpd[15533]: warning: hostname net6-ip000.linkbg.com does not resolve to address 87.246.7.000: Name or service not known
Feb 15 04:29:03 svr1 postfix/smtpd[15533]: connect from unknown[87.246.7.000]
Feb 15 04:29:03 svr1 postfix/smtpd[19486]: connect from unknown[ip]
Feb 15 04:29:04 svr1 postfix/smtpd[18315]: connect from unknown[ip]
Feb 15 04:29:05 svr1 postfix/smtpd[18842]: connect from unknown[ip]

Any advice appreciated

14
Hi,

Distro Name: CentOS Linux release 7.7.1908 (Core)
Kernel Version: 2.6.32-042stab127.2

I'm having issues accessing my site,
I logged into CWP and see Nginx Reverse Proxy, FTP Server & Varnish Cache Server are down.

Just noticed some of the mail services failed to start too after server reboot.

Dovecot IMAP/POP3 Server      
ClamAV      
AMaViS (A Mail Virus Scanner)
SpamAssassin

Not sure how to fix all issues.

Here's some status info for Nginx Reverse Proxy..

● nginx.service - nginx - high performance web server
   Loaded: loaded (/usr/lib/systemd/system/nginx.service; enabled; vendor preset: disabled)
   Active: failed (Result: timeout) since Thu 2020-01-09 01:21:38 UTC; 2min 56s ago
     Docs: http://nginx.org/en/docs/
  Process: 28857 ExecStart=/usr/sbin/nginx -c /etc/nginx/nginx.conf (code=exited, status=0/SUCCESS)

Jan 09 01:20:08 clients systemd[1]: Starting nginx - high performance web server...
Jan 09 01:20:08 clients systemd[1]: Can't open PID file /var/run/nginx.pid (yet?) after start: Too many levels of symbolic links
Jan 09 01:21:38 clients systemd[1]: nginx.service start operation timed out. Terminating.
Jan 09 01:21:38 clients systemd[1]: Failed to start nginx - high performance web server.
Jan 09 01:21:38 clients systemd[1]: Unit nginx.service entered failed state.
Jan 09 01:21:38 clients systemd[1]: nginx.service failed.

-- Unit session-7789535.scope has finished starting up.
--
-- The start-up result is done.
Jan 09 01:00:01 clients CROND[25275]: (root) CMD (/usr/local/bin/php -q /home/dsm1/public_html/index.php cron > /dev/null 2>&1)
Jan 09 01:00:32 clients systemd[1]: nginx.service start operation timed out. Terminating.
Jan 09 01:00:32 clients systemd[1]: Failed to start nginx - high performance web server.
-- Subject: Unit nginx.service has failed
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit nginx.service has failed.
--
-- The result is failed.
Jan 09 01:00:32 clients systemd[1]: Unit nginx.service entered failed state.
Jan 09 01:00:32 clients systemd[1]: nginx.service failed.
Jan 09 01:05:01 clients systemd[1]: Started Session 7789811 of user root.
-- Subject: Unit session-7789811.scope has finished start-up
-- Defined-By: systemd
-- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel
--
-- Unit session-7789811.scope has finished starting up.


I posted this the other night, I was attempting to update the kernel, don't think it worked.
http://forum.centos-webpanel.com/index.php?topic=8068.msg27597#msg27597

15
Hi,

I noticed these three were down and tried to restart them with no luck.
FTP Server, Varnish Cache Server & Nginx Reverse Proxy.

I Googled "Can't open PID file /var/run/pure-ftpd.pid (yet?) after start: Too many levels of symbolic links"

And found this post: https://forum.centos-webpanel.com/centos-7-problems/i-can't-start-ftp-server/

Following the above tutorial and trying to update the kernel but got stuck at nano /etc/default/grub

Error opening terminal: Unknown

And cat /etc/default/grub

There's no grub file at  /etc/default/

Any help appreciated


I ran these commands:

rpm --import http://www.elrepo.org/RPM-GPG-KEY-elrepo.org

rpm -Uvh https://www.elrepo.org/elrepo-release-7.0-4.el7.elrepo.noarch.rpm

yum --enablerepo=elrepo-kernel install kernel-ml -y

nano /etc/default/grub

Pages: [1] 2