CentOS :: C5 Restarts Everytime I Go To A Specific Websites / Fix It?

Mar 24, 2011

I have centos 5 installed. and i use a firefox 3.6 browser on it. the problem is that whenever i open some sites like facebook, or easyxdm.com, or some others, the screen just gets hung up and the os either restarts or remains hung up.

View 2 Replies


ADVERTISEMENT

Ubuntu Multimedia :: Video Playback Restarts Gdm Everytime?

May 20, 2011

I recently upgraded from 10.04-11.04 using the 11.04 CD I don't use any effects, I log on the sessions using Ubuntu classic (no effects). Whenever I try to play a video, the gdm restarts and puts me back at the login screen. I installed vlc thinking it might help but no deal.

*edit* I tried all different types of video outputs in vlc, the default seems to work the best, but as soon as I click the vlc window, try to resize it, or access any menu on vlc or try to fullscreen the video gdm crashes and restarts.

View 3 Replies View Related

General :: Any Way To Block Specific Websites?

Jul 28, 2011

How to block unwanted sites.

View 1 Replies View Related

Networking :: Block Specific Websites - Preferred Method ?

May 19, 2010

I'm trying to block specific websites, preferably using a portion of the url.

For example, if blocking [url], [url] would also be blocked. This implies that simply blocking a single IP using iptables would not work well.

The names to block will be somewhat dynamic, so a list specification would be ideal.

In my case, the LAN has a mix of linux and ms machines, and they all use a linux gateway currently running dnsmasq.

I find suggestions from using /etc/hosts (might work with yp, but not ideal) on the gateway machine, through to using squid on the gateway machine.

View 9 Replies View Related

CentOS 5 :: Executing Bash_profile Everytime?

Jul 21, 2010

I have installed Centos 5 for Oracle on my PC. I observe that everytime I have to execute .bash_profile. Otherwise I get command not found message.How to change this behaviour so that it executes automatically everytime I open a new terminal or a tab.The bash_profile is as follows. I notice that the same entry is in another Centos 5 installation in another PC, But I don't have to executeeverytime the bash_profile .

# .bash_profile
# Get the aliases and functions
if [ -f ~/.bashrc ]; then

[code]....

View 1 Replies View Related

CentOS 5 :: 5.3 Random Restarts ?

Apr 19, 2010

Where a CentOS 5.3 installation on a server randomly restarts. The problem is that I am not able to find a viable solution. I have updated the system to the latest available kernel, but to no avail...

The output I see in /var/log/messages when the restart occurs is very similar everytime:

...remainder of system boot logs

View 8 Replies View Related

General :: CentOS - Safe To Remove The First Kernel In The Installed List To Save Having Two Kernels Being Updated Everytime?

May 8, 2011

When I run yum list installed command the output shows two kernels:

[Code].....

Would it therefore be safe to remove the first kernel in the installed list to save having two kernels being updated everytime I run yum update? Or is the PAE kernel dependant upon the original?

View 6 Replies View Related

Ubuntu Security :: Block All Websites Except Desired Websites?

Apr 12, 2010

I want to block all websites except desired websites.

View 3 Replies View Related

CentOS 5 :: 2 Websites Accessing Same Mysql Db Configuration?

Jul 9, 2010

I have set up two identical websites and want them to access the same mysql database. I've entered the username/password/db name in the website database.inc file. However, one database works fine and displays correctly, the other just gives a blank page. I've tested apache and it can display a different site (one that does not access any db). So is there a configuration that i'm missing. Do i have identify the two different websites that access the db?

View 7 Replies View Related

CentOS 5 Server :: Setting Up Multiple Websites/IPs?

Sep 25, 2010

I've currently got a centos server setup in my home. It has 1 website running on it and I am using DynDNS.com's service to access the server. DynDNS works by redirecting a free url to the IP address of your server. I would like to add a second website under a different url. However, I'm not sure how to add a second IP address (which I would then use with DynDNS to create a new url).

View 3 Replies View Related

CentOS 5 :: How To Config Apache2 To Host Websites

Jun 25, 2011

any1 know how to config apache so i can use ServerName at my web browser ?

here is what i am trying to do: i need to host a number of web sites at my mac, for example: hostone.com, hosttwo.com, hostthree.com and etc since i need to host more than one website at the same pc, i use name based virtual hosts so i have hostone at 192.168.0.1:1234 and a servername of "hostone" hosttwo at 192.168.0.1:1235 with a server name of "hosttwo" and etc

my question is , how do i config my local settings, so all of my local network computers can access "hostone" site by type "hostone" at their browser and "hosttwo" site by type "hosttwo" at their browser

View 3 Replies View Related

CentOS 5 Hardware :: SuperMicro / CentOS Compatibility - Specific Model 1026TT-TF

Sep 4, 2010

I am looking into 1026TT-TF and 6016TT-TF for a CentOS 5.4 or 5.5 64bit installation:

SuperMicro 6016TT-TF
SuperMicro 1026TT-TF

It will be used as a Web-server mostly. Since they are twin nodes, one node will be one strong firewall. I have been checking all over and I can't find any driver, bios, or issues with this specific motherboard from Supermicro and Intel 5500/5600 series CPUs. Is there anything that would concern you with these servers?

I am also looking to put in a 4-port Gigabit LAN card into one node which I doubt makes any difference in the whole equation. Further more, and most importantly, the first one takes only 2.5" HDDs and the second option accepts 3.5" HDDs. Other than size availability and price, are there any concerns regarding performance when chosing one over the other? System which accepts 3.5" HDDs only takes two per node so I have to opt for 1TB drives. For the 2.5" system I can go with 4 of 2.5" HDDs of 500GB in size. Either of options selected will be setup in RAID-1.

View 5 Replies View Related

CentOS 5 :: Creating New CentOS 5.4 User With Specific Privilege?

Mar 23, 2010

I am looking to create a user to be able to do WinSCP or SSH into the system and only be able to see /var/www/html/joomla/ and that is it. I don't want them to be able to start or stop service but be able to upload and download files to the specific directory or change privileges of the mentioned directory. Is that possible? what commands should I run.

View 1 Replies View Related

CentOS 5 :: Service Restarts After "yum Update"

Jun 4, 2010

I'm about to ask may be a better question to ask a certain vendor with "Red" in their name, but I thought I'd ask it here anyway. I'm looking into various methods of doing patch management (scaling up to 300 or so servers, eventually), and one of my thoughts was to simply create separate yum repositories (e.g., testing, staging, production) and roll updates through each one of them as they go from being tested to being ready to roll out on to live systems (using yum via cron on each system to completely automate the process).

That being said, something I've noticed in going about prototyping this solution is that some services (e.g., Dovecot) automatically restart after updating, whereas others (e.g., Apache) do not. I would think a more logical policy would be all-or-none, but perhaps I'm missing something here that would explain the logic of not restarting Apache and any other daemons that get installed. My thinking is if you're updating a system, you should probably be in a maintenance window anyway, so services should be expected to go down and come back up, if an update necessitates it.

I know I could always grab the source RPM file and alter the SPEC file to restart, but I'm genuinely curious as to why things are setup the way they are, and while I realize Red Hat is the source of this, I wouldn't be surprised if there was plenty of insight here into the matter.

View 4 Replies View Related

CentOS 5 :: Specific Uid And Gid For Default User

Jul 9, 2009

Because I keep a lot of data on a Netgear ReadyNAS which can be presented as a NFS server, I would like to have the default CentOS user have a uid and gid that match those for the user that owns the main NFS share. That way I can treat it as if it were a directory that I owned on the local machine. I'm probably going to install CentOS 5.3 over again to get a totally clean system. What is the neatest way to ensure that the default user has the desired uid and gid? Or is there a better way to work with the NAS? (Right now I'm running it with CIFS shares, but these are quirky and do not behave quite like a local file system, I'm hoping that NFS would be more consistent, but previously attempts to run NFS were hampered by different uid and gid values).

View 1 Replies View Related

CentOS 5 :: Direct PXE Boot To Specific NIC?

Aug 27, 2011

[code]...

What/where is this eth0 interface? Is it possible I can direct PXE boot to use different interface?

View 1 Replies View Related

