Samba problems
by Anne Wilson
This laptop has stopped serving samba, and I can't see where the problem lies.
Here is the testparm output:
testparm
Load smb config files from /etc/samba/smb.conf
Processing section "[Anne-Public]"
Processing section "[anne-laptopDOWNLOADS]"
Processing section "[printers]"
Processing section "[print$]"
Processing section "[homes]"
Processing section "[GWEBDEC]"
Loaded services file OK.
WARNING: You have some share names that are longer than 12 characters.
These may not be accessible to some older clients.
(Eg. Windows9x, WindowsMe, and smbclient prior to Samba 3.0.)
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definitions
[global]
workgroup = LYDGATE.LAN
server string = Samba Server %v
map to guest = Bad User
log file = /var/log/samba/%m.log
preferred master = No
local master = No
domain master = No
hosts allow = 192.168.0., 127.0.
[Anne-Public]
comment = Public in Anne's home
path = /home/anne/Public/
read only = No
create mask = 0770
force create mode = 0770
directory mask = 0775
force directory mode = 0770
[anne-laptopDOWNLOADS]
path = /home/anne/Downloads/
read only = No
directory mask = 0775
hosts allow = 192.168.0., 127.
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
print command = lpr-cups -P %p -o raw %s -r ~ using client side
printer drivers
use client driver = Yes
browseable = No
[print$]
path = /var/lib/samba/printers
write list = @adm, root
inherit permissions = Yes
[homes]
comment = Home Directories
read only = No
create mask = 0755
browseable = No
[GWEBDEC]
path = /home/anne/gwebdec/
read only = No
force create mode = 0770
directory mask = 0775
In /var/log/samba the machine logs are empty. smbd.log and nmbd.log are
empty. There is now an nmbd.log showing today's date, size 43KB which ends
with
[2008/05/30 07:34:19, 0] nmbd/nmbd.c:main(697)
Netbios nameserver version 3.0.25b started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
and a smbd.log which shows
[2008/05/30 07:34:18, 0] smbd/server.c:main(944)
smbd version 3.0.25b started.
Copyright Andrew Tridgell and the Samba Team 1992-2007
I can mount my main server box in fstab, indicating that the client is working
correctly. I've found several questions in google but no answers.
Anne
15 years, 12 months
Rhythmbox and Exaile Silent
by das
Hello Friends
After last night's update, both on the laptop and the desktop Rhythmbox
and Exaile on Fedora 9 can't play audio anymore. And on both the
machines 'mplayer' (compiled) can play them.
When run from a terminal, Rhythmbox is giving this message:
<<
(rhythmbox:3211): Rhythmbox-WARNING **: Unable to grab media player
keys: Method "GrabMediaPlayerKeys" with signature "su" on interface
"org.gnome.SettingsDaemon" doesn't exist
>>
And Exaile is giving this:
<<
Exaile 0.2.13
which: no serpentine in (/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/home/dd/bin)
which: no brasero in (/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/home/dd/bin)
which: no k3b in (/usr/kerberos/bin:/usr/lib/ccache:/usr/local/bin:/bin:/usr/bin:/home/dd/bin)
A supported CD burning program was not found in $PATH, disabling burning capabilities.
-----------------------
__use_gnome ( /usr/lib/exaile/xl/xlmisc.py @ 207):
-----------------------
Traceback (most recent call last):
File "/usr/lib/exaile/xl/xlmisc.py", line 230, in __use_gnome
gnome.GrabMediaPlayerKeys(self.application, 0)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 68, in __call__
return self._proxy_method(*args, **keywords)
File "/usr/lib/python2.5/site-packages/dbus/proxies.py", line 140, in __call__
**keywords)
File "/usr/lib/python2.5/site-packages/dbus/connection.py", line 607, in call_blocking
message, timeout)
DBusException: org.freedesktop.DBus.Error.UnknownMethod: Method "GrabMediaPlayerKeys" with signature "si" on interface "org.gnome.SettingsDaemon" doesn't exist
>>
The messages are identical on both the machines. On both the machines
Gnome is there, but, Xfce was the running desktop when it happened. And
on the laptop I tried it by starx-ing into Gnome too, with the same
result. Tried 'yum erase' and 'yum install' once again. No results.
Any help anyone? Or, it is a temporary thing, likely to get corrected
in some coming update?
--
das
ddts.randomink.org
15 years, 12 months
updating USB flash drive MBR to allow boot
by Javier Perez
Hi
I hae a Kingston Data Traveller USB flash drive (8GB) which for some reason
I cannot make a bootable USB drive.
Googling around I came up with this information:
-Some USB flash drives are notorious for having problems with corrupted
master boot records.....
Credit goes to BHSPitMonkey for pointing out this fix. The troubled drive
encountered
was a Kingston Data Traveler 2GB unit-
I think this makes my unit highly suspect.
The solution in Ubuntu was
we will install the mbr package and use it to create the new mbr on the USB
flash drive
1. Type *sudo apt-get install mbr*
2. Type *fdisk -l* to find out which device is your flash drive
3. Type *install-mbr /dev/sdx* (replacing x with your flash device)
My question is how do we do this with Fedora?
I already tried out the install-live-to-usb thingy and it did not work.
In fact the section in installing the mbr is blank at
http://fedoraproject.org/wiki/FedoraLiveCD/USBHowTo
Thanks
------------------------------
/\_/\
|O O| pepebuho(a)pananet.com
~~~~ Javier Perez
~~~~ While the night runs
~~~~ toward the day...
m m Pepebuho watches
from his high perch.
16 years
No status messages on restart
by Jim Dever
For some reason whenever I restart Fedora 9 I don't get the normal
status messages during shutdown that I got with F8. I get the standard
runlevel 3 login screen. It pauses and finally says "Restarting..." and
restarts.
A few times after I first installed it (clean install) it gave a quick
message that I never could quite read about "not being able to connect
to system message bus" but unfortunately I haven't been able to see this
message. Is it logged somewhere?
Any help would be appreciated.
--
Jim
16 years
F9 text consoles
by MLists
Have installed F9 on a couple of new PC's and am having some head-scratching
behavior with regard to the text-consoles. Systems boot up just fine, and
the GUI works no problem. However trying to get into any of the text
consoles (ie. CTRL-ALT-F1, F2, F3, etc) the monitor just pops up a
"no-signal" and goes into power save. I know the text consoles are actually
there, and working, because if I blind type and log in on one of the text
consoles and run a command of some sort, I can see the task executing if I
do a ps from a console opened in the GUI. The monitors do just fine in text
mode through the initial part of the boot before the GUI part of the boot
sequence starts... after that nothing.
This one's at the top of my "never seen that before" list... anyone have any
suggestions?
Cheers,
>>>>> Mike <<<<<
16 years
Weirdness with Fedora/XP upgrade
by Beartooth Sciurivore
I had downloaded and burned another DVD, which I thought I would
try. I put it into a machine which dual-boots, either to one hard drive
with F8 or rarely to the other, which has XP.
I ran the test on the disk, and all seemed well. The install
began, and then suddenly the whole screen went white, and stayed that
way. When at last I tried to goose it, it wouldn't react to anything, not
even the power switch held down. I finally pulled the plug.
It still boots to XP all right. It offers to boot to F8, the
default, but I didn't check that; maybe I should.
So I put in the DVD from which I had successfully gotten F9 onto
three machines, and told XP to reboot.
It has done the same thing -- gone through the first few steps,
only to sit there with a blank white screen.
The monitor is new, a HP w2207h 1680x1050; but the other two PCs
manage with it, both behind a KVM switch and directly connected. And the
dual-boot machine is much the newest!
What could be doing this, and how do I fix it??
--
Beartooth Staffwright, Not Quite Clueless Power User
C5; D4; F8; P3; U7.10; Alpine 1.10, Pan 0.132; Privoxy 3
Remember I know little (precious little!) of where up is.
16 years
configure spamassassin to only check incoming email
by Gijs
Hey list,
I'm using sendmail to handle all my incoming and outgoing email and now
I've ran into a problem related to spamassassin.
Because spamassassin also checks outgoing mail, sending outgoing mails
always takes about 3-4 seconds.
Normally this wouldn't be a problem, but my boss wants to send a
newsletter every month to quite a number of users, and this is undoable
if it takes 3-4 seconds per email.
I've tested it without spamassassin and it only took like 0.3-0.5
seconds, which is doable.
Another solution to my problem is ok as well, as long as the send-time
gets decreased to around <0.5 seconds.
Regards,
Gijs
16 years
backing up and restoring the root partition
by Gene Czarcinski
In the past, I have always assumed that I would simply re-install if I lost my
root partition and only did backups for data partitions and home. My systems
are configured to have a boot partition, a root ("/") partition, a /home
partition, and other "my data" partitions. While I use LVM for my data
partitons, I have been using a regular disk partition for root. In the past
I have used partimage (and now partimage-ng) to backup disk partitions but
these programs do not work with LVM logical volumes.
Before I commit to putting my root partition on an LVM logical volume, I
thought I would like to try backing it up ... I have tried using dump/restore
and tar ... oh, backup/save seems to work just fine (no error message) but
restore/tar -x is NOT working.
Using restore, I get some selinux errors but not with tar -x. However, in
both cases, when I try to boot the system, I am getting errors such as not
finding /dev/root, /proc, etc.
Has anyone ever done a backup of the root partition? What program did you
use? Have you tried to restore and did it work? [or did you just trust that
it would?]
I did my testing using vmware virtuals but that should not matter. I
installed a"default" F9 installation with /boot and swap on the first scsi
virtual disk and "/" on a second scsi virtual disk in an LVM logical volume.
This system boots and runs just fine.
I first tried running from the built system by running dump against an LVM
snapshot of the root partition. In another virtual, bootup the F9 install in
Rescue mode, restore the /boot and swap partitions to the first disk, create
an LVM partition on the second disk and use pvcreate and vgcfgrestore to
setup to system to match the original one. Use restore (lots of selinux
errors) and try booting ... fails as describe above.
Next, I booted the F9 install cd in Rescue Mode and did the
dump "standalone" ... the repeated as above with the same result.
Next, use tar --xattrs -vpzcf to create my backup and try again .. save result
but the tar restore has only a few warning ... but the system does not boot.
Help! I have not lost anything yet but it sure would be nice to know that a
root partition can be backed up with something better that just using "dd" to
create a bit-by-bit image.
BTW, I am interested in an open source solution only ... I am not considering
commercial products.
Gene
16 years
Updating the background image
by Jason D. Triolo
There's a webcam image that I want to use as background wallpaper, and
have that image automatically update at a given interval. I was able to
do this with a script, up through Fedora 6. The script stopped working
from 7 and up, and I abandoned the project.
As I move to 9, I would like to get that little toy back. Downloading
the image is the easy part (the script still does that flawlessly), but
the problem comes in getting the GNOME desktop to see the changed file
and apply the change.
Can anyone offer some advice?
Thanks,
Jasono
16 years