CentOS 5 Server :: Apache - Anonymous Shared Memory Failure

Jan 12, 2010

I just opened an (unmanaged) VPS account and and have been encountering nothing but problems with trying to get Apache up and running (its something I've done many times before).Basically the inital error was with LDAP not having enough space, so I disabled the related extensions and Apache still would not run. Looking at the log, it contains: (28)No space left on device: Unable to create scoreboard (anonymous shared memory failure)

View 1 Replies


ADVERTISEMENT

Server :: CentOS - Apache Using Lot Of Memory And CPU

Jul 30, 2011

I have a web server with the specs below and my apache server is being a hog using all my RAM 7gigs or 8gigs of ram. When there is a rush of traffic at once my whole server crashes and I have to reboot apache. The way my site is set up I have a tube script and I use the tube script to host videos on my forum I have 1000 videos on the tube script. I brought a bigger server and more ram because of the down time I been having . I am really trying to figure out why its crashing and using so much ram. I installed eAccelerator didn't seem to help with the apache server.

Intel Quad Core Xeon X3430 (4 x 2.40 GHz, 8MB Cache)
> 2-bay Supermicro Chassis and Motherboard
> 8 GB REG ECC DDR3 (twice your current setup)
> 250 GB Enterprise Grade SATA II
> 10 TB Bandwidth 1gig Uplink Port
> CentOS 64 Bit (Latest Stable)

TOP Command and free -m command screenshots are attached this is with only 160 people online at once

View 6 Replies View Related

Fedora :: Failure Of Creating Shared Memory In Fedora 8

Nov 19, 2009

I am using Fedora 8 in my PC and i'm trying to create a shared memory (below is the sample program) i'm getting error while creating shared memory. Can anyone pl tell what is the possible cause for this.

View 2 Replies View Related

CentOS 5 Server :: How To Disable Anonymous Login

Sep 27, 2010

im using default setting for proftpd and having two major problem for me at least

1. how to disable anonymous login?
2. how to make proftpd login using my default box login?

View 1 Replies View Related

Server :: Configure Pure-ftp In CentOS In Non-anonymous Mode?

Nov 4, 2010

I am trying to configure a ftp server (pure-ftp) where I am using CentOS 5.5.

View 1 Replies View Related

CentOS 5 Server :: VSFTPD - Unable To Authenticate As Anonymous User

May 4, 2010

I am attempting to configure vsftpd to allow anonymous users to PUT files into a shared incoming directory. This would be like a dropbox for my customers. Ideally, the incoming directory's contents would not be viewable by the users.

I believe that refused connection is due to the PAM configuration for vsftpd.

May 4 08:03:16 WSVM-S1-1 sshd[1512]: Invalid user anonymous from xxx.xxx.xxx.xxx
May 4 08:03:16 WSVM-S1-1 sshd[1513]: input_userauth_request: invalid user anonymous
May 4 08:03:16 WSVM-S1-1 sshd[1512]: pam_unix(sshd:auth): check pass; user unknown

[Code].....

View 3 Replies View Related

CentOS 5 Server :: When Taken The Comments Out And Edited For Anonymous - Proftpd Fails To Start

Dec 30, 2010

I've recently installed Proftpd to host for someone for a couple of hours.

With the default config it works however when taken the comments out and edited for anonymous, proftpd fails to start

This is the default config file which works if you have a user and password for my machine, but anonymous wont work (when the comments were removed).

View 1 Replies View Related

Server :: Does RES In Top Reflect Any Shared Memory?

Apr 20, 2010

I am trying to troubleshoot an Apache/Mysql server that once every few days falls over due to memory starvation. I thought I had tuned my httpd.conf file with relativley small MaxClients and so on, but then noticed some unusual RES values in top while monitoring.

In short, `top -b -n1 -u apache` shows that I have 28 httpd processes. their VIRT is ~300MB for each process (I understand this is shared), and the RES ~50MB for each. I thought this wasn't shared. Is this true? I just noticed 2 of the processes jump to 1.2g. If RES represents non-shared memory then concievably 1.2g x 28 processes would be a problem on an 8GB server.

View 2 Replies View Related

CentOS 5 :: Apache Memory Leak Since Glibc-2.5-42.el5_4.2 Update?

Jan 4, 2010

I updated several packages on one of my servers on Dec 21st and have been seeing excessive swapfile usage since then. The problem process seems to be httpd which in our environment runs a subversion server as well as serving a number of php pages over https. At present I am having to bounce apache approximately every 5 days as it has used all 8GB swap in that time.

[Code]..

Of the updates listed as installed, the only one that looks likely to affect apache is glibc. Looking at the stats from sar -r I can see swap usage increasing by approx 3% (of 8GB) every hour.

View 3 Replies View Related

CentOS 5 Server :: Apache 'server-status' 404 Not Found + Munin Apache Stats?

Oct 14, 2010

I am trying to solve a problem where Apache stats aren't displaying correctly in Munin. I've ran through quite a bit of checks and tests regarding Munin setup, but I think my issue is related to Apache, but my skill set there is lacking.

first, system info:
monitored server:
CentOS 5.3 2.6.18-128.1.1.el5

[code]....

View 7 Replies View Related

Programming :: Create A Shared Memory And Some Shared Objects?

Jun 11, 2010

I want to create a "Shared Memory" in linux, then create multiple "Shared Objects" that can access to a Table for example; And one of them can write something into the Table and the other can access and read it, so that these operations can be handled by programmer! I'm using Ubuntu 9.04 and I've set it's runlevel at 3 (I have commandline environment now!) I've searched the Internet so much, but couldn't find a good sample code for this! I have no experience about it and need your help to introduce me a sample code about it and advise me how to compile and use it with "GCC"?!

View 6 Replies View Related

Server :: Apache Crashing VPS - Need To Reduce Memory Usage

Feb 11, 2010

I have a VPS running a web application served using Apache, that on average deals with 20-50 requests per second. It's usually above this point (50 requests per second) that the amount of memory that Apache uses is too high for the VPS and errors start occuring - web pages crash and VPS falls over for a minute or two before going back to normal levels.

I believe that MaxClients is the best way to reduce the amount of RAM that Apache uses and I am planning to reduce MaxClients from 256 (default value) to around 100. Each Apache process uses ~15MB and the server has 1900MB of ram in total - the server does nothing else other than run Apache and a few crons.

Current setting are:

Code:
KeepAlive On
MaxKeepAliveRequests 100
KeepAliveTimeout 3
# prefork MPM
# StartServers: number of server processes to start

[Code].....

I tried reducing MaxClients before which lead to massive slowness, so I need some other options as well.

Does my suggestion of reducing MaxClients to ~100 seems sensible? What are my options if the server experiences slowness again - optimise the application? What's the best way to reduce memory usage - move images to another web server?

View 2 Replies View Related

Server :: Find Total Apache Memory Usage?

Sep 12, 2010

Top only show the memory usage for individual processes. Apache often runs hundreds of processes, each of which may use only a small amount of memory, however the total memory consumed by all apache processes can be fairly large.Is there a way to see the total memory usage for all apache processes?

View 7 Replies View Related

CentOS 5 Server :: CentOS 5.5 Guest In VirtualBox / Less Memory Available Than Configured

Aug 27, 2010

I just ran into a weird problem with a CentOS 5.5 64-bit server running VirtualBox 3.2.8 (I would run Vmware Server 2.0.2 if not for the well known fact that Vmware doesn't care about its Server line anymore and it doesn't run on CentOS > 5.3 without major splits). I currently have two guests in that VirtualBox setup, a CentOS 5.5 64-bit and a Fedora 13 64-bit. The CentOS 5.5 guest shows less memory available than configured. If, for example, I give the virtual machine 512MB of memory the guest OS only recognizes 380MB. If I give it 768MB it only recognizes 637MB, and so on. I don't have that problem on the Fedora guest - 1024MB configured, 1024MB available.

View 13 Replies View Related

CentOS 5 :: Apache Error 403 - "Forbidden You Don't Have Permission To Access /bb/ On This Server" - 5.2 With Apache 2.2.3

Jan 20, 2011

I am installing Big Brother on a CentOS 5.2 running the default Apache 2.2.3. When I try to access any web page I get the following error: Forbidden You don't have permission to access /bb/ on this server. Apache/2.2.3 (CentOS) Server at fmsubbnix Port 80 So far I have:

1) Set the Directory options to FollowSymLinks
2) Verified all directory and file permissions are at 755
3) Set permissions temporarily to 777 and received same error so I am assuming the issue is in a config file somewhere
4) in hhtpd.conf verified <Files ~ "^.ht"> is correct
5) verified the "default" directory is correct (/var/www/html)

I have read and tried several ideas in posts listed on the web but to no avail and am at a loss as to what to look for next..

View 3 Replies View Related

CentOS 5 Networking :: Configure Gssftp To Allow Anonymous Logins ?

Dec 21, 2009

In /etc/xinetd you see a file by the name of gssftp

Is vsftpd replaced by gssftpd

I want to configure gssftp to allow anonymous logins can anybody tell me where is the conf file for gssftp

View 1 Replies View Related

CentOS 5 Networking :: Can't Get Vsftpd To Accept Anything But Anonymous Connections

Jun 5, 2010

This is on Centos 5.3 by the way..... I had a DVD and, well, just wanted to test some things.. I'm aware that this is not the latest release.

And, by the way (I just read an earlier post) I've added the username and password with which I'm trying to login (..hello?).

I'm at work and I don't have a copy of my Vsftpd configuration file (don't wanna edit this whole thing - actually there is a copy, below). I've used Slackware for years and never had any issues with Vsftpd - it just works. I am trying Centos because I need help with upgrading my mail server (qmail) and there's not much help for Slackware users. Also, I used to run RHEL3 and had vsftpd working fine (had to copy some file to /etc/pam.d) but it worked famously. I compiled all my web server stuff (just don't like these default things where I have no idea how things are integrated) and I'm hung up on - of all things - vsftpd.

