Sabnzbd/CP/SB moved items not moving off of landing zone

dekthro
Posts: 21
Joined: Fri Mar 21, 2014 2:10 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby dekthro » Sat Apr 12, 2014 5:50 pm

service mount_shares_locally start

Code: Select all

Starting mount_shares_locally (via systemctl): Job for mount_shares_locally.service failed. See 'systemctl status mount_shares_locally.service' and 'journalctl -xn' for details. [FAILED]
systemctl status mount_shares_locally.service

Code: Select all

mount_shares_locally.service - LSB: mount Samba shares locally Loaded: loaded (/etc/rc.d/init.d/mount_shares_locally) Active: failed (Result: exit-code) since Sat 2014-04-12 17:46:34 PDT; 3s ago Process: 8037 ExecStart=/etc/rc.d/init.d/mount_shares_locally start (code=exited, status=203/EXEC) Apr 12 17:46:34 localhost.localdomain systemd[1]: Starting LSB: mount Samba shares locally... Apr 12 17:46:34 localhost.localdomain systemd[1]: mount_shares_locally.service: control process exited, code=exited status=203 Apr 12 17:46:34 localhost.localdomain systemd[1]: Failed to start LSB: mount Samba shares locally. Apr 12 17:46:34 localhost.localdomain systemd[1]: Unit mount_shares_locally.service entered failed state.
journalctl -xn

Code: Select all

-- Unit mount_shares_locally.service has begun starting up. Apr 12 17:48:03 localhost.localdomain systemd[8301]: Failed at step EXEC spawning /etc/rc.d/init.d/mount_shares_locally: Exec format error -- Subject: Process /etc/rc.d/init.d/mount_shares_locally could not be executed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- The process /etc/rc.d/init.d/mount_shares_locally could not be executed and failed. -- -- The error number returned while executing this process is 8. Apr 12 17:48:03 localhost.localdomain systemd[1]: mount_shares_locally.service: control process exited, code=exited status=203 Apr 12 17:48:03 localhost.localdomain systemd[1]: Failed to start LSB: mount Samba shares locally. -- Subject: Unit mount_shares_locally.service has failed -- Defined-By: systemd -- Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit mount_shares_locally.service has failed. -- -- The result is failed. Apr 12 17:48:03 localhost.localdomain systemd[1]: Unit mount_shares_locally.service entered failed state.
mount_shares_locally, username is edited but it matches my first admin.

Code: Select all

### BEGIN INIT INFO # Provides: mount_shares_locally # Required-Start: $network $local_fs $remote_fs smb mysqld # Required-Stop: $network $local_fs $remote_fs smb # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: mount Samba shares locally ### END INIT INFO username="**" if [ -f /etc/rc.d/init.d/functions ]; then . /etc/rc.d/init.d/functions fi start () { uid=`id -u $username` gid=`id -g $username` echo -n $"Mounting Samba shares locally: " mkdir -p /mnt/samba/ mkdir -p /mnt/apache/ cd /mnt/apache/ mysql -u root -phda -e "select comment from shares" hda_production | grep -v "^comment$" | xargs -d "\n" mkdir -p cd /mnt/samba/ mysql -u root -phda -e "select comment from shares" hda_production | grep -v "^comment$" | xargs -d "\n" mkdir -p sleep 5 ls -1 | while read d; do /sbin/mount.cifs "//127.0.0.1/$d" "$d" -o credentials=/home/${username}/.smb_credentials,uid=${uid},gid=${gid},file_mode=0660,dir_mode=0770,nobrl,hard,_netdev,iocharset=utf8,noserverino,mfs$ /sbin/mount.cifs "//127.0.0.1/$d" "/mnt/apache/$d" -o credentials=/home/${username}/.smb_credentials,uid=`id -u apache`,gid=`id -g apache`,file_mode=0777,dir_mode=0777,nobrl,hard,_netdev,io$ done touch /var/lock/subsys/mount_shares_locally success $"$base startup" echo return 0 } stop () { echo -n $"Unmounting locally mounted Samba shares: " /bin/umount -l /mnt/samba/* /bin/umount -l /mnt/apache/* rm -f /var/lock/subsys/mount_shares_locally success $"$base shutdown" echo return 0 } restart () { stop start } case "$1" in start) start ;; stop) stop ;; restart) restart ;; *) echo $"Usage: $0 {start|stop|restart}" exit 1 ;; esac exit $?

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby bigfoot65 » Sat Apr 12, 2014 5:53 pm

Ok, did you create the /home/username/.smb_credentials file with your username, password, and domain name?
https://wiki.amahi.org/index.php/Mount_ ... figuration
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dekthro
Posts: 21
Joined: Fri Mar 21, 2014 2:10 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby dekthro » Sat Apr 12, 2014 6:14 pm

It is indeed there.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby bigfoot65 » Sat Apr 12, 2014 6:17 pm

Ok. Are all these files installed?
pmount fuse fuse-libs ntfs-3g util-linux-ng
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dekthro
Posts: 21
Joined: Fri Mar 21, 2014 2:10 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby dekthro » Sat Apr 12, 2014 6:21 pm

Running that only returns the usage of pmount.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby bigfoot65 » Sat Apr 12, 2014 6:30 pm

Yes, I thought you knew the command line syntax to check if they are installed.

Code: Select all

yum install pmount fuse fuse-libs ntfs-3g util-linux-ng
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dekthro
Posts: 21
Joined: Fri Mar 21, 2014 2:10 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby dekthro » Sat Apr 12, 2014 6:34 pm

Assume the worst! :lol: It appears that everything is up to date.

Code: Select all

Package pmount-0.9.23-4.fc19.x86_64 already installed and latest version Package fuse-2.9.3-1.fc19.x86_64 already installed and latest version Package fuse-libs-2.9.3-1.fc19.x86_64 already installed and latest version Package 2:ntfs-3g-2013.1.13-5.fc19.x86_64 already installed and latest version Package util-linux-2.23.2-5.fc19.x86_64 already installed and latest version

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby bigfoot65 » Sat Apr 12, 2014 6:35 pm

Ok, well sorry not sure what else to recommend you check.

As I mentioned, this is an unsupported script. It may or may not work as it's not been tested for Amahi 7 by the team.

You might be able to search the forums and find who contributed that code and ask them for assistance.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

dekthro
Posts: 21
Joined: Fri Mar 21, 2014 2:10 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby dekthro » Sat Apr 12, 2014 6:43 pm

No worries. I'll see if I can dig that up somewhere. Though even with the original script (which is able to run) the /mnt/samba/ shares don't reflect the original shares, they just appear to be empty.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: Sabnzbd/CP/SB moved items not moving off of landing zone

Postby bigfoot65 » Sat Apr 12, 2014 6:47 pm

Sorry I could not be of more help.

You could try stopping the service. Then remove all the /mnt/samba/shares. Then start the script.

I think I had that happen once and that's what I had to do to correct it.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 14 guests