CentOS 5 Networking :: Route Add With Specific Interface?

Apr 19, 2009

I have an Asterisk-server with 2 interfaces, a WAN-interface (eth1) and a LAN-interface (eth0).

SETUP :

IAX-provider(internet) --> firewall --> Asterisk-server --> switch --> clients_on_LAN

So everything coming from the IAX-provider on port 4569 is forwarded to the Asterisk-server's WAN-interface (eth1).
This needs then be routed to an internal SIP-phone (an IVR-system will define which one) via eth0.

When a call is initiated from an internal SIP-phone (they register to the IP-address assigned to eth0) it needs to be routed via eth1 to the gateway (192.168.4.250). Asterisk will setup an IAX-channel on WAN-interface (eth1) to the IAX-provider (via gateway).

So... will this work :

route add -net ip_IAXprovider netmask 255.255.255.0 gw 192.168.4.250 dev eth1

View 9 Replies View Related

CentOS 5 :: Send Specific SIP Traffic Only Through Tun0-00?

Sep 20, 2010

I got to establish an OpenVPN connection between two server and I have dhcpd on the client server which feeds a few SIP phones. All these phones are supposed to the register server through the tunnel.Here is the network structure:

Client CentOS:
eth0: 192.168.0.0/24
eth1:192.168.100.0/24
tun0:172.15.0.0/24
DHCPD: feeding above eth1 and all the phones with 192.168.100.0/24

If I ping 172.15.0.1 from the the Client CentOS it works all fine. Everything pings and I can even do SSH. However, the phones which obtain their ip through eth1 on the same server can not reach the 172.15.0.1. I think it's a route issue here. Can you please guide me to the right direction as to how to forward certain traffic through tun0 and leave the rest of the traffic to go through eth0?

I don't want to turn on IPTABLES as this is time consuming for me now and there is VPN setup. It has to do with setting up the routing but I am not sure.

View 4 Replies View Related

CentOS 5 :: Yum - Force Specific Version To Be Installed?

Jun 25, 2011

I run a bunch of CentOS 5.6 servers, where we continuously deploy our software. Our software comes in self-made rpm packages from a network-local yum repository. As bugs happen in software development, I sometimes want to downgrade to the previous release, so force the installation of a specific version of the package.I tried the allow-downgrade plugin, but so far no luck. Neither yum update nor yum install seem to work with allow-downgrade. (It does not seem to do anything?). Does anyone have a working example for yum --allow-downgrade?

This is what I tried:
1) Show current yum version
[root]# yum --version

[code]....

View 5 Replies View Related

CentOS 5 :: Lock Filesystem For Specific Users?

Aug 1, 2011

I want to lock the filesystem based on user basics, In effect only specific users should have write access. This need to done apart from normal permission setup.

In Detail:

filesystem: /app
application users: appuser1 & appuser2
Normal users: user1 user1

Required: Only app users need to have write permission over app file system, this should done apart from the normal directory permissions. The all other users can able to view the contents even though other users have write permission based on permissions.

This need to done by over ridding the normal permission setup.

View 6 Replies View Related

CentOS 5 :: Modify Quotas For A Specific User?

Sep 2, 2011

I know if I run repquota -a I can see the quotas set for all users.How do I modify the quota for a specific user?So say the output for john is:User used soft hard grace used soft hard grace----------------------------------------------------------------------john.someth -- 122844 51200 51200 4995 0 0How do I make his block limits 0 so they are unlimited?

View 1 Replies View Related

CentOS 5 Server :: Allow Only Specific LDAP Group Access?

Apr 26, 2010

I've several servers (windows+linux) that authenticate to an LDAP server. There is one machine that I would like to allow only certain groups from LDAP server to have access and I am not sure where to start.

If that cannot be done, is it possible to disable LDAP root user to access these machines?

View 4 Replies View Related

CentOS 5 Networking :: Disable IPv6 On Specific Interfaces?

Apr 10, 2011

