Fsockopen Issue On Server
I need here a really help because there is in my opinion simple problem that can be solved.
Here is example of simple script:
Code:
<?php
if($_GET[u]){
echo "opening socket to {$_GET[u]} port 25<br/>";
flush();
$r=fsockopen($_GET[u],25,$errno,$errstr,30);
echo "socket opened to {$_GET[u]} error $errno str $errstr";
}
else if($_GET[d]){
echo "opening socket to {$_GET[d]} port 80<br/>";
$r=fsockopen($_GET[d],80,$errno,$errstr,30);
echo "socket opened to {$_GET[d]} error $errno str $errstr";
}
?>
One site hosted by totalchoicehosting display everything correct when i test it: ...
View Complete Thread with Replies
Sponsored Links:
Related Forum Messages:
Softlayer Network Issue Or My Server Issue
Softlayer Network Issue or My server Issue? I unable to ping softlayer.com or any external server since 14/1/2009 06:00 UTC. I SSH into the server and ---------------- [root@server ~]# ping softlayer.com ping: unknown host softlayer.com [root@server ~]# nslookup softlayer.com ;; connection timed out; no servers could be reached ----------------- My server is located at Seattle, Server Room 2
View Replies!
View Related
How To Enable Fsockopen
i use a script that needs fsockopen and curl to work. also i installed curl, but couldn't enable fsockopen. how i can do that? i'm using centos, php5, cpanel etc etc.. i looked php.ini, disable_functions is empty..
View Replies!
View Related
Warning: Fsockopen(): Unable To Connect To 127.0.0.1:25
Yesterday I had to install a renewed SSL Certificate. Managed to get it installed, in Plesk under domains/www_mydomain_com, but I also deleted the default SSL from the server/certificates area... So then I was getting an dns 500 error when browsingour site and I could not start httpd from within plesk. Went in through SSH and tried to start it from there and got and error stating it could not find the SSLCA cert it was looking for. So I edited my httpd.include file to point to my new certificate. Now http works, but my email has stopped? What gives how could the two be related! I can log into my webmail, compose message and when I send I get: Warning: fsockopen(): php_hostconnect: connect failed in /usr/share/psa-horde/pear/Net/Socket.php on line 108 Warning: fsockopen(): unable to connect to 127.0.0.1:25 in /usr/share/psa-horde/pear/Net/Socket.php on line 108 I have started and stopped psa, qmail. Rebooted the server. I tried the telnet localhost 25 but I get connection refused. Anytime I check qmail status it says stopped. Don't know if that is right or not. I know I am not recieving emails asI have sent many today through other accounts and they all come back undeliverable. We do run an online store as well so I am kinda nervous when our email goes down! Time to hire a server admin? I am running Plesk 7.5.4 on Red Hat 9 on a Virtual Dedicated Server with GoDaddy. Here is my "Component Info" from Plesk: bind 9.2.1-16 coldfusion-support 7.3-2.96.118 courier-imap 3.0.8-rh9.build75050824.12 frontpage 5.0.2.2634 httpd 2.0.40-21.17.legacy.1.swsoft mod_perl 1.99_07-5 mod_python 3.0.1-4 mysql 3.23.58-1.9 perl-Apache-ASP 2.57-rh9.build75050824.12 php 4.3.2-psa.rh9.1 psa 7.5.4-rh9.build75050824.12 psa-api-rpc 7.5.4-rh9.build75050930.11 psa-bu Component was not installed psa-horde 3.0.5-rh9.build75050824.12 psa-imp 4.0.3-rh9.build75050824.12 psa-logrotate 3.7-rh9.build75050824.12 psa-manual-custom-skin-guide 7.5.4-rh9.build75050824.12 psa-proftpd 1.2.10-rh9.build75050824.12 psa-qmail 1.03-rh9.build75050824.12 psa-qmail-rblsmtpd 0.70-rh9.build75050824.12 samba 2.2.7a-8.9.0.1.swsoft SSHTerm 0.2.2-rh9.build75050824.12 stunnel 4.04-3 webalizer 2.01_10-11
View Replies!
View Related
Kernel Issue On Server
I got this weird issue with a server, I have even contacted some server management companies as I ran out of ideas and ran out of things to try and fix it. Lemme explain. The server is a core2quad q6600, with 8gb ram. 2 velociraptor 300gb on raid1. When I set the server up I had to wait on cpanel so I first went in and compiled a grsec kernel, 2.6.24.3 to be exact. Then I installed cpanel and everything else, have done the same exact procedures with countless other servers before, nothing special. Have had this server around 10 months. It will only run right in the 2.6.24.3-grsec kernel. When you boot another kernel it will first boot very very slow, then when the server comes up everything is very very slow. Then the load will go up to like 100 with nothing special going on in the server. It;s like its loaded down like that just with basic startup functions. You will see things like service_start processes long after startup. Cpanel takes forever to start up if it does. The server is extremely slow and unusable, you are lucky if you can edit grub.conf real quick and set the default kernel back. It does this on every kernel...Besides the 2.6.24.3-grsec which in that case it boots right up fine and dandy. It acts like a regular server then, performs good. So any other kernel besides the 2.6.24.3-grsec simply wont work on it. There are no logs in messages, nothing like that. I looked into things that may have been built only for the 2.6.24.3-grsec kernel but couldn't really find anything that should have made such an impact.
View Replies!
View Related
Server Load Issue, 2 Sites On One Server
I am facing a strange issue with two RPG games sites that i am hosting on a 2GB ram server with softlayer, each of these sites was running on a 512MB VPS and they were doing fine but i decided to move them to better server so things run smoother when each has 50+ members online. So the issue is when i have around 40 online members on each site, they start coughing up mysql errors, sometimes the sites just hang and stop loading, server load goes up to 3 or 4 but memory usage remains around 40%, I also notice that mysql uses the most of the CPU usage, around 75% What i probably need is for someone to identify the cause of this, can it be an attack of some sort? or is it probably some code issues in the sites? do you recommend anyone that can have a look at this?
View Replies!
View Related
Vsftpd Server Issue -- Cannot Upload
working with Ubuntu (and unix/linux) in general. I have, however, managed to install vsftpd and configure it in what I believe is a correct manner. However, upon attempting to upload a file, I get a "could not create file" error which seems to imply that I don't have permission. The account that I'm logged in under is an administrator account. My configuration file is: Code: listen=YES anonymous_enable=NO local_enable=YES write_enable=YES local_umask=022 dirmessage_enable=YES xferlog_enable=YES connect_from_port_20=YES ftpd_banner=Welcome to the Web-Ideals FTP Service! We're awesome. secure_chroot_dir=/var/run/vsftpd pam_service_name=vsftpd rsa_cert_file=/etc/ssl/certs/ssl-cert-snakeoil.pem rsa_private_key_file=/etc/ssl/private/ssl-cert-snakeoil.key
View Replies!
View Related
Server Host Name Issue/httpd
my server will revert to its old host name and stop working. Old host name was (in) and the new one is (zonto). Then, the server will eventually crash HTTPD. There is enough ram, there is small cpu usage. HTTPD is restarted and then it says it can't connect to local host blah blah. I checked EVERYWHERE, the new host name is set. Is there a host name issue some where else? I change it via the hostname command and changed all of the files.
View Replies!
View Related
DNS Issue: Some Customers Seeing Old Server
we just purchased servers from liquidweb and they setup the DNS, I set up the name nameservers in godaddy changing the IP and it's been more than 72 hours, but for some reason a few users are actually hitting the old server IP address. Theres even one nameserver query site that is listing the old ip addresses despite being more than 72 hours. I called my server provider and they were a bit clueless thinking maybe some of the ISP's have DNS caching setup to save bandwidth. Godaddy said the same thing amd claimed that there are 13 main root DNS servers and perhaps one isn't updating for some reason.
View Replies!
View Related
DoS Ongoing Issue With My LT Server
Yesterday LT pulled the plug because of a DoS that took place on my server. I asked LT to bring back my server online so that PSM can investigate. PSM did that and then said that they had cleaned out all the tmp directories, and scanned my server with rkhunter and that it was clean. LT got the message and problem was fixed...or so I thought. Today I got another email from LT saying that DoS is an ongoing issue with my LT server and that they will unplug my server and do a mandatory server reload if I don't do something about it and provide documentation of what was found and removed. Again, I contacted PSM about this and they investigated, only to tell me the same thing that they had cleaned out the tmp directories, and that if this continues they would have to disable common server functions. Doesn't sound too good. Anyway, is it really hard to find out and fix this DoS problem? My server has modsecurity but no phpsuexec is installed. LT recently offered a DDOS protection server for my server and don't know if it's really necessary, is it? Here's part of the log file that LT sent to me. There's a whole bunch of the following: Quote: 72.232.xx.xx - - [15/Feb/2007:00:27:53 -0800] "GET / HTTP/1.0" 302 206 [url] "Mozilla/5.0 (compatible; Googlebot/2.1; [url] 72.232.xx.xx - - [15/Feb/2007:00:47:34 -0800] "GET /company/feedback.cgi HTTP/1.0" 302 226 [url] "Mozilla/5.0 (compatible; Googlebot/2.1; [url] Kernel version: 2.4.21-47.0.1.ELsmp OS: CentOS 3.x CP: WHM/cPanel 10.8.2-RELEASE 119 PHP: 4.4.2 MySQL: 4.1.21-standard
View Replies!
View Related
Security Issue With FTP Server
i've set up an FTP server in my basement for me and a couple people i know to store files on. everything was good for the first couple days. Every day now i do a "netstat -a" to check whos connected and i always get a couple weird IP's that i dont know like 64.x.x.x or 215.x.x.x so i block them in various places (ftp settings,firewall,router) just to have another address pop up the next day. im running windows 2003 and i have the sygate personal firewall running along with the windows firewall. i also am behind 2 routers (i have one acting as a switch). ive gone to the point of denying every address on any port on any protocol on the second router. after that i obviously allowed our private addresses to access everything. even with that i still get random public ip's that i dont know. how do i block everyone i dont want? what are common things they would be doing to the computer when connected?
View Replies!
View Related
Domain Name Server/Nameserver/host Name Issue
Well, the ns1.NAME.com and ns2.NAME.com is done. It works and links to the right place. My host name is "dog.NAME.com" and links to the main server IP (example 1.1.1.1). So when i try to do this: 1.1.1.1/~NAME, it redirects me to dog.NAME.com which is good but then dog.NAME.com can't be found. Server not found is the exact error i get. The IP works. i don't know what i am doing wrong. My host said they will charge me to fix it, so i am relaying on you guys to save me money.
View Replies!
View Related
Weird Issue - Unable To Connent To My Server Now..
well i had an issue with not beable to access FTP. so i reboot server, but it took quiet abit longer to start then usual, so i emailed the D/C to reboot it, before they reboot it. it starts working fine, i can access it etc etc... after i recieve an email from the tech saying he has rebooted it, i find that i am unable to access my own server http/ssh... i've checked the site via a proxy and it works.. check it your self [url] - does this work for you? as it sure as hell doesnt work for me.... unsure what could have happned or anything.. tech guy doesnt seem to be helping me much at all.
View Replies!
View Related
Weird Firefox Camtasia Server Issue
When I try to play one of my own camtasia videos in Firefox they just don't work! If I open them in an other browser they play just fine. If I open the same video on a other server, it starts! I see the playbar, the buttons, it says it's waiting for the server but they just don't start playing! How weird is that!
View Replies!
View Related
Security Issue :: WAMP On Home PC Server Shutting Down?
Recently I started a website based on Joomla. My friends suggested me to start it with hosting it from Home based server. Website is not that busy. I get about 300 Unique Hits a day. My server is window xp based and i installed a bundle called WAMP2. Website was running fine but since last night my server got shut down all by itself. I checked temp log and everything was under 35. Then i checked my internet traffic and found out that there were 400+ connections from a SINGLE ip. This is the IP 213.130.118.112 and i tried to trace, whois blah blah and didnt find anything about it. I have no idea what to do as my server gets shut down after about 5 to 10 minutes. Please help me. Is it possible to stop this issue?.
View Replies!
View Related
Server Box Incoming Connectivity Issue!! (keyweb.de)
I ordered yesterday, and got it today! But I have the box, 100 MB unmetered line, I downloaded utorrent, donloaded a file at 10 MB/per sec, but For some reason the box wont seed, and the tiny little yellow banner on the bottom says there are no incoming connections (this is usually green if your port is open) It wont seed... the DL is great, is there a box setting that is blocking this? there is no installed firewall, and the ports are all open....
View Replies!
View Related
Account Suspended Due To Server Overloading - Unknown Ip Causing This Issue
My host has suspended saying my server was overloaded and sent me a log to my mail and i don't have access to cpanel also. I just have a wordpress blog and when i had contacted host through chat they told some ip might be causing this issue so ban that ip when ur account is unsuspended. But i am really unaware of how to find which ip is causing this issue as i have little knowledge on analysing logs. Any help regarding this is highly appreciated and please leave your suggestions for me. I am pasting the logs that were sent by host to me in mail: Srv PID Acc M CPU SS Req Conn Child Slot Host VHost Request 0-5 22363 32/49/49 K 5.76 2 1695 583.9 0.82 0.82 76.227.169.69 GET /index.php/181/ HTTP/1.1 1-5 22365 81/81/81 W 42.69 3 0 3060.8 2.99 2.99 76.183.97.67 GET /index.php/181/ HTTP/1.1 2-5 22367 87/87/87 K 45.81 2 991 3287.3 3.21 3.21 76.183.97.67 GET /index.php/181/ HTTP/1.1 3-5 22369 2/41/41 K 2.07 8 0 15.3 0.12 0.12 67.87.117.129 GET /wp-content/plugins/postratings/images/stars/rating_half.gi 6-5 22387 0/13/13 W 2.21 57 0 0.0 0.12 0.12 81.22.20.143 GET /index.php/181/ HTTP/1.1 7-5 22388 76/76/76 W 39.94 0 0 2871.9 2.80 2.80 141.153.137.168 GET /index.php/181/ HTTP/1.1 8-5 22396 0/26/26 W 2.46 38 0 0.0 0.34 0.34 127.0.0.1 care.com GET /whm-server-status HTTP/1.0 13-5 22413 0/18/18 W 1.46 44 0 0.0 0.33 0.33 81.22.20.143 GET /index.php/181/ HTTP/1.1 14-5 22414 0/25/25 _ 0.76 55 672 0.0 0.28 0.28 71.77.3.233 GET /wp-content/uploads/2007/12/cup.jpg HTTP/1.1 20-5 22464 2/14/14 K 0.66 8 0 52.5 0.14 0.14 67.87.117.129 GET /wp-content/plugins/postratings/images/loading.gif HTTP/1.1 21-5 22484 0/6/6 _ 1.31 40 329 0.0 0.03 0.03 74.77.10.155 -care.com GET /~realrina/nun.jpg HTTP/1.1 22-5 22510 27/37/37 K 18.07 0 1832 982.5 1.25 1.25 80.195.137.10 GET /index.php/181/ HTTP/1.1 23-5 22523 8/34/34 K 1.76 8 0 94.6 0.30 0.30 67.87.117.129 GET /wp-content/plugins/postratings/images/stars/rating_on.gif 27-5 22540 0/10/10 _ 3.36 39 167 0.0 0.19 0.19 90.192.174.63 GET /wp-content/uploads/2007/10/anand.jpg HTTP/1.1 28-5 22542 1/14/14 K 1.76 8 823 151.9 0.23 0.23 67.87.117.129 GET /wp-content/themes/ProSense%20Redux/images/picture.jpg HTTP 29-5 23481 0/6/14 _ 0.37 11 2803 0.0 0.11 0.12 82.37.128.175 radio.audio-perfection.co.uk GET /img/player.png HTTP/1.1 30-5 22584 32/44/44 K 15.47 0 1284 989.6 1.06 1.06 80.195.137.10 GET /index.php/181/ HTTP/1.1 31-5 22588 22/25/25 K 5.77 0 751 468.0 0.46 0.46 76.227.169.69 GET /index.php/181/ HTTP/1.1 32-5 23520 0/5/8 _ 0.20 19 414 0.0 0.05 0.09 72.95.237.89 pown.us GET /images/files/36.jpg HTTP/1.1 33-5 23627 1/6/22 K 0.06 3 967 28.0 0.06 0.35 66.249.65.196 GET /index.php/category/telugu-online-movies/page/4/ HTTP/1.1 36-5 23637 2/3/6 K 0.00 3 37 0.0 0.000 0.03 83.181.190.92 akirad.net GET /files/color/garland-9bf1a50e/menu-expanded.gif HTTP/1.1 37-5 23673 8/9/16 K 0.49 8 0 126.9 0.20 0.21 67.87.117.129 GET /wp-content/uploads/2007/12/movie_dus_kahaniyaan.jpg HTTP/1 38-5 23674 1/3/10 K 0.00 11 1536 23.0 0.06 0.15 84.57.59.109 teeth-whitening-kit.com GET /affiliate/scripts/sb.php?a_aid=17&a_bid=7 HTTP/1.1 39-5 23690 10/10/22 K 0.99 3 0 35.6 0.03 0.29 83.181.190.92 akirad.net GET /files/color/garland-9bf1a50e/bg-tab.png HTTP/1.1 40-5 23693 0/5/10 _ 0.00 44 1106 0.0 0.04 0.07 67.11.157.83 teeth-whitening-kit.com GET /affiliate/scripts/sb 44-5 23721 1/3/6 K 0.00 8 0 0.4 0.000 0.00 67.87.117.129 GET /wp-content/plugins/share-this/share-icon-16x16.gif HTTP/1. 45-5 - 0/0/3 . 0.00 39 1 0.0 0.00 0.00 83.181.190.92 akirad.net GET /files/color/garland-9bf1a50e/menu-expanded.gif HTTP/1.1 46-5 - 0/0/5 . 0.22 22 1332 0.0 0.00 0.04 81.22.20.143 GET /index.php/181/ HTTP/1.1 47-5 22780 51/52/52 K 26.66 0 940 1927.2 1.88 1.88 76.183.97.67 GET /index.php/181/ HTTP/1.1 48-5 - 0/0/3 . 0.00 37 6786 0.0 0.00 0.02 81.22.20.143 GET /index.php/181/ HTTP/1.1 51-5 - 0/0/13 . 0.26 35 34109 0.0 0.00 0.06 71.77.3.233 GET /favicon.ico HTTP/1.1 54-5 23746 2/3/3 K 0.51 3 0 0.0 0.02 0.02 83.181.190.92 akirad.net GET /files/color/garland-9bf1a50e/menu-leaf.gif HTTP/1.1 55-5 23747 0/0/0 W 0.00 20 706795599 0.0 0.00 0.00 81.22.20.143 GET /index.php/181/ HTTP/1.1 56-5 - 0/0/3 . 0.00 16 4868 0.0 0.00 0.00 66.7.206.192 care.com GET /serverstats_inc.php HTTP/1.0 57-5 - 0/0/5 . 0.09 44 0 0.0 0.00 0.01 195.13.38.198 (unavailable) POST /users_adm/start1.php HTTP/1.1 58-5 - 0/0/1 . 0.00 24 1640 0.0 0.00 0.02 81.22.20.143 GET /index.php/181/ HTTP/1.1 61-5 - 0/0/2 . 0.07 12 10194 0.0 0.00 0.01 172.188.47.93 radio.audio-perfection.co.uk GET /play_wmp.php HTTP/1.1
View Replies!
View Related
Php Includes Issue On Linux Server With Apache 2.0.63 / Php 5.2.6
I am having some trouble with getting 'include' working. I have a new dedicated server running Apache 2.0.63 and PHP 5.2.6. Local includes on the same domain are running ok, but remote includes are throwing a problem. On the many sites we plan to host on this servber we use a central 'webmaster' page called as an include from a specific site (also on the same server). I need to edit the PHP.ini and /or recompile the PHP with the appropriate modules to do one of the following... 1 (ideally) - allow includes from any site that is held on this dedicated server 2. allow includes from specified websites 3. simply allow remote includes right settings to get one of these options running and solve my problem?
View Replies!
View Related
Billing Issue With One.com
I have with www.one.com. I cancelled a domain I had with them, but according to ther TOS on their website, that I never received with my initial order!, I was late. So, they charged me for 1 year of contract. After not paying their invoice, they have now charged me another 10 for not paying them. They also somehow threaten me to pay otherwise they will charge me more. What do you think I should do? Is any place I can seek advise? Here is their email: "Outstanding payment of order no. 1147502. As of 12/6/08, we have not received payment for the amount outstanding on your order. In order not to burden you with further costs, we ask that you pay the amount as soon as possible. We draw your attention to the fact that you may incur further costs if the amount is not paid by 12/21/08. Item description: Amount in GBP: Balance due for order GBP 22.09 Reminder charge (invoice number 2671362) GBP 10.00 ------------------------------------------------------------ New total balance due GBP 32.09"
View Replies!
View Related
Realwebhost Issue
We have a client we moved from RWH a few months back. It was hell getting Joey to release his domains. There was also a problem with the connection timing out while moving stuff through cpanel which we had to do one account at a time due to shell being off and tickets to turn it on ignored..
View Replies!
View Related
Serious Bandwidth Issue
all of the domains on the server are showing bandwidth exceeded, this is impossible because most of the accounts are simply empty, and have no sites set up as yet, all the accounts are also showing that they have used EXACTLY the same amount of bandwith this month, i contacted hostgator support and they have yet to respond,
View Replies!
View Related
Session Issue
I have got error: Code: Warning: session_start() [function.session-start]: Cannot send session cache limiter - headers already sent (output started at /home/myhope/public_html/pro/index.php:1) in /home/myhope/public_html/pro/index.php on line 2
View Replies!
View Related
Exim Issue
I am having an odd problem when sending mail with an external mail client (thunderbird) through my server (CentOS 4.4) running exim 4.63. When sending mail to external domains NOT hosted on my server, such as to hotmail email's, the email is accepted and sent through immediately. However when sending mail to domains that ARE hosted on my server, such as my own domain, it takes upward of 30 seconds for the email to finally be accepted and delivered. Thunderbird will just sit there at "connected to mail.eggycrew.com" until it is finally sent. I've done a bit of research and haven't found anybody having this issue before.
View Replies!
View Related
Ioncube Issue
The ioncube runtime loaders wont work and i dont want to have to edit the php.ini file for it It displays: Testing Server Testing whether your system supports run-time loading... Looking for Loader 'ioncube_loader_lin_5.1.so' Extensions Dir: /usr/lib64/php/modules (/usr/lib64/php/modules) Relative Path: /../../../../var/www/html/cc/ioncube/ Found Loader: /usr/lib64/php/modules/../../../../var/www/html/cc/ioncube/ioncube_loader_lin_5.1.so Trying to install Loader - this may produce an error... Results The Loader was not installed. Instructions Run-time loading is not currently possible. If you require further assistance, please contact ionCube support providing a link to this script.
View Replies!
View Related
..:: DB Issue For C Panel ::..
I am facing one issue with C panel . Now i am unable to view my database in MySQL® Databases i am attaching the screen shoot for you info .. Previously i can see the database there in my mysql page now i cant coz of this i cant add new db or i cant edit the users or anything i cant do it with DB and how i can solve this ?? or how i can re-config my cpanel
View Replies!
View Related
Weird Issue
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?
View Replies!
View Related
Uninstallation Issue
A week or so ago my friend installed a piece of software on his server and it took the server down. I happily uninstalled the software which brought the server back up using sh uninstall.sh. However he re-installed the software, it took the server down and he deleted the folder and the uninstalllation files. I can't find traces of it yet it is still there as it is keeping the server down. Is there anyway to remove the software now that all the installation files are gone? I tried re-installing it and uninstalling it but that didn't work.
View Replies!
View Related
PHPAdsNew Issue
I hope this is in the right forum. I'm having an issue with PHPAdsNew. I have the ads all set up and when I click on the ad I get the following error: 403 ForbiddenForbidden You don't have permission to access /ads/adclick.php on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request. Apache/1.3.36 Server at www.itpittsburgh.com Port 80
View Replies!
View Related
Mysql Issue
i want ask about mysql i have server: dual xeon 3.2 ram 4gb OS: linux redhat enterprise 3 with one site (vbulletin forum) and i have some like 2000 client online in the same time on the forum and mysql eat the cpu what is the best optimaization for this situation?
View Replies!
View Related
Firewall Or DNS Issue??
Firewall or DNS issue?? I have been notified of my server having issues with email being able to be sent or received on my server. After doing a little bit of digging around I have found that I cannot do a yum update(Cent OS 4.7) and it gives me: Code: Setting up Update Process Setting up repositories Cannot find a valid baseurl for repo: update Error: Cannot find a valid baseurl for repo: update I then did a yum clean all and tried it again with no luck. I then tried to ping centos.org to see if I could connect to their servers. It shows that the host cannot be found. If I try to ping the IP it shows 100% packet loss. I am remotely connected to the server via SSH and am able to browse the websites on the server. However, no email seems to be functioning and I cannot ping out. I am currently running APF on the machine and the last entry in the deny was from over 1 month ago. I have gone through /etc/sysconfig/network, /etc/sysconfig/network-scripts/ifcfg-eth0, /etc/resolve.cfg, and /etc/hosts to see if there are any network configuration problems. All of my IP's and settings look correct. Any ideas of where to go/look next? *I have also did a gracefull server reboot on the server using WHM. First time the server has been restarted in 358 days. __________________ DanielWLScripting.com - php scripts and tutorials Last edited by WLHosting : 10-26-2008 at 05:14 PM. Reason: Added a note at bottom about server reboot
View Replies!
View Related
Memory Issue With My VPS
I recently upgraded my VPS account, specifically to get more memory. During testing, all my apps were consuming right around 400K, so I upgraded from 512K just to be safe. At first I was glad I did be because I was routinely passing my previous limit of 512. I then started to approach my current limit and grew concerned. Then I noticed that my processes total memory did not match the amount of RAM the performance tab indicated (commit charge), actually it was almost double. Prior to the upgrade, these numbers matched consistently. I have investigated this for days and consulted my peers and the internet concerning this issue. I have concluded that these two numbers should match. Hosting company said they shouldn't match and closed the issue. Does anyone have any experience in this? I did run out of memory once when I was at 512, and it was ugly. Not sure why it didn't use VM. Which is set to 3gigs, seems really high, do VPS typically let you mange VM?
View Replies!
View Related
WholeSalesInternet - Billing Issue
I have one server with WSI over 1 month (testing purpose). On Apr 23rd, I asked them to reload Windows Server 2003 Std. They charged $25 OS reload and $25 for Windows license. On May 01st, I got a new invoice for server fee and $25 for Windows Server 2003 Std license. So, they charged Windows license again. I contacted their Billing Dept. to correct the invoice so that I can make payment. No one from Billing Dept. responded us. I tried to contact Aaron, who I got server from. Aaron responded us and promised to issue a credit, but I didn't see that. I contacted Aaron again and asking to fix the invoice, but he didn't respond. On May 10th, I got an overdue notice from their Billing Dept. I contacted them again, but no one responded. Today, they disconnected my server. It seems that I'm unable to contact anyone at their Billing Dept.
View Replies!
View Related
Billing Issue With Fluidhosting
I've been a client of fluidhosting for around 2 years. In terms of support, performance and reliability everything was fine during those years. Few days ago, on the 14th of march i asked to cancel my account as i wanted to move to a different host because of price issues. I pay to fluidhosting on monthly basis, each month in advance until the renewal date of the next month. My renewal date is the 2nd of each month. This means that on the 2/3/09 i paid to fluidhosting until 2/4/09. On the 14/03/09 , i asked my account to be canceled. That's where the problems begin... Fluidhosting says that canceling accounts should be stated --30-- days before the renewal date. This means that you can basically cancel your account ONLY on the day you renew it, and basically, as i see it, they are forcing you to pay for another month. FH claim it's in their TOS, and indeed it is. Though i can not be sure if it was there 2 years ago or not, but even if so , i find it very unethical they "force" on you to always pay for another month.
View Replies!
View Related
Connecting Time Issue
When traffic to my website gets heavy, connecting to the server really slows down. But, when connected, the site loads very fast and smooth. So why does it take like 4-12 seconds to connect to my server when traffic is heavy, and once connected it runs fast and smooth? I run Apache 2.2.3 on Debian 4. HostnameLookups is set to OFF. I have turned off all of the modules that I don't need, too. It also has MySQL 5.0 installed and is being used.
View Replies!
View Related
Dns Issue, Servfail
this issue has been bugging me for a while, it has no issues whatsoever upon the production, but i would just love to have those messages go away. [root@viper ~]# dig opyum.us @localhost ; <<>> DiG 9.3.3rc2 <<>> opyum.us @localhost ; (1 server found) ;; global options: printcmd ;; Got answer: ;; ->>HEADER<<- opcode: QUERY, status: SERVFAIL, id: 28364 ;; flags: qr rd ra; QUERY: 1, ANSWER: 0, AUTHORITY: 0, ADDITIONAL: 0 ;; QUESTION SECTION: ;opyum.us. IN A ;; Query time: 5 msec ;; SERVER: 127.0.0.1#53(127.0.0.1) ;; WHEN: Mon Jan 7 15:53:02 2008 ;; MSG SIZE rcvd: 26 BUT [root@viper ~]# netstat -an |grep -w 53 |grep LISTEN tcp 0 0 208.98.31.254:53 0.0.0.0:* LISTEN tcp 0 0 208.98.31.253:53 0.0.0.0:* LISTEN tcp 0 0 208.98.31.252:53 0.0.0.0:* LISTEN tcp 0 0 208.98.31.251:53 0.0.0.0:* LISTEN tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN i have my named.conf, an acl called "trusted" so my zones look like this: Quote: acl "trusted" { 127.0.0.1; 208.98.31.252; 208.98.31.253; 208.98.31.254; 208.98.47.226; }; Quote: options { query-source port 53; directory "/var/named"; // the default dump-file "data/cache_dump.db"; statistics-file "data/named_stats.txt"; memstatistics-file "data/named_mem_stats.txt"; listen-on { 127.0.0.1; 208.98.31.254; 208.98.31.253; 208.98.31.252; 208.98.31.251; }; }; Quote: view "localhost_resolver" { match-clients { trusted; }; match-destinations { trusted; }; recursion yes; zone "." IN { type hint; file "/var/named/named.ca"; }; include "/var/named/named.rfc1912.zones"; }; Quote: view "internal" { match-clients { trusted; }; match-destinations { trusted; }; recursion yes; zone "." IN { type hint; file "/var/named/named.ca"; }; Quote: view "external" { match-clients { any; }; match-destinations { any; }; recursion no; zone "." IN { type hint; file "/var/named/named.ca"; }; I really don't get what's wrong here. Quote: Jan 7 15:57:57 viper named[27746]: client 208.98.31.253#58576: view localhost_resolver: received notify for zone 'thing2.opyum.us': not authoritative Jan 7 15:57:57 viper named[27746]: client 208.98.31.251#58576: view localhost_resolver: received notify for zone 'thing2.opyum.us': not authoritative Jan 7 15:57:57 viper named[27746]: client 208.98.31.254#58576: view localhost_resolver: received notify for zone 'thing2.opyum.us': not authoritative Jan 7 15:57:58 viper named[27746]: client 208.98.31.254#58576: view localhost_resolver: received notify for zone 'thing3.opyum.us': not authoritative Jan 7 15:57:58 viper named[27746]: client 208.98.31.251#58576: view localhost_resolver: received notify for zone 'thing4.opyum.us': not authoritative The issue, summarizing it, is that none of the local domains are being resolved via the local nameservers. i get servfail. i can resolve other domains with no issues whatsoever. again it has no production impact, the dns works fine, dnsreport goes fine as well.
View Replies!
View Related
Plesk Nameserver Issue
I added a client on Plesk, and once I chose the IP address from the drop down menu, it gave me the ns1.domainname.com and ns2.domainname.com. Once I recieved the IP for both of them, I went forward and bought the domainname from GODaddy and added namservers with the same IP Address. Now that everything is setup and configured, whenever I try to access my site I do not get anything. here is the site : [url]
View Replies!
View Related
Spam Issue At Leaseweb
I've sent out a single opt in newsletter to my members for the first time and got two spam complaints from spam cop that were forwarded to me from leaseweb. Some people must have signed up using somebody elses email address. How grave is such a complaint and what do I need to do to avoid this in the future? The emails contained an unsubscribe link etc.
View Replies!
View Related
Linksys Security Issue?
I use a Linksys BEFW11S4 at my home and at my office. A few months back I replaced the one at my office with a linux gateway because I found some weird routes to Department of Defense IP addresses. I assumed there was a backdoor or something but didn't give it any more thought. I'm now looking at the static routes on my home router and I found something very peculiar. I've attached the screenshots. Basically there is a static route to 128.60.31.208 which according to ARIN is registered to the "Naval Research Laboratory". The subnet mask looks very very odd - 124.171.0.0 Perhaps I'd just assume that this was a firmware bug, but isn't it a big coincidence that the first time I found routes to the DoD and now I'm finding routes to Naval Research Laboratory?
View Replies!
View Related
Vnstat Issue With VPS
I'm running Vnstat to monitor traffic use on an OpenVZ-based VPS running Centos 5. This is working fine except that if the server is rebooted for any reason, a large traffic spike is recorded (approximately 4GB of transfer takes place instantly). I gather this is a limitation of Vnstat and it would be possible to avoid this by running something like "vnstat -u -r --disable -i venet0" in a shutdown script, which would disable tracking for that interface and reset the counters. However my problem is that I'm not sure where I'd put this command (my VPS doesn't seem to have ifup or ifdown scripts for venet interfaces in the /etc/sysconfig/network-scripts directory).
View Replies!
View Related
Strange Issue With Sites
I use domain registration and Managed DNS records service from Directi. I add A record hosting.mydomain.com to my Layeredtech server and NS records for its nameservers. The layeredtech server is fine,all servics are up but my main site mydomain.com and hosting.mydomain.com are down. All sites on server using ns1.mydomain.com and ns2.mydomain.com are unable to be accessed by majority of internet users. Anyone got this bad experience before?
View Replies!
View Related
Trying To Find The Bottleneck, Is This IO Issue
Trying to find the bottleneck, is this IO issue? Quote: [~]# vmstat procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu----- - r b swpd free buff cache si so bi bo in cs us sy id wa st 2 0 78964 298804 252632 1228020 0 1 124 196 2 4 19 4 76 2 0 [~]# vmstat procs -----------memory---------- ---swap-- -----io---- --system-- -----cpu------ r b swpd free buff cache si so bi bo in cs us sy id wa st 1 0 78964 298184 252648 1228084 0 1 124 196 2 4 19 4 76 2 0 [~]# iostat Linux 2.6.18-92.el5 (server.net) 11/16/2008 avg-cpu: %user %nice %system %iowait %steal %idle 0.34 18.53 3.59 1.84 0.00 75.70 Device: tps Blk_read/s Blk_wrtn/s Blk_read Blk_wrtn sda 25.91 496.60 777.66 567980120 889443028 dm-0 105.74 495.16 772.46 566336450 883492896 dm-1 0.83 1.43 5.20 1640448 5950128 Server has a 1.85 load. I am trying to find if its an IO issue or not. Any Linux tools that will help me find processes using up resources besides top? - It might be mysql as all invoked processes are PHP (suexec).
View Replies!
View Related
VPS Issue W/ Windows
I recently got a VPS through a work deal , i can't specify the name, but its got Windows, Plesk 8.1.1, which i want. Everything was fine until i tried FTP accessing it: Status: Connection established, waiting for welcome message... Response: 220 Microsoft FTP Service Command: USER *Username* Status: Connection established, waiting for welcome message... Response: 331 Password required for *Username*. Command: PASS *************************** Response: 230 User *Username* logged in. Status: Connected Status: Retrieving directory listing... Command: PWD Response: 257 "/" is current directory. Command: TYPE I Response: 200 Type set to I. Command: PASV Response: 227 Entering Passive Mode (87,106,106,174,4,19). Command: LIST Response: 425 Can't open data connection. Error: Failed to retrieve directory listing What should i do to resolve that? I don't understand the problem
View Replies!
View Related
Wierd Issue With PHP
Yesterday i have upgraded PHP 4.4.6 to 5.x ,then checked all my scripts/pages and everything was fine. Today i have upgraded MySQL 4 to 5 and recompiled PHP and scripts are working fine but all my Russian langauge pages are broken,i mean plain php pages ,not those that depends on scripts. Its wierd,when i am opening them in Firefox they are opening with Win1251 encoding as supposed but when i am opening them in IE they are opening with KOI8 encoding and i have to manualy change teh encoding to Win1251 to view the pages. This has been confirmed by other users.
View Replies!
View Related
Hotmail Issue Cpanel
a few months ago we have started a new dedicated box on layeredtech,and set it up like we did all our other boxes,including the reverse dns etc. but no client on a domain on that server can send e-mails to hotmail. we get a reply like : retry time not reached for any host after a long failure period this only happens when we send mails to hotmail. has anyone had a problem like that? if yes,could you solve it? how?
View Replies!
View Related
Time Zone Issue.
I have a linux server running websites without any control panels. The problem is that the scripts run by cron daemons are showing up a wrong time and time zone on emails. This happens when they are run as automated scripts by cron daemon. Recently I have changed the time from EST to CST. The command date and hwclock --show gives the correct CST, even the scripts run from the shell showsup the correct CST time.
View Replies!
View Related
Xen And The Issue Of Swap
I have talked with the moderators and they have agreed that I can start a new thread to clarify the issue of Xen and swapping as long the discussion remains technical. For people who are curious, I would first like to explain why this is important. What we have here is someone making a specific technical accusation against Xen, and if it is indeed crucial, it needs to be solved, or otherwise people have to know it before they get into Xen. Claim Number 1: The original claim is that users can create arbitrarily large swap and this can lead to the equivalent of overselling. Fact: Arbitrarily large swap has absolutely zero effect on a normal system, since Linux treats swap as an auxiliary storage, and will not use it unnecessarily. Linux will always use the RAM to the full, but swap is used only when all the buffers have been cleared. If you run free on a dedicated hardware, you will see that swap usage is most of the times zero, even though you have assigned a very large swap to the system. In fact, you can try this by simply increasing the swap to very huge value, you will see that Linux will ignore it completely. For large swap to cause a problem, the user not only has to assign a large swap, he has to run a really huge workload on his limited RAM, and this being physically impossible, will cripple his vps long before it has any serious impact on the host. I think the above has been agreed to by the person who made the initial claim. Claim Number 2 Merely having a swap can lead to vps getting slowed down. Fact ; The use of swap does not mean thrashing . Thrashing is a technical term, and it means that the application is registering a swap hit every few instructions. This is rare in normal systems, because of a property of programs that execution is always localized. That is, at any particular time, a certain portion of the program will be continuously being executed, and other portions would be idle. Linux has algorithms that will swap out the Least Recently Used page, and this will mean that the system will not run into too many swap hits. Now again, like in the earlier case, there will be trouble if the vps customer is trying to run a 1GB workload in a 64MB RAM. This will actually cripple his vps, which is what's the right thing to happen. So normal usage of Swap will not lead to disk I/O, since Linux has explicit algorithms to reduce swap usage. So for minor OverUsage of memory: For virtuozzo: the application will crash For Xen: there will be a very minor degradation of quality. And sometimes it won't have any affect at all, since as I said, just because swap drive is non-empty doesn't mean that linux is constantly swapping out. So summarizing: a) Inordinately large swap has zero effect on Linux b) Non-empty swap doesn't mean that the system is registering swap hits. For normal workloads, the swap hits will be very minimal. And an extra advice is that if you are using Xen, don't ever use snapshoting, as it will double the disk I/O, and the worst thing is that the vps that's causing this will not even be penalized. The overhead will be completely borne by the system.
View Replies!
View Related
Weird Issue With CENTOS / DA
i've noticed that if a folder has a space in the name i can not remove it even as root as when i even try to change its owner via root it comes up moaning theres no directory for the first part of the named file i.e Code: [root@server]# chown -R phonestuff:phonestuff SG stuff chown: cannot access `SG': No such file or directory
View Replies!
View Related
Weird Email Issue
basically we running commbulletin and add on for Vbulletin which sends out newsletters to all the members of the forum We sent out a newsletter last month It has the usual details to fill in name: From address Subject: header: ok we did all that and for name we just put down "My name" for the from address field we put down "Our Organisation" (Just the words not any email address or anything - just as how i've spelt it) Now the problem is that once of our users who uses outlook to retrieve their emails when they got the email in the FROM header it appeared something like this "Our Organisation"@thecompanydomains name now of course they know think somehow we forged the email to make it look as if that it was being sent from their domain which it wasnt since all the headers originates from our server however my point is how is that possible that when this email was sent the FROM field had that on does that make sense
View Replies!
View Related
|