kosmo

Well-Known Member
Verifed Vendor
Aug 12, 2001
400
0
316
All over Europe
small investigation:

in /usr/local/cpanel/3rdparty/mailman/cgi-bin :

drwxrwsr-x 2 mailman mailman 4096 Mar 7 06:41 ./
drwxrwsr-x 18 mailman mailman 4096 Dec 2 19:41 ../
-rwxrwsr-x 1 mailman mailman 30858 Mar 7 00:55 admin*
-rwxrwsr-x 1 mailman mailman 30862 Mar 7 00:55 admindb*
-rwxrwsr-x 1 mailman mailman 30870 Mar 7 00:55 archives*
-rwxrwsr-x 1 mailman mailman 30870 Mar 7 00:55 edithtml*
-rwxrwsr-x 1 mailman mailman 30878 Mar 7 00:55 handle_opts*
-rwxrwsr-x 1 mailman mailman 30870 Mar 7 00:55 listinfo*
-rwx------ 1 root mailman 13 Mar 7 06:41 mysql_do*
-rwxrwsr-x 1 mailman mailman 30862 Mar 7 00:55 options*
-rwxrwsr-x 1 mailman mailman 30862 Mar 7 00:55 private*
-rwxrwsr-x 1 mailman mailman 30858 Mar 7 00:55 roster*
-rwxrwsr-x 1 mailman mailman 30874 Mar 7 00:55 subscribe*

It is not very funny that all files (except mysql_do) have almost the same size. They look to me like corrupted. A vi anyfile shows things like:

^?ELF^A^A^A^@^@^@^@^@^@^@^@^@^B^@^C^@^A^@^@^@à~F^D^H4^@^@^@di^@^@^@^@^@^@4^@

etc

Any advice?
 

Robert

Member
Aug 14, 2001
20
0
301
I have given up on it - Ventures Online offered no help other than suexec seems to break more things than it fixes. More support was offered here but not in a real time mode.

Since I had clients who couldn't access their list(s) I have turned suexec back off.

What a crock.
 

kosmo

Well-Known Member
Verifed Vendor
Aug 12, 2001
400
0
316
All over Europe
How turn suexec off? (please detailed for idiots). Will other scripts that use suexec break if I turn it off for mailman?

sigh
 
B

bdraco

Guest
Run /scripts/fixmailmanwithsuexec
[b:75bdbcf715]Move the vhost it creates in httpd.conf to the top of all the vhosts
restart httpd[/b:75bdbcf715]

If this doesn't work verify that the A entry for the hostname of the server actually points to the first ip at eth0 on the server.
 

hostbet

Well-Known Member
Aug 13, 2001
80
0
306
Still the same problem!

500
[b:a4c5d6d87e]Internal Server Error[/b:a4c5d6d87e]
The server encountered an internal error or misconfiguration and was unable to complete your request.
 
B

bdraco

Guest
[quote:c64c851590][i:c64c851590]Originally posted by hostbet[/i:c64c851590]

Still the same problem!

500
[b:c64c851590]Internal Server Error[/b:c64c851590]
The server encountered an internal error or misconfiguration and was unable to complete your request.[/quote:c64c851590]

Send me your ip and root pass to [email protected] and I will fix it for you.
 
B

bdraco

Guest
I just ran /scripts/fixmailmansuexec move the vhosted it created to the top of all the vhosts and it works..


http://freedom.hostbet.net/mailman/admin/abuse_hostbet.com
 

wadearnold

Well-Known Member
Jan 13, 2002
111
0
316
Trying to fix the same error

I am having some of the same problems with mailman and this is what I have done to try and fix it.

I have suexec enabled on my server:
My first A record for dns shows:
&eccentrichosting.net. 14400 IN A 216.218.233.238&

eth0 is running 216.218.233.238

This is the top of my virtual host section. I added this by running /scripts/fixmailmanwithsuexec and then moving the virtual host to the top of httpd.conf

NameVirtualHost 216.218.233.238:80
Alias /bandwidth/ /usr/local/bandmin/htdocs/

