LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-28-2004, 12:47 PM   #1
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Rep: Reputation: 30
can't log into squirrelmail. error code "You must be logged in to access this page."


i can't log into squirrelmail. error code "You must be logged in to access this page."

setup:

# MAP Server (dovecot RPM INSTALL OF IMAP CONFIGURED PER RED HAT FEDORA LINUX 2 BIBLE / CHRIS NEGUS)
# PHP (4.38 http://www.substantis.com/phpinfo.php)
# Web server ( Apache/2.0.51 (Fedora))
# Platform (Fedora Core 2)
# How your software was installed (.tar.gz / configured with config.pl )
# SquirrelMail version (1.4.3a)

testing: confirmed passwords from local terminal.

install procedures: quick and dirty from squirrelmail webpage
http://www.squirrelmail.org/wiki/en_US/QuickAndDirty

[root <at> testy config]# cat config.php | more
<?php

/**
* SquirrelMail Configuration File
* Created using the configure script, conf.pl
*/

global $version;
$config_version = '1.4.0';
$config_use_color = 2;

$org_name = "Substantis Nonprofit Solutions";
$org_logo = SM_PATH . 'images/quill2.jpg';
$org_logo_width = '308';
$org_logo_height = '111';
$org_title = "SquirrelMail $version";
$signout_page = '';
$frame_top = '_top';

$provider_uri = 'http://www.squirrelmail.org/';

$provider_name = 'SquirrelMail';

$provider_name = 'SquirrelMail';

$motd = "";

$squirrelmail_default_language = 'en_US';

$domain = 'substantis.com';
$imapServerAddress = 'localhost';
$imapPort = 143;
$useSendmail = false;
$smtpServerAddress = 'localhost';
$smtpPort = 25;
$sendmail_path = '/usr/sbin/sendmail';
$pop_before_smtp = false;
$imap_server_type = 'other';
$invert_time = false;
$optional_delimiter = 'detect';

$default_folder_prefix = '';
$trash_folder = 'INBOX.Trash';
$sent_folder = 'INBOX.Sent';
$draft_folder = 'INBOX.Drafts';
$default_move_to_trash = true;
$default_move_to_trash = true;
$default_move_to_sent = true;
$default_save_as_draft = true;
$show_prefix_option = false;
$list_special_folders_first = true;
$use_special_folder_color = true;
$auto_expunge = true;
$default_sub_of_inbox = true;
$show_contain_subfolders_option = false;
$default_unseen_notify = 2;
$default_unseen_type = 1;
$auto_create_special = true;
$delete_folder = false;
$noselect_fix_enable = false;

$default_charset = 'iso-8859-1';
$data_dir = SM_PATH . 'data/';
$attachment_dir = $data_dir;
$dir_hash_level = 0;
$default_left_size = '150';
$force_username_lowercase = false;
$default_use_priority = true;
$hide_sm_attributions = false;
$hide_sm_attributions = false;
$default_use_mdn = true;
$edit_identity = true;
$edit_name = true;
$allow_thread_sort = false;
$allow_server_sort = false;
$allow_charset_search = true;
$uid_support = true;

[theme omitted]
$default_use_javascript_addr_book = false;
$addrbook_dsn = '';
$addrbook_table = 'address';
$addrbook_table = 'address';

$prefs_dsn = '';
$prefs_table = 'userprefs';
$prefs_user_field = 'user';
$prefs_key_field = 'prefkey';
$prefs_val_field = 'prefval';
$no_list_for_subscribe = false;
$smtp_auth_mech = 'none';
$imap_auth_mech = 'login';
$use_imap_tls = false;
$use_smtp_tls = false;
$session_name = 'SQMSESSID';

<at> include SM_PATH . 'config/config_local.php';

*****************************************************
 
Old 10-28-2004, 01:10 PM   #2
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 269Reputation: 269Reputation: 269
Did you login? And what exact page your trying to access? If its anything beyond the inital login page without logging in, you will get that error.
 
Old 10-28-2004, 02:28 PM   #3
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Original Poster
Rep: Reputation: 30
i may not understand your question

thanks for your quick reply. i may not understand your question. the exact page i am accessing is: substantis.com/webmail

this is the login prompt. this is not a separate and distinct issue where a squirrelmail user is logged in and then attempts to send mail or access an attachment and gets knocked off the system.

where would i be looking for error logs for this particular problem. i doubt that appache access logs would be of help. any other thoughts?
 
Old 11-02-2004, 10:47 AM   #4
rioguia
Member
 
Registered: Jun 2002
Posts: 411

Original Poster
Rep: Reputation: 30
chown and chgrp nobody /var/lib/php/session

I solved this problem by issolating the php error log for this domain (see log below).
The problem was a permission setting for /var/lib/php/session. The suggestion for the solution came from the squirrelmail users list. All worked well after:

chown nobody /var/lib/php/session
chgrp nobody /var/lib/php/session



[client 192.0.0.1] PHP Warning: session_start():
open(/var/lib/php/session/sess_46cf08aee4ddbfbb10cf1d75fe240f96, O_RDWR) failed: Permission
denied (13) in /var/www/html/squirrelmail-1.4.3a/functions/global.php on line 295, referer: http://www.primary.com/squirrelmail-...rc/webmail.php
[client 192.0.0.1] PHP Warning: session_start():
open(/var/lib/php/session/sess_46cf08aee4ddbfbb10cf1d75fe240f96, O_RDWR) failed: Permission
denied (13) in /var/www/html/squirrelmail-1.4.3a/functions/global.php on line 295
[client 192.0.0.1] PHP Warning: session_start():
open(/var/lib/php/session/sess_46cf08aee4ddbfbb10cf1d75fe240f96, O_RDWR) failed: Permission
denied (13) in /var/www/html/squirrelmail-1.4.3a/functions/global.php on line 295
[client 192.0.0.1] PHP Warning: session_start():
open(/var/lib/php/session/sess_46cf08aee4ddbfbb10cf1d75fe240f96, O_RDWR) failed: Permission
denied (13) in /var/www/html/squirrelmail-1.4.3a/functions/global.php on line 295, referer: http://www.primary.com/squirrelmail-.../src/login.php
[client 192.0.0.1] PHP Warning: session_write_close():
open(/var/lib/php/session/sess_46cf08aee4ddbfbb10cf1d75fe240f96, O_RDWR) failed: Permission
denied (13) in /var/www/html/squirrelmail-1.4.3a/src/redirect.php on line 152, referer: http://www.primary.com/squirrelmail-.../src/login.php
[client 192.0.0.1] PHP Warning: session_write_close(): Failed to write session data (files).
Please verify that the current setting of session.save_path is correct (/var/lib/php/session) in
/var/www/html/squirrelmail-1.4.3a/src/redirect.php on line 152, referer: http://www.primary.com/squirrelmail-.../src/login.php
[client 192.0.0.1] PHP Warning: session_start():
open(/var/lib/php/session/sess_46cf08aee4ddbfbb10cf1d75fe240f96, O_RDWR) failed: Permission
denied (13) in /var/www/html/squirrelmail-1.4.3a/functions/global.php on line 295, referer: http://www.primary.com/squirrelmail-.../src/login.php
[client 192.0.0.1] PHP Warning: Unknown():
open(/var/lib/php/session/sess_46cf08aee4ddbfbb10cf1d75fe240f96, O_RDWR) failed: Permission
denied (13) in Unknown on line 0, referer: http://www.primary.com/squirrelmail-.../src/login.php
[client 192.0.0.1] PHP Warning: Unknown(): Failed to write session data (files). Please verify that
the current setting of session.save_path is correct (/var/lib/php/session) in Unknown on line 0,
referer: http://www.primary.com/squirrelmail-.../src/login.php

Last edited by rioguia; 11-02-2004 at 11:07 AM.
 
  


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
squirrelmail "error in login page"" when content advisor is enabled simi_virgo Linux - Networking 4 08-21-2008 01:25 PM
New SQUID user: How to clear the "access.log" and "store.log" automatically? yuzuohong Linux - Networking 2 12-02-2006 05:37 AM
ps2pdf problems "Unrecoverable error, exit code 1" sohmc Linux - Software 1 11-14-2005 08:04 PM
"Unknown error code 255" trying to burn CD with K3B 0.11.2cvs BertBert Linux - Software 0 03-12-2004 08:19 PM
Synaptic error: "sub-process /usr/bin/dpkg returned an error code (2)" firefly2442 Linux - Software 3 02-04-2004 06:41 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:17 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