Ticket #3225 (closed defect: worksforme)
Add shares
| Reported by: | lioncub@… | Owned by: | jacalvo@… |
|---|---|---|---|
| Milestone: | 2.2.X | Component: | samba |
| Severity: | critical | Keywords: | |
| Cc: |
Description
Тot possible to add shares! Share name: Статистика Share path: Directory under zentyal: OMS
#tail /var/log/zentyal/zentyal.log
2011/09/15 13:00:09 ERROR> Redis.pm:717 EBox::Config::Redis::_redis_call - Redis command 'hget /ebox/modules/samba/SambaShares/keys/share.idx Статистика' failed: Wide character in syswrite at /usr/share/perl5/Redis.pm line 265.
2011/09/15 13:00:09 DEBUG> Base.pm:577 EBox::CGI::Base::setErrorFromException - Redis command 'hget /ebox/modules/samba/SambaShares/keys/share.idx Статистика' failed: Wide character in syswrite at /usr/share/perl5/Redis.pm line 265.
$VAR1 = bless( {
'-stacktrace' => "Redis command 'hget /ebox/modules/samba/SambaShares/keys/share.idx \x{421}\x{442}\x{430}\x{442}\x{438}\x{441}\x{442}\x{438}\x{43a}\x{430}' failed: Wide character in syswrite at /usr/share/perl5/Redis.pm line 265.
at /usr/share/perl5/EBox/Config/Redis.pm line 717
EBox::Config::Redis::_redis_call('EBox::Config::Redis=HASH(0x7f80334e01b8)', 'hget', '/ebox/modules/samba/SambaShares/keys/share.idx', '\x{421}\x{442}\x{430}\x{442}\x{438}\x{441}\x{442}\x{438}\x{43a}\x{430}') called at /usr/share/perl5/EBox/Config/Redis.pm line 466
EBox::Config::Redis::hash_value('EBox::Config::Redis=HASH(0x7f80334e01b8)', '/ebox/modules/samba/SambaShares/keys/share.idx', '\x{421}\x{442}\x{430}\x{442}\x{438}\x{441}\x{442}\x{438}\x{43a}\x{430}') called at /usr/share/perl5/EBox/GConfModule.pm line 783
EBox::GConfModule::_hash_value('EBox::Samba=HASH(0x7f80334e3d38)', 'SambaShares/keys/share.idx', '\x{421}\x{442}\x{430}\x{442}\x{438}\x{441}\x{442}\x{438}\x{43a}\x{430}') called at /usr/share/perl5/EBox/GConfModule.pm line 795
EBox::GConfModule::hash_value('EBox::Samba=HASH(0x7f80334e3d38)', 'SambaShares/keys/share.idx', '\x{421}\x{442}\x{430}\x{442}\x{438}\x{441}\x{442}\x{438}\x{43a}\x{430}') called at /usr/share/perl5/EBox/Model/DataTable.pm line 3510
EBox::Model::DataTable::_find('EBox::Samba::Model::SambaShares=HASH(0x7f8033f00c28)', 'share', '\x{421}\x{442}\x{430}\x{442}\x{438}\x{441}\x{442}\x{438}\x{43a}\x{430}', undef, 'value', 1) called at /usr/share/perl5/EBox/Model/DataTable.pm line 3603
EBox::Model::DataTable::_checkFieldIsUnique('EBox::Samba::Model::SambaShares=HASH(0x7f8033f00c28)', 'EBox::Types::Text=HASH(0x7f80346a4ea0)') called at /usr/share/perl5/EBox/Model/DataTable.pm line 881
EBox::Model::DataTable::addTypedRow('EBox::Samba::Model::SambaShares=HASH(0x7f8033f00c28)', 'HASH(0x7f80345787b0)', 'readOnly', undef, 'id', undef) called at /usr/share/perl5/EBox/Model/DataTable.pm line 819
EBox::Model::DataTable::addRow('EBox::Samba::Model::SambaShares=HASH(0x7f8033f00c28)', 'ebox', 'OMS', 'system', undef, 'access', undef, 'filter', '', ...) called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 123
EBox::CGI::Controller::DataTable::addRow('EBox::CGI::Controller::DataTable=HASH(0x7f80346c6918)') called at /usr/share/perl5/EBox/CGI/Controller/DataTable.pm line 348
EBox::CGI::Controller::DataTable::_process('EBox::CGI::Controller::DataTable=HASH(0x7f80346c6918)') called at /usr/share/perl5/EBox/CGI/ClientRawBase.pm line 171
EBox::CGI::ClientRawBase::run('EBox::CGI::Controller::DataTable=HASH(0x7f80346c6918)') called at /usr/share/perl5/EBox/CGI/Run.pm line 129
EBox::CGI::Run::run('EBox::CGI::Run', 'Samba/Controller/SambaShares', 'EBox') called at /usr/share/zentyal/cgi/ebox.cgi line 34
ModPerl::ROOT::ModPerl::Registry::usr_share_zentyal_cgi_ebox_2ecgi::handler('Apache2::RequestRec=SCALAR(0x7f80344fbe20)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
eval {...} called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 204
ModPerl::RegistryCooker::run('ModPerl::Registry=HASH(0x7f8034537058)') called at /usr/lib/perl5/ModPerl/RegistryCooker.pm line 170
ModPerl::RegistryCooker::default_handler('ModPerl::Registry=HASH(0x7f8034537058)') called at /usr/lib/perl5/ModPerl/Registry.pm line 31
ModPerl::Registry::handler('ModPerl::Registry', 'Apache2::RequestRec=SCALAR(0x7f80344fbe20)') called at -e line 0
eval {...} called at -e line 0
",
'-file' => '/usr/share/perl5/EBox/Config/Redis.pm',
'-text' => "Redis command 'hget /ebox/modules/samba/SambaShares/keys/share.idx \x{421}\x{442}\x{430}\x{442}\x{438}\x{441}\x{442}\x{438}\x{43a}\x{430}' failed: Wide character in syswrite at /usr/share/perl5/Redis.pm line 265.
",
'-line' => 717,
'-package' => 'EBox::Config::Redis',
'silent' => 0
}, 'EBox::Exceptions::Internal' );
Attachments
Change History
comment:1 Changed 21 months ago by jamor@…
- Owner changed from jacalvo@… to jamor@…
- Status changed from new to assigned
comment:2 Changed 21 months ago by lioncub@…
dpkg -l zentyal-* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Имя Версия Описание +++-=============================================-=============================================-========================================================================================================== ii zentyal-antivirus 2.1.4 Zentyal - Antivirus un zentyal-ca <нет> (описание недоступно) ii zentyal-common 2.1.10 Zentyal - Common Library ii zentyal-core 2.1.34 Zentyal - Core ii zentyal-dhcp 2.1.6 Zentyal - DHCP Service un zentyal-dns <нет> (описание недоступно) un zentyal-ebackup <нет> (описание недоступно) ii zentyal-firewall 2.1.7 Zentyal - Firewall un zentyal-jabber <нет> (описание недоступно) un zentyal-monitor <нет> (описание недоступно) ii zentyal-network 2.1.16 Zentyal - Network Configuration ii zentyal-ntp 2.1.7 Zentyal - NTP Service ii zentyal-objects 2.1.4 Zentyal - Network Objects ii zentyal-samba 2.1.7 Zentyal - File Sharing Service ii zentyal-services 2.1.7 Zentyal - Network Services ii zentyal-software 2.1.13 Zentyal - Software Management ii zentyal-squid 2.1.11 Zentyal - HTTP Proxy (Cache and Content Filter) Service ii zentyal-usercorner 2.1.6 Zentyal - User Corner ii zentyal-users 2.1.14 Zentyal - Users and Groups
Adding a new share if name or comment contains cyrillic symbols.
comment:3 Changed 21 months ago by lioncub@…
Upgrade to 2.2
# dpkg -l zentyal-* Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad) ||/ Имя Версия Описание +++-=====================================================-=====================================================-========================================================================================================================== ii zentyal-antivirus 2.2 Zentyal - Antivirus un zentyal-ca <нет> (описание недоступно) ii zentyal-common 2.2 Zentyal - Common Library ii zentyal-core 2.2 Zentyal - Core ii zentyal-dhcp 2.2 Zentyal - DHCP Service un zentyal-dns <нет> (описание недоступно) un zentyal-ebackup <нет> (описание недоступно) ii zentyal-firewall 2.2 Zentyal - Firewall un zentyal-jabber <нет> (описание недоступно) un zentyal-monitor <нет> (описание недоступно) ii zentyal-network 2.2 Zentyal - Network Configuration ii zentyal-ntp 2.2 Zentyal - NTP Service ii zentyal-objects 2.2 Zentyal - Network Objects ii zentyal-samba 2.2 Zentyal - File Sharing Service ii zentyal-services 2.2 Zentyal - Network Services ii zentyal-software 2.2 Zentyal - Software Management ii zentyal-squid 2.2 Zentyal - HTTP Proxy (Cache and Filter) ii zentyal-usercorner 2.2 Zentyal - User Corner ii zentyal-users 2.2 Zentyal - Users and Groups
Bag exists!!!
comment:4 Changed 20 months ago by jamor@…
- Status changed from assigned to closed
- Resolution set to fixed
comment:5 Changed 20 months ago by jamor@…
- Status changed from closed to reopened
- Resolution fixed deleted
Sorry the last commit was intended for #3229
comment:7 Changed 20 months ago by lioncub@…
After:
apt-get install libapache2-mod-gnutls a2enmod gnutls /etc/init.d/apache2 restart /etc/init.d/zentyal restart
does not work!!!
comment:8 Changed 20 months ago by lioncub@…
tail /var/log/zentyal/zentyal.log
ERROR> Redis.pm:717 EBox::Config::Redis::_redis_call - Redis command 'set /ebox/modules/samba/SambaShares/keys/samb7513/comment Шара' failed: Wide character in syswrite at /usr/share/perl5/Redis.pm line 265.
comment:9 Changed 19 months ago by jacalvo@…
- Owner changed from jamor@… to jacalvo@…
- Status changed from reopened to new
Could you please check the output of this?
apt-cache policy libredis-perl
Thanks.
comment:10 Changed 19 months ago by lioncub@…
# apt-cache policy libredis-perl
libredis-perl:
Установлен: 2:2.0.1-0ubuntu1+zentyal1
Кандидат: 2:2.0.1-0ubuntu1+zentyal1
Таблица версий:
*** 2:2.0.1-0ubuntu1+zentyal1 0
500 ppa.launchpad.net/zentyal/2.2/ubuntu/ lucid/main Packages
100 /var/lib/dpkg/status
2:0.0801-1 0
500 mirror.ubuntu.loc/ubuntu/ lucid/universe Packages
comment:11 Changed 19 months ago by lioncub@…
The problem will be solved?
comment:12 Changed 19 months ago by jacalvo@…
- Status changed from new to closed
- Resolution set to worksforme
I think the problem is you already have the share added with wrong encoding before the update to the new libredis-perl version that fixes the problem. Could you try to delete it and add it again?
comment:13 Changed 18 months ago by lioncub@…
- Status changed from closed to reopened
- Resolution worksforme deleted
- Severity changed from normal to critical
dpkg -r --force-all libredis-perl apt-get install libredis-perl
still does not work!!!
comment:14 Changed 18 months ago by jacalvo@…
I meant deleting the shares and creating them again, not the package... Sorry if I was not clear enough.
comment:15 Changed 18 months ago by lioncub@…
How do I remove the shares if they do not exist?
comment:16 Changed 18 months ago by lioncub@…
When solved the problem?
comment:17 Changed 17 months ago by jamor@…
- Status changed from reopened to closed
- Resolution set to worksforme
Hello Lioncub,
we have tried a few times to reproduce your error but is was not possible. We feel that your system has some incorrect data in place that interferes with this.
Could you try it in a clean and updated system?. If it continues to fail, please reopen and give us feedback.
Hello Lioncub, I have created the share and used it without problem:
Could you check if you server has the latest versions?
could you remember if you have done any previous operation which could fire the error?