LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 07-21-2011, 12:50 PM   #1
Iridiumx2
LQ Newbie
 
Registered: Jul 2011
Location: South Florida, USA
Distribution: Debian Squeeze & CentOS 6
Posts: 11

Rep: Reputation: Disabled
Question Debian - Your server does not appear to be handling sessions properly.


Hello all. I am stuck with a few issues, after installing Debian 6 on a server. When I try to install a software called ActiveCampaign, I get the following error ... "Your server does not appear to be handling sessions properly."

I have install Apache, PHP, MySql and Perl already. Also, after the server restarts, I Webmin will not automatically start, even thou it is setup in the Webmin configuration to start with the server. I have to use /etc/init.d/webmin start from a command line after I su.

My last question is about ftp permissions. I have install proftpd and it seems to be working fine, but when I try to edit any file or upload, I can not. In order to upload and manipulate files, I am using WinSCP under root, wich is a big NO NO.

Sorry for the three questions, but I figured I would ask all in one post, instead of creating multiple, since I already have your attention.

My priority is to fix the sessions issue, your help will be greatly appreciated it. Thanks

PS... Original post @Linux-Newbie
 
Old 07-21-2011, 01:47 PM   #2
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Hey, there, and welcome to the pack!

Quote:
My last question is about ftp permissions. I have install proftpd and it seems to be working fine, but when I try to edit any file or upload, I can not. In order to upload and manipulate files, I am using WinSCP under root, wich is a big NO NO.
Some side thoughts. In order to upload, you need to have an account. I'd set up an account on the server. That user will get a folder on the server. set the FTP server up to let the user upload only to that folder (chroot-jailing it's called on VSFTPD - the one I use)

Quote:
Webmin will not automatically start
Do you hace an /etc/rc.conf ? You may need to add the file there to have it start up along with the rest...

Luck

Thor
 
Old 07-21-2011, 01:59 PM   #3
Iridiumx2
LQ Newbie
 
Registered: Jul 2011
Location: South Florida, USA
Distribution: Debian Squeeze & CentOS 6
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Some side thoughts. In order to upload, you need to have an account. I'd set up an account on the server. That user will get a folder on the server. set the FTP server up to let the user upload only to that folder (chroot-jailing it's called on VSFTPD - the one I use)
Hi Thor. Yes, I do have an account. It is the account I used to setup the OS installation. This is my 1st installation of Debian and I am doing a LOT of reading! I switched from CentOS because everything I read, said Debian was better for servers. I guess I got to used to installing using yum. FTP is not my biggest concern right now, since I can use Webmin or WinSCP to upload the program files I need to install and the webpage to Apache, but I can not keep using root, since I will eventually will be uploading html email creatives all the time. Thanks for your response.
 
Old 07-21-2011, 02:05 PM   #4
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
I do have an account. It is the account I used to setup the OS installation
Okay, so, I assume that's the account for the "day-to-day" user, in the installer, you (in my experience) make two accounts, a Root and a User account. You may need to give that user the proper permissions to write stuff...that's all. I suggest a symlink from the user's folder to the destination (/var/www/html I guess)

Thor
 
Old 07-21-2011, 02:21 PM   #5
Iridiumx2
LQ Newbie
 
Registered: Jul 2011
Location: South Florida, USA
Distribution: Debian Squeeze & CentOS 6
Posts: 11

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Thor_2.0 View Post
Okay, so, I assume that's the account for the "day-to-day" user, in the installer, you (in my experience) make two accounts, a Root and a User account. You may need to give that user the proper permissions to write stuff...that's all. I suggest a symlink from the user's folder to the destination (/var/www/html I guess)

Thor
Yep, actually I made several accounts, because this is going to be a mailing server. Yes, I need to control the /var/www/ directory under this particular user account. I must be missing something, because I do not see where I need to set the proper permissions!
 
Old 07-21-2011, 03:02 PM   #6
ButterflyMelissa
Senior Member
 
Registered: Nov 2007
Location: Somewhere on my hard drive...
Distribution: Manjaro
Posts: 2,766
Blog Entries: 23

Rep: Reputation: 411Reputation: 411Reputation: 411Reputation: 411Reputation: 411
Quote:
because I do not see where I need to set the proper permissions!
You're not missing anything...dont worry ...what I'd do is set up a link

Quote:
mount --bind /var/www/html/whatever /home/sue/whatever
...that means that if sue enters her folder, she'll see a "folder" that is accessible to her, but it's like a "wormhole" to /var/www/html/whatever...of course THERE, the permissions must allow het to do stuff...
I give the user ownership...but then, I'm that user...so, that's okay. But, a mount ought to do, I think.

Thor
 
1 members found this post helpful.
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Debian - Your server does not appear to be handling sessions properly. Iridiumx2 Linux - Newbie 1 07-22-2011 08:51 PM
puTTY --> debian: Switching between sessions Pelle1911 Linux - Newbie 2 02-18-2011 08:36 AM
Perl sessions OR cookie handling OR something else resetreset Programming 0 09-21-2008 05:55 AM
LXer: Handling of inactive Debian Accounts LXer Syndicated Linux News 0 07-13-2007 09:01 PM
Dropped/hung TCP sessions on both NIC's, Compaq server with Debian doctorcisco Linux - Networking 1 01-16-2006 08:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 06:50 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration