I'm trying to send mail from mysite.com (my own server), to a remote server that hosts user@remotesite.org.
From server1.myhost.com as root I ran:
Code:
exim -bt user@remotesite.org
user@remotesite.org is undeliverable: No Such User Here
From server2.myhost.com (that is located at the same rack as server1):
Code:
exim -bt user@remotesite.org
user@remotesite.org
router = lookuphost, transport = remote_smtp
host lobosuelto.arnet.com.ar [200.45.191.210] MX=5
host corderoatado.arnet.com.ar [200.45.191.211] MX=5
From server3.myhost.com (another server on another different rack):
Code:
exim -bt user@remotesite.org
user@remotesite.org
router = lookuphost, transport = remote_smtp
host lobosuelto.arnet.com.ar [200.45.191.210] MX=5
host corderoatado.arnet.com.ar [200.45.191.211] MX=5
On the three servers I'm using the exact same Exim configuration, the same name servers at /etc/resolv.conf, same cPanel Release version, but I still don't understand why at server1.myhost.comI got the error. The only difference is that at server1.myhost.comI'm running CentOS 5, instead of RHE 5.2 (server #2 and #3).
Already tried disabling Sender Verification/Callouts at Exim Config, resetting exim config to default but the error stills.
I am having a very strange problem with 2 different cPanel accounts on a server with 500-600 accounts. For some reason after a day or two the mysql username/password stops working. We have tried changing the MySQL user and the password with no success. The log does not indicate that the MySQL password was changed in any way. Only these 2 accounts are affected and this problem occurred at least half dozen times each.
Again: these are two different accounts with 2 different MySQL users that after a while stop working (I am unable to determine if they stop working at the same time b/c they belong to different customers). When we reset the user (with the same pass) it works for a day or two. I have checked to connect not only from PHP but also from shell when it's down: it also doesn't work so this is a pure MySQL problem.
just noticed these errors could this be a hacker or something?
Code: [Sat Feb 17 16:37:51 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpmyadmin/main.php [Sat Feb 17 16:37:51 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:51 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMyAdmin/main.php [Sat Feb 17 16:37:51 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PHPMYADMIN/main.php [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/pHpMyAdMiN/main.php [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PhPmYaDmIn/main.php [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PHPmyadmin/main.php [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PHPMYadmin/main.php [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMYadmin/main.php [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpmyADMIN/main.php [Sat Feb 17 16:37:52 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/pmamy/main.php [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/pma/main.php [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PMA/main.php [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/myadmin/main.php [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/MYADMIN/main.php [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:53 2007] [error] PHP Fatal error: Uncaught exception 'Exception' with message 'Unable to connect to database on localhost' in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php:96 Stack trace: #0 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php(321): AbstractDb->connect(NULL) #1 /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/Server.php(227): AbstractDb->execSqlUniqueRes('SELECT server_i...', NULL, false, true) #2 /home/lavals/public_html/auth1/wifidog-auth/wifidog/include/common.php(107): Server::getCurrentServer(true) #3 /home/lavals/public_html/auth1/wifidog-auth/wifidog/ping/index.php(50): require_once('/home/lavals/pu...') #4 {main} thrown in /home/lavals/public_html/auth1/wifidog-auth/wifidog/classes/AbstractDb.php on line 96 [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/MYadmin/main.php [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/myADMIN/main.php [Sat Feb 17 16:37:53 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/MyAdmin/main.php [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/PMA/main.phpmain.php [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpmyadmin/main.phpmain.php [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/mysql/main.phpmain.php [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/admin/main.phpmain.php [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/db/main.phpmain.php [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/dbadmin/main.phpmain.php [Sat Feb 17 16:37:54 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/web/phpMyAdmin/main.phpmain.php [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/admin/pma/main.phpmain.php [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/admin/phpmyadmin/main.phpmain.php [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/admin/mysql/main.phpmain.php [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/mysql-admin/main.phpmain.php [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpmyadmin2/main.phpmain.php [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/mysqladmin/main.phpmain.php [Sat Feb 17 16:37:55 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/mysql-admin/main.phpmain.php [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/main.phpmain.php [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMyAdmin-2.5.6/main.phpmain.php [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMyAdmin-2.5.4/main.phpmain.php [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/404.shtml [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not exist: /usr/local/apache/htdocs/phpMyAdmin-2.5.1/main.phpmain.php [Sat Feb 17 16:37:56 2007] [error] [client 67.94.163.210] File does not
My server is new from SoftLayer when i try to restore Data Base He Give Me this Massege
ERROR 1044 (42000) at line 15: Access denied for user 'mov_uu'@'localhost' to database 'mav2'
i try to restore another data base he give Also A masseges
ERROR 1064 (42000) at line 1: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near
And i have Upload Center It Was Work 100% Suddenly He give me Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request ------------------ also Warning: Unknown: failed to open stream: Permission denied in Unknown on line 0
Fatal error: Unknown: Failed opening required '/home/nameofuser/public_html/vb/index.php' (include_path='.:/usr/lib/php:/usr/local/lib/php') in Unknown on line 0
To automate some tasks for some projects I'm working on, I need to be able to automatically create or delete ftp-users.
Creating and listing ftp-accounts is working great, but when it comes to deleting them I run into an internal server error. Before my script gets the response it's waiting for, the script crashes.
- When live watching the Apache error-log with 'tail -f', the terminal-session is exited with 'Killed (core dumped)' - Apache error-log shows:
Code: (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server, referer: http://example.com/ftp.php?action=delete Premature end of script headers: ftp.php, referer: http://example.com/ftp.php?action=delete - Webbrowser shows default '500 Internal Server Error'
I have checked and changed time-out settings, but it didn't work. Error occurs a few seconds after executing, while the timeouts are set to 60 to 90 seconds.
Im trying to setup a mysql server on my centos vps server. Ive installed mysql server and done chkconfig and the mysql server has started. My problems start when i want to set a mysql root password.
When I change an email address on a user's account I get this error?
Code:
Internal error: mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/mydomain.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory
Message mailmng-mailname failed: Unable to open dir /var/qmail/mailnames/bullochrec.com/stevebrown/@attachments: No such file or directory System error 2: No such file or directory File Agent.php Line 243 Type PleskUtilException
I thought I knew enough about my .htaccess stuff to do this, but I can't seem to work it out. What I want to do is if a user visits domain.com/folder, we check to see if the folder exists. If so, show as normal (IE domain.com/support)
If a user visits domain.com/dynamicusername (dynamicusername is not a physical folder), redirect to dynamicusername.domain.com
Sorry, the copy failed. Unable to find the cpanel user file. Is the archive missing (cwd: /root/cprestore loaded cpmove-clanpz/cp/clanpz)? checked 4 files.....
1. /scripts/pkgacct username... 2. Transfer backup to new server 3. /scripts/restorepkg username 4. this error
I've got a vB site which has a RSS Poster Bot (fetches RSS Feeds then posts them). However, for some strange reason, it stopped working. Theres no errors in the error_log and when I do a manual run, it just times out after a minute or so.
The only thing I can think of is that one of the RSS Feeds is down or one of the sites is blocking the server IP for some reason.
i have this really annoying issue i'm hoping you can help with.
it seems the spamd child process gets stuck and causes 100% cpu usage. but this doens't just happen randomly, its only for this single user account. e.g. take a look at top output:
the 93 is 93% cpu usage. 40:58 is how long the process has been running, 40 minutes and counting (i just killed it though). and all it tells me its running spamd child. it usually dies after a few hours but only after causing 200% cpu usage (100% on both cpus) and making my server load skyrocket. This happens at least twice daily at no set times.
this user isn't a spammer. no scripts, no mail queue generation, no email accounts even.
I have a weird problem since the movement of our ip range with one of our servers. Bind doesn`t seem to react on any changes we make.
For example, the server still resolves to the old ip adress while we changed all of those with ipswap.sh (directadmin) The weird thing is that all zone files are 100% Correct. Ip`s are all changed and no sign of the old ip whatsoever. Again, the nameserver still resolves to the old ip`s.
Also when i create a new domain, named.conf is changed and the zone file is created sucessfully. Still the nameserver doesn`t seem to add the domain name.
Restarting, reloading and even reinstalling named doesn`t help
It is my only (at present), and main production web server located in a datacentre in the Uk.
I am running Centos 4-4.2 since a hardware failure earlier this year neccesitated a stressful overnight ssh reinstall.
I have it setup pretty well now (I think!) but I cant work out how I am able to sftp into the server!
Reason being, I have installed VSFTPD (made sure there were no ftpd daemons installed or running), and when I stop this service via sshd, it does not affect the fact that I can then sftp in to the server using an ftp client such as wsftp pro...
Also, even when I change the vsftpd.conf to jail certain ftp users to a directory, it seems to have no effect and ftp works exactly as it did before without imposing the restrictions?
There is no other ftp daemon showing up in the process list.
I have tripwire installed, rootkit hunter, and cisco hardware firewall in conjunciton with ip tables.
I dont 'think' its hacked!
Also, the last time I upgraded centos was from an early v4 to 4.4.2 due to major hardware failure on the server and the fact I didnt have a mirrored OS/server backup (due to cost) *but I did of course have all my sites and databases etc) I am rather scared to upgrade Centos kernel to the latest version in part due to horror stories I have heard from others (NOT regarding Centos specifically) from kernel upgrades going wrong or compatibility issues etc that mean that I am very very reluctant to do it on our main production server..
I am imminently buying another server to act as a failover and backup for the existing one,but is keeping my current Centos install as it is and holding out to wait for a test server the best thing to do? (are there any serious security issues in 4.4.2? bugs etc?) Or should I have confidence and get Yum to do its business!
It seems that i am facing some weird Apache issue.
I cant access my forum.domain.com but can access forum.domain.com/admin
I didnt found anything in Apache error logs,but found this in access logs IP HERE - - [26/Dec/2007:03:13:44 +0400] "GET / HTTP/1.0" 200 22435 "-" "Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; InfoPath.1; .NET CLR 2.0.50727)"
Is there anything strange in that info and what does 22435 represent?
On one of my Web sites I have it set to e-mail me whenever someone tries a SQL Injection attempt through the GET.
(I find some of the results interesting and/or funny.)
I also have it e-mail me the visitor's IP address and browser client. I recently got one with a result for the IP address that certainly got my interest.
It read: Quote:
<?php phpinfo(); echo "LOOOOL, X-FORWERD BUG"; ?>
The PHP scripting I use to get the IP address is:
Code: $visIP = isset($_SERVER['HTTP_X_FORWARDED_FOR']) ? $_SERVER['HTTP_X_FORWARDED_FOR'] : $_SERVER['REMOTE_ADDR']; I guess I'm wondering how they may have done it, and if this indicates an issues where people can hack my site (for control or at least info) through this method?
I've a few similar video sites and haven't noticed much difference over the years with their stats. They usually average anywhere from 50-100mb downloaded per day.
Suddenly this month, one site is practically going off the scale...600-700mb...up to 1gb downloaded per day...I'm like...wtf?! The other site is reporting normal BW.
I'm using awstats with hotlink protection enabled.
I have compiled a RT kernel using 2.6.24 and it has been working great. All of our machines are runnin Centos 5. No issues like the previous configurations on Dual Quad Xeons 5335's and 8GB of RAM. As well as one box with Dual Core Xeon 5140's with 4GB of RAM. They have identical motherboards. My issue is that when you do a soft reboot, it doesn't "technically" reboot. It does, but it doesn't. Let me explain. It kills my ssh connection and you can't ping it for maybe say a minute or 2. When it comes back up, you get a new SSH key to login. You hit ok, and you try logging in. It doesn't accept any passwords. The server basically becomes inoperable.
The only way to solve this is to do a hard reboot. Phsyically rebooting the server. What could be causing this? This only started to happened when using the RT kernel. Is there an option that may be conflicting with it, however our 3rd and 4th box, with the same configuration has no issues like this. Soft reboots work great.
Here is the message log.
Feb 19 04:00:02 server530 shutdown[25342]: shutting down for system reboot Feb 19 04:00:02 server530 init: Switching to runlevel: 6 Feb 19 04:00:03 server530 smartd[3037]: smartd received signal 15: Terminated Feb 19 04:00:03 server530 smartd[3037]: smartd is exiting (exit status 0) Feb 19 04:00:09 server530 ntpd[20917]: ntpd exiting on signal 15 Feb 19 04:00:09 server530 rpc.statd[2570]: Caught signal 15, un-registering and exiting. Feb 19 04:00:09 server530 portmap[25711]: connect from 127.0.0.1 to unset(status): request from unprivileged port Feb 19 04:00:10 server530 auditd[2469]: The audit daemon is exiting. Feb 19 04:00:10 server530 kernel: audit(1203415210.158:8204): audit_pid=0 old=2469 by auid=4294967295 Feb 19 04:00:10 server530 pcscd: pcscdaemon.c:529ignal_trap() Preparing for suicide Feb 19 04:00:10 server530 pcscd: hotplug_libusb.c:361:HPEstablishUSBNotifications() Hotplug stopped Feb 19 04:00:11 server530 pcscd: readerfactory.c:1350:RFCleanupReaders() entering cleaning function Feb 19 04:00:11 server530 pcscd: pcscdaemon.c:489:at_exit() cleaning /var/run Feb 19 04:00:11 server530 kernel: Kernel logging (proc) stopped. Feb 19 04:00:11 server530 kernel: Kernel log daemon terminating. Feb 19 04:00:12 server530 exiting on signal 15
Oh and this is to reboot the server nightly at 4am, when this issue occurs.
I have a client who was sending email to another server with Cpanel, all of a sudden all emails are in the queue for a few days and we checked everything was ok on our side even the logs are able to find the domain name, just that it drops from there.
Took me a while I finally telnet their port 25 and found it block, but somehow a few minutes later it was unblocked. Is there any mechanism in Cpanel that auto block port 25? I know the client uses a catchall so all rubbish went there, I cleared the catchall for him.
I added a USB nic to my main server which also acts as VM server so I can bridge some VMs on a separate network then that actual server, for security purposes. This nic has no IP and is connected to another router. My private LAN router (router1) is connected to that router. (router2)
In vmware server I made a new bridged network to eth1 which is the USB nic. now for whatever reason, there does not seem to be communication on that new nic. if I set a static IP on a VM sometimes I can ping the gateway, sometimes not. It's on and off. Also, DHCP won't work at all, but I know DHCP works on that network as if I plug a PC into that router I get an IP right away.
that this is a home setup, not an internet setup, so I have full physical access.
I recently switched my site tdnforums.com over to a new server about a week ago. Some folks are still complaining that they are viewing the forums on the OLD SERVER. Perhaps DNS is taking a long time to switch over but get this... for many people tdnforums.com is switching BACK and FORTH between the old server and the new server. So, on some visits it'll resolve to the new server... on other page refreshes you'll be viewing the forums on the old server. What the heck? This has actually happened to me a few times myself so I know that they aren't crazy.
Why is DNS doing this? Sometimes the site resolves on the old server and then the new?
What's going on here? Why isn't it flipping over 100%? Are there any things I can check as troubleshooting, or is this normal? I've had some long DNS switches before but never this "back and forth" stuff...