LXADMIN :: SummarySELinux Is Preventing From Loading ..requires Text Relocation.
Jun 20, 2008
I am currently installing lxadmin in my webserver, but during the intallation i received a alert message from my "settroubleshootebrowser" saying:
SummarySELinux is preventing /usr/local/lxlabs/ext/php/php from loading /usr/local/lxlabs/ext/php/lib/mysql.so which requires text relocation.
Allowing AccessIf you trust:
/usr/local/lxlabs/ext/php/lib/mysql.so to run correctly, you can change the file context to textrel_shlib_t. "chcon -t textrel_shlib_t /usr/local/lxlabs/ext/php/lib/mysql.so"The following command will allow this access:chcon -t textrel_shlib_t /usr/local/lxlabs/ext/php/lib/mysql.so
This message was for thwe SQL and Zend optimizer.
My Question is, where do i find the "chcon -t textrel_shlib_t" file allow access?
View 3 Replies
ADVERTISEMENT
Jul 28, 2008
I can't get SELinux to let httpd load the IonCube module for PHP. I've given the CentOS 5 forum a try (here: http://www.centos.org/modules/newbb/...15403&forum=42), talked with WHMCS's support (the app I'm using that needs it), and even opened a ticket with IonCube. Unfortunately nobody seems to know how to tell SELinux to let httpd "exec" modules.
I'm running CentOS 5, and the error I'm getting in /var/log/messages is:
Jul 23 10:15:30 host kernel: audit(1216833330.905:1249): avc: denied { execheap } for pid=22055 comm="httpd" scontext=root:system_r:httpd_t:s0 tcontext=root:system_r:httpd_t:s0 tclass=process
I can disable SELinux and it works fine (setenforce 0), but that's not the solution I'm looking for. Can someone please tell me how to do this the *right* way?
View 11 Replies
View Related
May 26, 2009
we are moving a website to a different provider. Can someone recommend some free software to back up the site (with ftp)?
View 8 Replies
View Related
Dec 5, 2008
I have been having soooo many issues with this new server
It is nothing against my host; but now the videos aren't loading or loading so slow
What could be the issue? It would have to be a server issue, correct?
The site is nsfw but it is ftw (hint hint) , it is an adult site and I don't know if
View 11 Replies
View Related
May 11, 2009
I rebuilt my VPS (again) today and noticed something different. Instead of the usual "Install LxAdmin" icon in HyperVM I read "Install Kloxo."
I looked at the demo and everything looked the same. Has anyone noticed any definite differences between the two? Has anything significant changed apart from the name?
View 3 Replies
View Related
May 12, 2009
What is the technical obligation to have a dedicated IP address for SSL?
Can a different SSL certificate not just be setup for each vhost individually? The certs are based on hostname, right?
what's stopping me from using one IP per server as opposed to one IP per website for active services/projects.
View 6 Replies
View Related
Aug 8, 2008
We host for a company that has its email on another server. Everything works fine with the DNS changes already made.
However, Outlook has an autodiscover feature that requires an additional DNS entry and I am at a loss as to what record type to use.
They had it set up on their old host as:
autodiscover.lif?.com to point to "autodiscoverredirect003.in?.net"
Does anyone know which record type to use for this?
View 0 Replies
View Related
Apr 4, 2007
I'm just wondering what a few good techniques to prevent DDoS would be. What causes them? How can I protect my server against them? I noticed that Apache has something called mod_evasive which helps against them. Does lighttpd have something like this?
View 9 Replies
View Related
May 31, 2009
I'm used to CPanel in which I can access phpMyAdmin without getting prompted for an additional login. With DirectAdmin, when I access phpMyAdmin I get a popup asking me for username/password. Is this standard behavior, or something with my DirectAdmin config? I prefer not having to type in an additional login to access phpMyAdmin.
View 4 Replies
View Related
Jul 22, 2008
Is there a way to prevent a certain service from taking up a certain amount of load on the server?
Like, shouldn't there be a way I can tell gzip or exim how much server load they are allowed to take up on my server?
I know it may run them slower, but it will be for the better if I could set each one to only be able to have a max load peak or something.
View 7 Replies
View Related
Sep 15, 2007
The images I am trying to block are on page generated by a simple PHP script on my server. The offender has replicated what I am doing with ASP on their server. They are hotlinking to my images for the resulting page. They left my website's name on them, so they must think that giving credit is enough.
I'm going to be contacting them to stop but I also want to see if there is a way for me to prevent it from happening in the first place.
I tried mod_rewrite...
Code:
RewriteEngine on
RewriteCond %{HTTP_REFERER} !^$
RewriteCond %{HTTP_REFERER} !^[url].*$ [NC]
RewriteRule .(gif|jpg)$ - [F]
I know mod_rewrite works on my server because I've been using it for some other things.
However, whenever I enable the above code (add it to the directives and restart apache - have also tried just putting it in a .htaccess file in the appropriate directory), I end up with images still being allowed on my domain and the other domain I'm trying to stop from using my images. Do you think it could have to do with an absent referrer? I read that the code doesn't work if the referrer is blank. What else would cause this not to work? Obviously the domain would have to be correct, but it doesn't block from my domain OR the offending domain.
I tried another method:
Code:
<FilesMatch ".(gif¦jpg¦png)$">
SetEnvIfNoCase Referer ^$ allow_image
SetEnvIfNoCase Referer ^[url] allow_image
Order Deny,Allow
Deny from all
Allow from env=allow_image
</FilesMatch>
This one blocked images to the offending domain, but it also blocked mine!
View 3 Replies
View Related
Sep 22, 2007
I am currently using IPB as my forum software. I've enabled admin validation only for registrations, to combat the increasing amount of spam signups. I see a lot of .ru and .cn email signups, or other suspicious signups, which I always delete.
What is the best way to combat these spammers?
I've been considering something like WHT uses, that you need X posts before being able to post links, how can I accomplish this with IPB?
View 6 Replies
View Related
Feb 18, 2007
I am running a hosting service. Recently a user put a phishing site on the server, pretending to be an eBay signup page and soliciting passwords. I had all kind of truble with this, because eBay complained to my server company.
I would like to ask if you know any solution what would block such sites automatically?
It could search for some predefined texts on the page (such as "sign in to eBay") and block the page if they are found. I wasn't able to find anything in Apache documentation.
View 6 Replies
View Related
May 20, 2014
I have a freshly installed 'Microsoft Windows Server 2008 R2 Service Pack 1' VPS with Plesk 11.5.30.When installing certain applications (for example, Dolphin, Elgg), it halts with the following error message: Requirements: Apache module - The app requires the 'rewrite' web server module
When I check in Windows IIS Manager under Modules, I see RewriteModule is installed as a native module.When checking the KB about this issue: URL..it says to enable the rewrite module by ticking it in the 'Configure native modules' box.However, that module is not even listed there, even though it clearly is listed in the main module overview as a native module.
Also, in Plesk > Tools & Settings > Server Management > Panel Components, URL rewrite is also listed: URL Rewrite [Active] IIS URL Rewrite Module 2 7.2.2
View 1 Replies
View Related
Oct 11, 2007
I am having this problem my mail server does not work i am having this message: 500 Bloody Amateur! Proper forging of mail requires recognizable SMTP commands!
View 2 Replies
View Related
Nov 27, 2013
Why this error might have started to appear? I am fairly new to apache and was trying to harden it up.
I am use CentOS:
Server version: Apache/2.2.25 (Unix)
Server built: Oct 7 2013 17:21:18
Cpanel::Easy::Apache v3.22.14 rev9999
I was trying to add a group to control access to specific groups to enforce some security:
chown -R root:root /usr/local/apache/bin
chmod -R 770 /usr/local/apache/bin
chown -R root:root /usr/local/apache/conf
chmod -R 770 /usr/local/apache/conf
groupadd apacheadmin
groupadd apache
useradd -d /usr/local/apache/htdocs -g apache -s /bin/false apache
I think this is a permission issue.
View 1 Replies
View Related
Jun 5, 2014
PRODUCT, VERSION, MICROUPDATE, OPERATING SYSTEM, ARCHITECTURE
Plesk Panel 11.5.30#46
Centos 6.5
AuthenticAMD, AMD Opteron(TM) Processor 6272
PROBLEM DESCRIPTION
Upon a shutdown or reboot, the system shuts down sw-collectd. Further along, it will end wdcollect and the following will occur:
init: psa-wdcollect main process (pid) killed by KILL signal
init: psa-wdcollect main process ended, respawning
wdcollect[pid]: Language en-US is used for sending e-mail messages.
wdcollect[pid]: Failed to connect to database server during the startup. New attempts will be made if needed.
wdcollect[pid]: Server started
I believe this is preventing the un-mounting of drives which in the end freezes the shutdown process on:
Please stand by while rebooting the system...
After this occurs, I have to force the VM off and then boot again.
I have tried the following:[URL] .....
View 1 Replies
View Related
Feb 17, 2015
If you rename a domain, fail2ban will stop working, since it still tries to open the old path the the web access log.
One workaround is to restart the server after renaming the domain, then fail2ban paths are updated.
I'm using plesk 12.0.18.
View 8 Replies
View Related
May 1, 2007
Say, I have a page:
say in the website of index.html there are things like
<img src="somepics.jpg">
Is there a way to set in .htaccess that we can ensure that only index.html is called?
So I do not want the client to call every image and every css file there?
How to do so?
View 5 Replies
View Related
Jan 2, 2007
I have a link on a site as follows: destinationsite.com/index.php?kw=test
This url is obviously going to appear in the browser window's Address bar, when the person reaches the destination page.
Is there any way to have it change the url so that the kw=test does not appear? Please bear in mind that I will not be able to change the link that the person clicks since it is with an advertising company.
View 3 Replies
View Related
Apr 12, 2007
my whole site is secure and inside a secure folder and I am going to be moving the majority of the site over to a non-secure folder. but I need to find all the absolute links and change the https to http. I hope I dont have to check each page one by one.
so I was wondering if there was a way to search everypage on my server for any file containing "https"?
View 1 Replies
View Related
Jun 19, 2008
way to convert and add some text(watermark) to videos in Linux.
I know ffmpeg can be used to convert video but i does not add text or water mark to video.
So what are my options?
View 3 Replies
View Related
Sep 19, 2007
I have a large text file (its a log file actually) and I need to truncate each line to abou 16 characters.
how I can do this in linux?
View 2 Replies
View Related
Jun 26, 2007
I have had multiple websites hacked and need to do a cleanup. I need to run a command that will log all files (including path to that file) that contain <!-- ~ --> to a text file from the /home/* directory.
So far I have recieved 2 different ways to do it but none of them have worked
View 5 Replies
View Related
Jul 25, 2007
My old VPS was hacked and an iframe html string was added to just about all the files on the server.
I've since then identified the vulnerability and moved to a new host and want to copy the accounts over but wanted to know if there was an easy way to search all the files for this html code and delete it?
For example, search all files for <iframe etc etc> and delete it?
I know this is probably rather simple...but I have no idea how to do it.
View 2 Replies
View Related