Apache Fails [mod_security/1.9.1 Configured]
Sep 18, 2007Well I have done the configtest and syntax is ok...
View 6 RepliesWell I have done the configtest and syntax is ok...
View 6 RepliesMy server was unstable at this month sometimes fork 700 process and apache 80 access per second and that's made server very slow . very bad browsing
when i checked log files /var/log/messages found that errors
Apr 20 04:06:28 suhosin[798]: ALERT - configured request variable value length limit exceeded - dropped variable 'message' (attacker '212.107.116.238', file '/usr/local/cpanel/cgi-sys/php4')
Apr 22 00:27:05 suhosin[15442]: ALERT - configured request variable name length limit exceeded - dropped ....
I have installed mod_security2 with apache2.x with success
but when I try to restart apache I have this wrong Msg:
PHP Code:
httpd restarthttpd: Syntax error on line 34 of /usr/local/apache/conf/httpd.conf: Cannot load /usr/local/apache/modules/mod_security2.so into server: /usr/local/apache/modules/mod_security2.so: undefined symbol: msc_alert
PHP Code:
[root@secure modsecurity-apache_2.1.3]# ls -la /usr/local/apache/modules/mod_security2.so-rwxr-xr-x 1 root root 52541 Nov 6 16:26 /usr/local/apache/modules/mod_security2.so[root@secure modsecurity-apache_2.1.3]#
Im using Mod_JK 1.2.27
Apache 2.2.21
Linux RHEL 5.7
Boss 7
I keep getting 503 errors-Service Temporarily Unavailable on the browser Even though I can hit the servlets and JSPs on there just fine if I hit the JBoss server individually. I get these errors in the mod_jk.log file [Thu Apr 04 01:54:34 2013] [6068:3860842240] [debug] ajp_send_request::jk_ajp_common.c (1520): (worker1) request body to send 0 - request body to resend 0
[Code].....
My current "manager" it his all "great time" couldnt fix irt whole day so I am looking for experienced manager to check and fix my problem, let me know how much you charge per 1h and what's your experience,
View 2 Replies View RelatedI am struggling with this all the day, no answer i found here as well. how to setup proper a subdomain i need. My Apache config has 2 domains configured (on same IP), for the domain2.com i need to setup a sub-domain. Here is what i have so far, but the subdomain keeps redirecting me to domain2.com (main site).
View 2 Replies View RelatedThe latest versions of Apache for Windows sometimes refuse to do a "soft" restart with httpd -k restart.
View 4 Replies View RelatedI upgraded to php 5.2.3 and it broke my apache somehow.
Here is the error i get in WHM when tring to restart.
Code:
Waiting for httpd to restart.... . . . . . . . . . . finished.
httpd statusroot 14613 1.0 2.1 23736 22060 ? S 02:55 0:00 /usr/local/cpanel/whostmgr/bin/whostmgr ./reshttpd
root 14626 1.2 1.0 20896 10408 ? Ss 02:55 0:00 /usr/local/apache/bin/httpd -DSSL
httpd: [ != HTTP/1..] httpd has failed, please contact the sysadmin
Im running CentOS with apache 1.3 and trying to run Php5 with whm 11.2.0 and cpanel 11.6.0.
Ive tried everything from loading the least amount of modules to trying to go back to php 4.3 but nothing seems to work and i get the same error no matter which way i go.
My zend is the latest required for php5 too.
Here is a tail from my apache error log.
Code:
[Sat Aug 4 02:55:13 2007] [notice] FastCGI: process manager initialized (pid 14627)
[Sat Aug 4 02:55:13 2007] [notice] Apache/1.3.37 (Unix) PHP/5.2.3 mod_gzip/1.3.26.1a mod_fastcgi/2.4.2 mod_auth_passthrough/1.8 mod_log_bytes/1.2 mod_bwlimited/1.4 F$
[Sat Aug 4 02:55:13 2007] [notice] suEXEC mechanism enabled (wrapper: /usr/local/apache/bin/suexec)
[Sat Aug 4 02:55:13 2007] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Sat Aug 4 02:55:28 2007] [notice] child pid 14633 exit signal Segmentation fault (11)
[Sat Aug 4 02:56:14 2007] [notice] child pid 14634 exit signal Segmentation fault (11)
My customer wants a Windows system - but I'm rusty at best in Windows.I downloaded VC11 x86 Thread Safe (2013-Nov-13 20:57:44), unpacked it, moved it to it's own directory, edited httpd.conf (no auto installation) and confirmed it was working (localhost/index.html)
I added PHP and ran a PHP info - a little trouble getting the php.ini found.Apache seems to work fine on the local system - either localhost/index.html or nn.nn.nn.nn/.But remote browsers timeout when attempting to connect.
1. I've opened command as administrator and run httpd.exe directly
2. I've installed httpd.exe as a service, opened it's properties window and started it from there
3. Changed the listen port to 8080
4. netstat sees the remote browser with a waiting connection - and the local service
5. The Windows system is on my Mac network (same systems where the remote browser is) and I have transferred megabytes of files between the two systems.
In Component Services - the Apache2.4 service shows Log On As 'Local Service' - I'm guessing it should show as 'Network Service.I tried changing this - used the local user login - restarted the service. I didn't see any way to change it to 'Network Service'. Perhaps this is the problem?
ODDLY - the remote browser worked briefly - then failed with the same 'time out'.I'm guessing this is something simple that I don't understand about Windows - (then again, since I don't understand much about Windows, it could be complicated too).
OS: RHEL 6.4
SELinux: permissive mode
Apache: 2.2, mod_fcgid, mod_suxec, mod_ssl enabled
Common Name: www.user.dept.university.edu
(Note:user names, accounts, organizations etc. sanitized)
why Apache will serve PHP-based web pages over port 80 but not over 443. Here is the virtual host block excerpt from httpd.conf:
Code:
<VirtualHost *:80>
ServerName user.dept.univsersity.edu
ServerAlias user
DocumentRoot /home/user/public_html/subdirectory
<IfModule mod_fcgid.c>
[Code] .....
I use Windows 7, running Apache VC10 in the XAMPP environment. It worked well, I am a newbie, it runned smoothly to programe a brief static page. Now I have everytime this logerror... I didn't change anything in the files and scripts of my apache folder...
[Wed Jan 22 21:12:15.178559 2014] [ssl:warn] [pid 3392:tid 264] AH01909: RSA certificate configured for www.example.com:443 does NOT include an ID which matches the server name
[Wed Jan 22 21:12:15.272159 2014] [core:warn] [pid 3392:tid 264] AH00098: pid file C:/xampp/apache/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
[Code].....
when I try to run yum update it throws an error
Quote:
Gathering header information file(s) from server(s)
Server: CentOS-3 - Addons
retrygrab() failed for:
http://mirror.centos.org/centos/3/ad...rs/header.info
Executing failover method
failover: out of servers to try
Error getting file http://mirror.centos.org/centos/3/ad...rs/header.info
[Errno 4] IOError: <urlopen error >
when I run /etc/easyapache it too fails
Quote:
root@server1 [~]# /scripts/easyapache
Testing connection speed...(this could take a while)............Done
Ping:32.076 Testing connection speed to 69.90.250.35 using pureperl...(120500.00 bytes/s)...Done
Ping:32.179 Testing connection speed to 69.90.250.34 using pureperl...(120500.00 bytes/s)...Done
Ping:49.545 Testing connection speed to 69.72.164.152 using pureperl...(76681.82 bytes/s)...Done
Ping:49.605 Testing connection speed to 69.72.164.155 using pureperl...(70291.67 bytes/s)...Done
Ping:51.603 Testing connection speed to 198.66.92.147 using pureperl...(76681.82 bytes/s)...Done
5 usable mirrors located
Fetching http://layer1.cpanel.net/buildapache.sea (0)....@69.90.250.35......connected......receiving...1%...2%...3%...4%...5%...6%...7%...8%...9%...10%...11%...13%...14%...15%...16%...17%...18%...19%. ..20%...21%...22%...23%...25%...26%...27%...28%...29%...30%...31%...32%...33%...34%...35%...36%...38%...39%...40%...41%...42%...43%...44%...45%...46%. ..47%...48%...50%...51%...52%...53%...54%...55%...56%...57%...58%...59%...60%...62%...63%...64%...65%...66%...67%...68%...69%...70%...71%...72%...73%. ..75%...76%...77%...78%...79%...80%...81%...82%...83%...84%...85%...87%...88%...89%...90%...91%...92%...93%...94%...95%...96%...97%...98%...100%...... Done
Creating directory buildapache
Verifying archive integrity... All good.
Uncompressing buildapache........................................................................................................................................... ...................................................................................................................................................... ...................................................................................................................................................... .................................................................
Checking Update System........Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
Please correct the conflicts and try again!
initfpsuexec: using apache 1.x support
Waiting for httpd to restart..............finished.
root 7208 0.8 0.5 46200 5772 ? S 02:06 0:00 /usr/local/apache/bin/httpd -DSSL
httpd started ok
i installed on my server csf firewall.
After review security server.shows message error the Sections of warning .
This indeed is a topologically error.
How is this to repair and correct.
Check nameservers
Code:
At least one of the configured nameservers:
ns1.X***********
ns2.X***********
should be located in a topologically and geographically dispersed location on the Internet - See RFC 2182 (Section 3.1)
/scripts/fixrndc
[DNSLib]: Attempting to locate /etc/named.conf
[DNSLib]: no bind configuration present
[DNSLib]: Unable to locate Bind configuration file.
yum install bind
Loading "installonlyn" plugin
Setting up Install Process
Setting up repositories
core [1/3]
updates [2/3]
extras [3/3]
Reading repository metadata in from local files
Excluding Packages in global exclude list
Finished
Parsing package install arguments
Nothing to do
Its a cpanel vps, so I don't know why that happened. What to do?
I am a new user of Plesk 11.5.30 struggling to understand how qmail is configured.
I intend to install ezmlm to work with qmail but the installation guide assumes that the qmail installation is set up per LWQ (Life with qmail - see URL....
For example the following are quotes from LWQ:All of qmail's system configuration files, with the exception of the .qmail files in ~alias, reside in /var/qmail/control.A series of configuration files resides under /var/qmail/users.
The qmail sendmail, which is normally in /var/qmail/bin/sendmail, usually replaces .None of these directories exist. So where are all these configuration entities?
I have two whm cpanel servers on one provider and they both reporting same
error when i click on phpmyadmin on whm:
#2002 - The server is not responding (or the local MySQL server's socket is not correctly configured)
OS: Linux Red Hat 5
Control Panel: CPanel
Our customer lately complained to us about parked domain.
He parked a domain domain.name but the problem is that i can't find that an entry for that domain. I mean its not in "Parked Domains" where i ussually find normally created domains.
When i attempt to recreate a parked domain, it says that
Quote:
Error from park wrapper: domain.name is already configured.
And whenever i make a query
[url]it says that
Quote:
Unable to find out which user owns the parked domain domain.name.
However the domain seem to work correctly. Whenever i visit it in browser i see a preconfigured message "Server Online"
how I can verify that my mail server is configured properly?
This is the problem:
I can send out mail without a problem, but I cannot receive mail from external domains (eg: google or hotmail).
Some of the message have weird bounce backs like:
PERM_FAILURE: SMTP Error (state 13): 550 No Such User Here
But the user does exist... I am logged into it right now.
My understanding is that if I join a webhosting company that operates the cPanel web control panel then my Outlook Express email program would get configured automatically.
However if the webhosting company were to be using DirectAdmin web control panel would I get the same benefit in this respect please?
Seems that the default installation of Bind on Windows plesk 11.x (i don't know if is also for Linux), configure bind by default as open resolver. Then we must fix the problem using this kb:
[URL]
I'm wondering if i'm doing a wrong installation, of this type of installation is by default. In the second case, is there any reason?
Many of our clients create e-mail accounts that forward incoming e-mail to mailboxes hosted on other e-mail services. e.g., Gmail.
Lately, though, a handful of these accounts have been receiving a lot of spam (i.e., UCE) and that's been causing a lot of damage to our reputation with these other e-mail services because the message that's being forwarded appears to have originated from our servers.
Code:
<someuser@gmail.com>: host gmail-smtp-in.l.google.com[64.233.183.27]
said: 552-5.7.0 This message was blocked because its content presents a
potential 552-5.7.0 security issue. Please visit 552-5.7.0
http://support.google.com/mail/bin/answer.py?answer=6590 to review our 552
5.7.0 message content and attachment content guidelines.
g20si28780491ici.46 - gsmtp (in reply to end of DATA command)
Is there some way to...
Find accounts that are configured to forward to gmail?
Disable forwarding in accounts that are configured to forward to gmail?Â