Anyway....When I try to log into my ftp server I get "KERBEROS_V4 rejected as an authentication type" and only the anonymous account works. Any other logins produce an error (incorrect login - see ya' later). I have SE Linux and the firewall OFF. I don't recall the directive, precisely, but my vsftpd.conf file is set allow local users to connect. I installed with yum and it added some lines at the bottom (one was about a user list and the other was about PAM). I've got a chroot list and a user list although it's not clear to me precisely where the user list should be placed. I actually uninstalled the RPM and compiled, too. I've done everything but call an exorcist. And I've found tons of posts regarding this on the net and none of the fixes worked. Man - on slackware you type "make" and "make install" (I build it with tcp_wrappers) and you're off to the races.

Actually - I did upload the vsftpd.conf file to work (where I'm at, now). Minus lines that were commented out it looks like this:

Could it, possibly, be something about how I am adding the user, the shell type, etc? I know that in Redhat I used to type "/usr/sbin/useradd -d /home/someuser joe". I've done it that way and I've also done it like so: "useradd -d /home/schmoe -s /bin/bash schmoe".

View 2 Replies View Related

CentOS 5 :: Samba, Smbusers File, Anonymous NFS Access?

Apr 20, 2011

I have a test server (2.6.18-194.el5) that allows automated tools from Windows 7/Windows Server 2008 to access the filesystem (anonymous NFS access) via Samba (3.5.4-0.70.el5_6.1). Documentation on the smbusers file on samba.org seems a little thin.

* why is it necessary map unix users to samba users?

* what purpose does this mapping serve?

* does the umask of the unix user limit the samba user it is mapped to when creating files/directories? what about anonomous access?

* why are files created via anonymous access owned by 'nobody'?

* how can I control what user and permissions files/directories are created with?

View 3 Replies View Related

CentOS 5 Server :: Read Only After Power Failure?

Sep 19, 2009

I had a power failure the other day and my server shutdown abruptly. After bringing the server up I noticed that the /var partition came up as read only. I was not able to edit the crontab, not able to write to files within /var/log/ and do other write operations within /var.

I did a mount and it showed that /var was mounted read and write but when trying to run certain operations the system was still saying that it was read only.

[Code]...

View 1 Replies View Related

CentOS 5 Server :: 2-node Non-shared-FS Cluster On 5.2/3?

Apr 15, 2009

I'm having some trouble configuring clustering in a 2-node cluster, with no shared FS. Application is video streaming, so outbound traffic only...The cluster is generally ok - if I kill -9 one of the resource-applications, the failover works as expected. But it does not failover when I disconnect the power from the service owning node (simulating a hardware failure). clustat on the remaining node shows that the powered-down node has status "Offline", so it knows the node is not responding, but the remaining node does not become the owner, nor start up the cluster services/resource-applications. eth0 on each node is connected via a crossover cable for heartbeat, etc. Each eth1 connects to a switch.

[root@lmshw01 ~]# cat /etc/cluster/cluster.conf
<?xml version="1.0"?>
<cluster alias="lmshw-clust" config_version="35" name="lmshw-clust">

[code].....

View 3 Replies View Related

CentOS 5 Server :: Httpd Out Of Memory Crashes Server?

Sep 11, 2009

My server keeps freezing up requiring a hard reboot.

CentOS release 5.3 (Final)

httpd-2.2.3-22.el5.centos.2

Here is the error in /var/log/message

Sep 11 00:16:20 localhost kernel: httpd invoked oom-killer: gfp_mask=0x201d2, order=0, oomkilladj=0
Sep 11 00:19:14 localhost kernel: [<c0459e7d>] out_of_memory+0x72/0x1a5
Sep 11 00:19:14 localhost kernel: [<c045b352>] __alloc_pages+0x216/0x297
Sep 11 00:19:14 localhost kernel: [<c045c5bf>] __do_page_cache_readahead+0xc4/0x1c6
Sep 11 00:19:14 localhost kernel: [<c0436d9a>] ktime_get_ts+0x16/0x44

[Code]...

View 5 Replies View Related

CentOS 5 Server :: Put A MySQL Database In A Server's Memory?

Mar 18, 2010

I'm looking for a way to put a MySQL database in a server's memory. The disks aren't fast enough to keep up with the usage and I don't feel like going for a splitted web&db server yet because of the costs.

Because this involves risks (unless there's a way to read from the memory and write to the memory AND disks?), so I'd prefer that the DB gets copied automatically every hour or so to the local disks.

View 1 Replies View Related

Security :: 100's Of "apache-init-server" - Keeps Running Out Of Memory

Sep 25, 2010

I have a VPS that has 512MB of ram. I'm using it as a mail/web server. It keeps running out of memory. I know amavis/clamav are memory hogs, but I checked my ps aux and found 100's of instances of "apache-init-server" running. I killed them all, and they keep spawning back. What could be causing this. I've never seen this on a webserver before. OS: CentOS 5.5

View 10 Replies View Related

Server :: New Centos 5.5 Start Crashing Or Hardware Failure

Oct 4, 2010

i installed a new centos 5.5 1 old server hp ml380 g3 series on 2gb ram, 72gb raid 1+0 scsi disk

after running 1 sucessfull day next morning i found no response of ping, telnet, putty, ssh. when i check physically machine the mouse keyboard was hang, i reboot machine, then it says kernel panic failure mounting hardware, then next time i reboot the o/s centos start book properly and running. i check the dmesg logs, can someone guide me how to check cpu,raidcontroller,memory,harddrive are getting failed or what hardware exactly choking out.

View 2 Replies View Related

CentOS 5 :: Failed To Start The X Server After A Power Failure?

Oct 29, 2010

Before to describe my problem I want to say that I searched a lot on the internet and I think I tried all the solutions provided by other users to similar problems.

I've got an IBM xSeries 346 server running CentOS 5.5 with all updates applied with yum.

The video card is an ATI Radeon (lspci says: 01:06.0 VGA compatible controller: ATI Technologies Inc Radeon RV100 QY [Radeon 7000/VE]).

Everything worked fine until a bad day where there was an environmental power failure and the server crashed.

I turned it on, I manually check the file system, some files went lost and after the reboot the X server didn't start.

After the first boot I had problem with /etc/rc.d/rc.sysinit, sbin/multipath.static and /dev/cpu/microcode, I solved them and now the message it shows is:

"Failed to start the X server (your graphical interface) It is likely that it is not set up correctly. Would you like to view the X server output to diagnose the problem?"

I choose OK and it appears an empty log, if I go in /var/log/gdm and I do an ls -al:

total 0
-rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.4
-rw-r--r-- 1 root root 0 Oct 28 04:44 :0.log.3
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.2
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log.1
-rw-r--r-- 1 root root 0 Oct 29 04:52 :0.log

So a lot of empty log files.

I press enter on the OK that appears at the bottom of the screen and it says: Would you like to try to configure the X server?

I choose Yes, I enter the root password and appears the following messages:

Couldn't start X server on card 0
Couldn't start X server with old config, trying with a fresh configuration

Then another messages:

Trying to restart the X server, I press enter on OK and it loops the initial message ("Failed to start the X server...)

View 1 Replies View Related

CentOS 5 Server :: How To Configure Samba (Shared Printer)

Aug 20, 2009

How to configure samba, cups, whatever else is necessary to turn centOS into a print server that provides the print driver to any client adding a printer shared from the server? For example, I have a Xerox Phaser 6125n and I was able to configure my server to share the printer for clients on the network, but I still have to have the driver available on each client that uses the printer. I want to be able to put the driver on the server and provide it automatically to any client who installs the printer.

Also, this is not as important but rather just an annoyance, I am having an issue with samba that I can't figure out. I have user shares set up on the server but the first time any user accesses their personal share they need to provide their password. How can I set up user mapping between linux and windows accounts so that authentication is automatic? I've done this in the past with Fedora Core 2, but that was a long time ago and the same doesn't work on centOS.

View 3 Replies View Related

CentOS 5 Server :: Create GFS Shared Storage Without SAN/iSCSI

Sep 3, 2009

I built a CentOS 5 Linux cluster with GFS storage using local RAID volume and share it with gnbd_export/import on two web-servers. Now I need to expand that storage to another servers local volume. I saw the picture in the manual, but I don`t know, how can I create that scheme.

I can use gnbd_export on the second server and gnbd_import on the first. In that case I will have two volumes on the first storage and I can expand volume group, logical volume, etc on it.

View 1 Replies View Related

CentOS 5 Server :: Can't Compile Idmap_passdb As Shared Module?

Apr 7, 2010

I have CentOS-5.4 box with all updates.I want to use samba as PDC with ldapbackend. All works fine, except winbind daemon. My samba version is 3.4.5.

# winbindd -D -d 3
# wbinfo -i test
test:*:50001:513:test:/home/W3/test:/bin/false

View 4 Replies View Related

CentOS 5 Server :: Cannot Open Shared Object File

May 3, 2011

I neet to install a cgi script in my CentOs 5.5

So after compiled the cgi script, I put it in the folder /var/www/cgi-script/

I try to access via my web browser and in the apache error log : I have this "/var/www/cgi-bin/mapserv" : error while loading shared libraries: libclntsh.so.11.1: cannot open shared object file: No such file or directory"

In my httpd.conf, I just add the following in order to provide the shared libraries for my cgi script :

<Location "/cgi-bin/"
SetEnv /home/hmonglee/instantclient_11_2
</Location>

But same error.

View 1 Replies View Related

CentOS 5 Server :: Recover Memory From The Xen?

Jul 28, 2010

I have xen kernel on a 5.4_64 though it seems to have always done this regardless of version. When I add a virt the control set shows the total machine memory minus what I just allocated to the new virt. This also shows up in the system monitor as total available ram. Problem arises in deleting and making new virts. The memory never reappears as usable after deleting virts. So now after testing several different setups I'm down to 1.4 gigs showing available on the dom0. What can I do to recover this lost memory? I've searched, read, looked every where I could think of and there just doesn't seem to be any information about deleting virts only adding them.

View 5 Replies View Related







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