I have a server with RHEL 5 installed. The problem is that the server shows the output of the hostname command as (none). I checked the /etc/sysconfig/network file and it shows the correct hostname. I also tried to change the hostname in the /etc/sysconfig/network file and restart the server. But hostname command still shows (none).
I am running into a few problems when it comes to using the above command. No it is not being blocked in the php.ini file. The issue has to do with permissions. On my old server everything worked fine until I moved over to this new server.
$who = shell_exec("whoami"); echo "$who";
When I run that commend on the old server I got that users username. Which, makes since as that means anything created via PHP would be owned by that user. In fact, every other host I know of was like that. But, on the new server when I run the commend it shows up as "nobody". How can I fix this so my commands will run properly for me and my users?
I like the functionality of iStat for mac as it shows just about everything needed. Is there any software that I can see the rw speeds of the HDD's? I was on google, but couldn't find anything useful for my exact purpose.
Can anyone direct me to a site that contains web hosting/web designer trade shows for the US? We came across Hostcon already and are trying to find more of the same.
Im currently running cent0S 5. I recently just installed Squid Version 2.6.STABLE6 for a client to enable him to use as proxy. However it seems that sites like whatismyip.com and ipchicken.com are resolving back to my clients IP address and not the servers.
There is only one IP on my server and I think the problem may deal with X-Headers? (correct me if I am wrong)
Is there any way to use the server IP address for when my customer is using the proxy server.
My squid.conf looks like the following: Code: Code: http_port 8080 forwarded_for off icp_port 0 cache_mem 64 MB cache_dir ufs /var/spool/squid 100 16 128 maximum_object_size 4096 KB cache_store_log none cache_access_log /var/log/squid/access.log hierarchy_stoplist cgi-bin ? acl QUERY urlpath_regex cgi-bin ? no_cache deny QUERY visible_hostname proxyserver acl all src 0.0.0.0/0.0.0.0 acl manager proto cache_object acl localhost src xxx.xx.xxx.xxx acl SSL_ports port 443 563 10000 acl Safe_ports port 80 acl Safe_ports port 21 acl Safe_ports port 443 563 acl Safe_ports port 70 acl Safe_ports port 210 acl Safe_ports port 1025-65535 acl Safe_ports port 280 acl Safe_ports port 488 acl Safe_ports port 591 acl Safe_ports port 777 acl Safe_ports port 901 acl purge method PURGE acl CONNECT method CONNECT acl LocalNet src xxx.xx.xxx.xx http_access allow manager localhost http_access deny manager http_access allow purge localhost http_access deny purge http_access deny !Safe_ports http_access deny CONNECT !SSL_ports http_access allow localhost http_access allow LocalNet http_access deny all icp_access allow all log_fqdn on ##### This side is to make the proxy tranparency #httpd_accel_with_proxy on #httpd_accel_uses_host_header on #httpd_accel_host virtual #httpd_accel_port 80 ######------------------------------ error_directory /usr/share/squid/errors/English #httpd_accel_uses_host_header off #anonymize_headers deny From Referer Server forwarded_for on http_port ServerIP:8080 transparent
# no forwarded quite useless for an anonymizer forwarded_for off # no client stat client_db off
# Paranoid anonymize header_access Allow allow all header_access Authorization allow all header_access Cache-Control allow all header_access Content-Encoding allow all header_access Content-Length allow all header_access Content-Type allow all header_access Date allow all header_access Expires allow all header_access Host allow all header_access If-Modified-Since allow all header_access Last-Modified allow all header_access Location allow all header_access Pragma allow all header_access Accept allow all header_access Charset allow all header_access Accept-Encoding allow all header_access Accept-Language allow all header_access Content-Language allow all header_access Mime-Version allow all header_access Retry-After allow all header_access Title allow all header_access Connection allow all header_access Proxy-Connection allow all header_access All deny all header_access Cookie allow all header_access Set-Cookie allow all header_replace User-Agent Anonymous Proxy at example.com
My VPS is setup and now when I did a dnsreport for my site, it shows:
Number of nameservers ERROR: You have 2 nameservers, but both are on the same IP! This is not a valid setup. You are required to have at least 2 nameservers, per RFC 1035 section 2.2.
Is this a big problem?
The report [url] also shows other failures. Are there any critical ones that I need to take care of? How do I do it?
my server is jammed and takes minutes to load simple pages, can you please take a look ath the following image, its show under "CPU %" for mysql 177, does that mean mysql is using 177% of resources of cpu?
Tere was a folder in /home/virtfs and I delete this folder and now when I try tologin to ssh after entering the password of ssh it shows me the below errors.
-bash: id: command not found -bash: [: =: unary operator expected -bash: id: command not found -bash: dircolors: command not found -bash: tr: command not found -bash: id: command not found -bash: [: =: unary operator expected -bash: whoami: command not found grep: /var/cpanel/users/: Permission denied -bash: mesg: command not found -bash: dircolors: command not found sshadmin@XXX [~]# su - Password:
and in service status in whm the memory used is 100% but the sites are working.
and root@XXX [/]# top -bash: top: command not found root@XXX [/]#
I just got an Atom 330 and it shows that i have 4 Cores. Is it normal?
cat /proc/cpuinfo | grep Atom model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz model name : Intel(R) Atom(TM) CPU 330 @ 1.60GHz
mysql MySQL Support enabled Active Persistent Links 0 Active Links 0 Client API version 4.1.21 MYSQL_MODULE_TYPE external MYSQL_SOCKET /var/lib/mysql/mysql.sock MYSQL_INCLUDE -I/usr/include/mysql MYSQL_LIBS -L/usr/lib/mysql -lmysqlclient
mysqli MysqlI Support enabled Client API library version 4.1.21 Client API header version 4.1.20 MYSQLI_SOCKET /var/lib/mysql/mysql.sock
I have a problem with one of our websites. For some reason, only that one website won't load and shows an error page. This domain is not propogating, nor has it had any changes to any DNS records lately, and it was working around five minutes ago.
for the first time in my sites life(10 year site) google blocked it. when you type my site google says that my site has malicious code in it.as we find it the problem in my site came from the company where i hosted it.we clear all the files for the malicious code and now its all ok.i want to ask if anyone knows for his experience how much days google will check my site again to see if all its ok.i send them before six hours via webmaster tools, a request for eaming agin my site,but i dont knwo how will do these. so i am asking anyone of you,who had same experience.any help will be appreciate.please help me with anything you think that might be useful for me to having my site back again in google correctly!
Why Wndows 2008 standard shows its IIS front page only
I am using windows 2008 standard version 64 bits
I am using an external DNS service and using none of Windows roles
I disabled the firewall completely
When I run IIS i can access to its front page from another machine but when I run jboss the browser can't get access to my web site front page! They both use port 80
Does ISS has some sorts of hidden privileges in Micorosoft which is not surprising
I am about to revert back to Windows 2003 if I can't find a solution to this problem. Or do I have use a certain role for remote access?
I don't know why but a domain is showing the green default cpanel page instead of its own homepage. The domain has been hosted on this box for a long time.
DNS is fine, ran udpateuserdomains without error. No dns changes have been made. IP it is set to pings fine. Tested via 3rd party proxy, shows green cpanel page still.
I've a small reseller account with cPanel with 5 sites. After transfering to other host (full cPanel backup of old sites, restoring on new host) cPanel of 2 sites still displays the version number of the old host, the other 3 sites are correct.
I am trying to fix website [URL] .... I open the site like 20 times a day and like 2 times a day it shows blank page. Which logs I need to check or which tools to use? I have cpanel hosting, apache.
Health center shows Total usage 6056039.4% used 2198044.96 nginx CPU usage 156.5 % 3250.89 Mail server CPU usage 203.6 % 4844.61 MySQL CPU usage 12.2 % 10.28 Plesk CPU usage 164.6 % 95111.06 Getting tired of all the notifications plesk sends to my phone....
EDIT:
Happens everytime i reboot the server. After about 15 minutes the stats normalise.
I've got a VPS with XenSmart, and I'm running CentOS. Recently, I have been needing to redirect my users to 'www.', since if they don't put the 'www.' in front of the domain the vB forum doesn't run properly. Though, to do this, I edited the .htaccess file and was using the 'mod_rewrite' command, but this requires Apache.
So, on my VPS I've installed Apache, and set LXAdmin to use 'httpd' instead of 'lighttpd', though now my web pages wont show up and all I've got is the default Apache web page:
[url]
How am I able to use Apache (HTTPD) and have it load my current forum? My current forums hosted in: