Re: pcmanfm no window/gui, one user only

2013-10-13 Thread Tazman Deville
On Fri, Sep 27, 2013 at 08:11:10PM +0200, Tony Baldwin wrote:
> Friends,
> 
> For some reason, when I try to use pcmanfm as my user, I can not.
> I can start it as other users on the system, or with gksu or sudo, 
> but not for my user.
> 
> Or, really, what happens is, it seems to start (can find processes and kill 
> them),
> but no window appears. It seems to hang.
> 
> I tried to use gdb, but get no debug information.
> What happens there is the whole thing (gdb and pcmanfm) hangs, 
> doing nothing, until I kill pcmanfm again, and gdb tells me nothing.
> 
> When I run it from terminal, likewise, I find no errors, nothing.
> Just hangs (even if I run the command with pcmanfm &, it just hangs the
> terminal).
> For all other users on the machine, it runs fine.
> I'm at a loss for what else to do to diagnose the problem,
> and, of course, at this juncture, I have no useful information for why
> it is not running properly.
> 
> Yes, also, of course, I have killalled any such processes several times
> before trying to start it again.
> I've also tried with other WMs (I use openbox as a standalone, but have
> also now tried with LXDE and with wmii, and still no joy. Have no other
> WMs on the system at this time).
> This is on wheezy.
> 
> I've even tried replacing my conf files in
> ~/.config/pcmanfm/{default,LXDE}/pcmanfm.conf 
> with the files from another user (and chowning them to me, of course),
> to determine if there were something amiss in my config files,
> but, alas, this too proved unproductive.
> I don't know what else to do.
> 

I'm still having this issue here.
So far, nobody has suggested anything than what I've already done.
Well, someone suggested looking in dmesg, but, of course, there's
absolutely nothing relevant there.

./taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131013114448.ga18...@myownsite.me



Re: pcmanfm no window/gui, one user only

2013-10-13 Thread Tazman Deville
On Sun, Oct 13, 2013 at 01:44:48PM +0200, Tazman Deville wrote:
> On Fri, Sep 27, 2013 at 08:11:10PM +0200, Tony Baldwin wrote:
> > Friends,
> > 
> > For some reason, when I try to use pcmanfm as my user, I can not.
> > I can start it as other users on the system, or with gksu or sudo, 
> > but not for my user.
> > 
> > Or, really, what happens is, it seems to start (can find processes and kill 
> > them),
> > but no window appears. It seems to hang.
> > 
> > I tried to use gdb, but get no debug information.
> > What happens there is the whole thing (gdb and pcmanfm) hangs, 
> > doing nothing, until I kill pcmanfm again, and gdb tells me nothing.
> > 
> > When I run it from terminal, likewise, I find no errors, nothing.
> > Just hangs (even if I run the command with pcmanfm &, it just hangs the
> > terminal).
> > For all other users on the machine, it runs fine.
> > I'm at a loss for what else to do to diagnose the problem,
> > and, of course, at this juncture, I have no useful information for why
> > it is not running properly.
> > 
> > Yes, also, of course, I have killalled any such processes several times
> > before trying to start it again.
> > I've also tried with other WMs (I use openbox as a standalone, but have
> > also now tried with LXDE and with wmii, and still no joy. Have no other
> > WMs on the system at this time).
> > This is on wheezy.
> > 
> > I've even tried replacing my conf files in
> > ~/.config/pcmanfm/{default,LXDE}/pcmanfm.conf 
> > with the files from another user (and chowning them to me, of course),
> > to determine if there were something amiss in my config files,
> > but, alas, this too proved unproductive.
> > I don't know what else to do.
> > 
> 
> I'm still having this issue here.
> So far, nobody has suggested anything than what I've already done.
> Well, someone suggested looking in dmesg, but, of course, there's
> absolutely nothing relevant there.
> 

Oh, and something I've neglected to mention:
I have also aptitude remove purged it and reinstalled it, as well,
several times, and this also produces no change.

> ./taz
> -- 
> http://tazmandevil.info
> taz hungry
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20131013114448.ga18...@myownsite.me
> 

-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131013114643.gb18...@myownsite.me



Re: pcmanfm no window/gui, one user only

2013-10-15 Thread Tazman Deville
On Sun, Oct 13, 2013 at 02:06:19PM +0200, Ralf Mardorf wrote:
> On Sun, 2013-10-13 at 13:44 +0200, Tazman Deville wrote:
> > Well, someone suggested looking in dmesg, but, of course, there's
> > absolutely nothing relevant there.
> 
> This would display the output of the kernel ring buffer, to see what's
> going wrong during a session, first take a look at ~/.xsession-errors
> and/or ~/.xsession-errors.old.
> 
> less ~/.xsession-errors
> 
> I don't know if this is useful, but I would test it too:
> 
> strace /usr/bin/pcmanfm¹
> 
> ¹or what ever the path and name is.


Not sure how useful it is, because it makes no sense to me,
but the strace gives me a whole bunch of stuff, which I've pasted here: 
http://paste.tazd.info/index.php?3

I looked at the .xsession-errors files, but find no mention of pcmanfm.

thanks,
./taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131015103640.ga4...@myownsite.me



Re: pcmanfm no window/gui, one user only

2013-10-15 Thread Tazman Deville
On Mon, Oct 14, 2013 at 02:22:06PM +0200, berenger.mo...@neutralite.org wrote:
> 
> 
> Le 13.10.2013 13:44, Tazman Deville a écrit :
> >On Fri, Sep 27, 2013 at 08:11:10PM +0200, Tony Baldwin wrote:
> >>Friends,
> >>
> >>For some reason, when I try to use pcmanfm as my user, I can not.
> >>I can start it as other users on the system, or with gksu or sudo,
> >>but not for my user.
> 
> So it must be a configuration problem, or other users would have the
> same problem.

This is one of the first things I thought,
but, as mentioned in my original message,
I replaced MY configs with those of another user
(and chowned them to me), and this made no difference.


> You could try a diff between your configuration and another user (
> do not only compare pcmanfm's files, it could be related to other
> stuff ).
> 
> Or a longer but reliable technique:
> 1) move all your configuration files into another directory, so that
> the system won't be able to find them.
> 2) Run pcmanfm.
I'll try this.
So far, I'd only tried replacing the configs, not just simply making
then unavailable.

...

okay, moving the .config/pcmanfm contents to somewhere, thus leaving
the directory empty (no configs) seems to make no difference.

> 
> You need pcmanfm-dbg to have symbols, it might help. However, I have
> never tried it myself.

I do have that installed.

> Also, you will need to put a breakpoint before running, or will need
> to manually interrupt application's workflow ( I have no idea about
> how to do that, but I know it is possible since some frontends seems
> to be able to do that)
> 
> only filesystem and user's action, when it runs. Speaking about
> filesystem, do you have a different partition than other users? Do
> you use cryptography? Or other file-related voodoo magic? That would
> not be very usual, but who knows...

nope.

thanks for your assistance,
./taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131015104242.gb4...@myownsite.me



Re: pcmanfm no window/gui, one user only

2013-10-15 Thread Tazman Deville
On Tue, Oct 15, 2013 at 02:33:20PM +0200, berenger.mo...@neutralite.org wrote:
> 
> 
> Le 15.10.2013 12:42, Tazman Deville a écrit :
> >On Mon, Oct 14, 2013 at 02:22:06PM +0200,
> >berenger.mo...@neutralite.org wrote:
> >>
> >>
> >>Le 13.10.2013 13:44, Tazman Deville a écrit :
> >>>On Fri, Sep 27, 2013 at 08:11:10PM +0200, Tony Baldwin wrote:
> >>>>Friends,
> >>>>
> >>>>For some reason, when I try to use pcmanfm as my user, I can not.
> >>>>I can start it as other users on the system, or with gksu or sudo,
> >>>>but not for my user.
> >>
> >>So it must be a configuration problem, or other users would have the
> >>same problem.
> >
> >This is one of the first things I thought,
> >but, as mentioned in my original message,
> >I replaced MY configs with those of another user
> >(and chowned them to me), and this made no difference.
> 
> 
> Yes, but you only did this on pcmanfm's configuration files, right?
> I think the problem is not directly a pcmanfm's one, but maybe
> related to something it uses. This is why I suggested you to move
> all config files. Do something like that:
> 
> $ mkdir OLD_CONFIG
> $ mv .* OLD_CONFIG
> $ pcmanfm
> 

You're talking about moving every .configfile in my $HOME?
That sounds a bit drastic, and possibly a bad idea.
Can we narrow it down to what possible files might actually affect
it without implementing such drastic measures?

> 
> >>You need pcmanfm-dbg to have symbols, it might help. However, I have
> >>never tried it myself.
> >
> >I do have that installed.
> 
> Honestly, I tried to use the *dgb files. I had no results, I was
> never able to understand their use.
> It seems that it is better to compile the software with the -g
> option, and debug the compiled version. At least, you will have the
> source code, with comments, which makes things really easier, and

Only if it's written in a language I can make sense of, of course.

> you also might use some IDE or a debugger with a real human usable
> interface. i

VIM IS THE ONLY IDE!!!
 
> The debugger I use (which are, in fact, simple frontends to gdb) are
> the plug-in of codeblocks, and cgdb (I know prefer this last one,
> except that I still do not know how to interrupt a program, unlike
> in C::B.). You can also use ddd, or the debugging feature in
> qtcreator, for example. All of them uses gdb in background, but they
> are far easier to use than gdb.


I don't thnk we're getting anywhere with gdb or other debuggers, because
it's simply stopping and hanging at some point.
Or maybe some other debugger will be able to tell me where, and possibly
why?

thanks,
./taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131015213803.ga24...@myownsite.me



Re: pcmanfm no window/gui, one user only

2013-10-16 Thread Tazman Deville
On Tue, Oct 15, 2013 at 06:00:07PM -0500, Selim T. Erdogan wrote:
> Tazman Deville, 15.10.2013:
> > 
> > You're talking about moving every .configfile in my $HOME?
> > That sounds a bit drastic, and possibly a bad idea.
> > Can we narrow it down to what possible files might actually affect
> > it without implementing such drastic measures?
> 
> I don't know much about pcmanfm, but I looked at the strace output you 
> posted, to see if there was anything that looked like it might be a 
> filename in your home directory.
> 
> Searching for "tony", I also noticed that the last line of the strace is
> ---
> connect(5, {sa_family=AF_FILE, path="/tmp/.pcmanfm-socket--0-tony"}, 30^C 
> 

Hremoving this socket file has allowed me to successfully run
pcmanfm again.
I note there are similar socket files for other users, who can run it.
I can only assume there was something wrong with this particular file.
I also note that, after removing it, and successfully running pcmanfm,
I would expect a new socket, but there is none.
Nonetheless, I have successfully started and closed pcmanfm several
times, still without seeing a new socket appear.

For all practical purposes, it seems this is resolved at the moment.
I can't help but think there's a deeper, underlying issue somewhere
that might again rear its head.
But for now, it seems I can use pcmanfm again.

Thanks!
tony
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131016112625.ga15...@myownsite.me



Re: Hosting advice

2013-11-01 Thread Tazman Deville
On Thu, Oct 31, 2013 at 08:06:57PM -0700, David Christensen wrote:
> On 10/31/2013 03:53 PM, Craig L. wrote:
> >I have a good friend that is in a sticky situation and has turned to me for 
> >help. I'm not 100% sure of how to advise him so I figured I would pose our 
> >question here.
> >He lives in Texas, in the USA. He is starting his own business, and a bit 
> >sooner than he planned. He has a domain registered to him. He needs to be 
> >able to set up email service asap, with an eye towards eventually setting up 
> >a web site for the operation. I know GoDaddy offers these types of services, 
> >but I'm not a big fan of GoDaddy. Since I will probably be the system 
> >administrator for a while, I would prefer a hosting service that offers a 
> >Linux OS, preferably Debian, and PostgreSQL or MySQL, again preferably 
> >PostgreSQL.
> >May I trouble you good people for suggestions that meet these needs? We 
> >would like to have at least one working email address by close of business 
> >tomorrow (Friday, 1 November), or Monday at the latest.
> 
> If you want a virtual private server (VPS), I had a good experience
> with a Linode:
> 
> https://www.linode.com/
> 
> 
> They offer several OS's, including Debian 6 and 7.
> 

I used Linode for a while, and they do have good service,
but they're a bit pricey compared to what I have now.
Currently I have a VPS on http://www.Contabo.com , with a lot more resources.
2gb ram, 4 CPU cores, and 200gb storage for only EU€9.99 (c. US$13.00) a
month. (I was paying like US$60/mo at linode for 20gb storage, 1gb ram,
2 cores).
They have a good selection of OS options.
My server is, of course, running Wheezy, and I have e-mail set up with
postfix, dovecot, and squirrelmail for a web interface (although I tend
to use mutt, as I am to send this message, rather than the web
interface).
I feel better having my stuff hosted in Germany, too, where privacy is
taken a little more seriously than in the US. (NSA can't just seize my
server).

Taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131101114929.ga1...@myownsite.me



No space left on device (28) but device is NOT full!

2013-11-04 Thread Tazman Deville
Just since yesterday, I'm seeing this PHP error
on the scuttle installation on a little server here
I have.
Scuttle is installed from the debian repos.
The server is running Squeeze still (I know..
I should upgrade it, but I'll spend a day ironing
out dovecot and postfix when I do, so haven't gotten
around to it).

Now, the device is far from full.
df -h shows:
FilesystemSize  Used Avail Use% Mounted on
/dev/sda7  26G  9.7G   15G  40% /
tmpfs 949M 0  949M   0% /lib/init/rw
udev  944M  200K  944M   1% /dev
tmpfs 949M 0  949M   0% /dev/shm
/dev/sda1 2.8G   85M  2.6G   4% /boot
/dev/sda5 154G   52G   95G  36% /home

Googling (or dukgoing, or ixquicking)
just shows a lot of stuff about "duh, your disk is full",
but it isn't.
Somewhere, I think on LinuxQuestions.org, I'd
found something about the aptitude package cache, 
yesterday when this happened, so I did
aptitude autoclean
and that seemed to resolve the problem.
Today, however, it is not working.

What could be causing this, and how may I resolve it?
The machine is a 3.2ghz celeron with 1.5gb ram.
You can see the storage parameters from df -h, of course.

Any assistance or guidance would be appreciated.

Thanks,
Taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131104231629.ga28...@myownsite.me



Re: No space left on device (28) but device is NOT full!

2013-11-04 Thread Tazman Deville
On Tue, Nov 05, 2013 at 08:34:37AM +0900, Joel Rees wrote:
> On Tue, Nov 5, 2013 at 8:16 AM, Tazman Deville  wrote:
> > Just since yesterday, I'm seeing this PHP error
> 
> meaning the "No space left on device (28)" you mention in the subject,
> I suppose.
> 
> > on the scuttle installation on a little server here
> > I have.
> > Scuttle is installed from the debian repos.
> > The server is running Squeeze still (I know..
> > I should upgrade it, but I'll spend a day ironing
> > out dovecot and postfix when I do, so haven't gotten
> > around to it).
> >
> > Now, the device is far from full.
> > df -h shows:
> > FilesystemSize  Used Avail Use% Mounted on
> > /dev/sda7  26G  9.7G   15G  40% /
> > tmpfs 949M 0  949M   0% /lib/init/rw
> > udev  944M  200K  944M   1% /dev
> > tmpfs 949M 0  949M   0% /dev/shm
> > /dev/sda1 2.8G   85M  2.6G   4% /boot
> > /dev/sda5 154G   52G   95G  36% /home
> >
> > Googling (or dukgoing, or ixquicking)
> > just shows a lot of stuff about "duh, your disk is full",
> > but it isn't.
> > Somewhere, I think on LinuxQuestions.org, I'd
> > found something about the aptitude package cache,
> > yesterday when this happened, so I did
> > aptitude autoclean
> > and that seemed to resolve the problem.
> > Today, however, it is not working.
> >
> 
> The first thing that I check when I get disk full errors but the disks
> are not full is the permissions. Sometimes, software just assumes that
> any time the system refuses to write it's that the disk is full.
> 
> Then you should check whether you've set quotas up. In Java, there
> would be policies to check. And so forth.

I haven't made any user quotas.
I checked /tmp, and there's almost nothing in there of any consequence
(an empty log file).

To look deeper, the full error was
Warning: session_start(): open(/tmp/sess_9gct9d1b866iek1p3kmo5oe0f2,
O_RDWR) failed: No space left on device (28) in
/usr/share/scuttle/www/header.inc.php on line 8

line 8 of the file in question is a "session_start();"

I looked at /etc/php5/apache2/php.ini
to see where php is storing sessions.
The relevant line, 
session.save_path = "/tmp"
was commented out, so I do not know where it WAS storing them.
I uncommented the line and restarted apache, however, it seems 
to have made no difference.

Now, that scuttle installation has been on this server for about two
years without ever having had such an issue.
I can't think of anything that would have changed any permissions
related to its sessions, or preventing it to write to /tmp,
but since /tmp definitely isn't full, I suppose that seems like
something to look at.
The scuttle runs as user www-data, as far as I understand,
which should have permissions to write to /tmp, no?

I'm unclear as to what java policies have to do with this,
but I know diddley about Java.

TazD
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131105022901.ga3...@myownsite.me



Re: No space left on device (28) but device is NOT full!

2013-11-04 Thread Tazman Deville
On Mon, Nov 04, 2013 at 06:43:45PM -0500, Hecber Cordova wrote:
>Hi,
> 
>Did you check inodes usage? (df -i)
> 
>I could be inodes availability rather than block availability.


AHA!

I have no idea what the significance of this is, but
df -i gives
$ df -i
FilesystemInodes   IUsed   IFree IUse% Mounted on
/dev/sda71729920 1729920   0  100% /

So, yeah...inodes, but I'm ignorant of what that means,
or how to resolve that.

Taz
> 
>Best regards,
> 
>HC
> 
>On Mon, Nov 4, 2013 at 6:16 PM, Tazman Deville <[1]tazmande...@gmx.com>
>wrote:
> 
>  Just since yesterday, I'm seeing this PHP error
>  on the scuttle installation on a little server here
>  I have.
>  Scuttle is installed from the debian repos.
>  The server is running Squeeze still (I know..
>  I should upgrade it, but I'll spend a day ironing
>  out dovecot and postfix when I do, so haven't gotten
>  around to it).
> 
>  Now, the device is far from full.
>  df -h shows:
>  Filesystem � � � � � �Size �Used Avail Use% Mounted on
>  /dev/sda7 � � � � � � �26G �9.7G � 15G �40% /
>  tmpfs � � � � � � � � 949M � � 0 �949M � 0% /lib/init/rw
>  udev � � � � � � � � �944M �200K �944M � 1% /dev
>  tmpfs � � � � � � � � 949M � � 0 �949M � 0% /dev/shm
>  /dev/sda1 � � � � � � 2.8G � 85M �2.6G � 4% /boot
>  /dev/sda5 � � � � � � 154G � 52G � 95G �36% /home
> 
>  Googling (or dukgoing, or ixquicking)
>  just shows a lot of stuff about "duh, your disk is full",
>  but it isn't.
>  Somewhere, I think on LinuxQuestions.org, I'd
>  found something about the aptitude package cache,
>  yesterday when this happened, so I did
>  aptitude autoclean
>  and that seemed to resolve the problem.
>  Today, however, it is not working.
> 
>  What could be causing this, and how may I resolve it?
>  The machine is a 3.2ghz celeron with 1.5gb ram.
>  You can see the storage parameters from df -h, of course.
> 
>  Any assistance or guidance would be appreciated.
> 
>  Thanks,
>  Taz
>  --
>  [2]http://tazmandevil.info
>  taz hungry
> 
>  --
>  To UNSUBSCRIBE, email to [3]debian-user-requ...@lists.debian.org
>  with a subject of "unsubscribe". Trouble? Contact
>  [4]listmas...@lists.debian.org
>  Archive: [5]http://lists.debian.org/20131104231629.ga28...@myownsite.me
> 
> References
> 
>Visible links
>1. mailto:tazmande...@gmx.com
>2. http://tazmandevil.info/
>3. mailto:debian-user-requ...@lists.debian.org
>4. mailto:listmas...@lists.debian.org
>5. http://lists.debian.org/20131104231629.ga28...@myownsite.me

-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131105023026.gb3...@myownsite.me



Re: No space left on device (28) but device is NOT full!

2013-11-04 Thread Tazman Deville
On Mon, Nov 04, 2013 at 09:51:26PM -0600, Stan Hoeppner wrote:
> On 11/4/2013 8:30 PM, Tazman Deville wrote:
> > On Mon, Nov 04, 2013 at 06:43:45PM -0500, Hecber Cordova wrote:
> >>Hi,
> >>
> >>Did you check inodes usage? (df -i)
> >>
> >>I could be inodes availability rather than block availability.
> > 
> > 
> > AHA!
> > 
> > I have no idea what the significance of this is, but
> > df -i gives
> > $ df -i
> > FilesystemInodes   IUsed   IFree IUse% Mounted on
> > /dev/sda71729920 1729920   0  100% /
> > 
> > So, yeah...inodes, but I'm ignorant of what that means,
> > or how to resolve that.
> 
> First it means you're using a filesystem with a small fixed number of
> inodes, obviously EXT.
> 
> Second, you have a serious problem here because it is your root
> filesystem that has run out of inodes.  You need to ask yourself why you
> have 1.7M files in your rootfs.  That's very dumb.  That's what /home
> and /data and other places are to be used for.

I'm not the dummy that filled up my /
Before this, it was barely more than hafl full (well, df -h
shows I'm only using 9.6gb of the 16gb there).
Also, that hdd is old.
I ran fedora core 4 on it.That's how old it is.
Then I tried Ubuntu Dapper Duck on it, and some old PCLinuxOS,
and eventually, when it was already about 3 years old, 
installed Lenny on it, my first Debian (and I'm still here!).
But I formatted it as ext3 when I installed lenny, 
and from there just upgraded to squeeze with apt, so
haven't changed the fs. Haven't had any reason to change it.


So, anyway, after some digging around, I find there are some billions
of log files in /var/log/ for popularity-contest.

Like, this is 0.005% of the output of 
sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n

1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.1.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.1.1.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.2.gz
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.2.gz.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.2.gz
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.2.gz
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.2.gz.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.2.gz.1.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.2.gz.1.1.1
1
popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.2.gz

I've aptitude purged popularity-contest, now.
I checked the logrotate file, and it has a maxage of 7, meaning these
are all a week old or younger, too.
Very, very strange.
Now I have to figure out how to get rid of them.
Even trying to rm -rf a small subset, like *.1.2.gz.1.2.gz.1*
gives me
Argument list too long.

Never seen anything like it...

./taz

> 
> To remedy this you will need to copy files off of the rootfs to another
> filesystem, then delete them from your rootfs to free some of these inodes.
> 
> Food for thought:  your /dev/sda7 is an EXT filesystem of 26GB with 1.7M
> inodes.  XFS would give you ~23M inodes on a 26GB filesystem.
> 
> -- 
> Stan
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/52786b3e.6020...@hardwarefreak.com
> 

-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131105041434.gb14...@myownsite.me



Re: No space left on device (28) but device is NOT full!

2013-11-04 Thread Tazman Deville
On Tue, Nov 05, 2013 at 05:14:34AM +0100, Tazman Deville wrote:
> On Mon, Nov 04, 2013 at 09:51:26PM -0600, Stan Hoeppner wrote:
> > On 11/4/2013 8:30 PM, Tazman Deville wrote:
> > > On Mon, Nov 04, 2013 at 06:43:45PM -0500, Hecber Cordova wrote:
> > >>Hi,
> > >>
> > >>Did you check inodes usage? (df -i)
> > >>
> > >>I could be inodes availability rather than block availability.
> > > 
> > > 
> > > AHA!
> > > 
> > > df -i gives
> > > $ df -i
> > > FilesystemInodes   IUsed   IFree IUse% Mounted on
> > > /dev/sda71729920 1729920   0  100% /
> > > 
> > 
> > First it means you're using a filesystem with a small fixed number of
> > inodes, obviously EXT.
> > 
> > Second, you have a serious problem here because it is your root
> > filesystem that has run out of inodes.  You need to ask yourself why you
> > have 1.7M files in your rootfs.  That's very dumb.  That's what /home
> > and /data and other places are to be used for.
> 
> I'm not the dummy that filled up my /
> Before this, it was barely more than hafl full (well, df -h
> shows I'm only using 9.6gb of the 16gb there).
> Also, that hdd is old.
> I ran fedora core 4 on it.That's how old it is.
> Then I tried Ubuntu Dapper Duck on it, and some old PCLinuxOS,
> and eventually, when it was already about 3 years old, 
> installed Lenny on it, my first Debian (and I'm still here!).
> But I formatted it as ext3 when I installed lenny, 
> and from there just upgraded to squeeze with apt, so
> haven't changed the fs. Haven't had any reason to change it.
> 
> 
> So, anyway, after some digging around, I find there are some billions
> of log files in /var/log/ for popularity-contest.
> 
> Like, this is 0.005% of the output of 
> sudo find . -xdev -type f | cut -d "/" -f 2 | sort | uniq -c | sort -n
> 
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.1.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.1.1.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.2.gz
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.1.2.gz.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.1.2.gz
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.2.gz
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.2.gz.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.2.gz.1.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.1.2.gz.1.1.1
> 1
> popularity-contest.1.1.2.gz.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.1.2.gz.1.2.gz.1.1.2.gz
> 
> I've aptitude purged popularity-contest, now.
> I checked the logrotate file, and it has a maxage of 7, meaning these
> are all a week old or younger, too.
> Very, very strange.
> Now I have to figure out how to get rid of them.
> Even trying to rm -rf a small subset, like *.1.2.gz.1.2.gz.1*
> gives me
> Argument list too long.
> 

Got it!
find . -name 'popularity-*' | xargs rm -rf
(passes the files to rm one at a time).

The machine in question, btw, now simply sits quietly in a corner
of my office, serving up the scuttle, a little dokuwiki for my personal
use, and a couple of other useful things, sometimes serves as a sandbox
for trying stuff out before use on a production server.
It's a trooper, and, until today, has never given me any real problems.
My main box (one I'm typing on) runs Wheezy, with 4x2.8ghz AMD APU,
and 16gb ram, 2Tb storage, etc.

./taz

-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131105042816.gc14...@myownsite.me



Re: No space left on device (28) but device is NOT full!

2013-11-05 Thread Tazman Deville
On Tue, Nov 05, 2013 at 02:52:52AM -0600, Stan Hoeppner wrote:
> On 11/5/2013 1:21 AM, Richard Hector wrote:
> > On 05/11/13 16:51, Stan Hoeppner wrote:
> >> Second, you have a serious problem here because it is your root
> >> filesystem that has run out of inodes.  You need to ask yourself why you
> >> have 1.7M files in your rootfs.  That's very dumb.
> > 
> > Or perhaps "That's not generally advisable." or similar.
> > 
> > Richard
> 
> Or perhaps you should remove your politically correct inspired,
> sensitivity trainer ground, colored lenses so you can correctly read and
> comprehend what I typed.
> 

Personally, I would have used "that's really f--king stupid", for my
part.
(Mind, I clarified that I didn't use up those inodes.
Some glitch with popularity-contest, and I'm wondering if I should
file a bug. Something that drastic, I would surprised if it wasn't
already caught, but then, I haven't seen anybody else on here
discussing the same problem. I did NOT manipulate its logrotate stuff,
or anything that should have caused it to do that.)

./t
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131105141042.ga30...@myownsite.me



Re: No space left on device (28) but device is NOT full!

2013-11-05 Thread Tazman Deville
On Tue, Nov 05, 2013 at 09:41:58AM +, Jonathan Dowland wrote:
> On Tue, Nov 05, 2013 at 05:28:16AM +0100, Tazman Deville wrote:
> > find . -name 'popularity-*' | xargs rm -rf
> 
> Sorry, opportunity for a bit of golf. Find has a built-in for deleting
> files:
> 
> > find . -type f -name 'popularity-*' -delete
> 
> I'd also be rather wary of invoking rm -rf with the results of find
> output.
> 
This occurred to me, but I figured, since I was in /var/log,
and I was careful to use the name "popuarlity", it couldn't
really hose anything important.
Just log files.

./t
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131105141210.gb30...@myownsite.me



Re: No space left on device (28) but device is NOT full!

2013-11-05 Thread Tazman Deville
On Tue, Nov 05, 2013 at 03:13:10PM +0400, Reco wrote:
> Hi.
> 
> On Tue, Nov 05, 2013 at 09:41:58AM +, Jonathan Dowland wrote:
> > On Tue, Nov 05, 2013 at 05:28:16AM +0100, Tazman Deville wrote:
> > > find . -name 'popularity-*' | xargs rm -rf
> > 
> > Sorry, opportunity for a bit of golf. Find has a built-in for deleting
> > files:
> > 
> > > find . -type f -name 'popularity-*' -delete
> > 
> > I'd also be rather wary of invoking rm -rf with the results of find
> > output.
> 
> If you're unsure (and you should!) if filenames contain spaces, that
> should more appopriate.
> 
> find . -type f -name 'popularity-*' -print0 | xargs -0rn 20 rm -f
> 
> 
> Arguably the fastest way to delete all this mess should be
> 
> perl -e 'for(){((stat)[9]<(unlink))}'
> 
> 
> Reco

Learning perl has been on my todo list for about 8 years now...

./t
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131105141304.gc30...@myownsite.me



Re: package recommendation for daily journal

2014-06-04 Thread Tazman Deville
On Tue, Jun 03, 2014 at 11:16:51PM -0700, Rusi Mody wrote:
> On Sunday, June 1, 2014 12:30:01 PM UTC+5:30, lina wrote:
> > Hi,
> > 
> > I am looking for a package, which can act as a smart diary or 
> > journal to help me remember the records of small things, such as 
> > "obtain a licensed software, not installed yet", "uninstall the 
> > harden-client".
> 
> 
> emacs' org mode is the killer app for this


Here is a bash script for writing and managing a personal log,
by Tony, who is also on this list.
I'm surprised he didn't mention it himself.
https://github.com/tonybaldwin/mylog

./taz
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140604113837.ga31...@myownsite.me



Re: Debian Wheezy Compromised - www-data user is sending 1000 emails an hour

2013-12-11 Thread Tazman Deville
On Wed, Dec 11, 2013 at 07:07:42PM -0800, David Christensen wrote:
> On 12/11/2013 06:57 PM, Lukasz Szybalski wrote:
> >I run my own site, and I do have postfix, apache, wordpress, and moinmoin
> >installed. www-data is sending 100s of emails a minute. Either wordpress or
> >moinmoin is compromised? How do I debug to find out where is the problem?
> 
> I suggest that you shut down the machine immediately, pull all the
> drives, take images, put them into another machine, mount them, and
> start analyzing the contents.

At the very least, stop postfix.

Taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20131212042203.ga23...@myownsite.me



cron.daily logrotate beating up my server

2014-02-24 Thread Tazman Deville
I have a little server running here in my office,
and logrotate kept running at c. 7am, and using up 100% CPU.
I changed the line in /etc/crontab to run cron.daily scripts
at 4:15am, instead of 7:whateveritwas am.
15 4 * * *
Also, in cron.daily/logrotate
I added 
nice -n 15
I made these changes two days ago,
and still, yesterday and today, logrotate is running at 7:30ami-ish,
and using up almost 100% of CPU cycles.
The "server" is an old refurbed eMachines box,
3.2ghz single core celeron with 2gb ram (was my work box from 2007 to
2011), and logrotate is beating it up.

How do I get logrotate, first,
to run at a time when the server is not busy with other stuff 
(I'm actively doing stuff on the server at 7am, but not at 4am, which is
why I had made that change).
and/or
limit its abuse of CPU cycles?

Why is it seemingly not honouring the changes I made to /etc/crontab
and cron.daily/logrotate?

Taz
--
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140224125702.ga16...@myownsite.me



Re: PROBLEMA DE IMPRESSÃO NO DEBIAN

2014-02-24 Thread Tazman Deville
On Mon, Feb 24, 2014 at 12:40:56PM +, Nuno Magalhães wrote:
> Boas,
> 
> Esta lista é em inglês, e é considerado má etiqueta usar CAPS.
> Se quiseres continuar em português, usa a
> https://lists.debian.org/debian-user-portuguese/
> 
> 2014-02-24 8:34 GMT+00:00 Vanderlei Gouvêa :
> > As impressoras de rede brother e HP na empresa que eu trabalho está muito
> > lento no SO DEBIAN.
> > E parece que este problema sempre ocorreu no DEBIAN e nos fóruns na web
> > ninguém conhece a solução.
> 
> Quanto às impressoras, tenta o HPLIP, nunca tive problemas com um
> multi-funções da HP.
> 

Posso dizer que tenho um HP5610 All-in-One
e funciona perfectamente com Wheezy (e Lenny e Squeeze) com o HPLIP.
O meu não esta ligado num rede, porem, mas com um maquina só.

boa sorte
Taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140224130023.gb16...@myownsite.me



Re: cron.daily logrotate beating up my server

2014-02-24 Thread Tazman Deville
On Mon, Feb 24, 2014 at 01:57:02PM +0100, Tazman Deville wrote:
> I have a little server running here in my office,
> and logrotate kept running at c. 7am, and using up 100% CPU.
> I changed the line in /etc/crontab to run cron.daily scripts
> at 4:15am, instead of 7:whateveritwas am.
> 15 4 * * *
> Also, in cron.daily/logrotate
> I added 
> nice -n 15
> I made these changes two days ago,
> and still, yesterday and today, logrotate is running at 7:30ami-ish,
> and using up almost 100% of CPU cycles.
> The "server" is an old refurbed eMachines box,
> 3.2ghz single core celeron with 2gb ram (was my work box from 2007 to
> 2011), and logrotate is beating it up.
> 
> How do I get logrotate, first,
> to run at a time when the server is not busy with other stuff 
> (I'm actively doing stuff on the server at 7am, but not at 4am, which is
> why I had made that change).
> and/or
> limit its abuse of CPU cycles?
> 
> Why is it seemingly not honouring the changes I made to /etc/crontab
> and cron.daily/logrotate?

Off-list someone suggested I restart the cron daemon, which I have done.
I won't know if that helped until tomorrow morning, though.

Taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140224140648.ga18...@myownsite.me



Re: cron.daily logrotate beating up my server

2014-02-25 Thread Tazman Deville
On Mon, Feb 24, 2014 at 11:15:19PM +0200, Andrei POPESCU wrote:
> On Lu, 24 feb 14, 15:06:48, Tazman Deville wrote:
> > On Mon, Feb 24, 2014 at 01:57:02PM +0100, Tazman Deville wrote:
> > > I have a little server running here in my office,
> > > and logrotate kept running at c. 7am, and using up 100% CPU.
> > > I changed the line in /etc/crontab to run cron.daily scripts
> > > at 4:15am, instead of 7:whateveritwas am.
> > > 15 4 * * *
> > > Also, in cron.daily/logrotate
> > > I added 
> > > nice -n 15
> > > I made these changes two days ago,
> > > and still, yesterday and today, logrotate is running at 7:30ami-ish,
> > > and using up almost 100% of CPU cycles.
> > > The "server" is an old refurbed eMachines box,
> > > 3.2ghz single core celeron with 2gb ram (was my work box from 2007 to
> > > 2011), and logrotate is beating it up.
> > > 
> > > How do I get logrotate, first,
> > > to run at a time when the server is not busy with other stuff 
> > > (I'm actively doing stuff on the server at 7am, but not at 4am, which is
> > > why I had made that change).
> > > and/or
> > > limit its abuse of CPU cycles?
> > > 
> > > Why is it seemingly not honouring the changes I made to /etc/crontab
> > > and cron.daily/logrotate?
> > 
> > Off-list someone suggested I restart the cron daemon, which I have done.
> > I won't know if that helped until tomorrow morning, though.
> 
> According to the manpage it is not necessary to restart the daemon, so 
> this should not fix your problem. How about you attach your crontab and 
> the relevant parts from syslog? Also check if you have anacron 
> installed.
> 

First, as Andrei surmised, restarting cron has made no difference.
It's still starting late.

My /etc/crontab is as follows:

SHELL=/bin/sh
PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin

# m h dom mon dow user  command
17 ** * *   rootcd / && run-parts --report /etc/cron.hourly
15 4* * *   roottest -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.daily )
07 3* * 7   roottest -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.weekly )
52 11 * *   roottest -x /usr/sbin/anacron || ( cd / && run-parts
--report /etc/cron.monthly )


I DO have anacron installed.
I do not know what is relevant from syslog.
I find no mention of cron, crontab, or logrotate in /var/log/syslog
at all.

Taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140225125339.ga13...@myownsite.me



Re: cron.daily logrotate beating up my server

2014-02-25 Thread Tazman Deville
On Mon, Feb 24, 2014 at 07:38:24PM -0300, André Nunes Batista wrote:
> On Mon, 2014-02-24 at 13:57 +0100, Tazman Deville wrote:
> > I have a little server running here in my office,
> > and logrotate kept running at c. 7am, and using up 100% CPU.
> > I changed the line in /etc/crontab to run cron.daily scripts
> > at 4:15am, instead of 7:whateveritwas am.
> > 15 4 * * *
> > Also, in cron.daily/logrotate
> > I added 
> > nice -n 15
> 
> If you do not want this process to take precedence, why did you choose
> such a low niceness to other processes? Shouldn't you have chosen
> something above 10 or at least above 0?

Perhaps I misunderstand, but from reading man nice,
my understanding is that -20 is the hightest priority,
and 19 is the lowest, so I assume 15 was low priority.
I've tried to renice the process in htop now that it's running again,
and that doesn't seem to be working.

Taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140225125513.gb13...@myownsite.me



Re: cron.daily logrotate beating up my server

2014-02-27 Thread Tazman Deville
On Wed, Feb 26, 2014 at 06:43:36AM -0500, Tony Baldwin wrote:
> On Wed, Feb 26, 2014 at 06:41:22AM -0500, Tony Baldwin wrote:
> > On Wed, Feb 26, 2014 at 12:09:05PM +0200, Andrei POPESCU wrote:
> > > On Ma, 25 feb 14, 13:53:39, Tazman Deville wrote:
> > > > 
> > > > I DO have anacron installed.
> > > 
> > > Well, purge (not remove) it then, or adjust /etc/anacrontab as needed ;)
> > > 
> > > Kind regards,
> > > Andrei
> > 
> > Thanks, Andrei,
> > But could you explain why I want to purge anacron, please?
> > 
> 
> Actually, you know what?
> The server does NOT have anacron installed.
> I must have searched for it in the wrong terminal.
> It IS installed on this desktop, but not on that server.
> Doh...

My server had anacron, which I purged, and this issue now appears
to be resolved.

Thanks!

Taz
-- 
http://tazmandevil.info
taz hungry


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140227110602.ga27...@myownsite.me



SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
I have two servers, both running wheezy with dovecot/postfix for mail.
They were both sending/receiving mail fine 24 hours ago.
Now neither is.
On one, I've done nothing to alter anything with either postfix or
dovecot in the last 24 hours.
On the other, I generated a new smtpd.key and smptd.crt for postfix, 
restarted postfix and dovecot...and I thought I'd done something wrong,
until I found that the other server is also having the same problem.

On both servers, I ran aptitude updates yesterday.
I generally update them both weekly.
They were both sending/receiving mail fine before that.
They seem to both receive, but not send mail now.

I can only assume something from aptitude updates broke my mail servers.
How do I diagnose and resolve this matter?

taz
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140311131752.ga16...@myownsite.me



Re: SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
On Tue, Mar 11, 2014 at 02:17:52PM +0100, Tazman Deville wrote:
> I have two servers, both running wheezy with dovecot/postfix for mail.
> They were both sending/receiving mail fine 24 hours ago.
> Now neither is.
> On one, I've done nothing to alter anything with either postfix or
> dovecot in the last 24 hours.
> On the other, I generated a new smtpd.key and smptd.crt for postfix, 
> restarted postfix and dovecot...and I thought I'd done something wrong,
> until I found that the other server is also having the same problem.
> 
> On both servers, I ran aptitude updates yesterday.
> I generally update them both weekly.
> They were both sending/receiving mail fine before that.
> They seem to both receive, but not send mail now.
> 
> I can only assume something from aptitude updates broke my mail servers.
> How do I diagnose and resolve this matter?
> 
> taz

Incidentally, I have tried sending/receiving with both mutt and
squirrelmail on accounts for both servers.
Again, I confirm, they can receive mail fine, but no account
on either server can send mail, either with mutt or squirrelmail.
In both cases, the same error: SASL authentication failure.
In some cases, then mutt asks for the password for the smtp account.
I provide that, and it continues to fail.
I find this odd, since I have the passwords in my muttrc files,
and, as mentioned above, everything was working fine yesterday,
both sending and receiving.

taz
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140311132223.gc16...@myownsite.me



Re: SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
On Tue, Mar 11, 2014 at 01:25:39PM +, Jonathan Dowland wrote:
> If mail is not sending, you need to look at the postfix logs and see if
> there's an explanation for a test mail. dovecot will not be relevant
> unless you are using send-over-IMAP which is unlikely. Can you share
> some relevant log lines?
> 

You trimmed relevant stuff...nonetheless,
I am using IMAP not POP for these accounts,
but afaik, I'm sending over SMTP.

Now, that I look, I'm seeing this in the mail.err logs:
Mar 10 22:04:58 myownsite dovecot: auth-worker(13988): Error:
mysql(127.0.0.1): Connect failed to database (mail): Can't connect to
MySQL server on '127.0.0.1' (111) - waiting for 125 seconds before
retry
on one server, but not such thing on the other
I think mariadb was overworked last night (since moved some sites off
this server, CPU load was massive, but now ok).

tail of mail.log on same server with above error looks relatively
normal:
Mar 11 14:25:54 myownsite dovecot: imap(to...@myownsite.me):
Disconnected: Logged out in=117 out=1469
Mar 11 14:26:43 myownsite dovecot: imap-login: Login:
user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
mpid=17024, secured, session=
Mar 11 14:26:43 myownsite dovecot: imap(to...@myownsite.me):
Disconnected: Logged out in=85 out=708
Mar 11 14:27:03 myownsite postfix/anvil[16975]: statistics: max
connection rate 1/60s for (smtp:209.170.84.20) at Mar 11 14:23:43
Mar 11 14:27:03 myownsite postfix/anvil[16975]: statistics: max
connection count 1 for (smtp:209.170.84.20) at Mar 11 14:23:43
Mar 11 14:27:03 myownsite postfix/anvil[16975]: statistics: max cache
size 1 at Mar 11 14:23:43

both servers show similar in mail.warn:
Mar 11 13:52:16 myownsite postfix/smtpd[16685]: warning: SASL
authentication failure: Password verification failed
Mar 11 13:52:16 myownsite postfix/smtpd[16685]: warning:
myownsite.me[178.238.226.185]: SASL PLAIN authentication failed:
authentication failure
Mar 11 13:57:58 myownsite postfix/smtpd[16797]: warning: SASL
authentication failure: Password verification failed
Mar 11 13:57:58 myownsite postfix/smtpd[16797]: warning:
myownsite.me[178.238.226.185]: SASL PLAIN authentication failed:
authentication failure
Mar 11 13:59:51 myownsite postfix/smtpd[16823]: warning: SASL
authentication failure: Password verification failed
Mar 11 13:59:51 myownsite postfix/smtpd[16823]: warning:
myownsite.me[178.238.226.185]: SASL PLAIN authentication failed:
authentication failure

I can't for the life of me determine anything useful from these.

Taz
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140311134102.ga16...@myownsite.me



Re: SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
On Tue, Mar 11, 2014 at 02:41:02PM +0100, Tazman Deville wrote:
> On Tue, Mar 11, 2014 at 01:25:39PM +, Jonathan Dowland wrote:
> > If mail is not sending, you need to look at the postfix logs and see if
> > there's an explanation for a test mail. dovecot will not be relevant
> > unless you are using send-over-IMAP which is unlikely. Can you share
> > some relevant log lines?
> > 
> 
> You trimmed relevant stuff...nonetheless,
> I am using IMAP not POP for these accounts,
> but afaik, I'm sending over SMTP.
> 
> Now, that I look, I'm seeing this in the mail.err logs:
> Mar 10 22:04:58 myownsite dovecot: auth-worker(13988): Error:
> mysql(127.0.0.1): Connect failed to database (mail): Can't connect to
> MySQL server on '127.0.0.1' (111) - waiting for 125 seconds before
> retry
> on one server, but not such thing on the other
> I think mariadb was overworked last night (since moved some sites off
> this server, CPU load was massive, but now ok).
> 
It's probably relevant that I do not see such error this morning,
but only from last night, and only on the server where mysql/mariadb
processes were skyrocketing until I moved some stuff around.
No such error on the other server that's having precisely the same mail
woes (but not similar problems with mariadb).

taz
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140311134322.ga19...@myownsite.me



Re: SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
On Tue, Mar 11, 2014 at 02:41:02PM +0100, Tazman Deville wrote:
> On Tue, Mar 11, 2014 at 01:25:39PM +, Jonathan Dowland wrote:
> > If mail is not sending, you need to look at the postfix logs and see if
> > there's an explanation for a test mail. dovecot will not be relevant
> > unless you are using send-over-IMAP which is unlikely. Can you share
> > some relevant log lines?
> > 
> 
> tail of mail.log on same server with above error looks relatively
> normal:
> Mar 11 14:25:54 myownsite dovecot: imap(to...@myownsite.me):
> Disconnected: Logged out in=117 out=1469
> Mar 11 14:26:43 myownsite dovecot: imap-login: Login:
> user=, method=PLAIN, rip=127.0.0.1, lip=127.0.0.1,
> mpid=17024, secured, session=
> Mar 11 14:26:43 myownsite dovecot: imap(to...@myownsite.me):
> Disconnected: Logged out in=85 out=708
> Mar 11 14:27:03 myownsite postfix/anvil[16975]: statistics: max
> connection rate 1/60s for (smtp:209.170.84.20) at Mar 11 14:23:43
> Mar 11 14:27:03 myownsite postfix/anvil[16975]: statistics: max
> connection count 1 for (smtp:209.170.84.20) at Mar 11 14:23:43
> Mar 11 14:27:03 myownsite postfix/anvil[16975]: statistics: max cache
> size 1 at Mar 11 14:23:43
> 
> both servers show similar in mail.warn:
> Mar 11 13:52:16 myownsite postfix/smtpd[16685]: warning: SASL
> authentication failure: Password verification failed
> Mar 11 13:52:16 myownsite postfix/smtpd[16685]: warning:
> myownsite.me[178.238.226.185]: SASL PLAIN authentication failed:
> authentication failure
> Mar 11 13:57:58 myownsite postfix/smtpd[16797]: warning: SASL
> authentication failure: Password verification failed
> Mar 11 13:57:58 myownsite postfix/smtpd[16797]: warning:
> myownsite.me[178.238.226.185]: SASL PLAIN authentication failed:
> authentication failure
> Mar 11 13:59:51 myownsite postfix/smtpd[16823]: warning: SASL
> authentication failure: Password verification failed
> Mar 11 13:59:51 myownsite postfix/smtpd[16823]: warning:
> myownsite.me[178.238.226.185]: SASL PLAIN authentication failed:
> authentication failure
> 
Perhaps this is relevant:
telnet localhost 25
Trying 127.0.0.1...
Connected to localhost.localdomain.
Escape character is '^]'.
220 myownsite.me ESMTP Postfix (Debian/GNU)
ehlo localhost
250-myownsite.me
250-PIPELINING
250-SIZE 3072
250-VRFY
250-ETRN
250-STARTTLS
250-AUTH PLAIN LOGIN
250-AUTH=PLAIN LOGIN
250-ENHANCEDSTATUSCODES
250-8BITMIME
250 DSN
quit
221 2.0.0 Bye

looks okay there, yes?

taz
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140311134934.ga19...@myownsite.me



Re: SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
On Tue, Mar 11, 2014 at 03:12:22PM +0100, Jochen Spieker wrote:
> Tazman Deville:
> > 
> > Now, that I look, I'm seeing this in the mail.err logs:
> > Mar 10 22:04:58 myownsite dovecot: auth-worker(13988): Error:
> > mysql(127.0.0.1): Connect failed to database (mail): Can't connect to
> > MySQL server on '127.0.0.1' (111) - waiting for 125 seconds before
> > retry
> > on one server, but not such thing on the other
> > I think mariadb was overworked last night (since moved some sites off
> > this server, CPU load was massive, but now ok).
> 
> It is really hard to help without you trying to make straightforward
> tests and posting the resulting log file entries. Output of dovecot -n
> and postconf -n would help as well.

Why don't you explain what "straightforward tests" means, then.
I tried to send mail and showed you what the logs show.
What else am I to do?

I can't imagine there being a problem with my postconf or dovecot
configurations, since they were both working fine 24 hours ago before I
ran aptitude update && safe-upgrade

Nonetheless:
postconf -n
alias_database = hash:/etc/aliases
alias_maps = hash:/etc/aliases
append_dot_mydomain = no
biff = no
broken_sasl_auth_clients = yes
config_directory = /etc/postfix
dovecot_destination_recipient_limit = 1
html_directory = /usr/share/doc/postfix/html
inet_interfaces = all
mailbox_size_limit = 0
message_size_limit = 3072
mydestination = mail.myownsite.me, localhost, localhost.localdomain
myhostname = myownsite.me
mynetworks = 127.0.0.0/8
myorigin = /etc/mailname
proxy_read_maps = $local_recipient_maps $mydestination
$virtual_alias_maps $virtual_alias_domains $virtual_mailbox_maps
$virtual_mailbox_domains $relay_recipient_maps $relay_domains
$canonical_maps $sender_canonical_maps $recipient_canonical_maps
$relocated_maps $transport_maps $mynetworks $virtual_mailbox_limit_maps
readme_directory = /usr/share/doc/postfix
recipient_delimiter = +
relayhost =
smtp_tls_session_cache_database = btree:${data_directory}/smtp_scache
smtpd_banner = $myhostname ESMTP $mail_name (Debian/GNU)
smtpd_recipient_restrictions = permit_mynetworks,
permit_sasl_authenticated, reject_unauth_destination
smtpd_sasl_auth_enable = yes
smtpd_sasl_authenticated_header = yes
smtpd_tls_cert_file = /etc/postfix/smtpd.cert
smtpd_tls_key_file = /etc/postfix/smtpd.key
smtpd_tls_session_cache_database = btree:${data_directory}/smtpd_scache
smtpd_use_tls = yes
virtual_alias_domains =
virtual_alias_maps =
proxy:mysql:/etc/postfix/mysql-virtual_forwardings.cf,
mysql:/etc/postfix/mysql-virtual_email2email.cf
virtual_gid_maps = static:5000
virtual_mailbox_base = /home/vmail
virtual_mailbox_domains =
proxy:mysql:/etc/postfix/mysql-virtual_domains.cf
virtual_mailbox_maps =
proxy:mysql:/etc/postfix/mysql-virtual_mailboxes.cf
virtual_transport = dovecot
virtual_uid_maps = static:5000

dovecot -n
# 2.1.7: /etc/dovecot/dovecot.conf
# OS: Linux 3.2.0-4-amd64 x86_64 Debian 7.4 ext4
log_timestamp = "%Y-%m-%d %H:%M:%S "
mail_location = maildir:/home/vmail/%d/%n/Maildir
namespace {
  inbox = yes
location = 
  prefix = INBOX.
separator = .
  type = private
  }
  passdb {
args = /etc/dovecot/dovecot-sql.conf
  driver = sql
  }
  protocols = imap pop3
  service auth {
user = root
}
ssl_cert = http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140311141840.gb19...@myownsite.me



Re: SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
On Tue, Mar 11, 2014 at 03:13:25PM +, Tom Furie wrote:
> On Tue, Mar 11, 2014 at 02:49:34PM +0100, Tazman Deville wrote:
> > On Tue, Mar 11, 2014 at 02:41:02PM +0100, Tazman Deville wrote:
> 
> > > both servers show similar in mail.warn:
> > > Mar 11 13:52:16 myownsite postfix/smtpd[16685]: warning: SASL
> > > authentication failure: Password verification failed
> > > Mar 11 13:52:16 myownsite postfix/smtpd[16685]: warning:
> > > myownsite.me[178.238.226.185]: SASL PLAIN authentication failed:
> > > authentication failure
> 
> > Perhaps this is relevant:
> > telnet localhost 25
> > Trying 127.0.0.1...
> > Connected to localhost.localdomain.
> > Escape character is '^]'.
> > 220 myownsite.me ESMTP Postfix (Debian/GNU)
> > ehlo localhost
> > 250-myownsite.me
> > 250-PIPELINING
> > 250-SIZE 3072
> > 250-VRFY
> > 250-ETRN
> > 250-STARTTLS
> > 250-AUTH PLAIN LOGIN
> > 250-AUTH=PLAIN LOGIN
> > 250-ENHANCEDSTATUSCODES
> > 250-8BITMIME
> > 250 DSN
> > quit
> > 221 2.0.0 Bye
> > 
> > looks okay there, yes?
> 
> That looks okay in as much as you are able to connect to the SMTP
> server, however you haven't tried to authenticate with it which is where
> you are having problems. You were having trouble connecting to dovecot
> on the evening of the 10th due to the database being overloaded, but
> that problem resolved itself when the server load came down to
> manageable levels, and you have said you are having no problem receiving
> mail. Dovecot is not part of the equation.
> 
> The log segment above indicates a failure to authenticate with the SMTP
> server. What backend are you using for that authentication, the same
> mySQL database? Are both servers using the same backend?

Both servers are nearly identically configured (just different domains
and users).
One has been running Wheezy several months longer, but they're both on
wheezy now, anyway.
I essentially set them up, initially, when running squeeze, according to
the instructions here:
https://library.linode.com/email/postfix/dovecot-mysql-debian-6-squeeze
although 1) they are not on linode (one is on contabo in germany, the
other is here in my office), and 2), they were both updated to Wheezy
since then (and configs for both dovecot and postfix had to be altered
at that time, but that was months ago for both, and both were working
until this morning).
They both use mysql (well, mariadb) auth for both dovecot and postfix.
I have confirmed that I can connect to the DB on either server with the
mail admin account configured in postfix.
Yet, I can not send mail.
I'm stumped.
They were working yesterday during the day. I ran aptitude update, then
safe-upgrade later in the evening.
Then today, they can not send mail.
As far as I recall, postfix was not updated yesterday.
Nor was mariadb, dovecot, or anything else I can imagine is significant
here. Aside from mail, the servers have slightly different software
installed. One received 1 update, the other 3.
I do not believe they were the same at all (as in the 1 update one the
first server was not the same as any of the 3 on the other).
Still, they're having apparently identical problems now, and the only
thing that has changed on either since they were working was running the
aptitude updates.
All the logs seem to be telling me is that SASL auth is failing,
which I know. They do not tell me why or wherein lies the failure.

taz
:wq
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140311152245.ga28...@myownsite.me



Re: SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
On Tue, Mar 11, 2014 at 04:35:51PM +, Tom Furie wrote:
> On Tue, Mar 11, 2014 at 04:22:45PM +0100, Tazman Deville wrote:
> 
> > They both use mysql (well, mariadb) auth for both dovecot and
> > postfix.
> > I have confirmed that I can connect to the DB on either server with
> > the
> > mail admin account configured in postfix.
> > Yet, I can not send mail.
> 
> Do they connect to the same database for authentication against both
> dovecot and postfix? Can you connect to the database as a normal user?
> How many users are having the problem?

There are few users on either server, and all I've tested are unable to
send mail.
In both servers, there is 1 mail DB for both dovecot and postfix, yes.
 
 > > As far as I recall, postfix was not updated yesterday.
 > > Nor was mariadb, dovecot, or anything else I can imagine is
 > > significant
 > > here. Aside from mail, the servers have slightly different software
 > > installed. One received 1 update, the other 3.
 > > I do not believe they were the same at all (as in the 1 update one
 > > the
 > > first server was not the same as any of the 3 on the other).
 > 
 > It might help to know exactly which packages were updated -
 > /var/log/apt/{history,term}.log and /var/log/dpkg.log
 > should have the information.

 tail history.log for one of the servers:

 Start-Date: 2014-03-04  15:30:45
 Upgrade: mariadb-server:i386 (5.5.35+maria-1~wheezy,
 5.5.36+maria-1~wheezy), php5:i386 (5.4.4-14+deb7u7, 5.4.4-14+deb7u8),
 php5-sqlite:i386 (5.4.4-14+deb7u7, 5.4.4-14+deb7u8), mysql-common:i386
 (5.5.35+maria-1~wheezy, 5.5.36+maria-1~wheezy), libgnutls26:i386
 (2.12.20-7, 2.12.20-8+deb7u1), php5-gd:i386 (5.4.4-14+deb7u7,
 5.4.4-14+deb7u8), xulrunner-27:i386 (27.0-2~bpo70+1, 27.0.1-1~bpo70+1),
 php-pear:i386 (5.4.4-14+deb7u7, 5.4.4-14+deb7u8), iceweasel:i386
 (27.0-2~bpo70+1, 27.0.1-1~bpo70+1), php5-curl:i386 (5.4.4-14+deb7u7,
 5.4.4-14+deb7u8), libmozjs-dev:i386 (27.0-2~bpo70+1, 27.0.1-1~bpo70+1),
 mariadb-client:i386 (5.5.35+maria-1~wheezy, 5.5.36+maria-1~wheezy),
 libmozjs27d:i386 (27.0-2~bpo70+1, 27.0.1-1~bpo70+1),
 libmariadbclient18:i386 (5.5.35+maria-1~wheezy, 5.5.36+maria-1~wheezy),
 mariadb-server-core-5.5:i386 (5.5.35+maria-1~wheezy,
 5.5.36+maria-1~wheezy), php5-mcrypt:i386 (5.4.4-14+deb7u7,
 5.4.4-14+deb7u8), libmysqlclient18:i386 (5.5.35+maria-1~wheezy,
 5.5.36+maria-1~wheezy), php5-intl:i386 (5.4.4-14+deb7u7,
 5.4.4-14+deb7u8), mariadb-common:i386 (5.5.35+maria-1~wheezy,
 5.5.36+maria-1~wheezy), php5-mysql:i386 (5.4.4-14+deb7u7,
 5.4.4-14+deb7u8), php5-cli:i386 (5.4.4-14+deb7u7, 5.4.4-14+deb7u8),
 mariadb-server-5.5:i386 (5.5.35+maria-1~wheezy, 5.5.36+maria-1~wheezy),
 mariadb-client-core-5.5:i386 (5.5.35+maria-1~wheezy,
 5.5.36+maria-1~wheezy), libapache2-mod-php5:i386 (5.4.4-14+deb7u7,
 5.4.4-14+deb7u8), mariadb-client-5.5:i386 (5.5.35+maria-1~wheezy,
 5.5.36+maria-1~wheezy), php5-common:i386 (5.4.4-14+deb7u7,
 5.4.4-14+deb7u8), xulrunner-dev:i386 (27.0-2~bpo70+1, 27.0.1-1~bpo70+1)
 End-Date: 2014-03-04  15:32:56

 Start-Date: 2014-03-10  23:32:28
 Upgrade: udisks:i386 (1.0.4-7, 1.0.4-7wheezy1)
 End-Date: 2014-03-10  23:32:50


 I thought that might be getting us somewhere, since mariadb is in
 there,
 but that was on the 4th, and the server was working until today, the
 11th.


 Now tail term.log for the same server as above:

 Processing triggers for menu ...
 Log ended: 2014-03-04  15:32:56

 Log started: 2014-03-10  23:32:28
 (Reading database ... 220649 files and directories currently
 installed.)
 Preparing to replace udisks 1.0.4-7 (using
 .../udisks_1.0.4-7wheezy1_i386.deb) ...
 Unpacking replacement udisks ...
 Processing triggers for man-db ...
 Setting up udisks (1.0.4-7wheezy1) ...
 Log ended: 2014-03-10  23:32:50

 The other servers shows the same updates on the 4th, plus this from the
 10th in history.log:

 Start-Date: 2014-03-10  23:13:25
 Upgrade: libyaml-libyaml-perl:amd64 (0.38-3, 0.38-3+deb7u1)
 End-Date: 2014-03-10  23:13:37
 and this in tail term.log
 [ ok ] Reloading web server config: apache2.
 Log ended: 2014-03-04  21:32:51

 Log started: 2014-03-10  23:13:25
 (Reading database ... 90014 files and directories currently installed.)
 Preparing to replace libyaml-libyaml-perl 0.38-3 (using
 .../libyaml-libyaml-perl_0.38-3+deb7u1_amd64.deb) ...
 Unpacking replacement libyaml-libyaml-perl ...
 Processing triggers for man-db ...
 Setting up libyaml-libyaml-perl (0.38-3+deb7u1) ...
 Log ended: 2014-03-10  23:13:37

 So the updates they received yesterday don't look relevant,
 but they were both working until today.

 I've tried using mutt here from my desktop, and also on each server
 over
 ssh, plus, they both have squirrelmail on the servers, and I've tried
 that. In all cases, I am receiving mail normally and can log in an read
 it, but can not send anything out.

 > 
 > > Still, they&#x

Re: SASL auth failure dovecot/postfix

2014-03-11 Thread Tazman Deville
On Tue, Mar 11, 2014 at 07:36:55PM +0100, Tazman Deville wrote:
> On Tue, Mar 11, 2014 at 04:35:51PM +, Tom Furie wrote:
> > On Tue, Mar 11, 2014 at 04:22:45PM +0100, Tazman Deville wrote:
> > 
> > > They both use mysql (well, mariadb) auth for both dovecot and
> > > postfix.
> > > I have confirmed that I can connect to the DB on either server with
> > > the
> > > mail admin account configured in postfix.
> > > Yet, I can not send mail.
> > 
>  > 
>  > Does /var/log/auth.log have any further details?
> 
>  Ah! Perhaps this will be useful.
>  I just logged in with mutt, received mail, and tried to send one
>  message, and get this from tail auth.log:
> 
>  Mar 11 19:33:32 myownsite postfix/smtpd[32642]: sql plugin Parse the
>  username t...@liberame.org
>  Mar 11 19:33:32 myownsite postfix/smtpd[32642]: sql plugin try and
>  connect to a host
>  Mar 11 19:33:32 myownsite postfix/smtpd[32642]: sql plugin trying to
>  open db 'mail' on host '127.0.0.1'
>  Mar 11 19:33:32 myownsite saslauthd[1850]: PAM unable to
>  dlopen(pam_mysql.so): /lib/security/pam_mysql.so: symbol
>  make_scrambled_password, version libmysqlclient_18 not defined in file
>  libmysqlclient.so.18 with link time reference
>  Mar 11 19:33:32 myownsite saslauthd[1850]: PAM adding faulty module:
>  pam_mysql.so
>  Mar 11 19:33:32 myownsite saslauthd[1850]: DEBUG: auth_pam:
>  pam_authenticate failed: Module is unknown
>  Mar 11 19:33:32 myownsite saslauthd[1850]: do_auth : auth
>  failure: [user=t...@liberame.org] [service=smtp] [realm=liberame.org]
>  [mech=pam] [reason=PAM auth error]
>  Mar 11 19:33:37 myownsite mutt: DIGEST-MD5 common mech free
>  Mar 11 19:33:40 myownsite sudo:   tazman : TTY=pts/0 ; PWD=/var/log ;
>  USER=root ; COMMAND=/usr/bin/tail auth.log
>  Mar 11 19:33:40 myownsite sudo: pam_unix(sudo:session): session opened
>  for user root by tazman(uid=0)
> 

Well, with this pam error, I found an Arch thread here:
https://bbs.archlinux.org/viewtopic.php?id=177758
so it looks like it is a known problem,
but I have not yet found a solution (short of dumping mariadb and moving
back to mysql, which I'd rather not, if I can avoid it).

taz
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140311184506.ga...@myownsite.me



Re: SASL auth failure dovecot/postfix

2014-03-12 Thread Tazman Deville
On Wed, Mar 12, 2014 at 04:01:59AM +, Tom Furie wrote:
> On Tue, Mar 11, 2014 at 09:43:41PM -0400, Tony Baldwin wrote:
> 
> > This is what we ended up doing, rolling back to an older version of
> > mariadb, libmysqlclient18, etc.
> > 
> > I posted the relevant instructions (where to get the older pkgs, etc.)
> > earlier.
> > Both Taz' server and the other are both sending mail again (I'm sending
> > this message from the office server. Taz rents a VPS on another server
> > of mine, and we co-admin some sites).
> 
> Yeah, I saw your response with much more definitive information had
> arrived between me starting my reply and sending it. Good to know you
> got the problem solved and what the fix was.
> 

everything seems in order over here now.
RESOLVED!

:-D
Taz
-- 
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20140312115613.gb17...@myownsite.me



Re: curl cannot be used. Any workaround?

2015-02-21 Thread Tazman DeVille
On Sat, Feb 21, 2015 at 09:50:34AM +0100, Sven Joachim wrote:
> On 2015-02-21 01:34 +0100, Dan Jacobson wrote:
> 
> > $ curl
> > curl: relocation error: /usr/lib/i386-linux-gnu/libcurl.so.4: symbol
> > SSLv3_client_method, version OPENSSL_1.0.0 not defined in file
> > libssl.so.1.0.0 with link time reference
> >
> > Yes I see lots about it in the bug tracker.
> 
> You even reported one of those[1] yourself…
> 
> > What is the workaround?
> 
> Don't use libssl1.0.0 from experimental, downgrade to the version in
> unstable.
> 
> Cheers,
>Sven
> 
> 
> 1. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=771993
> 

Or use wget?

Taz
--
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150222001521.ga5...@myownsite.me



Re: My Friends Make Fun of My UI

2015-03-11 Thread Tazman DeVille
On Wed, Mar 04, 2015 at 04:34:51PM -0700, Glenn English wrote:
> 
> On Mar 4, 2015, at 2:03 PM, Stephen R Guglielmo  wrote:
> 
> > I would like to upgrade to Gnome so my desktop looks/feels a bit nicer
> > and gain a few extra features I'm missing in LXDE. However, I don't
> > want all the "stuff" that normally comes with Gnome.
> 
> You're fine. You just need to get some new friends.
> 
> -- 
> Glenn English
> 
I'm with Glenn on this one.

Taz
--
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150312020719.ga11...@myownsite.me



Re: Cool things to do with server

2015-03-17 Thread Tazman DeVille
On Sat, Mar 14, 2015 at 03:38:44PM -0700, Joris Bolsens wrote:
> Hey all,
> 
> I've got a smallish Debian server that I'm currently not really using
> for anything.
> At the moment I have it as my own imagehost, general fileserver, vpn,
> and a pastebin like thing.
> 
> What are some cool/fun/weird things you use your servers for?
> 
Run a RedMatrix hub on it. See https://redmatrix.me

./taz
--
https://red.liberame.org/channel/tazdvl


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150317183732.ga17...@myownsite.me



Re: Cool things to do with server

2015-03-17 Thread Tazman DeVille
On Sun, Mar 15, 2015 at 02:06:10PM +, Dan Purgert wrote:
> On Sat, 14 Mar 2015 19:43:46 -0700, Joris Bolsens wrote:
> 
> >> I have a guide on my website[1] for setting up Postfix that is secure.
> >> If you google, you'll find many more for different configurations[2].
> >> Use them as guides and review the documentation on the proper
> >> Postfix/Exim/etc websites and man pages.
> >> 
> > I'll give it a look then, awesome :D
> > 
> > Anything else I could do with this server? :p
> > 
> > Really just looking for some fun projects to keep me busy and keep the
> > server busy so I don't feel like I'm wasting money on hosting costs.
> > 
> > ~Joris
> 
> Confirming "mail server" will keep you busy - especially the initial 
> configuration (there will be a lot of "WTF, now what'd I do!?" moments, 
> if you're like me). 
> 
> But yeah, postfix + dovecot (or other sasl agent) is pretty 'secure' in 

Linode (expensive host, I no longer use, but with lotso great docu),
has a great howto for setting up mail with postfix, dovecot, mysql on
squeeze: 
https://www.linode.com/docs/email/postfix/email-with-postfix-dovecot-and-mysql-on-debian-6-squeeze/
I still refer to it when setting up new mail servers, although configs
are a little different in Wheezy now (and I don't even know about
Jessie, yet).

./taz
--
http://taz.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150317184201.gb17...@myownsite.me



Re: Best way for "Red Hat guy" to learn Debian?

2015-04-26 Thread Tazman DeVille
On Sun, Apr 26, 2015 at 09:04:21PM +0100, Lisi Reisz wrote:
> On Sunday 26 April 2015 20:46:22 Ric Moore wrote:
> > On 04/26/2015 03:30 PM, Ian Pilcher wrote:
> > > I'm a longtime user of Red Hat-style distributions (RHL, RHEL, CentOS,
> > > Fedora, etc.).  My home router/firewall is a 32-bit VIA C7 system that
> > > is currently running CentOS 6.  I really want to move this to a more
> > > modern stable distribution, but Red Hat has abandoned 32-bit platforms
> > > with RHEL 7.  Thus, I'm considering moving this system to Debian Jessie.
> > >
> > > Does anyone know of any good resources (books, web sites, etc.) to help
> > > an experienced "Red Hat guy" make the transition?  I'm really looking
> > > for something that highlights the differences from a sysadmin's point of
> > > view.  Unfortunately, I don't think I have the patience for any sort of
> > > "intro to Linux".  ;-)
> >
> > You shouldn't find a huge difference at all. You can use apt-get sorta
> > like you used yum. I think, if you are running headless, that would need
> > to familiarize yourself with it. I think you will come to appreciate
> > apt-get after using yum for years, as I did in 2006. Other than that, I
> > cannot think of a major difference, other than if you install Jessie,
> > you will get systemd. Wheezy doesn't have it, unless you install it.
> > Welcome, from an RPM expat. :) Ric
> 
> Speaking as a Debianist who has occasionally used RH-style distributions:
> The files are in different places.
> The run levels are different: well, 0,1 and 6 are the same, but the others 
> are 
> used differently.
> I can't get used to update (YUM) meaning upgrade (aptitude etc.).
> 
> Welcome to the bright side. ;-)
> 
> Lisi
> 

I was also an RH/Fedora/CentOS guy until about 2006, when I came to my senses
(got tired of yum breaking stuff).
Actually, I switched from Fedora to Debian desktop, and still had
CentOS on my servers until about 2010 (dunno why, have no excuse, just
I was using GoDaddy and that's what they had. Now I use Contabo.com and
just rent a VPS, much better).

It won't take too much to acclimate yourself, either.
Just look around the file system and familiarize yourself with the
different arrangement, learn to use aptitude, and you'll eventually be
right at home.
I'm sure you'll appreciate the much greater number of pkgs available
without having to add 3rd party repos, the stability, etc.
I think you'll eventually see the truth: that the Debian Way IS
the Right Way!
I'm still using Wheezy so can't comment on systemd, yet.
Welcome to the Mother Ship!

./taz
--
https://red.liberame.org


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150426204901.ga11...@myownsite.me



Re: Inexpensive Laptop for Debian

2015-05-30 Thread Tazman DeVille
On Fri, May 29, 2015 at 07:03:40PM -0500, John Aten wrote:
>Hey all, 
> 
>  I would like to see if anyone could give some advice or opinions on getting 
> an
>   inexpensive laptop to run Debian. I plan to use the machine for lighter duty
> functions; writing, web browsing, programming, etc. Basically, I am looking 
> for
> something with a little more muscle than a Chromebook. Most laptops that I 
> have
> seen that come with Debian or other distros preinstalled seem to be more
> expensive than I would like, so that of course leaves me installing it 
> myself. I
>have researched this, and can never seem to find solid information on the
>laptops that are currently available; the information is usually a little
> dated. 
> 
>I have some experience setting up Debian and other distros, but if there
>are problems with hardware configuration, I get out into the deep end
>fast. I would like to avoid any problems that are beyond the reach of my
>very modest skills.
> 
>  I see that Dell offers the Inspiron 14 or 15 3000 series non-touch laptop 
> with
>   Ubuntu preinstalled; this model is around the price/spec range that I would
> like. I figure, if it runs Ubuntu, then this is possibly a good indication 
> that
> I could install Debian; I was wondering first, if that is a good assumption, 
> and
> also if anyone has had any experience with installing Debian on this 
> particular
>model. (I have an older Inspiron, on which I have had good luck installing
>  several different distros, including Debian, but I don't know that this 
> really
> indicates anything either.) Second, aside from this particular model, if 
> anyone
>has recommendations on any other laptops in that price/spec range?
> 
>I'd appreciate any help and opinions.
>Thanks,
>J

I have several times purchased used Dell laptops on ebay, a d420, a
d620, and a d630, all of which worked with Debian "out of the box" so to
speak. I also had an old Thinkpad a21m that worked flawlessly with
Debian (but required an external PCMCIA card for wifi, and installation
of relevant drivers).

./tony
http://www.tonybaldwin.m.e


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150530131348.ga10...@myownsite.me



ntfs mnt fails after wheezy->jessie upgrade

2015-07-10 Thread Tazman DeVille
I upgrade from Wheezy to Jessie finally, and now can't mount my second
hdd that has a win7 installation on it, in two partitions, both ntfs,
one with the actual windows system, another with just data, files, etc.

When I boot the machine (to jessie), it looks like the partitions on
that drive are being auto-mounted according to /etc/fstab

UUID=BAE47010E46FCCE7   /media/win7 ntfs-3g exec,permissions,noauto 0 0
UUID=6B3B505F1763BB9B   /media/winhome  ntfs-3g exec,permissions,noauto
0 0

but I can not enter or access them.
If I try in pcmanfm or thunar, or something, I just get an i/o error.
When I do ls -la in /media, I see weird permissions.

d?  ? ??   ?? win7
d?  ? ??   ?? winhome

Until I killall /sbin/mount.ntfs-3g, in which case, permission to those
directories looks normal again, but there's nothing mounted in them (of
course).

then if I try to mount them again
mount /media/win7
mount /media/winhome
nothing mounts, but /sbin/mount.ntfs-3g starts up again, the permissions
go wonky agai, and I get general I/O error when trying to enter those
directories.

I'm going round in circles with this.
I purged and reinstalled ntfs-3g, got msgs about missing firmware,
installed firmware-realtek, which, it became clear, was the firmware in 
question, 
and nothing's changed...
Still can't mount the drive or access the partitions on it.

I should apologize for cross-posting as I have a thread on the debian
user forums on precisely the same matter, but so far, no resolution, so
I figured I'd come to the list.
Because I'm completely stumped...no idea what to try next.


./t
--


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/20150711055300.ga25...@myownsite.me