History Shows Time
Mar 7, 2007
I am working on a server, on that hostory shows in format like
Quote:
root@unix [/etc/profile.d]# history |more
1 Mar.04 01:35fdisk -l
2 Mar.04 01:35ping yahoo.com
3 Mar.04 01:35exit
4 Mar.04 18:21exit
5 Mar.04 18:04Smartctl -a dev/hda/
6 Mar.04 18:04Smartctl -a /dev/hda/
7 Mar.04 18:06Smartctl -a /dev/hda |grep Serial
That is history include time of command execution.
Quote:
root@unix [~]# set |grep HIST
HISTFILE=/root/.bash_history
HISTFILESIZE=1000
HISTSIZE=1000
HISTTIMEFORMAT='%h.%d %H:%M'
root@unix [~]#
I can't find anything regarding history on .bash_profile or .bashrc
Where this is set? How i enable loging command execution on CentOS?
View 2 Replies
ADVERTISEMENT
Nov 18, 2008
Is it possible to change the history counts? Just see, when i type history command on my machine, i get around 1000 last typed commands.
Is it possible to change that count ?
View 9 Replies
View Related
Nov 25, 2008
Is there any way so that i can remove a specific command from history.
628 ll
629 cat bash.sh
630 man mail
631 exit
632 history
You see my history command displays output as this. I need to remove the 630 th command.
Is this possible ?
I can use history -r but, it will remove all the commands executed in the session.
I need a command to remove a specific thing from history.
View 10 Replies
View Related
Mar 14, 2007
Is there a way to see what was happening on the server the last 24 hours for example in WHM ? A log or something.. To see if there was any high loads etc..
View 4 Replies
View Related
Jan 6, 2007
I am interested in knowing how to get rid of all of my information from the computer. When i search for things, my old searches appear and thats not good cause I am at work I need to know how to get rid of the evidence. I tried the Tools >> Internet Options >> Delete Cookies - Delete Files and - Clear History but it still appears with all of my old searches. Why Why why? Note, this is not for the browzer, this is for a form such as the typing area on google.
View 3 Replies
View Related
Sep 11, 2007
Does CentOS4 logs every activity done by a SSH user? Or is there such script/software to do that?
View 10 Replies
View Related
May 29, 2009
take a moment and go to : alabanzamigrationsettlement dot com
you can see a class action was made by Alabanza Customers
and finally has worked for all Alabanza cutomers
let me know if you get payments from RUST CONSULTING
View 0 Replies
View Related
Aug 25, 2008
The Past Month (23 of July) i purchased two Mini VPS to check KnownHost Performance.
Great.
Yesterday I Begin to think in move some VPS with them, and i enter to check my VPS, and Are DOWN. No Notice emails, no nothing.
I Write to Support, and some minutes later they pass me to billing. Then i realize Immediatly the problem. One Partner of me, is a verified Paypal SPANIARD with vacation in Mexico, she Pay the Two Invoices, and Maybe Paypal reverse the payment.
I understand. Is ok ...
View 14 Replies
View Related
Jan 4, 2007
Can someone tell me how to clear the history of a UNIX user? For example, when logged in as a certain user I can press UP to see the last commands that were used. How can I get rid of them?
View 3 Replies
View Related
Aug 2, 2008
Before I start on my review, I would like to say that I am not affiliated with FluidVPS in any way and am solely doing this because I would like to share my experiences with everyone.
I was one of the lucky few to be able to get a 'Free VPS' from FHDave (Fluidhosting) as part of their new promotion of upgrading hardware nodes.
My VPS has the following specs:
512 MB memory guaranteed
25 GB disk space
500 GB transfer bandwidth
When I just got my VPS I installed various applications such as Shoutcast and Tomcat simply because I could and I love it how it is automated.
My first ticket was a problem getting Shoutcast to work, and so I contacted and placed a ticket. Even though my free VPS was unmanaged, I still got them to help me which resulted in a simple restart of the server.
All was good for a few weeks until my forum was hacked one day (my guess was a weak password and some skiddie got access) which caused damage to my forum. After getting pretty worried I contacted Fluidhosting to find out if my VPS could get hardened I was prompted to pay since my VPS was free, it was 'unmanaged'. They did link me to their knowledgebase for tutorials and I applied them. Thinking it was enough I gave a sigh of relief and carried on with my life.
2 weeks later I was prompted with my VPS becoming compromised (someone hacked the VPS and used it to host an eBay phisher). Even though I had been told my VPS was 'unmanaged' they helped me with getting my VPS reprovisioned. I changed all my passwords to numbers and letters and that was the end of that.
I did have some problems with their Parallel Power Panel and HSPC although I cannot link it to the hack attempt. What happened was I was unable to restart the VPS and it would fail making my server go down. I submitted a ticket as well as contacted their live chat service and they tried fixing it. It didn't work and had to get help from the developers of the panel. However after a few hours my VPS was back! (I was asleep when it happened )
There were times during my hosting where my bandwidth had nearly been used up and my webspace being completely filled. I have found that some hosts oversell their resources and when you haven't used a quarter of the limit they suspend your account. This was not the case with Fluidhosting. My VPS was often always full and yet there was no problem. I have even used it to host torrentflux for my own usage and that was fine too.
There were times such as the VPS being compromised where Fluidhosting and their staff could have just suspended my account for good, and left me because of my website being too much trouble. They stuck with me to the end and helped me all the way. Their support is quick and helpful (gets the job done, real initiative there) and their live chat isn't just a salesperson.
My past 6 months was one heck of a journey, and it would have not been possible if I had not gotten a top notch service provider from Dave and the team. Thank you for an awesome opportunity to try out VPSes for a change. Once you use VPSes there's no going back!
I will be paying another 6 months with you guys (if all goes well at my end).
Sorry if this isn't quite 'a review', more like past history of my webhosting
So in short:
Service: 9/10
Resources: 10/10
Support: 9/10
Uptime: 10/10
View 2 Replies
View Related
Jul 18, 2008
i use for login to ssh by putty
and i run very command and result
how may i saved all this command and result in putty?
View 5 Replies
View Related
Aug 16, 2013
Our Server doesn't show the Traffic History under "Tools & Settings -> Summary Report -> View Traffic History", but for every Domain it runs.
We Migrate this Server from a Dedicated to an OpenVZ Server - on another Server with OpenVZ its running without Problems, but this one we don't migrate.
View 3 Replies
View Related
Nov 11, 2008
This is a rare issue i have on a RHEL 5.2 + cPanel server.
Server time is:
Tue Nov 11 17:02:51 CST 2008
Squirrelmail time show:
Code:
Last Refresh:
Tue, 5:02 pm
So, that is correct too..
But email arrives with -4 hours time, example:
webmaster@xxx.com 1:03 pm testing email
I already rebooted httpd, exim, and imap server, and the server itself too.. and problem stills.
View 11 Replies
View Related
Jan 6, 2008
I got report from webceo that I have some issues. May someone help me fix this?
DNS Lookup: 0.22 sec
Connect time: 0.33 sec
Host ping: 0.10 sec
That mean too slow with the other sites!
View 4 Replies
View Related
Sep 25, 2008
I can't get access to a certain site. I always get the page with:
network time out - server at *** takes to long to respons. More people have noticed this and apparently it only happens to people with certain specific providers. And not all the time. Some times they DO get access eventy to they belong to the same ISP. So I guess an ISP isn't blocking access to it otherwise it would be permenantly/The site administrator insists that certain ISP's are blocking his site. He's hosting it on his own server. The domain belongs is registered at namecheap.com.
If an ISP is blocking this site (if that's possible?), that would lead to that 'network timeout' page wouldn't it?
What is the most likely reason for getting a timeout page anyway?
View 7 Replies
View Related
Aug 9, 2007
I have a dedicated server specs: AMD 3500+ 64 Bit CPU, 1 GB Ram, 160 GB Sata Drive. For 1 month, CPU load average reaches 40-50 value. This happens about 5-6 times in a day. When I stop httpd service for 30 seconds everything goes normal. I think this is not a DoS attack because it comes systematic, I dont believe no one makes this regularly except bots.
Maybe its a system service or a cronjob but it stops when I turn off httpd service?
How can I be sure about what's making this regularly load?
I also did set up a script which mail me when load average of system goes crazy and restart httpd service. But instant restart is not working to stop load increase.
View 12 Replies
View Related
Feb 6, 2013
The server is going down from time to time, every 12 days or so the site hosted there is no longer accesible, everything starts with the site slowing don and down and then is not longer reachable, what we do is to request a power cycle, and with this we start all over again till next power cycle, so on so on, of course, here are my server details and more info on this:
- MySQL - 5.1.41-3ubuntu12.10
- Apache - 2.2.14-5ubuntu8.4
- PHP - 5.3.2-1ubuntu4.9
- operating system: Ubuntu Server 10.04 LTS
After some time emailing the support guys to barely check about what's going on, we received an email with a few things:
1.- found a few errors that likely would cause issues with Apache. The first error is:
[Mon Feb 04 05:03:10 2013] [error] mod_fcgid: fcgid process manager died, restarting the server and the next error is:
[Mon Feb 04 14:32:34 2013] [error] server reached MaxClients setting, consider raising the MaxClients setting ...
Both these errors seem to indicate that you have a process that is running out of control on your server. We were unable to determine what script on your site is running caused your connections to be maxed out however it does appear that before these errors were generated there was a WordPress plugin referenced in your access logs...
2.- Additionally during our review we did find that your error log for mercadodedinerousa.com is 45 GB's which is excessively large and can cause problems when Apache is trying to write a such a large file.
3.- The majority of the errors being logged are:
[Wed Feb 06 12:12:31 2013] [error] [client 200.76.90.5] Options FollowSymLinks or SymLinksIfOwnerMatch is off which implies that RewriteRule directive is forbidden: /var/www/vhosts/mercadodedinerousa.com/httpdocs/index.pl, referer: [URL]
View 6 Replies
View Related
Aug 18, 2007
i have four 4gb of ram, but for some reason, it's showing 3.6 something... is there anyway we can get centos 5 to show 4gb?
View 2 Replies
View Related
May 7, 2009
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).
View 4 Replies
View Related
Dec 4, 2008
Can anyone explain what "Top" actually shows, may be a stupid question ;-)
top - 21:12:14 up 12:07, 1 user, load average: 1.15, 0.36, 0.17
Tasks: 58 total, 2 running, 56 sleeping, 0 stopped, 0 zombie
Cpu(s): 2.3% us, 0.5% sy, 0.0% ni, 97.0% id, 23.7% wa, 0.0% hi, 0.0% si
Mem: 2097152k total, 197132k used, 1900020k free, 0k buffers
Swap: 0k total, 0k used, 0k free, 0k cached
How is load averages read (% of my allot used)?
View 4 Replies
View Related
Mar 13, 2008
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?
View 4 Replies
View Related
Mar 29, 2009
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.
View 4 Replies
View Related
Mar 9, 2009
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.
View 1 Replies
View Related
Oct 7, 2007
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
View 3 Replies
View Related
Jun 5, 2007
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?
View 11 Replies
View Related
Dec 3, 2008
I got a new box, replaced it with my old one, and the whois program only shows registry portion, but not registrar portion.
I see when it expires and stuff, but not the registrant info you know.
never run into this before, can someone come with a solution?
It's standard CentOS.
View 2 Replies
View Related
Nov 14, 2008
I just upgraded to the latest version of APF. I am running CentOS with the 2.6 kernel.
I added my ports to allow, started it up, and it does not seem to be blocking anything.
I get no errors on startup though. If i do an nmap, mysql shows up as open still. I can even telnet to it.
root@me [~]# /usr/local/sbin/apf -r
apf(6367): {glob} flushing
View 6 Replies
View Related
Oct 12, 2007
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?
View 3 Replies
View Related
May 14, 2007
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 [/]#
View 13 Replies
View Related