&VirtualHost 216.218.233.238&
ServerName genesis.eccentrichosting.net
DocumentRoot /usr/local/apache/htdocs
&/VirtualHost&


Then I ran:
/scripts/fixsuexeccgiscripts
Scanning suexec_log.Done

Double check mailman perms:
bash-2.04# /usr/local/cpanel/3rdparty/mailman/bin/check_perms
No problems found

I still get the error:
[Mon Mar 11 01:00:09 2002] [error] [client 12.219.25.66] Premature end of script headers: /usr/local/cpanel/3rdparty/mailman/cgi-bin/admindb

I get this when I click on the email link that is sent to me when an admin request is needed. I can get to the admin page if I type the host name &genesis& in front of the url:
http://eccentrichosting.net/mailman/admindb/all_eccentrichosting.net

I have read through this article and have done everything that it says to do:
http://support.cpanel.net/obb/read.php?TID=1827

Any additional help would be greatly appreciated!
Cheers;
wade
 
B

bdraco

Guest
[quote:fdcc11e8c7][i:fdcc11e8c7]Originally posted by wadearnold[/i:fdcc11e8c7]

I am having some of the same problems with mailman and this is what I have done to try and fix it.

I have suexec enabled on my server:
My first A record for dns shows:
&eccentrichosting.net. 14400 IN A 216.218.233.238&

eth0 is running 216.218.233.238

This is the top of my virtual host section. I added this by running /scripts/fixmailmanwithsuexec and then moving the virtual host to the top of httpd.conf

NameVirtualHost 216.218.233.238:80
Alias /bandwidth/ /usr/local/bandmin/htdocs/

&VirtualHost 216.218.233.238&
ServerName genesis.eccentrichosting.net
DocumentRoot /usr/local/apache/htdocs
&/VirtualHost&


Then I ran:
/scripts/fixsuexeccgiscripts
Scanning suexec_log.Done

Double check mailman perms:
bash-2.04# /usr/local/cpanel/3rdparty/mailman/bin/check_perms
No problems found

I still get the error:
[Mon Mar 11 01:00:09 2002] [error] [client 12.219.25.66] Premature end of script headers: /usr/local/cpanel/3rdparty/mailman/cgi-bin/admindb

I get this when I click on the email link that is sent to me when an admin request is needed. I can get to the admin page if I type the host name &genesis& in front of the url:
http://eccentrichosting.net/mailman/admindb/all_eccentrichosting.net

I have read through this article and have done everything that it says to do:
http://support.cpanel.net/obb/read.php?TID=1827

Any additional help would be greatly appreciated!
Cheers;
wade
[/quote:fdcc11e8c7]

You must access mailman from the hostname when using suexec
 

wadearnold

Well-Known Member
Jan 13, 2002
111
0
316
Is there a way to change a global configuration file in mailman so that when it sends emails out it will include the host name?
 
B

bdraco

Guest
[quote:fee5286670][i:fee5286670]Originally posted by wadearnold[/i:fee5286670]

Is there a way to change a global configuration file in mailman so that when it sends emails out it will include the host name? [/quote:fee5286670]

/scripts/fixoldlistswithsuexec
 

Curt

Well-Known Member
Oct 16, 2001
90
0
306
I am having problems getting mailmain to work on my server for the 1st time.

I am getting the 500 Internal error problem also. I tried running /scripts/fixsuexeccgiscripts but I do not have that script on my server.

What next?

Thanks!
 

Curt

Well-Known Member
Oct 16, 2001
90
0
306
I finally got it to work!

Thanks!
 

HOSTFORWEB

Well-Known Member
PartnerNOC
Feb 6, 2002
94
0
306
So, mailman is working if using server's hostname.
But how users can use it??? They will always will use it with theirs domain names and get 500 error as cpanel point the url them. So is there any way to fix it?
 

creos

Active Member
May 11, 2003
36
0
156
San Jose, CA
Anyone ever figure this out?

I'm having the same problem using the latest cp builds.

cPanel.net Support Ticket Number: