LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Squid3 + Deluge Troubles.. (https://www.linuxquestions.org/questions/linux-software-2/squid3-deluge-troubles-726393/)

Elite_Gamer04 05-16-2009 07:36 AM

Squid3 + Deluge Troubles..
 
Good evening,

Spent the last few hours after I just upgraded my Debian 5.0 to the new testing branch of 'Squeeze' - everything's back up and running bar 2 important programs.

After numerous tedious hours of trial and error, goggling search, and alot of hair pulling - I come here to ask for some assistance if possible.

Squid3

Before the upgrade to Squeeze I had Squid3 up and running perfectly on a NON root user - my nomral everyday user. HOWEVER, after the update, and re-configuration of /etc/squid3/squid.conf to my previous settings it just would NOT start. I then decided to cut ALL my options back in case it was my finely tuned options from a prior release and some options/features may of been removed/added and were conflicting, so I made the basic config below:

Code:

#

visible_hostname Box Proxy

http_port 3128

acl localnet src all
http_access allow localnet

debug_options ALL,1

#

To my shock it will STILL not start under my normal user account - HOWEVER this time it works just fine running under root. The error I receive under my normal user are:

Code:

/etc/init.d/squid3: line 33: ulimit: open files: cannot modify limit: Operation not permitted
Starting Squid HTTP Proxy 3.0: squid3/etc/init.d/squid3: line 71: ulimit: open files: cannot modify limit: Operation not permitted
WARNING: Cannot write log file: /var/log/squid3/cache.log
/var/log/squid3/cache.log: Permission denied
        messages will be sent to 'stderr'.
.

Ideas/Suggestions? The Proxy works fine under Root - tested on a number of browsers etc.


Deluge

Moving onto my issue with Deluge - after the move to Squeeze, full system upgrade - deluge will just NOT start under ethier root or normal - I receive the following:

Code:

/usr/lib/pymodules/python2.5/gtk-2.0/gtk/__init__.py:72: GtkWarning: could not open display
  warnings.warn(str(e), _gtk.Warning)
1.1.6
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py:60: Warning: invalid (NULL) pointer instance
  "glade/queuedtorrents.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py:60: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  "glade/queuedtorrents.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py:60: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/queuedtorrents.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py:60: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  "glade/queuedtorrents.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py:76: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  gtk.TreeViewColumn(_("Torrent"), gtk.CellRendererText(), text=0))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/queuedtorrents.py:76: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  gtk.TreeViewColumn(_("Torrent"), gtk.CellRendererText(), text=0))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: Warning: invalid (NULL) pointer instance
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: Warning: g_signal_connect_data: assertion `G_TYPE_CHECK_INSTANCE (instance)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_settings_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: Warning: g_object_get: assertion `G_IS_OBJECT (object)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gdk_screen_get_display: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gdk_display_get_window_at_pointer: assertion `GDK_IS_DISPLAY (display)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_toolbar_set_icon_size: assertion `icon_size != GTK_ICON_SIZE_INVALID' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gdk_pango_context_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_font_description: assertion `context != NULL' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_base_dir: assertion `context != NULL' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_context_set_language: assertion `context != NULL' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_new: assertion `context != NULL' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_attributes: assertion `layout != NULL' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_set_text: assertion `layout != NULL' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: PangoWarning: pango_layout_get_unknown_glyphs_count: assertion `PANGO_IS_LAYOUT (layout)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: Warning: g_object_unref: assertion `G_IS_OBJECT (object)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_theme_get_for_screen: assertion `GDK_IS_SCREEN (screen)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_size_lookup_for_settings: assertion `GTK_IS_SETTINGS (settings)' failed
  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: Invalid icon size 1

  "glade/main_window.glade"))
/usr/lib/pymodules/python2.5/deluge/ui/gtkui/mainwindow.py:63: GtkWarning: gtk_icon_theme_load_icon: assertion `GTK_IS_ICON_THEME (icon_theme)' failed
  "glade/main_window.glade"))
Segmentation fault

Yes, I HAVE tried the export Display suggestion that has been floating around - no luck though.

Thanks,
-EG


All times are GMT -5. The time now is 05:39 PM.