Ubuntu Servers :: Lucid: Mailgraph + Dspam - X Suexec - "500 Internal Server Error"

Jun 17, 2010

I am setting a Lucid mail server, and got dspam and mailgraph installed. dspam requires suexec module for apache, but it breaks mailgraph with "500 Internal Server Error":

[Code].....

View 1 Replies


ADVERTISEMENT

Server :: Apache2 - Suexec Error: Command Not In Docroot (/usr/bin/php-cgi)

Jul 7, 2010

Basically when I try execute a PHP script with SuexecUserGroup set, I get the following error:

uid: (501/uname) gid: (501/501) cmd: php-cgi
command not in docroot (/usr/bin/php-cgi)

Without SuexecUserGroup set, they work fine, but obviously aren't executed as the script's owner.

Here's one of the domain's configs:

Code:

<VirtualHost *:80>
ServerName www.domain
ServerAlias domain

[code]...

For a bit of background info, the end result i'm trying to achieve is for files that get uploaded via a php script to be owned by the user account that owns the script rather than by the apache user.

View 1 Replies View Related

Fedora Servers :: Error - Server Encountered Internal Error Or Misconfiguration - Unable To Complete Request

Feb 27, 2009

I use web server apache use php fastcgi (Centos 5.2, apache 2.2.9 , php 5.2.5 and fcgi-2.2.4 ). I receive error : "The server encountered an internal error or misconfiguration and was unable to complete your request. contact the server administrator, no-reply@zz.vn and inform them of the time the error occurred, and anything you might have done that may have caused the error. I view log :

[code]...

View 1 Replies View Related

Ubuntu Servers :: Result From Mailgraph And Pflogsumm Different?

Jun 7, 2011

I have installed postfix with amavisd, spamassassin, and clamav on ubuntu 10.04 server, all works as well. But, when I test to send 2 messages from outside to my server, the report from mailgraph and pflogsumm is different. To avoid pflogsumm count twice from amavis, I have combine pflogsumm with preflog. And the result like this .

Quote:
root@mail:/home/venol# /usr/sbin/prepflog.pl -d today /var/log/mail.log | pflogsumm | more
Grand Totals
messages
2 received
2 delivered
Host/Domain Summary: Message Delivery

[Code]...

View 2 Replies View Related

Ubuntu Servers :: Postfix + Dspam Wrong Path For Digest Files

Apr 7, 2010

I am struggling to get dspam to work properly.

I have follow the instructions [URL] to the letter but when I send spam/ham to the ham@mydomain.net address I see a problem in the logs.

The problem appears to be that when dspam filters the mail it stores the digests in:

/var/spool/dspam/data/mydomain.net/<user>

But when it tries to find the digests to add them to the spam/ham database it looks in:

/var/spool/dspam/data/local/<user>

But I can not find anywhere in the config that controls this.

As I followed the instructions on the ubuntu forums I can not be the first person to see this problem.

logs:

Quote:

Apr 7 22:27:02 rat postfix/smtpd[19662]: connect from localhost[127.0.0.1]
Apr 7 22:27:02 rat postfix/smtpd[19662]: EAC8AE0B6A: client=localhost[127.0.0.1]
Apr 7 22:27:03 rat postfix/cleanup[19659]: EAC8AE0B6A: message-id=<0D3D54F4-4E18-4EE8-88F7-DE7D4B9A45C2@mydomain.net>

[Code].....

View 1 Replies View Related

Ubuntu Servers :: Test Mailgraph Manually To Create The Graphic?

May 16, 2011

I already install mailgraph in ubuntu 10.04. but now I got problem with mailgraph in ubuntu 10.04. No graph appear in the graphic created by mailgraph.I know mailgraph consist of perl and cgi script.If I have postfix log, how to test mailgraph manually to create the graphic using its perl script from existing postfix log. Just to see whether the graph created or not in the graphic

View 1 Replies View Related

Ubuntu Servers :: Suexec / Run Php As User Not Apache

Apr 4, 2010

When we run php scripts that move/rename/etc files, the script does not have access to write to files in our web root. Changing permissions to 777 fixes the problem, but obviously this is not an option..I've been reading up about suexec, phpsuexec, and suphp, but we can't seem to figure any of this out.In phpinfo(),the Server API reads: Server API Apache 2.0 Handlerbut on another server (where everything works, it reads : Server API CGI/FastCGIIs there ANY way to achieve this?

View 2 Replies View Related

Fedora Servers :: Suexec Set Up In Apache, Snippits From Httpd.conf?

Jun 25, 2011

I'm having a problem with mod_suexec in Fedora 15.I have suexec set up in Apache, snippits from httpd.conf:

Code:
LoadModule suexec_module modules/mod_suexec.so
...

[code]....

View 3 Replies View Related

Fedora Servers :: Make PHP Pages - Shows An Internal Error 500 Page But Doesn't Show On What Line And Compile Error Encountered

Feb 1, 2011

I'm trying to make some pages. For this I try to host them locally. However, when I have an error in my PHP code, the server shows an internal error 500 page and doesn't show on what line and what compile error it encountered. There is no such information in the error log either. What should I do about it, it's not really nice to comment all the lines and then try to uncomment them one by one. I've been googling for a while, but didn't find anything.. I forgot to mention, I;m using Fedora :P, the apache that came with it and mysql and php from the repository...

View 3 Replies View Related

Server :: SVN Checkout Error - Can't Find A Temporary Directory - Internal Error

Feb 14, 2011

I have builded a svn server using apache before. But recently I can not check out from the svn server,and error code is as follows:

svn: Can't find a temporary directory: Internal error

I have searched in the google,they said no space on the server.But my server have much space.

Filesystem Size Used Avail Use% Mounted on
/dev/sda1 49G 22G 24G 48% /
tmpfs 220M 0 220M 0% /dev/shm
/dev/sdb1 917G 867G 3.8G 100% /mnt/md0
/dev/hda1 151G 129G 15G 91% /mnt/meego

The server is at the /dev/hda1 partition.

View 7 Replies View Related

Server :: Setup SuEXEC So That CGI Scripts Are Ran As The Backuppc User?

Sep 1, 2010

Apache/2.2.3
CentOS release 5.4 (Final)
BackupPC-3.1.0-6.el5

So im setting up backuppc but do not want Apache to run as the backuppc user. To get round this I need to setup suEXEC so that CGI scripts are ran as the backuppc user. This seems fine and I do have the module loaded,

1. I have configured my config files as said here
2. I have read that DOC_ROOT for suEXEC is set to /var/www I need to change this to /home/www - as a quick fix i have a symbolic link from /var/www to /home/www.

3. To confirm what DOC_ROOT is and check where the log file will be as suggested on many sites I run "/usr/sbin/suexec -V" but I get nothing back, it does not list any config.

4. Group and Owner for "/usr/share/BackupPC" is backuppc

[Code]...

View 1 Replies View Related

Ubuntu Servers :: Open Synaptic Package Manager - Internal Error Opening Cache (1)

Jul 22, 2011

while trying to open synaptic package manager i get the following errer "E: The package clamav-daemon needs to be reinstalled, but I can't find an archive for it. E: Internal error opening cache (1). Please report."

View 5 Replies View Related

Server :: Redirect Different Domains To Different Internal Servers

Apr 23, 2010

I have several web servers running apache on my LAN. Each internal server hosts a number of domains.I would like to make these available to the internet and make sure they all get to use port 80 and 443.My idea was to put Apache on the firewall and have all http(s) traffic from the Internet to my firewall be redirected by Apache to the different internal apache servers. This, in theory, would allow me to keep the standard http(s) port.

Can this be done? I was thinking of mod_rewrite and mod_redirect but in all honesty, I'm a little at a loss on where to start.Can someone point me to relevant documentation or give me the basic idea on how to start?

View 2 Replies View Related

Ubuntu Servers :: Apache Virtual Host To Access Internal Server?

Apr 20, 2010

I'm not sure is this is possible or not, but what I would like to do is take my public address mydomain.com and configure a virtual host something.mydomain.com only instead of having the content on the same server I would like it to point to the IP of my virtual machine that is in my private network and display that page publicly. Does anyone know if this is possible, or how to do it? I have done this with port forwards, but would like them both to be on the same port.

View 3 Replies View Related

Debian :: Apache CGI - Internal Server Error

Sep 30, 2015

I installed debian 7 and apache 2.2 with virtualhosts. I'd like to run CGI, but always get internal server error. i tested it with a simple test.cgi file.I got this in apache error log.Wed Sep 30 21:39:02 2015] [error] [client 192.168.0.156] Premature end of script headers: test.cgi

When is switch off "Addhandler cgi-script .cgi" in the config file i see the code. Permissions are 755 on the whole directory. I have checked a2enmod, the modul is loaded (sudo a2enmod cgi)..here are the part of config files :

ScriptAlias /gestioip "/var/www/gestioip"
<Directory "/var/www/gestioip">
AddHandler cgi-script .cgi
AddDefaultCharset utf8

[code]...

View 0 Replies View Related

Ubuntu Servers :: Setup A Local Mail Server For Internal Testing On Development Work?

Dec 10, 2010

how to setup a local mail server for internal testing on my php development work. For example if I sent an email using php script to [url]....I should be able to check the mailbox of 'someone' either in Outlook or SquirrelMail.I have done some reading about this. All I know is that I need Postfix with Courier. But I just don't know to get it working.

View 3 Replies View Related

Ubuntu Servers :: Lucid Logrotate Apache2 Error?

Apr 26, 2011

My apache2 logs aren't being rotated, I have 1 log nearing 100MB in size.

Error shown below when a logrotate happens on apache2 logs:

Code:
error: other_vhosts_access.log:5381 unknown option 'jack' -- ignoring line
error: other_vhosts_access.log:5381 unexpected text
"jack" is a sub-domain.

View 1 Replies View Related

Debian Configuration :: Server Internal Error 500 - How To Find

Sep 6, 2011

i'm facing an error 500 internal error and i don't know where to start .... How can i get information about the error in order to fix it ???at /var/log/apache2/error.log i can't find anythingi have virtualmin installed , i searched at/var/log/virtualmin/domainname_error_log but nothing .... where is apache supposed to keep log for 500 errors ?

View 1 Replies View Related

Software :: Apache Showing Internal Server Error

Jun 23, 2010

My httpd error_log says the following error while running the htpasswd.pl
[Thu Jun 24 08:25:54 2010] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jun 24 08:25:54 2010] [notice] Digest: generating secret for digest authentication ...
[Thu Jun 24 08:25:54 2010] [notice] Digest: done
[Thu Jun 24 08:25:54 2010] [notice] Apache/2.2.3 (CentOS) configured -- resuming normal operations
[Thu Jun 24 08:26:01 2010] [error] [client 117.204.119.181] (2)No such file or directory: exec of '/var/www/cgi-bin/htpasswd.pl' failed
[Thu Jun 24 08:26:01 2010] [error] [client 117.204.119.181] Premature end of script headers: htpasswd.pl

