CGI, SSI Won't Work
May 29, 2009
I'm having exec cgi issues,
CentOS 5.3 x86_64, Linux, Apache/2.0.63,
cPanel 11.24.4-R36167 - WHM 11.24.2 - X 3.9
Error is,
[an error occurred while processing this directive]
If I "uncheck" IncludesNOEXEC in Apache Global Configuration the error disappears, but the SSI doesn't work. If I check it the error is there, but the SSI works.
Here's what I have done so far,
Through WHM,
Main >> Service Configuration >> Apache Configuration,
Pre Main Include, Pre VirtualHost Include, Post VirtualHost Include,
I added,
Options +Includes
AddType text/html .htm
AddType text/html .html
AddOutputFilter INCLUDES .htm
AddOutputFilter INCLUDES .html
Options +ExecCGI
AddHandler cgi-script .cgi .pl
I also added this to the httpd.conf
<Directory "/">
Options +ExecCGI FollowSymLinks Includes IncludesNOEXEC Indexes -MultiViews SymLinksIfOwnerMatch
AllowOverride All
</Directory>
Options +ExecCGI
AddHandler cgi-script .cgi .pl
Then I tried,
Options +ExecCGI
AddHandler cgi-script .cgi .pl
in the .htaccess file
View 0 Replies
ADVERTISEMENT
Nov 25, 2007
when I try to go to a site of mine with the www like this one [url] It won't work but if I take out the www like this[url]it does work.
I'm not sure what could be causing this. As far as I'm aware everything is setup okay. I understand it's impossible for anyone who reads this to properly diagnose the issue without access to my server.
View 6 Replies
View Related
Jun 17, 2009
I've got the latest grsec stable, but i'm having a problem with getting ip_conntrack working.
I did the following with make menuconfig after copying my default kernels config file...
Networking -> Networking support -> Networking options -> Network packet filtering
framework (Netfilter) -> Core Netfilter -> Configuration -> Netfilter Xtables support
(required for ip_tables) -> "conntrack" connection tracking match support.
After a compile and reboot:
error: "net.ipv4.netfilter.ip_conntrack_generic_timeout" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_icmp_timeout" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_close" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_time_wait" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_last_ack" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_close_wait" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_fin_wait" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_established" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_recv" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_tcp_timeout_syn_sent" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_udp_timeout" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_udp_timeout_stream" is an unknown key
error: "net.ipv4.netfilter.ip_conntrack_max" is an unknown key
error: "net.ipv4.ip_conntrack_max" is an unknown key
I did a ls on /lib/modules/2.6.27.10-grsec/kernel/net/ipv4/netfilter and dont see the modules that i see in the default kernels...
View 5 Replies
View Related
Mar 6, 2007
I have complied exim 4.66 version using the source, now i do not seem to make it work
i am getting the fallowing error when i try send mail
$ exim xxx@xxxx.xxx
test
2007-03-06 12:36:44 1HOeWd-0000SH-EZ Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12
2007-03-06 12:36:44 1HOeWd-0000SH-EZ Failed to create spool file /var/spool/exim/input//1HOeWd-0000SH-EZ-D: Permission denied
2007-03-06 12:36:44 1HOeWd-0000SH-EZ Cannot open main log file "/var/log/exim/mainlog": Permission denied: euid=8 egid=12
exim: could not open panic log - aborting: see message(s) above
when i do $ service exim restart the service fail to stop and but starts OK.
there is no control panel installed on the box.
View 5 Replies
View Related
May 31, 2008
I'm running Plesk 8.4.0 and for whatever reason apparently IonCube didn't come pre installed or wasn't working so I tried installing it which is just getting the .so files and adding it to the php.ini that didn't work so I tried Zend the installer said it was complete but again no go. So I have this for an error
[root@liquidwind ~]# php -v
Failed loading /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: undefined symbol: zend_unmangle_property_name_ex
Failed loading /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: /usr/lib/php/modules/php_ioncube_loader_lin_5.1.so: undefined symbol: zend_unmangle_property_name_ex
Failed loading /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so: /usr/local/Zend/lib/Optimizer-3.3.3/php-5.2.x/ZendOptimizer.so: cannot restore segment prot after reloc: Permission denied
PHP 5.2.5 (cli) (built: Jan 19 2008 10:30:38)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2007 Zend Technologies
with Zend Extension Manager v1.2.2, Copyright (c) 2003-2007, by Zend Technologies
[root@liquidwind ~]#
View 14 Replies
View Related
Oct 13, 2009
i am having an issue with my vps recently my ftp is down and i cant restart my ftp not sure how i can get this fix.
View 8 Replies
View Related
Jun 2, 2008
I'm having issues after changing my system time and rebooting for whatever reason it didn't take effect but now my VMWare servers wont boot. I get this error when trying to run a vmware-cmd
[root@plexus ~]# /usr/bin/vmware-cmd -l
/usr/bin/vmware-cmd: Could not connect to vmware-authd
(VMControl error -14: Unexpected response from vmware-authd: 511 Error connecting to /usr/sbin/vmware-serverd process.)
[root@plexus ~]#
also when i try logging into the web interface same error.
View 5 Replies
View Related
Jun 27, 2009
I've got a small box running as a fileserver with CentOS 5. Sometimes life is a little easier using a GUI for jobs rather than SSH.
As this is not accessible externally, I've got it to autologin to a non-privilaged user, and as part of that logon a VNC session is opened using the inbuilt remote desktop tool.
This was working perfectly, until I realised if I cold boot the server without a monitor attached, X11 wont start at all unless I attach a monitor to it.
I know I can start a VNC session from using vncserver, but this way allows me to logon to the server as if I was sat infront of it, rather than running an extra session.
Presumabley I can add something into /etc/X11/xorg.conf so X11 will start without a monitor hooked up?
View 1 Replies
View Related
Jan 25, 2008
I keep trying to restart Apache but it wont restart... I run a command line to restart it, but nothing happens. Here is what I have tried:
Quote:
-bash-3.1# chroot /home/fatehost.net/runtime_layeredpanel/
fatehost:/# /etc/
bash: /etc/: is a directory
fatehost:/# /etc/init.d
bash: /etc/init.d: is a directory
fatehost:/# /etc/init.d/httpd-users
Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/# /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 5955) already running
.
fatehost:/# /etc/init.d/httpd-users force-reload
Forcing reload of web server: Apache2.
fatehost:/# /etc/init.d/httpd force-reload
Forcing reload of web server: Apache2.
fatehost:/# /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 13475) already running
.
fatehost:/#
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/# /etc/init.d/httpd-users stop
Stopping web server: Apache2.
fatehost:/#
fatehost:/# /etc/init.d/httpd-users start
Starting web server: Apache2(98)Address already in use: make_sock: could not bind to address 205.209.135.132:80
no listening sockets available, shutting down
Unable to open logs
fatehost:/#
fatehost:/# sudo /etc/init.d/httpd-users stop
bash: sudo: command not found
fatehost:/# su root /etc/init.d/httpd-users restart
Forcing reload of web server: Apache2httpd (pid 20391) already running
.
fatehost:/# /etc/init.d/httpd-users reboot
Usage: /etc/init.d/apache2 start|stop|restart|reload|force-reload
fatehost:/# reboot
WARNING: could not determine runlevel - doing soft reboot
(it's better to use shutdown instead of reboot from the command line)
shutdown: timeout opening/writing control channel /dev/initctl
init: timeout opening/writing control channel /dev/initctl
fatehost:/# WARNING: could not determine runlevel - doing soft reboot
bash: WARNING:: command not found
fatehost:/# (it's better to use shutdown instead of reboot from the command line)
> shutdown: timeout opening/writing control channel /dev/initctl
> init: timeout opening/writing control channel /dev/initctl
>
fatehost:/# /home/fatehost.net/runtime_layeredpanel
bash: /home/fatehost.net/runtime_layeredpanel: No such file or directory
fatehost:/#
View 6 Replies
View Related
Nov 15, 2007
to implement a chat but I need that it wont overwhelm the server if is easy to set up it would be even better!
I am trying phpfreechat which uses ajax files as container, is that method better than using mysql as a acontainer?
View 3 Replies
View Related
Jun 27, 2009
I have this problem today after a fresh install...
I think its maybe i havent dont it proper im not sure..
But a client joined today and i have new account created auto after payment and well it says in the whmcs the user has an login and password but when i tried to login with it it said login failed
Also it trys to login to whm not cpanel with the account, even tho its set up as shared hosting in products...
the login link is : [url]( i removed name for security)
View 4 Replies
View Related
Oct 10, 2009
So this is a new problem for me, and I have no idea what could be broken?
My server works, but none of the sites load.
Server ip is 69.162.121.170, one of the sites is bloghost.cl
Where should I start looking? When you try to visit the site it just tells you it cant establish a connection. All I did was restart the server today, and now nothing works
View 3 Replies
View Related
Jan 23, 2009
We know the problem with geekstorage that their vps nodes are oversold.
i asked for a refund for the months i havent use yet, and they wont refund me, they just say that i will get credit, but i think it is not fair he can not hold my money for a service that has not been provided yet, im not asking for a full refund, just for the months i prepaid
i have 268 dollars in favor, i offer a deal to jay to just refund me 218 dollars instead of 268, and now he is not responding my tickets i have been waiting more than 24 hours to get a response
View 14 Replies
View Related
Jun 13, 2007
One of my customers has been having a problem with his index files not showing up. It'll display the parent directory, and you can clearly see the index.html file in there, but it won't show it as the index.
It happened in one directory, and I went into .htaccess and did DirectoryIndex index.php.... but now i'm wondering if its part of a bigger problem, because its happening to other folders now.
View 6 Replies
View Related
Apr 6, 2009
I built a web hosting server, the following is its state
Cent os 5
AMP server loaded updated (installed it as a complete suite during installation so it was all set to go with php mysql modules loaded)
webmin
usermin virtualmin
created 2 named based hosts.
now when i load up wordpress in a site and try to run install.php
the following pops up
"Sorry, I can't write to the directory. You'll have to either change the permissions on your WordPress directory or create your wp-config.php manually."
I had this issue before and research said to redo the entire server (tried everything and was fed up had fedora then"
you can have a look at www.itgrunts.com just click create config file and the errror pops up.
The php and mysql db work great on simple scripts but i dont know why this happens.
i worked with assigning the users and apache user to the directory and everything, no joy.
View 6 Replies
View Related
Apr 6, 2008
[root@server1 ~]# service httpd start
no listening sockets available, shutting down
Unable to open logs
CENTOS Enterprise 4.6 i686 on standard - WHM X v3.1.0
apache 2.2
httpd.conf file was empty... I'm recompiling right now.
View 3 Replies
View Related
Jul 17, 2008
An automatic backup in plesk has filled up the disk space in my VPS. It seemed to crash first of all - couldn't access my website, then i tried to restart it. It wont restart and comes up with the error below.
As i can't get into plesk i don't know how to delete these old backup files, seem to be in a catch 22. Help
Jul 17, 2008 01:05:33 PM Start Process Completed
Jul 17, 2008 01:05:33 PM Click here to open/close operation details.Start VPS #48606643 Failed
Jul 17, 2008 01:05:33 PM Operation start with the VPS(s) VEID48606643 is started.
Jul 17, 2008 01:05:33 PM Starting VE ...
Jul 17, 2008 01:05:33 PM vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244]
Jul 17, 2008 01:05:33 PM VE is mounted
Jul 17, 2008 01:05:33 PM Setting devperms 20002 dev 0x7f00
Jul 17, 2008 01:05:33 PM Setting devperms 20007 dev 0xac8
Jul 17, 2008 01:05:33 PM Adding port redirection to VE(1): 4643 8443
Jul 17, 2008 01:05:33 PM Adding IP address(es): 212.227.251.151
Jul 17, 2008 01:05:34 PM ERROR: Can't write to file /etc/sysconfig/network-scripts/ifcfg-venet0
Jul 17, 2008 01:05:34 PM bash: line 264: echo: write error: Disk quota exceeded
Jul 17, 2008 01:05:35 PM vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244]
Jul 17, 2008 01:05:35 PM VE is unmounted
Jul 17, 2008 01:05:35 PM VE start failed
Jul 17, 2008 01:05:35 PM Operation start with the VPS(s) VEID48606643 is finished with errors: #1004 Error invoking vzctl utility: Starting VE ... vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244] VE is mounted Setting devperms 20002 dev 0x7f00 Setting devperms 20007 dev 0xac8 Adding port redirection to VE(1): 4643 8443 Adding IP address(es): 212.227.251.151 ERROR: Can't write to file /etc/sysconfig/network-scripts/ifcfg-venet0 bash: line 264: echo: write error: Disk quota exceeded vzquota : (warning) block_soft_limit [10000100] < block_current_usage [10099244] VE is unmounted VE start failed . Failed
Jul 17, 2008 01:05:35 PM Complete Process Failed
View 4 Replies
View Related
May 30, 2009
im using centOS 5 with webmin in my vps.
im installing webmin and do this: [Apache Webserver] / select [Default Server]
and my website work fine ,
but when i check my web site for example
[url]not working!
[url]Work fine!
how i can solve problem
work with www and without www.
View 3 Replies
View Related
Jan 25, 2007
I got a vps and I dont really understand how ram works but my sites arent really that big yet actually not at all at least teh ones on the vps. I am using directadmin as the panel.
I am using 279mb.
View 4 Replies
View Related
Jan 2, 2007
I installed GD via yum. Yet I cant get it to work I get all kinds of error's like libpng is missing then I got libXpm is missing, then freetype is missing yet all the libs exsist,
View 4 Replies
View Related
Aug 29, 2007
After spending nearly 4 days trying to get ftp working on my server i still haven't achieved it. I got a server with a default install of plesk and cent os 4. I update to 8.2 and when i first go to try ftp it says "server closed connection" on my ftp client.
So then i tried updating 8.2 again and the installer failed. So i tried manually installing both proftpd and pureftpd via ssh and yum and it fails to install. I've also restarted the server a few times. I've tried logging in with every single username/domain/i.p. assigned to the server. and i've had no luck.
View 11 Replies
View Related
Apr 23, 2007
I installed Lighttpd + PHP 5.2.1 with FastCGI
Any php page that starts with <?php is working fine..
but when the page starts with only <?, it does not work
View 6 Replies
View Related
Mar 5, 2007
how does SSH work and really what is it.
This is my knowledge, I may be wrong or right:
There are two ways of controlling your server, through control panel and through SSH, now SSH is where you type in codes to control your server.
Now from what I know you can't login to SSH alot due to security reasons.
I was wondering, if I have a forum can I login to SSH everyday to back up the database?
View 2 Replies
View Related
Apr 2, 2006
Whenever I tried to upload large files to my server it restarts the upload again and again and never actually uploads. It just keeps overwriting the previous file. I don't get any errors? It just automatically reuploads and overwrites the files everytime.
View 2 Replies
View Related
May 28, 2009
My site is under DDOS attack. I run this command
netstat -an | grep :80 | grep ffff | awk '{print $5}' | cut -f 4 -d : | sort | uniq -c | sort -n | tail -10
And find a lot of IP that are attacking. After that, i run
iptables -A INPUT -s xxx -j DROP
to block IP, and
service iptables save
service iptables restart
But when i run netstat command abouve, i found IP are attacking still available, it seem iptables don't block it?
View 5 Replies
View Related
Oct 3, 2009
I would like to know how servers work, like how to build, set up, and how they work, what software is in them? Also could I own a server and send them to a data center and host them there?
Also a little infomation on Data Center. Could you share me some knowlage.
View 13 Replies
View Related
Jul 22, 2009
some clarification with regards to Reverse DNS.
An example ip: xx.xxx.xxx.xx is owned by A Company via a DC. The they have their name allocated to the netname and description when i look up their ip address.
I have my ip xx.xxx.xxx.xx this is me and it currently contains my DC's name throughout when i look it up as the description and netname...
Both are from the same DC however the other company has their name allocated to the ip address and i would like to do the same. Does this require Reverse DNS? It dosent involve domains surely does it?
View 6 Replies
View Related
Jul 9, 2009
I try to install wordpress on my dedicated server but in the begin i get this error:
Your PHP installation appears to be missing the MySQL extension which is required by WordPress
I have centos 5.3 and i have run the command: service mysql start
But i think mysql server is not running, because i have kloxo and from the panel i can see what servers are running.
View 14 Replies
View Related
Oct 28, 2009
I have been using apache and php-cgi and it works well together but when I tried to use
mod_rewrite it stopped working and I got "Internal Server Error" result.
Apache error log showed "FastCGI: incomplete headers (0 bytes) received from server"
I think that mod_rewrite rules are ok because when I refer to some HTML file then it all works.
Apache 2.2.14 and php 5.2.11
View 5 Replies
View Related
Mar 15, 2009
I have taken a order from them for 5 Days,but no response from them except a auto comfirmation email,what is wrong with SharkTech?
View 7 Replies
View Related
Oct 28, 2009
I was working with my server until 30 min ago. suddenly public IP addresses stopped working. I have access to the server directly from the console and local IPs with putty.
View 7 Replies
View Related