Error creating Email for addon domain Cpanel - error-handling

hey guys I need your godly advice I have set up my Webhosting from a NON-cpanel server to a cpanel server and am trying to create an email account for one of my addon domains EG main domain is EG main.com addon new_main.com so I try and create for my addon in cpanel like email#new_main.com and I am met with this error. please note I used to years ago be on cpanel so it may have brought files from the old install over to this new install which is possibly causing the issue but I'm lost trying to figure out what's wrong
fingers crossed you guys can see the error I have been looking at this for a day now and I still can't seem to figure out, I have looked for the files mentioned and some are there 1 of them isn't cant remember which and I don't know how to remedy the situation thanks in advance
The error looks like this
Error: The operation “POST” “/cpsess8393558881/execute/Email/add_pop” failed with a “The system could not create the calendar “Calendar” for “contact#combatprosports.co.uk”: Cpanel::Exception::Database::Error/(XID rg8xc9) The system received an error from “SQLite”: SQLITE_READONLY (attempt to write a readonly database) at /usr/local/cpanel/Cpanel/DBI.pm line 200. Cpanel::DBI::_create_exception(Cpanel::DBI::db=HASH(0x2b39d20), "DBD::SQLite::db do failed: attempt to write a readonly database", undef) called at /usr/local/cpanel/Cpanel/DBI.pm line 188 Cpanel::DBI::_error_handler("DBD::SQLite::db do failed: attempt to write a readonly database", Cpanel::DBI::db=HASH(0x2b39d20), undef) called at /usr/local/cpanel/Cpanel/DAV/Backend/DB/Horde.pm line 79 eval {...} called at /usr/local/cpanel/Cpanel/DAV/Backend/DB/Horde.pm line 79 Cpanel::DAV::Backend::DB::Horde::do(Cpanel::DBI::db=HASH(0x2b39d20), " INSERT INTO kronolith_shares\x{a} (share_name, share_owner"..., "14a47cf5-a4b7-b2f9-5d71-7e972f886226", "contact\#combatprosports.co.uk", "Calendar", "This is your personal calendar.", "#641f76") called at /usr/local/cpanel/Cpanel/DAV/Backend/HordeCalendar.pm line 82 Cpanel::DAV::Backend::HordeCalendar::create_calendar(Cpanel::DAV::Principal=HASH(0x281d938), "Calendar", "This is your personal calendar.") called at /usr/local/cpanel/Cpanel/DAV/Calendars.pm line 59 Cpanel::DAV::Calendars::create_calendar(Cpanel::DAV::Principal=HASH(0x281d938), "Calendar", "This is your personal calendar.") called at /usr/local/cpanel/Cpanel/DAV/Defaults.pm line 55 Cpanel::DAV::Defaults::create_calendar(Cpanel::DAV::Principal=HASH(0x281d938)) called at /usr/local/cpanel/Cpanel/DAV/Defaults.pm line 142 Cpanel::DAV::Defaults::create_calendars_and_address_books("contact\#combatprosports.co.uk") called at /usr/local/cpanel/Cpanel/API/Email.pm line 1478 Cpanel::API::Email::add_pop(Cpanel::Args=HASH(0x2451f80), Cpanel::Result=HASH(0x244a6d8)) called at /usr/local/cpanel/Cpanel/API.pm line 366 eval {...} called at /usr/local/cpanel/Cpanel/API.pm line 368 Cpanel::API::_run_module_function(Cpanel::Args=HASH(0x2451f80), Cpanel::Result=HASH(0x244a6d8), "Email", "add_pop") called at /usr/local/cpanel/Cpanel/API.pm line 243 Cpanel::API::execute("Email", "add_pop", HASH(0x244a588)) called at /usr/local/cpanel/Cpanel/API.pm line 651 Cpanel::API::run_api_mode(HASH(0x244a588)) called at uapi.pl line 307 main::script() called at uapi.pl line 139 ” error.```

The error message contains the following:
SQLITE_READONLY (attempt to write a readonly database)
This is not normal and suggests that there is a problem with the server's disks. You should reach out to your hosting provider, or if you are the owner of the server, a systems administrator that has the skills, training, and experience required to check the status of the disks, and/or determine why the SQLITE database is readonly.

Related

Why do I get, "ElementAtOrDefault' is not a member of 'System.Data.EnumerableRowCollection"?

I am trying to get a VB solution to run (just took it over to maintain). When I try to run it via F5, I get several errors, the first of which is:
Error 13 'ElementAtOrDefault' is not a member of 'System.Data.EnumerableRowCollection(Of System.Data.DataRow)'. C:\MemberOrderEntry\MembersOrderEntry\MembersOrderEntry\App_Code\commonClass.vb 908 16 MembersOrderEntry
But 2-clicking it in the Error List pane takes me to this line (line 908):
Return dset.Tables(0)(0)("Result")
The string "ElementAtOrDefault" appears nowhere in the code. How does the line above wreak this havoc?
BTW, some of ther other err msgs seem very odd, such as "'String' is not declared. It may be inaccessible due to its protection level" and "Type 'Exception' is not defined"
It seems something fundamental is flawed in this code or its configuration. The Project's Bin folder contains DAL05.dll (and DAL05.pdb), as well as four Telerik DLLs.

Why is my Deployment script causing me errors?

I am working on a project in visual studio 2012. Recently, I added a database project to the solution. The database already existed before I added it to the solution and everything worked fine.
Now, however, when I try to run the application I get errors. The errors are being caused by a computer-generated file called [database name].sql. At the top of the tile, it reads:
/*
Deployment script for [the database name here]
This code was generated by a tool.
Changes to this file may cause incorrect behavior and will be lost if
the code is regenerated.
*/
This file gets re-created every time the application runs. The errors that occur appear to be syntax errors. I cannot fix them because any changes I make to the file are irrelevant because a new file gets generated with each run and the errors re-appear.
I tried looking into this more online but had trouble. This is all rather new to me.
Here are some of the errors being created:
GO
:setvar DatabaseName "(the database name is here)"
which gives me three errors that read:
Error 88 SQL80001: Incorrect syntax near ':'.
Error 89 SQL80001: 'DatabaseName' is not a recognized option.
Error 90 SQL80001: Incorrect syntax near '"(the database name is here in the code)"'.
Also, there is a line of code that reads:
CREATE USER [(the domain)\(the username)] FOR LOGIN [(the domain)\(the username)];
GO
which gives the following error:
Error 119 SQL72014: .Net SqlClient Data Provider: Msg 15401, Level 16, State 1, Line 1 Windows NT user or group '(the domain)\(the username)' not found. Check the name again.
From the errors you have posted it looks like there are two issues:
Windows NT user or group '(the domain)\(the username)' not found. - The user being used to access the database doesn't exist. As it's a Windows user I'm guessing that it uses the current user's credentials.
Make sure that your instance of SQL can accept Windows logins and that you (and anyone else building the software) has the necessary access rights.
'DatabaseName' is not a recognized option. - This is more than likely also caused by the first issue, but double check that the database exists.
The error message caught me out recently as it did not relate to the cause of my problem at all. It turns out my SQL script was incorrectly written (for my case - I forgot to add IDENTITY (1,1) to my PK column) to begin with.
Moral of the story for me was to test out the SQL data file in SSMS first.

X-Cart - SQL error notification (Error code : 1030)

I am working on xcart website for my company. Right now, I always get the error messages from my website http://mothersenvogue.com.kh/ as below:
[24-May-2015 08:50:51] (shop: 24-May-2015 15:50:51) SQL error:
Site : https://mothersenvogue.com.kh
Remote IP : 176.9.29.209
Logged as :
SQL query : SHOW FIELDS FROM xcart_session_history
Error code : 103
Description : Got error 28 from storage engine
Request URI: /secure_login.php?xid=025530538a738ddc86617a9aa81bc990
Backtrace:
/home/www/mothersenvogue.com.kh/include/func/func.db.php:189
/home/www/mothersenvogue.com.kh/include/func/func.db.php:115
/home/www/mothersenvogue.com.kh/include/func/func.db.php:384
/home/www/mothersenvogue.com.kh/include/func/func.db.php:630
/home/www/mothersenvogue.com.kh/include/func/func.db.php:458
/home/www/mothersenvogue.com.kh/include/sessions.php:161
/home/www/mothersenvogue.com.kh/init.php:524
/home/www/mothersenvogue.com.kh/preauth.php:51
/home/www/mothersenvogue.com.kh/auth.php:45
/home/www/mothersenvogue.com.kh/secure_login.php:37
-------------------------------------------------
Many error messages are from func.db.php, init.php, preauth.php, auth.php all at the same line number, and on the same SQL Query "SHOW" statement.
I tried to check all the above files at their given line number but I could not find anything wrong.
Pleasse kindly help advise me what is wrong with it? is it something wrong inside these files as I got many error messages sent to me by email with the similar content like above.
I was refered to here from my previous question in xcart forum, and here is my question there:
https://bt.x-cart.com/view.php?id=44717
Many thanks.
In most cases the file storage (the drive where your files are located on the hosting server, where you checked the free space) is physically located on a different virtual / physical server / drive. Most hosting companies use an optimized dedicated servers for MySQL.
Thus you see enough space in your account, but MySQL still reports that there is no space left on the drive (where MySQL server is currently running).
Thus the best way is to contact the hosting provider and find out what's the situation with the disk space on that very machine, where MySQL is running.

Method 'add' in COM object of class 'Documents' returned error code 0x800A175D (<unknown>) which means: <unknown>

I am trying to open word Template from AX 2012 Reports. It works fine in the env I have developed but when I try to execute the same from different login I face the "COM error"
Please help.
You can always find help for these mysterious Office error codes by decoding the error code. COM error codes contain three major parts:
the top 4 bits indicate the severity of the error. 8 means "warning", one you can't ignore
the next 12 bits is the facility code, the origin of the error. 10 means "automation"
the lower 16 bits is the internal error code, the one that you really care about.
Switch your calculator to hex mode, 0x175d is error code 5981. Now turn to Google and query "word error 5981".
Lots of good hits, you can read them at your leisure. But clearly there's a problem with macros on that machine. Best left to the IT staff at your site, use superuser.com if you need more help with that.

FTP response codes

I am troubleshooting Microsoft's FTP server (IIS 6.0) at a client site. In the FTP log, there's a few response codes that I'd like to know the meaning of.
For instance, in the line:
12:01:15 10.4.152.122 [194326]created x.jpg 550 1450
I'd like to know the meaning of 1450. There's other ones as well, like 550 2, and 550 32.
Anyone know of a site or reference that has the meaning of these sub-codes (not sure what the correct term is)?
The 450 / 550 values are both from RFC 959.
As 450 and 550 are both FTP errors, the second values might correspond to Windows error codes. The page here is consistent with that, with values 2, 32, and 1450 all relating to file I/O errors.
2 = ERROR_FILE_NOT_FOUND
The system cannot find the file specified.
32 = ERROR_SHARING_VIOLATION
The process cannot access the file because it is being used by another
process.
1450 = ERROR_NO_SYSTEM_RESOURCES
- Insufficient system resources exist to complete the requested
service.
According to this, 550 is:
Requested action not taken.
File unavailable (e.g., file not found, no access).