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.


Messages - emar

Pages: [1] 2 3 ... 6
1
CentOS-WebPanel Bugs / Re: Cant login to CWP User :2083
« on: November 21, 2023, 03:33:47 PM »
Guys try this, it works for me,
Create another user under List Accounts.
Then I was able to access all other control panels.

Hope this helps you.

https://forum.centos-webpanel.com/index.php?topic=13189.msg45807#msg45807

2
It's was doing my head in, I have to do a website for someone soon,

EDIT

@thewebexpert

What you suggested actual works lol create new user, now I can access all users from List Accounts.

Some kind of weird glitch I guess.

Thanks!

3
@josemnunez Do you mean User Accounts > Features/Themes/Languages ?

They're both set to English:

https://snipboard.io/6gzjL4.jpg

Also, in /usr/local/cwp/.conf/cwp.ini it's set to English:


4
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.

5
@overseer yes have Comodo WAF enabled

I don't know what's causing this but it's knocking off Apache and a proxy server set up for audio streaming.
Every time the proxy failes or restarts, none of the https stream url's work, then Apache stops and knocks the websites off.

6
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

7
Are these the correct commands for configtest?

[root@svr1 /]# /usr/local/apache/bin/apachectl configtest
Syntax OK

[root@svr1 /]# /usr/local/apache/bin/apachectl -t
Syntax OK
You have new mail

[root@svr1 /]# /usr/local/apache/bin/httpd -t
Syntax OK

Could this be the cause, because I just found apache offline again,

[Mon Sep 11 03:13:40.289534 2023] [:notice] [pid 7260:tid 139969124296576] ModSecurity: StatusEngine call failed. Query: GIXDSLRRFRAXAYLDNBSS6MROGQXDKNZA.FBKW42LYFEQE64DFNYWDCLRWFYZC6MJO.GYXDELBYFYZTELZYFYZTEIBSGAYTELJR.GEWTGMBMFBXHK3DMFEWDELRZFYYSYY3E.GYYGIM3FMUZDMNRTMMYGKNRTMM4TAYLD.ME4DQMZTMQ3TENLDMJRTCYJYGYYGM.1694398412.status.modsecurity.org

[Mon Sep 11 03:13:40.489500 2023] [ssl:warn] [pid 7321:tid 139969124296576] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

I don't see much else in the apache error_log
I guess I cleaned up a lot of crap and not many errors any more.

But syil lhave apache failing and my other proxy for the streaming server.

8
Quote
Apache Server Status (live load)
● httpd.service - Web server Apache
   Loaded: loaded (/usr/lib/systemd/system/httpd.service; enabled; vendor preset: disabled)
   Active: active (running) since Sun 2023-09-10 03:44:51 IST; 20h ago
 Main PID: 31743 (httpd)
   CGroup: /system.slice/httpd.service
           ├─ 1815 /usr/local/apache/bin/httpd -k start
           ├─31743 /usr/local/apache/bin/httpd -k start
           ├─31745 /usr/local/apache/bin/httpd -k start
           ├─31746 /usr/local/apache/bin/httpd -k start
           ├─31796 /usr/local/apache/bin/httpd -k start
           └─32215 /usr/local/apache/bin/httpd -k start

