Samba Chown Operation Not Permitted
May 22, 2007
I'm currently running SAMBA on one my linux servers, and wanting to connect to it from another linux server.
1. Do I need to install SAMBA on the connecting server (client-side)?
2. I can see/mount the SAMBA folder just fine, I can delete,make,etc. The only thing I can't do on the client side is change ownership of a file or folder... even if I'm logged in as root.
View 3 Replies
ADVERTISEMENT
Jul 8, 2007
This is what I got from the tech support:
Quote:
I able to manage to mount your old var, tmp, usr, and even the old root partitions but the home partition were unsuccessful.
I've tried mounting your old home partition but i was unsuccessfull which might be a bad sector of the drive.
Code:
# mount /dev/ad3s1g /mnt/oldhome/
mount: /dev/ad3s1g: Operation not permitted
View 1 Replies
View Related
Apr 30, 2009
I own a dedi server from HFW few hours ago some hacker injected following php code in some of the domains hosted on the server as follows; ...
View 14 Replies
View Related
Jun 6, 2008
I've noticed that my site has delays every few seconds when using the database. At least 2-4 seconds. Now the load is 0.05 basically.
So I did a ping from my webserver to the db server and got:
PING 10.0.0.2 (10.0.0.2) 56(84) bytes of data.
64 bytes from 10.0.0.2: icmp_seq=1 ttl=64 time=0.138 ms
ping: sendmsg: Operation not permitted
64 bytes from 10.0.0.2: icmp_seq=3 ttl=64 time=0.086 ms
64 bytes from 10.0.0.2: icmp_seq=4 ttl=64 time=0.104 ms
ping: sendmsg: Operation not permitted
I then turned off iptables and it works fine now. How to know what's causing this?
View 8 Replies
View Related
Nov 15, 2008
I have WHM 11.23.2 cPanel 11.23.6-R27698
CENTOS Enterprise 4.7 i686 on standard - WHM X v3.1.0
I host people who use a certain php script. This script is updatable from their admin panel.
But now 2 of the sites are getting this error when they try to update:
[Install update]
Uncompress update: error
Tar_error.log: /bin/tar: admin/ioncube: Cannot utime: Operation not permitted /bin/tar: admin/cronjobs: Cannot utime: Operation not permitted /bin/tar: admin: Cannot utime: Operation not permitted /bin/tar: fonts: Cannot utime: Operation not permitted /bin/tar: images: Cannot utime: Operation not permitted /bin/tar: includes: Cannot utime: Operation not permitted /bin/tar: mysql_restore: Cannot utime: Operation not permitted /bin/tar: plugins: Cannot utime: Operation not permitted /bin/tar: templates: Cannot utime: Operation not permitted /bin/tar: utilities: Cannot utime: Operation not permitted /bin/tar: Error exit delayed from previous errors
I've never seen that particular error before.
View 5 Replies
View Related
Aug 22, 2007
I Have Problem:
Code:
[root@serwer /]# /scripts/upcp --force
Updating /scripts...
Sync Source: http://httpupdate.cpanel.net/RELEASE/scripts
Fetching http://httpupdate.cpanel.net/cpanels...cpanelsync.loc
k (0)....@69.72.164.152......connected......receiving......Done
Fetching http://httpupdate.cpanel.net/cpanels...cpanelsync.bz2
(0)....@69.72.164.152......connected......receiving...26%...53%...80%...100%...
...Done
...Done
Checking and Repairing System Package Setup......Done
Setting up ip startup......Done
Configuring editors......Done
Creating symlinks for common binaries......Done
Setting Clock...rdate: rdate: could not set system time: Operation not permitted
...Done
Running Env Auto Repair...quota test: repquota exited with signal 0 (ok)
...Done
...
This is VPS server on my dedicated server
1. Dedicated server is on Debian 4.0
2. On debian is OpenVZ
3. On OpenVZ is CentOS 5
4. On CentOS is cPanel
How I will unblock rdate on my VPS ?
View 1 Replies
View Related
Mar 1, 2007
When ever my users upload something it get automaticaly nobody ownership. ( 99 )
any way to fix it?
View 6 Replies
View Related
May 23, 2007
how to chown a file/directory from a client server through NFS connectivity?
View 6 Replies
View Related
Apr 1, 2008
I have just restored an account to my directadmin box and it appears to have restored with the wrong owner / group.
Easy I thought, a quick 'chmod secure.secure -R *' should crack that but how wrong was I.
After running that I get the error: chown: invalid option -- o
Now - both the user and the group exist, so why won't the files change owner and group?
View 6 Replies
View Related
Sep 18, 2007
I have a lot of tables, being that I host multi forums. One thing I noticed when doing a mysql start up or restart is that it takes at least 15 minutes to do it. The server isn't bad, it's a Pentium D with 3GB of RAM and it runs perfectly fine. What I noticed is that after I do an SQL restart, I checked "top." The command that was running is "chown" and it sat at the top of the list, and kept going. Until finally mysql started and it stopped.
I imagine that all of the files in the data folder are being CHOWNed... and that's why it takes forever. If this is the case, how can I stop this, if at all? I don't see why they need to be CHOWNed?
View 4 Replies
View Related
Apr 1, 2008
How do I Move Files & Sub directory without changing Chown & Chmod them?
Situation:
I need to move /home/user/public_html/blog (all files & subdir) into /home/user/public_html
View 8 Replies
View Related
Apr 16, 2007
I'm currently trying out SAMBA, and having a few last minute issues:
I got both of my centos servers to run samba fine, the mount from serverA to serverB is great... the only problem is that it can't DIR/LS the mounted/shared folder for browsing and viewing. Here is my current smb.conf:
[global]
netbiosname = superpix
security = USER
password level = 4
os level = 64
domain master = yes
local master = yes
prefered master = yes
browsable = yes
writable = yes
locking = no
case sensitive = no
default case = lower
preserve case = yes
short preserve case = no
encrypt passwords = Yes
workgroup = superpix
[homes]
read only = no
browseable = no
[shared]
path = /san
interfaces = eth1 lo
hosts deny = ALL
hosts allow = 10.222.0.
browseable = yes
write list =root, admin
create mask = 0644
directory mask = 0777
public = yes
valid users = admin
I'm not sure what I'm doing wrong... but I can access the files in that folder fine from another server, i just can list/dir the darn thing.
View 3 Replies
View Related
Jan 30, 2006
we are getting a number of:
does not like recipient.
Remote host said: 550 relay not permitted
checked for IP stauts and it is not flagged or listed as banned, there would be no reason however I double checked and there were no issues there.
Can someone suggest if this is a server issue?
View 1 Replies
View Related
Aug 3, 2007
how can we ridiculously speed up SAMBA connections?
View 6 Replies
View Related
May 19, 2007
Using a custom mx entry as well
So basically it due to the MX change, it looks like it sees any incoming email (addressed to local domain) as relaying.
< gateway4.lastspam.com #5.1.1 SMTP; 550-gateway4.lastspam.com [209.172.54.237]:36995 is currently not permitted to relay>
EXIM errors:
2007-05-19 09:39:32 H=gateway4.lastspam.com [209.172.54.237]:37074 I=[xxx.xxx.67.88]:25 F=<eslight@domain.com> rejected RCPT <test@xtdv.com>: gateway4.lastspam.com [209.172.54.237]:37074 is currently not permitted to relay through this server. Perhaps you have not logged into the pop/imap server in the last 30 minutes or do not have SMTP Authentication turned on in your email client.
View 4 Replies
View Related
Jun 30, 2005
This is a little samba guide from my own experiences of how to map a network drive under windows 2000 to a Linux server. I am not technical expert and this guide is the result from my trail and error.
What's Samba?
Samba allows Linux computers to share files and printers across a network connection. By using its SMB protocol, your Linux box can appear in Windows Network Neighborhood or My Network Places just like any other windows machine. You can share files this way, as well as printers. By using samba on my home network, for example, my Windows machines have access to a printer directly hooked up to my Linux box, and my Linux box has access to a printer directly hooked up to one of my Windows machines. In addition, everyone can access everyone else's shared files. You can see how samba can be very useful if you have a network of both Windows as well as Linux machines.
My OSs
Windows 2000
RHEL 3 (Redhat Enterprise Linus)
My goal
Map a network drive to Linux servers, so that I can access the Linux files under windows 2000.
Installation
Most Linux should have Samba already installed. But if it hasn't install, you can find at in http://rpmfind.net or using up2date command "up2date -i samba". You can also get it at http://www.samba.org
Then you can install it by tying the following Command:
Install:
rpm -i samba.rpm
Upgrade:
rpm -U samba.rpm
Configuration
Samba conf file is located at /etc/samba/smb.conf, allows you to specify which resources on the Linux machine you wish to share and who they can be accessed by.
Samba provide a full version conf if it's fresh install. But most of the times, we don't really need all of these options. So I provide my own conf here, which is rather simple, but it makes things work.
[global]
workgroup = WORKGROUP
server string = LinuxBOX
hosts allow = your_windows_machine_IP
log file = /var/log/samba/%m.log
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
[Downloads]
comment = Downloads
path = /path_to_your_sharefolder
browseable = yes
writable = yes
public = yes
read only = no
[homes]
comment = My Home Directory
browseable = yes
writable = yes
public = yes
read only = no
[printers]
path = /var/spool/samba
public = yes
guest ok = yes
printable = yes
browseable = yes
writable = yes
read only = no
Just replace workgroup to your windows workgroup name, your_windows_machine_IP and /path_to_your_sharefolder. If you don't need printers sharing, you don't need to have printer section.
Setup Samba Users
Since we're using user level security, we need to setup samba users. This can be easily done by using Webmin. You can go to Server --> Samba --> Convert Unix users to Samba users, you can just covert all your existing Linux users and set them password under the icon "Edit Samba users and passwords" later.
If you don't use webmin, you can also type the following command:
cat /etc/passwd | mksmbpasswd.sh > /etc/samba/smbpasswd
smbpasswd username
Replace username with each of your user's usernames. You will then be prompted to enter a password for this user account.
Samba Service
Now, it's time to start your samba server:
service smb start
service smb stop
service smb restart
Once the computer is restarted or shutdown, the samba service won't start up again in next boot up. I use webmin to make it startup at boot time.
Windows 2000 Configuration
1. Under windows 2000, you can got to windows explorer --> Tools --> map a network drive
2. select drive letter
3. enter the path (e.g. your_server_ipDownloads)
4. click connect using different user name
5. enter your samba usernaem and password that you just set
6. You can connect to your Linux machine now!
This method work for me. If there is any correction or improvements, please let me know.
View 0 Replies
View Related
Jun 29, 2009
I'm trying to setup a PDC Login server with SAMBA+LDAP (in separate servers).
How can I test if SAMBA is trying to login properly into the LDAP server?
View 1 Replies
View Related
Aug 1, 2008
Im running a redhat server with samba version 3.0.25b..
I dont think it even has winbind, and I need it to join the windows active domain so people can log in and access files etc..
ive searched everywhere to find a nice wget ftp url so i could get the rpm and just install the thing..but is nowhere to be found. I tried installing some random version of the winbind that I COULD find...but no luck, wouldnt work.
View 1 Replies
View Related
Nov 17, 2008
I'm struggling hard to integrate a group of windows boxes to authenticate with a Linux samba/ldap server (with personal mapped drives as well).
I get stuck in this error:
root@LittleCode:/usr/share/smbldap-configure# smbldap-useradd -a -m moquist
Error looking for next uid in cn=NextFreeUnixId,dc=activespace,dc=local:value does not conform to assertion syntax at /usr/share/perl5/smbldap_tools.pm line 1071.
root@LittleCode:/usr/share/smbldap-configure#
View 1 Replies
View Related
Aug 6, 2008
I am trying to install samba-3.2.1 from source.
To give a short background, I download the src zip and unpack it to local.
go into the file and run a
./autogen.sh
./configure --with-winbind --prefix=/usr/local/samba --with-smbwrapper --with-pam --with-pam-smbpass
make
make install
When I try to run
/usr/local/samba/sbin/smbd -D
I get this message
Error while loading shared libraries : libtalloc.so.1 : cannot open shared object file: no such file or directory
I searched online and found this solution, which sounds like they know what they are talking about..only problem is..I dont!
[url]
View 3 Replies
View Related
Mar 14, 2008
We've got a Linux box running ProFTPd reaches a Windows box over SAMBA. This works very well but when the client has a great number of files, the FTP Windows-based FTP clients they use don't always give accurate directory listings (if any at all). I know there's some bug in the way SAMBA works with Windows File Sharing but I don't know what the magic file number is that, when reached, prevents a proper directory listing. Does anyone know what this magic number is or if there's an available, tested fix for this?
View 3 Replies
View Related
Oct 27, 2007
I checked everywhere and could find the fix i need so i hope you guys can help me out.
I often get this error when someone on my server tries to send an email:
=====
A message that you sent could not be delivered to one or more of its recipients. This is a permanent error. The following address(es) failed:
XXXXXXXX@XXXXX.com
Gid 99 is not permitted to relay mail, or has directly called /usr/sbin/exim instead of /usr/sbin/sendmail.
=====
Any clue on how i could fix this. If you need more info just tell me ill do my best to responde.
View 5 Replies
View Related
Apr 26, 2007
I was wondering if anyone has came across this error when dealing with SAMBA.
[url]is the error and the 'fix'.
I have about 50users that can connect just fine, running sp2 (xp pro) but some other users that have xp home or media center can't. There running sp2 and they still get the above error. In the article i need to contact MS for the hotfix...
Any quick fixes other then maybe changing then workgroup?
Netbios is enabled
All can ping the server.
Z drive is OK for use (IE there PC doesnt have a Z drive in use)
View 3 Replies
View Related
Jun 18, 2008
I run my own server me and my friend set up a server and i need to know what all i can do with running a server. Does anyone have any helpful link's?
I need something Basic and down to the Point. I knew a website called (DSLWEBSERVER) But i guess it's down now..
View 8 Replies
View Related
May 16, 2007
We are having a dedicated server with Windows 2003 and Hosting Controller on it with MS SQL 2005 Express Edition.
Since last few days, we had this problem that MDaemon mail server would go down on some pagefault and server used to get hang, and when we investigated Event Viewer, we find 100s of errors of the following message.
Quote:
An I/O operation initiated by the Registry failed unrecoverably. The Registry could not read in, or write out, or flush, one of the files that contain the system's image of the Registry
We replaced HDD, and reinstalled windows 2003 and built the server back with every peice of software we had it earlier, but now the old HDD is still there as D drive, but not in use, still server got down today. We belive its no longer the HDD issue, but now problem is how to get root of this problem and how to monitor?
I had minor hint from searching on google that some trojan would create too many handles would cause system to go down this way, but here we rebuilt the entire server with fresh installations downloaded from vendors websites.
If MDaemon is creating too many handles, how to monitor and how to restart it in such an event?
View 5 Replies
View Related
Jan 15, 2007
how to preserve permissions the same 1:1 after mounting the remote resource with samba mount cause currectly the permissions are changing.
View 2 Replies
View Related
Jun 8, 2015
I think the samba add on for Plesk 12 is not correctly implemented for CentOS 7.To get smb users added I first had to manually install the samba-client, since smbpasswd was missing:
Code:
yum install samba-client Next I had to manually run
Code:
chcon -R -t samba_share_t /var/www/vhosts/my-server.tld/ for each share to be able to access it...
View 1 Replies
View Related
Jun 24, 2008
I am trying to isolate different users in a directory and subdirectories.
Case:-
Directory A --> Sub A
--> Sub B
--> Sub C
I want everybody to be able to access "Directory A" but limited access to "Sub A", "Sub B" and "Sub C". How can i achieve that?
Currently, all users that are able to access "Directory A" can go in "Sub A", "Sub B" and "Sub C".
View 2 Replies
View Related