Also the apache shows this error in the webpage. Internal Server Error. The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.
Apache/2.2.3 (CentOS) Server at 59.93.43.183 Port 8284

I am using the htpasswd.pl script dwoloaded from net. I can run the perl file using the command line and gets the sytax OK message. The contents of te htpasswd file is as follows:
#! /usr/local/bin/perl -T
# htpasswd.cgi by David Efflandt (efflandt@xnet.com) 8/97
# Last update 10/4/99
# Update password file from the web for use with user authentication.
# Stores each line in the format: username:crypted_password .....

View 8 Replies View Related

CentOS 5 :: Internal Server Error When Enable Suphp?

Sep 15, 2011

I just run Php5handler on suphp, but suddenly i got internal server error (everything ok when i running php5handler on dso) How to fix this problem?

View 1 Replies View Related

CentOS 5 Server :: KVM + Internal Error Bridge Generation Exceeded Max Id 256

Jul 18, 2010

I did a fresh installation of centos 5.5. I installed KVM. And configured a eth1 for KVM host network and i configured eth0 to be bridged.

When i do service libvirtd reload i get: internal error Bridge generation exceeded max id 256

View 5 Replies View Related

General :: Chat Application - Use The Juggernaut Plugin - Internal Server Error

Sep 23, 2010

I want write a 2-way chat application in the my website, and i have to use the juggernaut plugin. but a recieved an error that " internal server error"

View 1 Replies View Related

Ubuntu Networking :: HTTP POST File Uploads On PCs - Getting 500 Internal Server Error Message

Sep 23, 2010

We're having an issue with HTTP POST file uploads on our two Ubuntu PCs. For some reason, whenever one of our users attempts to submit a file in an HTML form, the request times out, usually with a 500 Internal Server Error message. This problem is not limited to one site, but occurs on all sites that use file uploads. Also, the problem does not appear to be with our network, as a Windows 7 PC on the same network can upload files to the same sites without any difficulties. The problem is not browser-specific; we have tested with Firefox, Epiphany, and Google Chrome and all produce the same results. The issue is relatively new, and was first observed within the last month; before this time, both machines had no problems uploading files.

Does anyone have ANY idea what could be causing this? I've tried a number of things, including rebooting the PCs, rebooting the network, disabling IPv6, etc. I'm not very experienced in Linux system administration, but I can use the terminal and am familiar with some terminal-based diagnostic tools, so if you need any additional info or want me to try something, please let me know! I've exhausted my own computer knowledge with regards to finding a solution to this problem.

View 3 Replies View Related

Ubuntu Servers :: Disable Ctrl-alt-del On Lucid Server?

May 11, 2010

I would like to disable the ctrl-alt-del feature for a Lucid Lynx server.
i found some info on how to enable this in desktop environments, however nothing explaining how to disable it for a server.

View 3 Replies View Related

Ubuntu Servers :: Apt Pinning Not Working On Lucid Server

Jul 2, 2010

I want to pull a couple of packages from Debian Testing, but I can not get apt pinning to lower the testing repo's priorityI add the testing repo to the bottom of /etc/apt/sources.lst.I then add this in /etc/apt/preferences but when I do 'sudo aptitude update' and then 'sudo aptitude full-upgrade', it wants to upgrade all packages to the versions in debian testing.

View 5 Replies View Related

Ubuntu Servers :: Puppetmaster Dashboard On Lucid Server?

Oct 5, 2010

Anyone have a tutorial to get puppetmaster and Puppet Dashboard installed? It is way over my head. Requires knowledge of ruby, apache2 passenger module, etc.

Quote: [URL]... Puppet Dashboard Overview The Puppet Dashboard is a web interface for Puppet, an open source system configuration management tool. The Puppet Dashboard currently displays reports with the detailed status and history of Puppet-managed servers (nodes), and can assign Puppet classes and parameters to them.

View 2 Replies View Related

Ubuntu Servers :: RAID AFU / Server Won't Boot After Upgrading To Lucid RC1?

Apr 22, 2010

Ran 'do-release-upgrade -d'on my server running Hardy.No problems during the upgrade.Rebooted after the upgrade completed, and I was presented with the new plymouth screen. This sucks for servers.It sat there displaying the logo for ~5 minutes.Hit CTRL+ALT+F1 through F8 and didn't see anything on the virtual consoles.Finally figured out that I had to hit ESC on the plymouth screen to actually see what was going on.It said /dev/sdi1 had problems along with /dev/md0.It sat there forever with no fsck status and no HDD lights blinking.

SysRq+REISUB and tweaked the boot parameter to remove 'quiet splash' and appended 'S' for single-user mode.Got the attached screenshot.The box has been sitting like this for ~15 minutes.Not entirely sure what to report a bug against at the moment. Plus the somewhat-new requirement of running 'ubuntu-bug' is pretty retarded in this situation. (Yeah, I know I can add some string to the URL to get around it.Why is it such a pain in the *** to report a bug?)I'm going to do some more digging to try and find out what is dying during boot.The new boot process is a bit of a mystery to me still, so if anyone has pointers or any devs want more detailed information,

View 8 Replies View Related

Ubuntu Servers :: Get Lucid Login Info Into A Hardy Server?

Jun 5, 2010

I have a new lucid server. When I login to it via ssh it shows:

Code:
Linux syn 2.6.32-22-server #36-Ubuntu SMP Thu Jun 3 20:38:33 UTC 2010 x86_64 GNU/Linux
Ubuntu 10.04 LTS

[code]....

View 3 Replies View Related

Ubuntu Servers :: Set Up Opendkim And Postfix On Lucid Lynx 10.04 Server?

Jun 14, 2010

I just installed opendkim but I have no idea how to set it up.

View 2 Replies View Related

Ubuntu Installation :: Upgraded From Karmic To Lucid - Not Seeing External And Internal HDD

May 1, 2010

I did receive a few errors during upgrade process, one of which was relating to GRUB.

I currently have 2 internal disks, my primary has OS on it, 80GB, secondary is 500gb, both are ect4 filesystem.

My external is 500 firewire 400 and NTFS.

Contents of my /etc/fstab/

Code:

Not seeing any mount points for my internal and external drives

sudo fdisk -l reveals the following info:

Code:

View 2 Replies View Related







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