Sep 10 03:44:42 svr1.me.it systemd[1]: Starting Web server Apache...
Sep 10 03:44:51 svr1.me.it systemd[1]: Started Web server Apache. [quote

Quote
[root@svr1 /]# systemctl status
● svr1.me.it
    State: degraded
     Jobs: 0 queued
   Failed: 1 units
    Since: Fri 2023-09-01 00:31:48 IST; 1 weeks 2 days ago
   CGroup: /
           ├─1 /usr/lib/systemd/systemd --switched-root --system --deserialize 22
           ├─user.slice
           │ └─user-0.slice
           │   ├─session-c184201.scope
           │   │ ├─ 6181 /usr/local/centovacast/shoutcast2/sc_serv ../carl_weed/etc/server.conf
           │   │ ├─ 6187 /usr/local/centovacast/sctrans2/sc_trans ../carl_weed/etc/source.conf
           │   │ ├─23292 /usr/local/centovacast/shoutcast2/sc_serv ../csl_a221/etc/server.conf
           │   │ ├─23313 /usr/local/centovacast/sctrans2/sc_trans ../csl_a221/etc/source.conf
           │   │ ├─24072 cc-control [rpc]
           │   │ ├─24081 /usr/local/centovacast/sbin/cc-comet -d -u ccuser -g ccuser /usr/local/centovacast/etc/cc-comet.conf
           │   │ ├─24090 cc-ftpd (SERVER)
           │   │ ├─24106 imaged [master]
           │   │ ├─24108 imaged [worker]
           │   │ └─24109 imaged [worker]
           │   ├─session-c160966.scope
           │   │ ├─12928 /usr/local/centovacast/shoutcast2/sc_serv ../csl_002/etc/server.conf
           │   │ ├─13491 /usr/local/centovacast/shoutcast2/sc_serv ../csl_203/etc/server.conf
           │   │ ├─14178 /usr/local/centovacast/shoutcast2/sc_serv ../csl_204/etc/server.conf
           │   │ └─15010 /usr/local/centovacast/shoutcast2/sc_serv ../csl_209/etc/server.conf
           │   ├─session-c21478.scope
           │   │ ├─32744 /usr/local/centovacast/shoutcast2/sc_serv ../csl_a203/etc/server.conf
           │   │ └─32752 /usr/local/centovacast/sctrans2/sc_trans ../csl_a203/etc/source.conf
           │   ├─session-24900.scope
           │   │ └─12115 /usr/local/centovacast/shoutcast2/sc_serv ../csl_223/etc/server.conf
           │   └─session-1664.scope
           │     ├─ 9741 /usr/local/centovacast/shoutcast2/sc_serv ../csl_405/etc/server.conf
           │     └─22913 /usr/local/centovacast/shoutcast2/sc_serv ../csl_224/etc/server.conf
           └─system.slice
             ├─httpd.service
lines 1-35

9
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

10
SSL / Re: Session Cache is not configured [hint: SSLSessionCache]
« on: September 10, 2023, 06:39:03 AM »
Other than these messages, the server Apache error log looks pretty clean.

Quote
ModSecurity for Apache/2.9.1 (http://www.modsecurity.org/) configured.
[Sun Sep 10 03:44:42.896658 2023] [:notice] [pid 31661:tid 140076391253888] ModSecurity: APR compiled version="1.6.2"; loaded version="1.6.2"
[Sun Sep 10 03:44:42.896662 2023] [:notice] [pid 31661:tid 140076391253888] ModSecurity: PCRE compiled version="8.32 "; loaded version="8.32 2012-11-30"
[Sun Sep 10 03:44:42.896664 2023] [:notice] [pid 31661:tid 140076391253888] ModSecurity: LIBXML compiled version="2.9.1"
[Sun Sep 10 03:44:42.896698 2023] [:notice] [pid 31661:tid 140076391253888] ModSecurity: StatusEngine call: "2.9.1,Apache/2.4.57 (Unix) Open,1.6.2/1.6.2,8.32/8.32 2012-11-30,(null),2.9.1,cd60d3ee2663c00aca8833d725cbc1a860f"
[Sun Sep 10 03:44:51.005973 2023] [:notice] [pid 31661:tid 140076391253888] ModSecurity: StatusEngine call failed. Query: GIXDSLRRFRAXAYXDKNZA.FBKW42LYFEQE64DFNYWDCLRWFYZC6MJO.GYXDELBYFYZTELZYFYZTEIBSGAYTELJR.GEWTGMBMFBXHK3DMFRZFYYSYY3E.GYYGIM3FMUZDKNRTMM4TAYLD.ME4DQMZTMQ3TENLDM.1694313882.status.modsecurity.org
[Sun Sep 10 03:44:51.204162 2023] [ssl:warn] [pid 31743:tid 140076391253888] AH01873: Init: Session Cache is not configured [hint: SSLSessionCache]

11
SSL / Re: Session Cache is not configured [hint: SSLSessionCache]
« on: September 09, 2023, 11:56:15 PM »
Ok done, error log is now cleared, I'll check it again in a while.

BTW I was in / etc / httpd / logs / ssl_error_log
But all I can find is: /etc / httpd_bak / logs, there's no / etc / httpd/

Is that another issue and should I create httpd directory and delete that httpd_bak ?

12
SSL / Re: Session Cache is not configured [hint: SSLSessionCache]
« on: September 08, 2023, 09:57:03 PM »
@overseer

The second module is already active

#   Inter-Process Session Cache:
#   Configure the SSL Session Cache: First the mechanism
#   to use and second the expiring timeout (in seconds).
#SSLSessionCache         "dbm:/usr/local/apache/logs/ssl_scache"
SSLSessionCache        "shmcb:/usr/local/apache/logs/ssl_scache(512000)"
SSLSessionCacheTimeout  300

13
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

14
Apache / Re: Apache won't start after upgrading to php 8+ (httpd failed)
« on: September 07, 2023, 03:33:46 AM »
So if my domain's username is mix1 [under User Accounts > List Accounts]

for user in $(ls /home); do chown $user:nobody /home/mix1/public_html ; done

Would reset the public_html directory's Group to "nobody"

15
Apache / Re: Apache won't start after upgrading to php 8+ (httpd failed)
« on: September 07, 2023, 12:11:53 AM »
Is that command to set every domain's Owner & Group to their correct user?

Because I made the mistake of using this command and it set every domain's Owner & Group to the same user.
Which I discovered was wrong, because each domain under /home/ has it's own user.

for i in $(ls /home); do chown $i:$i /home/$i; done

Pages: [1] 2 3 ... 6