Now that IPv6 is becoming more and more common, I found the need to disable IPv6 on some interfaces but have it enabled on other. I found that /proc/sys/net/ipv6/conf/*/disable_ipv6 does exactly that. I am now wondering if anybody knows, why are networking scripts so counterintuitive. /etc/sysconfig/network has an option:

NETWORKING_IPV6=yes

All this option does is disable some ipv6 services (dhcpv6...), it does not disable IPv6 in whole (as one would assume...that's why you had to disable it with module parameters). Searching for more IP6 related config option, one can find that /etc/sysconfig/network-scripts/ifcfg-* scripts can contain:

IPV6INIT=yes

Again, this option does not disable IPv6 protocol on the interface, it just skips running ifup-ipv6/ifdown-ipv6 scripts. I added a /sbin/ifup-pre-local. Now, this script runs before ethX entries are created (other scripts run when it's already too late) in /proc directory, so it modifies default values which are then used after those entries are created:

#!/bin/bash
#
[ -f "/etc/sysconfig/network-scripts/$1" ] && . /etc/sysconfig/network-scripts/$1

[code]...

View 1 Replies View Related

CentOS 5 :: Command To Find And Remove Specific Letters From A File?

Nov 4, 2009

I have a file with tens of thousands of lines. I need to remove specific letters eg eggs, from every line that has the letters in it. Is there a command which can help me do that easily?

View 4 Replies View Related

CentOS 5 :: Do I Need To Build Rescue CD Containing Directory Info Of Specific System?

Sep 14, 2010

I have been reading about rescue CD's but haven't found out whether I can make one using my currently running Centos(centos-release-5-4.el5.centos.1 ).I tried to use a Centos cd we have here and it looks fine till it asks where the 'tree' structure is located, when I select cd it ejects it and asks the same question again. Do I need to build a rescue cd containing directory info of my specific system?This is related to wanting to fsck my file system.

View 3 Replies View Related

Ubuntu :: Giving A Specific User Permission To Start/stop A Specific Service?

Jun 8, 2010

How do I give permission to a logged in user to stop/start a specific service without entering a root/sudo password? So they can do a simple "service SomeService stop|start" It is for a headless Ubuntu server.

View 5 Replies View Related

Programming :: Search A Bunch Of Files In A Specific Folder For A Specific Number?

Jul 24, 2010

I need to search a bunch of files in a specific folder for a specific number and add all the numbers together to a total sum. I use Rsync everyday, everytime I run rsync i get a logfile (rsync output) witch contains the textstring "Total bytes sent: xxxxxx".

The "xxxxx" can vary in lenght. I need to extract the "xxxxxx" from each file and add the numbers together to a total size over a week or a month. Is this possible? And I wish to only use bash. One way of doing stuff at a time my friends .

View 5 Replies View Related

Ubuntu :: Allow A Specific User To Mount Or Remount A Specific Partition?

Jun 9, 2010

my system I want user1 and only user1 to be able to mount and unmount a specific partition, this partition contains backups and is usually mounted read only, needs to be temporarily mounted read/write by user1 while doing the backup.user1 is an unprivileged user. I've read that the user option will let any user mount the file-system (and only that user can then subsequently unmount it) and that the users option allows any user to mount or unmount the file-system.I also found this in mount's man pageQuote:The owner option is similar to the user option, with the restriction that the user must be the owner of the special file. This may be useful e.g. for /dev/fd if a login script makes the console user owner of this device. The group option is similar, with the restriction that the user must be member of the group of the special file.So it looks like I'd need a login script for that user to make the user owner of the device file (/dev/voiceserv/backup in this case)

View 7 Replies View Related

General :: Change A Specific Characters To Capital In A Specific Text?

Dec 2, 2010

for example

else {
for fileDOC in $location/*.doc
do

[code]...

View 12 Replies View Related

Server :: Sendmail: Block Specific Sender To Specific Recipient?

Oct 1, 2009

I'm trying to configure our mail server to block email from a specific sender reaching a specific recipient. In other words, if one of our employees is getting harassed by a 'stalker', how would one go about blocking, at the MTA (Sendmail) level, a specific sender email address from reaching a particular users inbox? We do not want to capture the email - simply block it before it consumes server resources.The Sendmail server (MTA) is a front end to our Exchange server so no user accounts exist on the Linux server. We simply use it as a SPAM and Virus scanner then forward clean email to the Exchange server.

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved