Session Errors - Php.ini Related

Aug 19, 2007

I have a Cpanel box, in WHM I used the "PHP Configuration Editor" and changed the php execution time (minor change). After clicking save I now get the following error on any php using sessions:

Warning: session_start() [function.session-start]: open(/tmp /sess_1d374c43a0f726cd43776f9f92485bec, O_RDWR) failed: No such file or directory (2) in /home/continou/public_html/control/index.php on line 4

One thing I noticed it did was turn on PHPSuexec which generally causes problems for me. I turned that off and the error response changed slightly (to above) but the problem is not solved.

I tried rebooting the server. /tmp does exist, I am now rebuilding apache in hopes that corrects the problem.

View 3 Replies


ADVERTISEMENT

Plesk 12.x / Linux :: Debian 7 Errors Related To Kaspersky Antivirus Startup Script Kavehost

Jun 17, 2015

I have Plesk 12 panel on Debian 7 server.

When I try to add service to auto start using command:
# update-rc.d nginx defaults
update-rc.d: using dependency based boot sequencing

I got error:
insserv: warning: script 'kavehost' missing LSB tags and overrides
#

View 2 Replies View Related

(error) IP Address Changed Amidst Session. Possible Session Hijacking

Oct 7, 2007

I have just got a resellers VPS and my host installed HyperVM 2.0 and when I logged in it works but then I get logout and then get this error:

IP Address Changed Amidst Session. Possible Session Hijacking.

then it takes my host admin time to fix it and now they will not do any think so i can not now use it (login). Not Good is there something I can do?

all I can think is that it is my ISP IP (Dynamic IP Address) which keeps changing.

View 13 Replies View Related

LDAP Related

Jun 28, 2009

Can a domain have two set of users.... let me explain the situation.

mydomain.com has a set of users which have admins etc etc.

can i have sub.mydomain.com with the same set of users, with different admin and restricted access to certain level.

View 5 Replies View Related

IP Addresses Related

Sep 25, 2008

1- What means that the site has an IP?, what will differ if the site has an IP?

2- What is the importance of IPs for every site?, I mean now I'm running a shared hosting, Should each site has it's dedicated IP? and is it dangerous to make all clients has same IP?

3- I got 5 IPs with my server, how can I assign a DEDICATED IP for my main site, and then assign the 2nd 2 IPs for my main site Name servers & Finally assign the rest IPs for Resellers?

4- In the domaintools whois Service, Under Server Data category, sometimes I found :
Dedicated Hosting: domain.com is hosted on a dedicated server.

what this means, and how can I make my domain looks like this , cause it's already hosted on a dedicated server.

5- When I asked my Server Co. about extra IPs, they told me:

" for smaller allocations its $1 per ip, we also require full ARIN IP justification." so, what's ARIN IP justification?

View 4 Replies View Related

Streaming Audio Related

Jun 8, 2009

I'm interested in making a site which would stream video game (RPG) audio to users through flash. I have long searched for a service that I could use to listen to that odd track from final fantasy 8 for example (and not some cheap midi) without going through hundreds of links etc. So I'm thinking of making one myself.

I know there are sites that host mass video game mp3s (gh.ffshrine.org) and also remix and host video game music (ocremix.org) but I don't know if what they are doing is OK by normal hosting standards.

if it is, <snipped>.

View 8 Replies View Related

HDD Setup (not Raid Related)

Apr 23, 2008

I have a question regarding, hard drives and performance etc... I only use it for forums and currently is only one site (hopefully couple more in no time)

Currently I have 2x36gb SAS in raid 1 obviously containing everything including dbs and /home. and a third 250gb drive for backups only ^^ Ronny did an excelent job setting this up.

Any ways, my problem is that I wan't to allow some attachments on my forums, and this would take a significant ammount of space over 1gb no problem and then keep increasing (that's gonna sux for bandwidth). I know it will fit in the SAS drives no problems, dbs are rather small at the time (2.5gb in total) but logs are quite big 5-10gbs in total.

I thought it might be a good idea to purchase another drive. This 4th drive would be 750 and backups would move there , and use the 250 for the /home directory. This would give a lot of room for uploads, and backups accordingly and keep the fast ones for OS and dbs

I was told, however, and understandebly, that a lot of performance would be lost by moving /home to a SATA drive I know SATAS are no way as fast, but then vbulletin can't upload attach files to a folder outside its hirachy (without complicated modifications).
(Note: i didn't specify my resons for wanting such set up)

So I'm in a bit of a pickle. Having the bigger drive would allow me to have the attachments, and should eventually result on more traffic etc to my site. /home currently is only 150mbs big... but then performance is also an issue pitty i couldn't afford the bigger drices at the time [sees the point of renting over buydowns now]

is there a way that /var/log/httpd saves those massive logs on another drive? it would free up 5-10gbs

in shortIs moving /home to a SATA drive from Raid 1 SAS a bad idea? (considering space and purpose)

Could httpd logs or /var/log in general be moved to the backup/another drive?

View 7 Replies View Related

Rsync Backup Related

Apr 16, 2007

Currently I am using rsync to backup directory and mysqldump sql file on both external and internal backup drive

Now the directory has around 100,000 files that hardly change. Only thing that happens in that directory is either the old files are deleted or new files are added. All of them image

Due to some reason when i rsync using any of the two commands below, it transfer each and every file again rather then transferring the new or updated files.

Here is what i am currently using

rsync -avH /old/path /destination/path (this is for internal backup drive)

or

rsync -avz -e ssh /old/path username@username.remoteaddress:/destination/path

why all my files in the directory all uploaded again

View 4 Replies View Related

Email Errors - 550 Callback Errors

Feb 13, 2007

I'm noticed I was getting bounced email errors from a company I was sending email through and I further investigated this by running a dnsreport on my domain.

Turns out that it fails at Acceptance of NULL <> sender, Acceptance of postmaster address, and Acceptance of abuse address. The domain that I ran a test on is using a new IP that I had recently added to my Direct Admin server. None of the other domains on my server are having issues like this.

Is is possible that I need to do something to enable these new IP addresses in exim? I mean, exim obviously responds to that IP address, but it seems to be having some issues with it.

View 5 Replies View Related

Iptables And Related/established Connections

Apr 11, 2009

I've got a vps running centos 5.3 on an openvz platform. I've been using a simple set of iptables rules but recently the host moved me to a new server and I'm having issues with my firewall. I'm pretty sure it's the firewall since if I stop iptables or flush the rules everything works properly.

my rules:

Code:
!/usr/bin/env iptables-restore
*filter
:FORWARD DROP [0:0]
:INPUT DROP [0:0]
:OUTPUT ACCEPT [0:0]
-A INPUT -m state --state RELATED,ESTABLISHED -j ACCEPT
-A INPUT -i lo -j ACCEPT
-A INPUT -p tcp --dport ssh -j ACCEPT
The last rule continues with all the other used protocols (pop3/dns/http/etc)

The problem is incoming connections with should be allowed from by the related,established rule aren't permitted. If I use wget,ftp,ping, or dig from my shell they all report a time out. For example dig w3.org gives no server reachable. If I capture all dns requestes with tcpdump I see the outgoing request to dns and I see the incoming data but dig still reports a timeout. Since tcpdump sits before iptables and I have no output filtering it seems that my input filter isn't seeing the related/established state of dig and allowing the results in.

But, what's the solution? Do I need to ask the vps provider for something specific? If so what?

Or is there a better way to write my iptables rules to compensate for this problem?

View 5 Replies View Related

Doubt Related To Addon Domains

Jul 8, 2008

I have read about addon domains but I have still one doubt regarding same. Suppose I have buy two domains which have no any relationship with each other like one is of my family (viralshah3112andfamily.com) and one is for my uncle's business site (xyz.com) . Now if I host them in one account as addon domain, both will have different identity? Means both will have different URL like xyz.com and viralshah3112andfamily.com. Is it so?

View 8 Replies View Related

Mod_auth_mysql And Htaccess Combination Related

Jan 13, 2007

I'm using .htaccess file and mod_auth_mysql for protection of a site, where the old users are in flat passwd file and the new ones are in DB, so i need both the standart .htpasswd check and if the user is not there check in the mysql DB

well here is how currently my htaccess file looks:
------------------------
AuthName "Password Protected Pages"
AuthType Basic
AuthUserFile /home/edited/.htpasswd

<limit GET POST PUT>
require valid-user
</limit>

AuthMySQLAuthoritative Off
AuthName "Members Only"
AuthType Basic
AuthGroupFile /dev/null
AuthMySQLHost domain-removed.com
AuthMySQLDB username-removed
AuthMySQLUser user-removed
AuthMySQLPassword edited
AuthMySQLUserTable members
AuthMySQLNameField username
AuthMySQLPasswordField password
AuthMySQLPwEncryption none
AuthMySQLUserCondition "status=1 AND siteid=2"
require valid-user

----------------
but the site doesn't accept neither the flat passwd file users, neither the ones from the nats DB, it just pop-ups the password dialog box again, whicih means that the password is not accepted

For the users i tested with i double checked that they DO exist in the htpasswd file or in the DB, so its not that

also, cause the site and the DB are on different servers, i have authorised the first one to query the mysql db at the second, so its not from that as well

i have removed the sensitive information (domains, users and passwords from the sample code i pasted here)

so...i'm totally lost here and any directions or ideas will be highly apprecicated

View 0 Replies View Related

Where Should I Find The Latest Hosting Related News

Jan 26, 2009

I am working on a survey about top hosting news website.

View 10 Replies View Related

Server Setup Related Review Sites

Feb 10, 2007

good server setup review sites, such as most optimal setups for mysql driven sites, best value setups and so on.

View 1 Replies View Related

Connection State ESTABLISHED,RELATED Is Not Working In My Iptables

Nov 13, 2008

connection state ESTABLISHED,RELATED is not working in my iptaables...?

Accept If input interface is lo
Accept If state of connection is ESTABLISHED,RELATED
Drop If protocol is ICMP
Accept If protocol is TCP and destination port is 80
Accept If protocol is TCP and destination port is 99
Accept If protocol is TCP and destination port is 25
Accept If protocol is TCP and destination port is 110
Accept If protocol is TCP and destination port is 10000
Accept If protocol is TCP and destination port is 21
Accept If protocol is TCP and destination port is 30000:30500
Accept If protocol is UDP and destination port is 53
Accept If protocol is UDP and source port is 53
Accept If protocol is TCP and destination port is 445
Accept If protocol is TCP and destination port is 2390

this in my Incoming packets rules..

Outgoing packets are all accepted..

so if i made connection from the server the input rules shuld accept them because it is established and related connection.. But it wont work.. any ideas about it..?
my vps is running on cent os 5.2 final..

and the control panel is webmin.

View 10 Replies View Related

Plesk 11.x / Windows :: Web Page Displaying Related Links

Oct 1, 2014

I was asked by a user why he only saw a page with 'related links' when he went to the web site. I checked and saw the same thing if I typed www.domain.tld. If I just typed domain.tld, the page displayed fine. In trying different things tonite, I cleared my cache and now neither url works.

I am using Parallels Plesk Panel 11.5.3. If I click the 'Preview' button on the panel, everything looks great. If I click the 'Open' button, I get the 'related links' page.Today, the shcnf.com link seems to be working fine and the 'Open' button in Parallels Plesk Panel works, but the www.shcnf.com link is still showing a 'related links' page.

My DNS settings show:

shcnf.com record type: A value: 198.144.188.31
www.shcnf.com record type: CNAME value: shcnf.com

I do not currently have a preferred domain set in my hosting settings. I tried setting one the other night with no luck, though I was also playing with the DNS settings (I tried setting www.shcnf.com to an A value with the IP, hoping to force it to work).

View 1 Replies View Related

Books Or Guides Related To The Management And Installation Of Servers And Webhosting

Aug 13, 2008

As I am going to launch unique product connected with webhosting in the near future, I would like to learn more about the tech aspects of webhosting. By tech aspects I mean for example how to setup nameservers - how they work and how to setup them, SSL, how to setup ftp etc., so, basically I am interested in all the things connected to servers.

Could you please recommend me some guides or books related to webhosting and server management. I am newbie to servers and hosting, so I would like to learn it from the ground. I am searching for some book for beginners, but I cannot find any.

View 3 Replies View Related

Plesk 11.x / Linux :: Remove Domain Alias Warns It Will Delete All Related Files

Sep 2, 2013

I think the wrong text is displayed for the option "Remove Domain Alias".

In Plesk 11.5.30 Update #13, in a Webspace, on the Websites & Domains tab, if I click an alias, a window appears for the alias with the option to "Remove Domain Alias". If I move the cursor over the text "Remove Domain Alias", or click on the link, I see a pop-up: Removing this website will also delete all related files, directories, and web applications from the server.

I think this is incorrect because removing an alias should not remove any files, directories, and web applications.

View 3 Replies View Related

Hide (Apache Configuration Files) Related Messages From Plesk Customers / Resellers

Nov 25, 2014

How to hide from our clients (end users: Plesk customers/resellers) any message related to Apache configuration files failed, like this one:

"Error: Web server configuration for some of your domains may be inconsistent. Please contact server administrator to resolve the problem."

We already see the message within Plesk admin interface, so our customers don't really need to see that, as there's nothing they can do for that.

View 1 Replies View Related

Session Directory

Oct 30, 2008

I need to make this writeable but I can't find it on my server with my FTPclient. Can someone tell me what it is and where it's likely to be?

Maybe I have to create one?

View 1 Replies View Related

Session Error

Feb 5, 2007

I have a large survey (I use phpsurveyor) on my reseller webdomain running. It takes about 30 minutes to fill in the complete survey. After 24 minutes my respondents get a session error and their data is lost.

I tried to solve this with a .htaccess

php_value max_execution_time 600
php_value session.gc_maxlifetime 3000
php_value session.cookie_lifetime 3000

With phpinfo.php I can see that the Local Values are session.gc_maxlifetime 3000 and session.cookie_lifetime 3000.

View 1 Replies View Related

Session Issue

Feb 6, 2007

I have got error:

Code:
Warning: session_start() [function.session-start]: Cannot send session cache limiter -
headers already sent (output started at /home/myhope/public_html/pro/index.php:1) in /home/myhope/public_html/pro/index.php on line 2

View 1 Replies View Related

Session.save_path

Jan 13, 2007

It could've gone into the php section as well...I think.

I got a dedicated server 2 days ago, but the "session.save_path" is not set. What I did was create a "php.ini" file, put the following code into it and uploaded it to my public directory.

Quote:

session.save_path = "/var/www/vhosts/contrid.com/subdomains/projects/httpdocs/tmp"

...but I'm not sure if this is right.
Unfortunately it doesn't work, therefore I'm making this post.

If anyone can help me, it will be greatly appreciated.

**
This is for a subdomain.
**

View 1 Replies View Related

Session Error

May 17, 2007

When i try to login my linux server from GUI i put my username "root" and then put the password, i am not able to login and getting following error

"Your session only lasted less then 10 sec. If you have not logged out yourself this could mean that there is some installation problem of that you may be out of disk space. Try logging in with one of the failsafe sessions to see if you can fix this problem view details in ~/.xsession.error file "

Does any one know about this error.

View 3 Replies View Related

Php Session.save_path

Jan 11, 2007

when I install Joomla, it said session.save_path = /tmp is unwriteable. however, following phpinfo(), the session.save_path on server is /tmp, and all my php sites are working fine, I can see many sess_ files in /tmp. That means the sessions are still written into /tmp by user apache, is that correct?

so, why Joomla instalation saying it's unwriteable? i am on a linux server

View 4 Replies View Related

Php Injection & Session Hacking

May 28, 2008

I had done a program in early 2006 for a site in php-mysql. At the time of doing the code, The code written was not so standard and it contained uninitialized variables used for include file paths (eventhough values are assigned to it before using) and the "sess" folder was created within the website folder. Also the parameters for the SQL query were not escaped, but everything was working fine.

And now i was informed that the insecure code in my program caused the server crash and i have to pay the penalty for the same. Can anyone let me know whether the below code / keeping the session variables within a folder inside the /www/ will make the sites hosted on the server where this program runs to stop/crash for ever ?

------------------------------------------------------------------
function update_region($id,$regname,$regcom)
{
$query = "UPDATE taxregion_mast SET taxregion_name = '". $regname."',
region_comments = '". $regcom."' WHERE region_id =" .$id;
mysql_query($query);

......
-------------------------------------------------------------------

View 3 Replies View Related

How To Extend Session Timeout In Php

Mar 10, 2008

My server session timeout is around 20mins. I wish to extend it longer such as 1 or 2 hours?

How can i extend it?

View 4 Replies View Related

Windows Server Session

Aug 8, 2008

Is it possible to have 1 session under XXX.XXX.XXX.XXX IP and the 2 session under a different IP allocated by your DC?.

The box is in Europe ..I need to log-in one session and download some files from a server so whenever the master sees it will see one IP and the other session from another.

Two of the reasons I need this done is 1. privacy 2. avoiding of buying another box.

View 4 Replies View Related

RDP Sessions - Forcing New Session

Sep 3, 2008

I've come across an issue where our users are not logging out of their terminal services session properly. Whether via TSWeb or MSTSC (remote desktop), if they close the browser or RDP window using the x it keeps the session alive for upto 1 minute.

The problem with this is that we use terminal services to host an application for users who can't install it, so other users that login (using a generic username and password) are adopting/hijacking the original session and seeing someone elses data.

Does anyone know of a way to force a new session each time a user connects to RDP? Whether via TSWeb or MSTSC (remote desktop)?

View 7 Replies View Related

A Public Key File Has Not Been Specified For The Session

Feb 21, 2008

When I try to login SSH using SecureCRT Software, following error it show.

A public key file has not been specified for the session. would you like to specify one now.

I am using CPanel.

View 1 Replies View Related

Log SSH Session To Email Or File

Jul 26, 2008

if it's possible to log all ssh commands to a file by session. For example, if I log in as user 'test123', once I close the session, all commands I ran will be saved to a file and either emailed to my server logs email address or saved to a file.

View 5 Replies View Related







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